Dear team , PFB the issue description. scenario 1: Tried adding stream to existing peer connection object using pc.addStream(stream). fails with "NS_ERROR_UNEXPECTED" Note : addStream is working with new RTCPeerConnection object but not for existing peer connection object. scenario 2: Tried doing pc.removeStream(), got "Error: removeStream not yet implemented" error.
Component: Webapp Runtime → WebRTC
Product: Firefox → Core
WRT scenario 1, please provide a test case. This should work now. WRT scenario 2, this API call is deprecated. See: https://bugzilla.mozilla.org/show_bug.cgi?id=842455#c21 and following.
Severity: critical → normal
Thank you very much for filing this bug. First issue should be fixed in 38. If you can verify that and we'll make the bug into a clean up if it's fixed. Second issue: remove removestream option
Priority: P1 → P3
Hi team, Thank you for your kind attention to the issues, we are trying to replicate the issue with suggested API by eric. We will update you and share the use case as well.
Hi team, Please find below updates on the 2 issues:- scenario 1 :- As suggested this issue is working fine with 38. scenario 2 :- As suggested removeTrack is working fine instead of removeStream. Thank you so much for immediate attention and closure of issues. Help is indeed appreciated. Regards, Parthsarthi Sharma
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.