Fix streamIdleMode checkbox being wonky

This commit is contained in:
lee-at-zoo-corp
2025-03-21 16:08:21 -04:00
parent c32a3edb39
commit 2cca1376e2
3 changed files with 47 additions and 33 deletions

View File

@ -1494,6 +1494,7 @@ export class EngineCommandManager extends EventTarget {
})
this._camControlsCameraChange()
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.sendSceneCommand({
// CameraControls subscribes to default_camera_get_settings response events
@ -1504,6 +1505,7 @@ export class EngineCommandManager extends EventTarget {
type: 'default_camera_get_settings',
},
})
setIsStreamReady(true)
// Other parts of the application should use this to react on scene ready.
@ -1717,7 +1719,7 @@ export class EngineCommandManager extends EventTarget {
cmd: {
type: 'reconfigure_stream',
...this.streamDimensions,
fps: 30,
fps: 60, // This is required but it does next to nothing
},
}
this.engineConnection?.send(resizeCmd)