i am using the IP Camera Binding with the instar thing to stream the video of my Instar Camera.
The channel i am using is the mjpegUrl.
Openhab 4.0.4 is runing on a Raspberry PI 4.
To display the video stream on the mainUI i am using a Image Card.
Using a webbrowser (PC or smartphone) the video stream is display well.
But using the android app i am just seeing a white screen.
Can you update the app to 3.11.0 and press “Clear cache” in the settings?
On your desktop browser, do you see any mixed content warning (because the image is send over http, while the rest of the page is https)?
Thanks for the answer. I am already on version 3.11.0. Just cleared the cache in the app settings. But nothing changed. Still just a white space where the live stream should be.
Also i qm getting no warning or similar in the web browser while viewing the stream.
Its also the same with the app using several devices (smart phone and tablets).
Dear Sebastian, thank you for the hint.
I tried your code in my mainui and replaced the camera URL with the *.jpg url and *.mjpeg.
But in both cases the box stayed white in the browser.
Dont know whats wrong:
@sl4m - Mixing HTTP and HTTPS content can exhibit this behavior, and there is definitely some oddities with using self signed certs. I can see your using HTTP in the code above - double check that your Android App is configured to use HTTP as well (under Menu > Settings > Server openHAB > Local)!
Hello, thank you for the code!
It is now also working in the Android app.
But the update frequency seems to be very low now: once every ~5s.
Is there a workaround to fix this?
Autofps.mjpeg is every 8 seconds. But if motion is detected then it is every second.
use ipcamera.mjpeg for every second.
But is uses ffmpeg for the stream… (need cpu)
Greets