From 8b6c0c4f7b2fee9ecfb6dde3135b475b1487eeb8 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 5 Dec 2023 22:09:23 -0800 Subject: [PATCH] homekit: add hint for adaptive bitrate --- plugins/homekit/package-lock.json | 4 ++-- plugins/homekit/package.json | 2 +- plugins/homekit/src/types/camera/camera-streaming.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/homekit/package-lock.json b/plugins/homekit/package-lock.json index a445510c7c..2e9b2a6b7d 100644 --- a/plugins/homekit/package-lock.json +++ b/plugins/homekit/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/homekit", - "version": "1.2.31", + "version": "1.2.32", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/homekit", - "version": "1.2.31", + "version": "1.2.32", "dependencies": { "@koush/werift-src": "file:../../external/werift", "check-disk-space": "^3.3.1", diff --git a/plugins/homekit/package.json b/plugins/homekit/package.json index d3d5c7842e..08c156f51f 100644 --- a/plugins/homekit/package.json +++ b/plugins/homekit/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/homekit", - "version": "1.2.31", + "version": "1.2.32", "description": "HomeKit Plugin for Scrypted", "scripts": { "scrypted-setup-project": "scrypted-setup-project", diff --git a/plugins/homekit/src/types/camera/camera-streaming.ts b/plugins/homekit/src/types/camera/camera-streaming.ts index 8a4395f48d..25b2a20b30 100644 --- a/plugins/homekit/src/types/camera/camera-streaming.ts +++ b/plugins/homekit/src/types/camera/camera-streaming.ts @@ -304,6 +304,7 @@ export function createCameraStreamingDelegate(device: ScryptedDevice & VideoCame const mediaOptions: RequestMediaStreamOptions = { destination, destinationId: session.prepareRequest.targetAddress, + destinationType: '@scrypted/homekit', adaptive: true, video: { codec: 'h264',