This commit is contained in:
Koushik Dutta
2022-10-09 08:24:19 -07:00
parent 5513548bbf
commit 458a214136
5 changed files with 6 additions and 5 deletions

View File

@@ -9,3 +9,4 @@ dist/*.js
dist/*.txt
HAP-NodeJS
.gitmodules
tsconfig.json

View File

@@ -1,4 +1,4 @@
{
"scrypted.debugHost": "koushik-mac"
"scrypted.debugHost": "127.0.0.1"
}

View File

@@ -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",

View File

@@ -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",

View File

@@ -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 ?