Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ipcamera] Add a check to see if FFmpeg is frozen for mjpeg creation #13896

Merged
merged 2 commits into from
Dec 10, 2022

Conversation

Skinah
Copy link
Contributor

@Skinah Skinah commented Dec 10, 2022

Had a user report that a Unifi protect camera does not get detected as OFFLINE by the binding as the base station/hub/bridge stays online whilst the camera itself does a reboot. FFmpeg hangs if the stream stops midway so this fix will check if the thread is still working when it is needed. Also hard coded URLS in for newer range Instar cameras.

Reported via forum here:
https://community.openhab.org/t/ipcamera-streams-not-automatically-updating-cached/141223/15

Jar can be RIGHT HAND CLICKED and save link as to get around the jfrog login from:
https://openhab.jfrog.io/artifactory/libs-pullrequest-local/org/openhab/addons/bundles/org.openhab.binding.ipcamera/3.4.0-SNAPSHOT/org.openhab.binding.ipcamera-3.4.0-SNAPSHOT.jar

Signed-off-by: Matthew Skinner matt@pcmus.com

Signed-off-by: Matthew Skinner <matt@pcmus.com>
@Skinah Skinah added the bug An unexpected problem or unintended behavior of an add-on label Dec 10, 2022
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit 2a7b6bf into openhab:main Dec 10, 2022
@lolodomo lolodomo added this to the 3.4 milestone Dec 10, 2022
@Skinah Skinah deleted the ipcamera branch December 18, 2022 00:06
morph166955 pushed a commit to morph166955/openhab-addons that referenced this pull request Dec 18, 2022
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/ipcamera-new-ip-camera-binding/42771/2821

andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Dec 24, 2022
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
borazslo pushed a commit to borazslo/openhab-mideaac-addon that referenced this pull request Jan 8, 2023
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Jan 6, 2024
…penhab#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants