W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2018

Re: [webrtc-pc] need to clear [[AssociatedMediaStreams]] in removeTrack?

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Feb 2018 08:30:49 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-362519473-1517560248-sysbot+gh@w3.org>
if you call removeTrack you can call replaceTrack on that sender? Surprising but I can see how your code would work.

But how does this work then:
When the other peer stops sending a track in this manner, the track is removed from any remote MediaStreams that were initially revealed in the track event
I assume that the stream ids come back when you set the sender direction to active?

GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1756#issuecomment-362519473 using your GitHub account
Received on Friday, 2 February 2018 08:31:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:00 UTC