diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eab1a39..971c7f9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +# v5.0.24 - 2022-04-23 + +## Bugfixes +- Fixed an issue where you could no longer see the camera streams via `homebridge-config-ui-x` + # v5.0.23 - 2022-04-23 ## Other Changes diff --git a/homebridge-ui/server.js b/homebridge-ui/server.js index 050e56d2..083200e0 100644 --- a/homebridge-ui/server.js +++ b/homebridge-ui/server.js @@ -73,7 +73,7 @@ class UiServer extends HomebridgePluginUiServer { let videoProcessor = cameraUI.options && cameraUI.options.videoProcessor ? cameraUI.options.videoProcessor : defaultVideoProcess; - await this.probe(); + await this.probe(camera.name, videoProcessor, camera.videoConfig.source); let source = cameraUtils.generateInputSource(videoConfig); source = cameraUtils.checkDeprecatedFFmpegArguments(this.codecs.ffmpegVersion, source); @@ -194,7 +194,7 @@ class UiServer extends HomebridgePluginUiServer { console.log(`${cameraName}: Probe stream: ${videoProcessor} ${arguments_.join(' ')}`); - let cp = spawn(videoProcessor, arguments_, { + let cp = child_process.spawn(videoProcessor, arguments_, { env: process.env, }); @@ -233,7 +233,7 @@ class UiServer extends HomebridgePluginUiServer { cp.on('exit', () => { this.codecs.probe = true; - console.log(`${cameraName}: ${this.codecs.toString()}`); + console.log(`${cameraName}: ${JSON.stringify(this.codecs)}`); cp = null; diff --git a/package-lock.json b/package-lock.json index 51bcbcb4..3b4de050 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebridge-camera-ui", - "version": "5.0.23", + "version": "5.0.24", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "homebridge-camera-ui", - "version": "5.0.23", + "version": "5.0.24", "funding": [ { "type": "paypal", diff --git a/package.json b/package.json index 0a889f69..3bb3fdb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-camera-ui", - "version": "5.0.23", + "version": "5.0.24", "description": "User Interface for RTSP capable cameras with HSV support.", "author": "SeydX (https://github.com/SeydX/homebridge-camera-ui)", "scripts": {