- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Apr 2020 07:19:33 +0000
- To: public-webrtc-logs@w3.org
For an "infinite" stream of "black frames" at Chromium with `timeupdate` progression
dc1.onopen = e => {
const handleMessage = _ => {
// do stuff
requestAnimationFrame(function paint() {
ctx.fillRect(0, 0, canvas.width, canvas.height);
requestAnimationFrame(paint);
});
dc1.close();
};
dc1.onmessage = handleMessage;
};
however, since Chromium toggle the `muted` state of the `MediaStreamTrack` from `canvas.captureStream()`, for no clear reason, if
`track.onmute = e => alert(e.type)`
is included in the code, the user will be face with an endless series of prompts with `"mute"` and `"unmute"` from the events being fired, even while `currentTime` is incrementing - though not on the `<video>` control.
--
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2506#issuecomment-618226766 using your GitHub account
Received on Thursday, 23 April 2020 07:19:35 UTC