mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-02 21:58:29 +00:00
fixup! wip
This commit is contained in:
+1
-4
@@ -210,10 +210,7 @@ export class BackgroundCustomProcessor implements BackgroundProcessorInterface {
|
||||
this._syncOutputCanvasSize()
|
||||
this._scheduleNextFrame()
|
||||
}
|
||||
|
||||
// When re-initializing with an element that already has data (e.g. after
|
||||
// hiding then showing the camera), 'loadeddata' will not fire again, so
|
||||
// rely on readyState instead of a stale boolean flag.
|
||||
|
||||
if (this.videoElement!.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA) {
|
||||
startLoop()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user