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: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Sun, 19 Apr 2020 16:46:46 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-616180081-1587314805-sysbot+gh@w3.org>
Actually, `mute` and `unmute` _are_ fired on original track. Was using `onmute` and `onunmute` instead of `addEventListener()`. 

`unmute` event is still dispatched even when no media packets are being transmitted after `addTrack(track)`.

Chromium in particular can toggle between `muted === true` and `muted === false` without any media packets being transmitted whatsoever.

GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2506#issuecomment-616180081 using your GitHub account
Received on Sunday, 19 April 2020 16:46:48 UTC

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