W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2020

Re: [webrtc-pc] On track removal: Should you mute an already muted track? (#2506)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Fri, 03 Apr 2020 23:40:47 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-608829726-1585957246-sysbot+gh@w3.org>
> If yes, onmute acts like the legacy "onremovetrack" 

> Is the intent that an application should manually loop through all transceivers and check its currentDirection before and after the negotiation to detect if a track was removed in a way that does not race with RTP packets?

No, people can use `stream.onremovetrack` instead.

https://stackoverflow.com/questions/60636439/webrtc-how-to-detect-when-a-stream-or-track-gets-removed-from-a-peerconnection/60860584#60860584

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2506#issuecomment-608829726 using your GitHub account
Received on Friday, 3 April 2020 23:40:50 UTC

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