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

Re: [webrtc-pc] Spec-compliant way to get remote streams and tracks?

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 May 2017 01:14:19 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-304165072-1495761258-sysbot+gh@w3.org>
I do think it's important though that we remove remote tracks from their remote stream when they end, and that we end remote tracks when they're renegotiated away like [Chrome does today](https://jsfiddle.net/jib1/xrwsp7o9/). We're discussing this in https://github.com/w3c/webrtc-pc/issues/1161#issuecomment-300215486. That way people can use `pc.ontrack` combined with `track.onended` to see a track come and go, or even use `remoteStream.onaddtrack` and  `remoteStream.onremovetrack` on the stream they picked up from the first `track` event.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1182#issuecomment-304165072 using your GitHub account
Received on Friday, 26 May 2017 01:14:26 UTC

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