3 ms·
Many do broadcast the data (shoutcast protocol). I do parse the data server side but I think you can do it client side by using hls.js [0] Added bonus you can
by conradfr 2y ago
Many do broadcast the data (shoutcast protocol). I do parse the data server side but I think you can do it client side by using hls.js [0]
Added bonus you can read HLS and MPD streams.
[0] https://github.com/video-dev/hls.js/issues/5706 https://github.com/video-dev/hls.js/issues/5706
- AlexDragusin 2y agoThanks, went through this also before launch, after implementation I was browsing stations and one started playing video :) Thats when I put HLS aside and will explore more once I can have certainty that video streams will not be part of it. Even if I hide the video, the data transfer would not be acceptable. It's unfortunate as the HLS streams start playing nearly instantly so it would been a better experience.
- conradfr 2y agoYes adding style="display:none" to your audio or video element works but will consume bandwidth. https://github.com/video-dev/hls.js/issues/3480 https://github.com/video-dev/hls.js/issues/3480