hls.js icon indicating copy to clipboard operation
hls.js copied to clipboard

Chromecast and AirPlay

Open Brandonza opened this issue 6 years ago • 3 comments

Hi all, I'm new to Hls.js(I'm looking at replacing my video.js with it).

Has anyone managed to integrate hls.js with chromecast and AirPlay?

Brandonza avatar Aug 20 '20 10:08 Brandonza

It is possible but also out of scope for hls.js library. Adding airplay is done by adding the correct handlers to the video tag and some more, Apple has a good guide here: https://developer.apple.com/documentation/webkitjs/adding_an_airplay_button_to_your_safari_media_controls Chromecast is a separate library and it has both sender and receiver parts. the only relation between this library and CAST sdk is that you pass the HLS url to both. I can recommend going to CAST SDK website and follow the guides there.

OrenMe avatar Aug 20 '20 11:08 OrenMe

I'm also interested in Chromecast support for hls.js. Pity you closed the issue.

xplorr avatar Oct 19 '20 15:10 xplorr

Oren's comment above sums it up: https://github.com/video-dev/hls.js/issues/2984#issuecomment-677530265

If you are interested, implement it.

robwalch avatar Oct 19 '20 17:10 robwalch