From 1703653df41924457bf8316ec7cee985e28dcfb3 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 16 May 2022 23:37:25 -0700 Subject: [PATCH] sdk: profile hint --- sdk/gen/types.input.ts | 1 + sdk/scrypted_python/scrypted_sdk/types.py | 1 + sdk/types/index.d.ts | 1 + sdk/types/index.ts | 1 + sdk/types/scrypted_python/scrypted_sdk/types.py | 1 + 5 files changed, 5 insertions(+) diff --git a/sdk/gen/types.input.ts b/sdk/gen/types.input.ts index 6c8d19c1a..fc18b672f 100644 --- a/sdk/gen/types.input.ts +++ b/sdk/gen/types.input.ts @@ -355,6 +355,7 @@ export interface Camera { export interface VideoStreamOptions { codec?: string; + profile?: string; width?: number; height?: number; bitrate?: number; diff --git a/sdk/scrypted_python/scrypted_sdk/types.py b/sdk/scrypted_python/scrypted_sdk/types.py index 16707f615..1159380cc 100644 --- a/sdk/scrypted_python/scrypted_sdk/types.py +++ b/sdk/scrypted_python/scrypted_sdk/types.py @@ -209,6 +209,7 @@ class VideoStreamOptions(TypedDict): keyframeInterval: float maxBitrate: float minBitrate: float + profile: str width: float pass diff --git a/sdk/types/index.d.ts b/sdk/types/index.d.ts index 77043faa5..4ffecdd5b 100644 --- a/sdk/types/index.d.ts +++ b/sdk/types/index.d.ts @@ -503,6 +503,7 @@ export interface Camera { } export interface VideoStreamOptions { codec?: string; + profile?: string; width?: number; height?: number; bitrate?: number; diff --git a/sdk/types/index.ts b/sdk/types/index.ts index 3738d7289..e9432641d 100644 --- a/sdk/types/index.ts +++ b/sdk/types/index.ts @@ -1109,6 +1109,7 @@ export interface Camera { export interface VideoStreamOptions { codec?: string; + profile?: string; width?: number; height?: number; bitrate?: number; diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index 16707f615..1159380cc 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -209,6 +209,7 @@ class VideoStreamOptions(TypedDict): keyframeInterval: float maxBitrate: float minBitrate: float + profile: str width: float pass