Skip to content

Commit 9c0be46

Browse files
committed
fix for camera streaming when audio disabled
1 parent ac7695a commit 9c0be46

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "homebridge-nest-accfactory",
33
"displayName": "Nest Accfactory",
44
"type": "module",
5-
"version": "0.2.3",
5+
"version": "0.2.4",
66
"description": "Homebridge support for Nest/Google devices including HomeKit Secure Video (HKSV) support for doorbells and cameras",
77
"author": "n0rt0nthec4t",
88
"license": "Apache-2.0",
@@ -52,9 +52,9 @@
5252
},
5353
"devDependencies": {
5454
"@eslint/js": "^9.16.0",
55-
"@stylistic/eslint-plugin": "^2.11.0",
55+
"@stylistic/eslint-plugin": "^2.12.0",
5656
"@types/node": "^22.10.1",
57-
"@typescript-eslint/parser": "^8.17.0",
57+
"@typescript-eslint/parser": "^8.18.0",
5858
"homebridge": "^2.0.0-beta.0",
5959
"copyfiles": "^2.4.1",
6060
"eslint": "^9.16.0",

src/camera.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ export default class NestCamera extends HomeKitDevice {
414414
);
415415
let ffmpegRecording = child_process.spawn(this.deviceData.ffmpeg.binary, commandLine.join(' ').split(' '), {
416416
env: process.env,
417-
stdio: ['pipe', 'pipe', 'pipe', includeAudio === true ? 'pipe' : ''],
417+
stdio: ['pipe', 'pipe', 'pipe', 'pipe'],
418418
});
419419

420420
// Process FFmpeg output and parse out the fMP4 stream it's generating for HomeKit Secure Video.
@@ -806,7 +806,7 @@ export default class NestCamera extends HomeKitDevice {
806806
);
807807
let ffmpegStreaming = child_process.spawn(this.deviceData.ffmpeg.binary, commandLine.join(' ').split(' '), {
808808
env: process.env,
809-
stdio: ['pipe', 'pipe', 'pipe', includeAudio === true ? 'pipe' : ''],
809+
stdio: ['pipe', 'pipe', 'pipe', 'pipe'],
810810
});
811811

812812
ffmpegStreaming.on('exit', (code, signal) => {

src/docker-standalone/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nest-accfactory",
33
"displayName": "Nest Accfactory",
44
"type": "module",
5-
"version": "0.2.3",
5+
"version": "0.2.4",
66
"description": "HomeKit integration for Nest devices using HAP-NodeJS library",
77
"author": "n0rt0nthec4t",
88
"license": "Apache-2.0",
@@ -50,9 +50,9 @@
5050
},
5151
"devDependencies": {
5252
"@eslint/js": "^9.16.0",
53-
"@stylistic/eslint-plugin": "^2.11.0",
53+
"@stylistic/eslint-plugin": "^2.12.0",
5454
"@types/node": "^22.10.1",
55-
"@typescript-eslint/parser": "^8.17.0",
55+
"@typescript-eslint/parser": "^8.18.0",
5656
"copyfiles": "^2.4.1",
5757
"eslint": "^9.16.0",
5858
"prettier": "^3.4.2",

0 commit comments

Comments
 (0)