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

> Isn't two streams with the same id a violation of the mediacapture spec?

The current draft of mediacapture-main even says that stream ids `MUST` always be generated. It doesn't allow for the `id` to be transferred from the remote side as it does for `MediaStreamTrack`.

Of course webrtc-pc contradicts this by saying
> When a MediaStream is created to represent a stream obtained from a remote peer, the id attribute is initialized from information provided by the remote source. 

--

This behavior though is probably a legacy bug in Firefox where renegotiations have been implemented for quite long, and at the same time hasn't gotten much attention from users.

-- 
GitHub Notification of comment by Pehrsons
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1161#issuecomment-300432821 using your GitHub account

Received on Wednesday, 10 May 2017 09:49:15 UTC