Re: [webrtc-pc] Do we need a "trackremoved" event?

> - Only Chrome fires removetrack on the remote stream.

Firefox doesn't implement the "removetrack" event on `MediaStream`. When I implemented "addtrack" the spec didn't mention that tracks should be removed (per [1]), and so "removetrack" didn't have any users. See [2] for the full background.

> - Firefox leaves old tracks in the remote stream until a subsequent renegotiation adds tracks to it!

That's wrong I'm afraid. Firefox passes a new stream on the remote side with the new tracks in it. It happens to have the same id as the old stream. I updated your fiddle to show this:


GitHub Notification of comment by Pehrsons
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 9 May 2017 16:40:36 UTC