Closed Bug 947704 Opened 11 years ago Closed 11 years ago

removeStream is not supported; doing addStram() 2nd time to add video gives "NS_ERROR_UNEXPECTED"

Categories

(Core :: WebRTC, defect)

28 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 842455

People

(Reporter: mmraju, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20131207030203 Steps to reproduce: 1. make audio only call. 2. call getUserMedia() with audio+video to upgrade call to audio+video. scenario 1: 3. Tried adding stream to existing peer connection object. fails with "NS_ERROR_UNEXPECTED" scenario 2: 3. tried doing pc.removeStream(), got "Error: removeStream not yet implemented" error. Actual results: scenario 1: 3. Tried adding stream to existing peer connection object. fails with "NS_ERROR_UNEXPECTED" scenario 2: 3. tried doing pc.removeStream(), got "Error: removeStream not yet implemented" error. Expected results: scenario 1: new stream should be added and now the PC should have both aduio and video. scenario 2: removeStream() should be supported, so that streams can be added to PC in a clean way.
What's the right component for this?
Flags: needinfo?(rjesup)
Dup of bug 842455 - we don't support removeStream() yet; it's stubbed for now.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(rjesup)
Resolution: --- → DUPLICATE
Component: Untriaged → WebRTC
Product: Firefox → Core
Thanks for the response. How about the following scenario? 2nd addStream() failed with unexpected error. is this "expected"? I can open a separate ticket for it if you want. >scenario 1: >3. Tried adding stream to existing peer connection object. fails with "NS_ERROR_UNEXPECTED"
>scenario 1: >3. Tried adding stream to existing peer connection object. fails with "NS_ERROR_UNEXPECTED" I am also seeing this error and I think this bug was prematurely closed as duplicate - please can we get an update on this. This issue currently means that I am unable to simultaneously transmit my desktop and camera on the same peer connection. Beyond this issue, has a decision been made about the SDP for this case? Would 2 m=video lines be advertised?
You need to log in before you can comment on or make changes to this bug.