webrtc: PCObserver#onAddStream is not invoked for

2019-08-24 02:46发布

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.

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.

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

Thanks Regards

1条回答
地球回转人心会变
2楼-- · 2019-08-24 03:25

I changed the label for SDP and media tracks (audio/video) in every negotiation and now the things are working as expected! FYI!

查看更多
登录 后发表回答