webrtc:未调用 PCObserver#onAddStream 进行呼叫升级 [英] webrtc: PCObserver#onAddStream is not invoked for call upgrade
问题描述
我正在 android 中开发 webrtc 客户端.Web 到 Web、Web 到设备、设备到 Web 通话纯音频、音频视频通话、从纯音频升级到音频视频通话工作正常.唯一不起作用的是升级到设备到设备上的音频视频通话.
I am developing webrtc client in android. Web to web, web to device, device to web call audio-only, audio-video call, upgrade to audio-video call from audio-only is working fine. The only thing that is not working is upgrade to audio-video call on device-to-device.
我面临的问题是 onAddStream(final MediaStream stream),即使远程 SDP 设置成功也不会调用.在所有情况下,流程和回答/提供 SDP 都是相同的.
The issue I am facing is onAddStream(final MediaStream stream), is not invoked even if the remote SDP is set successfully. The flow and answer/offer SDPs are identical in all the cases.
您能建议问题出在哪里吗?我正在按照此处提到的步骤操作:https://groups.google.com/forum/#!starred/discuss-webrtc/WAvny-lEzo8
Can you suggest where could be the problem? I am following the steps mentioned here: https://groups.google.com/forum/#!starred/discuss-webrtc/WAvny-lEzo8
谢谢问候
推荐答案
我在每次协商中更改了 SDP 和媒体轨道(音频/视频)的标签,现在一切都按预期进行!仅供参考!
I changed the label for SDP and media tracks (audio/video) in every negotiation and now the things are working as expected! FYI!
这篇关于webrtc:未调用 PCObserver#onAddStream 进行呼叫升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!