Closed aditya-agarwal closed 3 years ago
the problem is in the latest version of HLS.js. Its not an issue with the lightning-sdk
This version works on stb : https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.6/hls.min.js
But if i point to there latest version it does not work : https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.0.10/hls.min.js
so when doing npm i hls.js
its installing the latest version and that does not work
but installing npm i hls.js@0.7.6
works
I am trying to play an HLS stream using the hls.js library and I am getting audio locally in the browser but its not working on the stb. Lightning-web works: https://pf-ui-lng-dev.xreapps.net/aagarw202/hls-debug/index8-lng.html simple HTML page works : https://pf-ui-lng-dev.xreapps.net/aagarw202/hls-debug/index9-hls.html but lightning-sdk does not : https://pf-ui-lng-dev.xreapps.net/aagarw202/lng-hls/index.html Also tried updating to use the
<video>
tag instead of audio and still no luck : https://pf-ui-lng-dev.xreapps.net/aagarw202/lng-hls-5/index.html