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
+2 -1
View File
@@ -448,7 +448,8 @@ const cameraConfigSchema = z
go2rtc: z
.object({
modes: z.enum(['webrtc', 'mse', 'mp4', 'mjpeg']).array(),
modes: z.enum(['webrtc', 'mse', 'mp4', 'mjpeg']).array().optional(),
stream: z.string().optional(),
})
.optional(),