Basic/Classic UI: support for HTTP Live Stream #4386
Conversation
I tested it with Chrome on Android. |
Add support for HLS in compatible WEB browsers Use encoding="HLS" in the video sitemap element. Signed-off-by: Laurent Garnier <lg.hc@free.fr>
As an example, this change allows the rendering of video from the Netatmo Welcome camera. You can find compatible browsers with HLS in wikipedia: https://en.wikipedia.org/wiki/HTTP_Live_Streaming |
I tested with the 5 m3u8 links proposed on this page: https://bitmovin.com/mpeg-dash-hls-examples-sample-streams/
It is working well in Chrome (Android) and in Microsoft Edge (Windows 10). Unfortunately Netatmo welcome links are not working in Microsoft Edge. |
Even if I am very confident, it would be cool if someone can test with Safari browser on iOS and Mac. |
At lest the middle one works on Safari @ macOS and Safaris @ iOS. I'm not sure whether it's just that the others are simply not available/overloaded right now or it that points to some other issues. None of them works in Chrome @ macOS/Windows 10, which is expected though if I read this Wikipedia page correctly. This is according to your expectations, right? |
Are your tests really done with the updated UIs from this PR ? |
Ouch, my bad - got the IPs mixed up, sorry. |
Just one question regarding the encoding configuration - unfortunately we have no documentation about sitemaps here, so the best I could find was the one from openHAB. There it says that the encoding attribute "can stay left empty for auto selection" [sic]. This does not hold true anymore, right? Is it somehow possible to auto-detect HLS streams? |
I will update this documentation once this PR is merged to explain that "hls" has to be set for m3u8 files (HLS). |
Thank you for your additional tests @SJKA . I think we have tested with success in all compatible WEB browsers. Note that it should work in Chrome/iOS too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
Add support for HLS in compatible WEB browsers
Use encoding="HLS" in the video sitemap element.
Signed-off-by: Laurent Garnier lg.hc@free.fr