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

Removing `MediaRecorder` from the equation, this code

onclick = async _ => { 
  onclick = null;
  var recorder, videoTrack, stream
  stream = await navigator.mediaDevices.getDisplayMedia({video: true});
  stream.oninactive = e => console.log(e.type);
  [videoTrack] = stream.getVideoTracks();
  let now =;
  videoTrack.onmute = videoTrack.onunmute = videoTrack.onended = e => console.log(e.type, - now);

**does not** fire `mute` event when  "Your Entire" is selected at screen capture UI prompt, `mute` event **does**  fire when "Application Window" or "Chromium Tab" is selected for capture.

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

Received on Saturday, 27 June 2020 18:38:25 UTC