我正在尝试将Sinch集成到我们的一个项目中。
我试着从网络打电话到安卓应用程序。
连接将使成功地建立。但是不显示视频,和呼叫也会在9到10秒内自动断开.
当我从Android应用程序打电话到Web时,这种情况不会发生。
我正在跟踪他们的文档中的视频呼叫代码。
呼叫的日志:
Notification { progress=0, message="Successfully added proxy ICE candidate", object=mozRTCIceCandidate}
Notification { progress=0, message="Successfully sent JOINED", object=g}
Notification { progress=0, message="Call changing state to ESTABLISHED", object=undefined}
Notification { progress=0, message="Call was un-muted using unmute().", object=undefined}
Notification { progress=0, message="WebRTC: Connection state changed", object=Event iceconnectionstatechange}
Error { name="SinchError", domain=-1, code=1001, more...} // code: 1001, domain: -1, message: "Ice connection failed. Hanging up call!"
Notification { progress=0, message="Call HANGUP Received", object=undefined}
-- ICE failed, see about:webrtc for more details
MXPLog { message="Added meta data to MXP message", object=r}
MXPLog { message="Identified Encoding Key", object=r}
MXPLog { message="Split message into frames as needed", object=r}
MXPLog { message="Identified Tx Channels", object=r}
MXPLog { message="Transmitting [channel, frame]", object=[2]}
Notification { progress=0, message="WebRTC: Connection state changed", object=Event iceconnectionstatechange}
Notification { progress=0, message="WebRTC: Signaling state change", object=Event signalingstatechange}为什么我得到Ice connection failed. Hanging up call!错误..?
我正在使用Mozilla Firefox来测试功能..。
提前谢谢你的帮助。我被困在这里..。
发布于 2016-12-23 15:40:26
为了解决这个问题,我工作了几个小时,最后我发现这是当web和android都在同一个网络上时造成的(当它们通常是编码时)。似乎辛奇不在同一个地方工作。
https://stackoverflow.com/questions/37829523
复制相似问题