W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2017

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

From: Andreas Pehrson via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 May 2017 09:49:08 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-300432821-1494409747-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC