简体   繁体   English

Reactnative Signalwire 应用程序无法建立 Ice 服务器对等连接

[英]Reactnative Signalwire application unable to establish Ice server peer connection

I am trying to implement Signalwire calling in a react-native app.我正在尝试在 react-native 应用程序中实现Signalwire调用。 I am facing issue in connecting ice servers.我在连接 ice 服务器时遇到问题。 Sometimes it connects and calling between two persons get successful.有时它会在两个人之间建立连接和通话成功。 But most of the time it throws error但大多数时候它会抛出错误

"Cannot set properties of undefined (setting 'onicecandidate')"

I have tried to search a lot but could not succeed.我尝试了很多搜索但没有成功。 Can you please guide me how this issue can be resolved?你能指导我如何解决这个问题吗? I am using following iceservers:我正在使用以下 iceservers:

iceServers = [
    {urls: ['stun:stun.l.google.com:19302','stun:stun1.l.google.com:19302','stun:stun2.l.google.com:19302']}
];

I have tried to find iceserver associated with my signalwire account but could not find, Please guide me how to get ice/turn/stun server urls and credentials.我试图找到与我的 signalwire 帐户关联的 iceserver,但找不到,请指导我如何获取 ice/turn/stun 服务器 url 和凭据。 I am using Relay SDK for reactnative我正在使用中继 SDK 进行反应

It's not possible from this post to tell if you're using the SignalWire SDKs exclusively, if you're working from third party tools, or if you're doing your own setup.从这篇文章中无法判断您是否专门使用 SignalWire SDK,您是否使用第三方工具,或者您是否正在进行自己的设置。 There are also a few variables in terms of how you've set up your app, what errors you're seeing from the SignalWire side, and the config of your ice servers.在您设置应用程序的方式、从 SignalWire 端看到的错误以及 ice 服务器的配置方面也存在一些变量。

With all that in mind, if you could reach out to SignalWire support (from your SignalWire space, select 'Help and Support' at the top right and then Submit a New Support Request) we can take a look at your setup and work through this with you.考虑到所有这些,如果您可以联系 SignalWire 支持(从您的 SignalWire 空间,select 右上角的“帮助和支持”,然后提交新的支持请求),我们可以查看您的设置并完成此操作和你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM