Add support for custom go2rtc streams.

This commit is contained in:
Dermot Duffy
2023-02-26 13:52:24 -08:00
parent 9aff5ee76c
commit fcc2c5dd99
8 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -1093,7 +1093,7 @@ export class FrigateCameraManagerEngine
// go2rtc is exposed by the integration under the (slightly
// misleading) 'mse' path, even though that path can serve all go2rtc
// modes.
`/mse/api/ws?src=${cameraConfig.frigate.camera_name}`,
`/mse/api/ws?src=${cameraConfig.go2rtc?.stream ?? cameraConfig.frigate.camera_name}`,
sign: true,
};
};