【问题标题】:What is the meaning of errors 30 / 300 when casting using Google Cast?使用 Google Cast 投射时出现错误 30 / 300 是什么意思?
【发布时间】:2020-05-03 03:24:31
【问题描述】:

我正在尝试将 HLS 从 iPhone/Android 应用程序投射到 Chromecast,但反复出现错误。

在 iOS 端: com.google.cast.GCKError Code=30 "媒体加载失败" gck_detailed_error_code=300

我一直在怀疑 CORS 问题,并尝试了一些打开和关闭的操作,例如在服务端设置 Access-Control-Request-Origin *,尽管如此,在某些环境中我仍然会收到错误 30/300(但在其他环境中没有)。了解 30/300 的含义会有所帮助,但我还没有找到任何关于此的文档,例如在此页面上:https://developers.google.com/cast/docs/caf_receiver/error_codes

【问题讨论】:

标签: android ios chromecast google-cast


【解决方案1】:

我的应用同样的错误。

当我通过 iOS 应用程序在 chromecast 中播放 .m3u8 格式(url)时。 Chromecast 不支持这种格式。

参考链接:https://developers.google.com/cast/docs/media#image-formats

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-12-14
    • 2019-11-20
    • 2017-06-24
    • 1970-01-01
    • 2017-12-20
    • 2021-07-21
    • 2014-10-30
    • 2021-02-21
    相关资源
    最近更新 更多