【问题标题】:Chromecast device not playing HLS Video from iOS ApplicationChromecast 设备未从 iOS 应用程序播放 HLS 视频
【发布时间】:2014-03-13 18:03:34
【问题描述】:

我已注册我的应用并尝试将 hls 视频从 ios 应用投射到电视。 它适用于其他格式,如 mp4。 在代码中,我提到流类型为 GCKMediaStreamTypeLive,内容类型为 @"application/x-mpegURL"。 使用的 iOS 代码引用自示例应用程序“HelloVideoGoogleCast”。 我已经从以下示例中部署了接收器的 html 文件, https://github.com/googlecast/cast-custom-receiver.

我错过了什么吗? 是否有任何示例应用可用于在 ChromeCast 设备上播放 HLS 视频? 为什么不播放 hls 视频类型?

【问题讨论】:

  • 我不知道您指的是什么示例代码“HelloVideoGoogleCast”。 cast-custom-receiver 中包含 HLS 内容;按照那里的步骤操作。
  • 我在 chromecast 控制台中收到此错误,即 <9222>

标签: ios chromecast


【解决方案1】:

即使 CORS 标头存在且设置正确,我也会收到“Access-Control-Allow-Origin”标头错误。原来,从 Chromecast iOS 应用程序中简单地重新启动 Chromecast 设备即可解决此问题。

【讨论】:

    猜你喜欢
    • 2013-07-26
    • 2014-06-05
    • 2016-12-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-10
    • 2014-03-27
    • 2015-02-05
    相关资源
    最近更新 更多