diff --git a/plugins/homekit/.npmignore b/plugins/homekit/.npmignore index 441544bce..5442c0c95 100644 --- a/plugins/homekit/.npmignore +++ b/plugins/homekit/.npmignore @@ -9,3 +9,4 @@ dist/*.js dist/*.txt HAP-NodeJS .gitmodules +tsconfig.json diff --git a/plugins/homekit/.vscode/settings.json b/plugins/homekit/.vscode/settings.json index f1342f03f..f5aba09f8 100644 --- a/plugins/homekit/.vscode/settings.json +++ b/plugins/homekit/.vscode/settings.json @@ -1,4 +1,4 @@ { - "scrypted.debugHost": "koushik-mac" + "scrypted.debugHost": "127.0.0.1" } \ No newline at end of file diff --git a/plugins/homekit/package-lock.json b/plugins/homekit/package-lock.json index 1f5534abd..8d65649ad 100644 --- a/plugins/homekit/package-lock.json +++ b/plugins/homekit/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/homekit", - "version": "1.1.45", + "version": "1.1.46", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/homekit", - "version": "1.1.45", + "version": "1.1.46", "dependencies": { "@koush/werift-src": "file:../../external/werift", "check-disk-space": "^3.3.0", diff --git a/plugins/homekit/package.json b/plugins/homekit/package.json index 1c9856001..01e9fb993 100644 --- a/plugins/homekit/package.json +++ b/plugins/homekit/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/homekit", - "version": "1.1.45", + "version": "1.1.46", "description": "HomeKit Plugin for Scrypted", "scripts": { "scrypted-setup-project": "scrypted-setup-project", diff --git a/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts b/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts index c7d6f189e..1529b13b4 100644 --- a/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts +++ b/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts @@ -208,7 +208,7 @@ export async function startCameraStreamFfmpeg(device: ScryptedDevice & VideoCame // by default opus encodes with a packet time of 20. however, homekit may request another value, // which we will respect by simply outputing frames of that duration, rather than packing // 20 ms frames to accomodate. - opusFramesPerPacket = 1; + // the opus repacketizer will pass through those N frame packets as is. audioArgs.push( '-acodec', ...(requestedOpus ?