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

> 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