mirror of
https://github.com/koush/scrypted.git
synced 2026-09-20 02:30:39 +01:00
sdk: update
This commit is contained in:
Submodule sdk/developer.scrypted.app updated: 41227e437d...285ba01d8d
@@ -183,6 +183,7 @@ class ScryptedInterface(str, Enum):
|
||||
VideoClips = "VideoClips"
|
||||
VideoFrameGenerator = "VideoFrameGenerator"
|
||||
VideoRecorder = "VideoRecorder"
|
||||
VideoRecorderManagement = "VideoRecorderManagement"
|
||||
|
||||
class ScryptedMimeTypes(str, Enum):
|
||||
|
||||
@@ -380,6 +381,12 @@ class ColorRgb(TypedDict):
|
||||
g: float
|
||||
r: float
|
||||
|
||||
class DeleteRecordingStreamOptions(TypedDict):
|
||||
|
||||
destination: MediaStreamDestination
|
||||
duration: float
|
||||
startTime: float
|
||||
|
||||
class Device(TypedDict):
|
||||
"""Device objects are created by DeviceProviders when new devices are discover and synced to Scrypted via the DeviceManager."""
|
||||
|
||||
@@ -1422,6 +1429,12 @@ class VideoRecorder:
|
||||
pass
|
||||
|
||||
|
||||
class VideoRecorderManagement:
|
||||
|
||||
async def deleteRecordingStream(self, options: DeleteRecordingStreamOptions) -> None:
|
||||
pass
|
||||
|
||||
|
||||
class Logger:
|
||||
"""Logger is exposed via log.* to allow writing to the Scrypted log."""
|
||||
|
||||
@@ -1714,6 +1727,7 @@ class ScryptedInterfaceMethods(str, Enum):
|
||||
getRecordingStreamCurrentTime = "getRecordingStreamCurrentTime"
|
||||
getRecordingStreamOptions = "getRecordingStreamOptions"
|
||||
getRecordingStreamThumbnail = "getRecordingStreamThumbnail"
|
||||
deleteRecordingStream = "deleteRecordingStream"
|
||||
ptzCommand = "ptzCommand"
|
||||
getRecordedEvents = "getRecordedEvents"
|
||||
getVideoClip = "getVideoClip"
|
||||
@@ -2488,6 +2502,13 @@ ScryptedInterfaceDescriptors = {
|
||||
],
|
||||
"properties": []
|
||||
},
|
||||
"VideoRecorderManagement": {
|
||||
"name": "VideoRecorderManagement",
|
||||
"methods": [
|
||||
"deleteRecordingStream"
|
||||
],
|
||||
"properties": []
|
||||
},
|
||||
"PanTiltZoom": {
|
||||
"name": "PanTiltZoom",
|
||||
"methods": [
|
||||
|
||||
@@ -1953,6 +1953,7 @@ export enum ScryptedInterface {
|
||||
Display = "Display",
|
||||
VideoCamera = "VideoCamera",
|
||||
VideoRecorder = "VideoRecorder",
|
||||
VideoRecorderManagement = "VideoRecorderManagement",
|
||||
PanTiltZoom = "PanTiltZoom",
|
||||
EventRecorder = "EventRecorder",
|
||||
VideoClips = "VideoClips",
|
||||
|
||||
Reference in New Issue
Block a user