@ -264,8 +264,9 @@ export const EngineStream = (props: {
|
|||||||
last.current = Date.now()
|
last.current = Date.now()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
Math.abs(video.width - window.innerWidth) > 4 ||
|
(Math.abs(video.width - window.innerWidth) > 4 ||
|
||||||
Math.abs(video.height - window.innerHeight) > 4
|
Math.abs(video.height - window.innerHeight) > 4) &&
|
||||||
|
!engineStreamState.matches(EngineStreamState.WaitingToPlay)
|
||||||
) {
|
) {
|
||||||
timeoutStart.current = Date.now()
|
timeoutStart.current = Date.now()
|
||||||
startOrReconfigureEngine()
|
startOrReconfigureEngine()
|
||||||
|
Reference in New Issue
Block a user