Can Chromecast cast .m3u8 live stream on default receiver?

倾然丶 夕夏残阳落幕 提交于 2020-01-02 10:16:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!