Re: [mediacapture-screen-share] mute and unmute events of MediaStreamTrack should not be fired based on user non-action (#141)

The issue occurs when capturing "Your Entire Screen", "Application Window" or "Chromium Tab", not just "Chromium Tab". The video track simply abruptly goes mute in 4 seconds at Chromium 85.0.4173.0, where `inactive` event is still defined that event is fired. The `MediaStreamTrack` appears to be tied to some user activation scheme or algorithm, though per the specification should not be. Whether user action occurs or not `mute` event is eventually fired for no clear reason.

(index):31 blob:
(index):32 Uncaught DOMException: Failed to execute 'stop' on 'MediaRecorder': The MediaRecorder's state is 'inactive'.
    at MediaRecorder.recorder.ondataavailable (
recorder.ondataavailable @ (index):32
(index):28 Event {isTrusted: true, type: "stop", target: MediaRecorder, currentTarget: MediaRecorder, eventPhase: 2, …}
(index):17 inactive

GitHub Notification of comment by guest271314
Please view or discuss this issue at using your GitHub account

Received on Saturday, 27 June 2020 14:23:54 UTC