fix: Substream only cameras should not be triggerable (#1848)

- Closes #1846
This commit is contained in:
Dermot Duffy
2025-01-21 07:17:09 -08:00
committed by GitHub
parent 596a724714
commit 0212840688
13 changed files with 100 additions and 9 deletions
+3
View File
@@ -106,6 +106,8 @@ export interface CapabilitiesRaw {
ptz?: PTZCapabilities;
menu?: boolean;
trigger?: boolean;
}
export type CapabilityKey = keyof CapabilitiesRaw;
@@ -120,6 +122,7 @@ export const capabilityKeys: readonly [CapabilityKey, ...CapabilityKey[]] = [
'seek',
'snapshots',
'substream',
'trigger',
] as const;
export interface Icon {