【发布时间】:2014-03-23 08:34:16
【问题描述】:
我正在尝试使用 Google 提供的修改后的示例应用程序来重现 MPEG DASH、HLS 和 HSS(HTTP SmoothStreaming)流,但目前只有 DASH 可以工作。 我用: https://github.com/googlecast/cast-custom-receiver 和 https://github.com/googlecast/CastVideos-android
正如我在这里看到的 https://developers.google.com/cast/docs/player?hl=en 所有协议(HSS、HLS、DASH)都应该可以正常工作。
当我尝试流式传输 HSS 和 HLS 时,我在 Sample Media Receiver HUD 中得到了这个:
媒体元素状态:“错误”(或“中止”) . . . 主机状态:“致命错误:代码 = 1”
有人知道这个错误代表什么吗? 此外,有时我会收到此“致命错误:代码 = 0”。
//更新
当我尝试投射 HSS 时出现此错误: [2648.568s] [cast.receiver.MediaManager] 加载元数据错误 cast_receiver.js:19 链接是: http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest
//更新
HLS 正在运行。通过设置 CORS 标头解决了问题。
【问题讨论】:
标签: android http-live-streaming chromecast smooth-streaming