问题
I have tried casting .mp4 on default receiver. It works great. Used the same setting to play m3u8 and metadata comes but video doesn't play. Want to know if I can cast .m3u8 as well on the default receiver. If so what MIME type should I use and additional setting should I set?
回答1:
HLS (if that is what is in your m38u playlist) is supported. You need to make sure CORS requirements are satisfied (something that is not required for plain mp4). Look at the docs under https://developers.google.com/cast/ to see what is supported and what is not, and find references to sample projects there as well.
回答2:
The .m3u8 format cannot be directly sent to Chromecast. But I'm using the APP: TVS_player
https://play.google.com/store/apps/details?id=it.ielettronica.TVS_player
you need to have an account here: https://www.iptv-updated.com and add the .m3u8 in the channels groups. (more detail in this link: https://www.iptv-updated.com/how-to-stream-m3u8-on-chromecast/)
来源:https://stackoverflow.com/questions/24178164/can-chromecast-cast-m3u8-live-stream-on-default-receiver