Chromecast可以在默认接收器上播放.m3u8实时流吗? [英] Can Chromecast cast .m3u8 live stream on default receiver?

查看:83
本文介绍了Chromecast可以在默认接收器上播放.m3u8实时流吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在默认接收器上投射.mp4。效果很好。使用相同的设置播放m3u8,但元数据会出现,但视频无法播放。
想知道我是否也可以在默认接收器上投射.m3u8。如果是这样,我应该使用哪种MIME类型以及应该设置的其他设置?

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?

推荐答案

HLS(如果这是您的m38u中的内容)支持播放列表)。您需要确保满足CORS要求(普通mp4不需要这样做)。查看 https://developers.google.com/cast/ 下的文档,以了解受支持的内容而不是什么,并在那里找到示例项目的引用。

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.

这篇关于Chromecast可以在默认接收器上播放.m3u8实时流吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆