- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Oct 2019 06:31:28 +0000
- To: public-webrtc-logs@w3.org
@Pehrsons The linked code was intended to be an infinite media stream using the available `timeupdate` event to to push a frame to be created and added to the stream. Another difference between Mozilla Firefox, Nightly and Chromium, Chrome implementations relevant to playback Chromium requires execution of code which creates and requests a frame at the first `unmute` event of video `MediaStreamTrack` for playback does not proceed, `currentTime` is `0`, `play`, `playing` events of `HTMLMediaElement` are dispatched, then `mute` event of `MediaStreamTrack` is dispatched. At Mozilla the call to `handleTimeupdate()` can be commented, playback continues, `currentTime` increments, `timeupdate` event is dispatched. ``` canvasTrack.onmute = e => { console.log(e.type); handleTimeupdate({ target: Object.assign( video, e.target.getSettings() ) }); }; ``` -- GitHub Notification of comment by guest271314 Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/615#issuecomment-542059782 using your GitHub account
Received on Tuesday, 15 October 2019 06:31:30 UTC