Skip to content

Commit

Permalink
v5.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
seydx committed Apr 23, 2022
1 parent 81c0857 commit 4d91ba3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions homebridge-ui/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
});

Expand Down Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 4d91ba3

Please sign in to comment.