addRemoteCandidate的超时.考虑发送候选人终止通知 [英] Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification

查看:66
本文介绍了addRemoteCandidate的超时.考虑发送候选人终止通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了与Browser Edge进行通信,我们需要设置 a =候选对象,如您所见

In order to communicate with Browser Edge we need to set a=end-of-candidates as you can see here . Edge to Edge and Edge to other browser its working fine. Even I am able to communicate React Native app with Chrome but for edge I need to specify this value inside my app sdp before sending to the Edge browser. Please let me know how can I achieve this sdp?

您可以看到此AdpaterJS公关作为边缘,在收到来自react本地android应用 addRemoteCandidate的超时的sdp.考虑发送候选人终止通知.让我知道您是否需要更多信息.

You can see this PR of AdpaterJS as edge giving this error upon receiving the sdp from react native android app Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification. Let me know if you required more information.

  • 反应本机版本:0.56.0
  • 插件版本:1.63,0
  • 操作系统:Android
  • 操作系统版本:Nugat
  • React Native version: 0.56.0
  • Plugin version: 1.63,0
  • OS: Android
  • OS version:Nugat

推荐答案

在添加所有远程候选对象后,Edge需要调用addIceCandidate(null).如果不这样做,这将在3-4秒后自动发生,但这会增加失败的机会.

Edge requires a call addIceCandidate(null) when all remote candidates have been added. If you don't do that this will happen automagically after 3-4 seconds, but that increases the chance of failure.

这篇关于addRemoteCandidate的超时.考虑发送候选人终止通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆