[英]WEBRTC : Adding stun/turn server configuration after RtcPeerConnection creation
Hi i have a problem while i am implementing trickle ice. 嗨,我在实施trick流冰时遇到问题。 We decided to wait just for host candidates while sending to initial offer because of c line 0.0.0.0 ip issue.
由于c线0.0.0.0 ip问题,我们决定只等待寄宿生发送原始报价。 But how can we do it i couldnt find any event that " this types of candidates was finished so starting next types gatherings" .
但是我们怎么做呢,我找不到任何事件“这种类型的候选人已经结束,所以开始下一次类型的聚会”。 so we decided to
所以我们决定
But we couldnt find how to add stun turn server config to existing object . 但是我们找不到如何将stun turn服务器配置添加到现有对象。 In the firefox docs "Events such as adding a new interface or a new TURN server will cause the state to go back to gathering."
在firefox文档中,“添加新接口或新TURN服务器之类的事件将导致状态恢复到收集状态。” but we couldnt find
但是我们找不到
Any different approach to that problem would be accepted. 任何解决该问题的方法都可以接受。
在对等连接生命周期内添加TURN服务器是通过http://w3c.github.io/webrtc-pc/#widl-RTCPeerConnection-setConfiguration-void-RTCConfiguration-configuration完成的-但是afaik Chrome和Firefox都尚未实现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.