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 = performance.now();
  videoTrack.onmute = videoTrack.onunmute = videoTrack.onended = e => console.log(e.type, performance.now() - 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 https://github.com/w3c/mediacapture-screen-share/issues/141#issuecomment-650599749 using your GitHub account

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