- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 Jan 2020 19:52:54 +0000
- To: public-webrtc-logs@w3.org
Chromium does increment `currentTime` and fire `timeupdate` when more than one bitmap is transferred to the `OffscreenCanvas` (https://plnkr.co/edit/ptYxrRZTbc7f3A4zVDXK?p=preview) ``` const canvas = document.querySelector("canvas"); const video = document.querySelector("video"); video.ontimeupdate = e => console.log(video.currentTime); const offscreen = canvas.transferControlToOffscreen(); const stream = canvas.captureStream(); const [track] = stream.getTracks(); track.onmute = track.onunmute = e => console.log(e); video.srcObject = stream; ``` in `Worker` ``` setTimeout(async() => { const request = await (await fetch(dataURL)).blob(); const bitmap = await createImageBitmap(request); osctx.transferFromImageBitmap(bitmap); }, 1000 / 30); ``` Should `currentTime` of HTML `<video>` be incremented when the first bitmap is transferred to the `OffscreenCanvas`, if only by 1/30 of 1 second? Firing of `mute` event is helpful in this case. -- GitHub Notification of comment by guest271314 Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/84#issuecomment-574343916 using your GitHub account
Received on Tuesday, 14 January 2020 19:52:55 UTC