i am trying to implement an mjpeg stream into my sitemap. Doesnt work correctly, ofc
I got an IP cam which i implemented into synology surveillance station. With the Surveillance station binding i am able to get an URL where i can see the stream as mjpeg. I tried this url within chrome browser and it works.
It looks like this:
In sitemap i chose video card, put in the url and typed mjpeg into the encoding box. But in OH App the video doesn´t work.
I tried with a webview card which works indeed, but i can only see a part of the picture, even when i set “height” to 20.
As the URL seems to work i might be doing somethin wrong.
Can you help me?
What is the URL you are using to view the sitemap with? In particular is it HTTP or HTTPS? Many browsers these days do not allow you to mix the two, they all have to be https if the main webpage your viewing is using https. This is called mixed content.
When i open the sitemap on my computer (Mac, Chrome browser), i can see nothing where the image should be, nothing where the Video should be and an errorcode where WebView is:
{“error”:{“code”:105},“success”:false}
In the Android app i see nothing exept the webview, but not fullscreen. I see footage, so basically it seems to work.