Add webrtc support.

This commit is contained in:
Dermot Duffy
2021-08-12 20:26:50 -07:00
parent ee4ec4d23c
commit cc67c3ebf9
4 changed files with 81 additions and 41 deletions
+2
View File
@@ -19,6 +19,8 @@ export const frigateCardConfigSchema = z.object({
frigate_camera_name: z.string().optional(),
view_default: z.enum(["live", "clips", "clip", "snapshots", "snapshot"]).optional().default("live"),
view_timeout: z.number().optional(),
live_provider: z.enum(["frigate", "webrtc"]).default("frigate"),
webrtc: z.object({}).passthrough().optional(),
label: z.string().optional(),
// Stock lovelace card config.