【问题标题】:Chrome-cast with AVPlayer iOSChrome-cast 与 AVPlayer iOS
【发布时间】:2017-05-23 19:16:41
【问题描述】:

我在我的 iOS 应用程序中使用 AVPlayer 播放视频,现在想要添加 chrome cast 支持。

1- 根据this 链接,我们可以在视频播放时查看 chrome-cast 按钮。和 AVPlayer 一样吗?

2- 根据 Apple 的要求,我的视频经过编码并采用 m3u8 格式。我们可以在 chrome cast 中播放吗?

【问题讨论】:

  • 你有什么解决办法吗?

标签: ios casting avplayer chromecast google-cast


【解决方案1】:

好吧,您可以尝试查看此 Google Cast documentation,它包含 API 库和示例应用程序代码,可帮助您的应用程序发展壮大。这些 API 记录在 API 参考中,示例代码在发送方应用程序和接收方应用程序概述中进行了讨论。

要回答您是否可以在 Chrome Cast 中播放 m3u8 格式的问题,首先,您可以查看此 Supported Media for Google Cast 以了解 Google Cast 中支持的所有媒体设施和类型。

请注意,其中一些需要额外的编码或Media Player Library。有关开发您的接收器应用程序以支持这些媒体类型的更多信息,请参阅Receiver Applications

有关更多信息,请查看以下 SO 问题:

【讨论】:

  • 感谢肯迪。检查它们。
猜你喜欢
  • 1970-01-01
  • 2019-06-25
  • 2014-02-11
  • 1970-01-01
  • 2014-04-07
  • 2018-06-27
  • 1970-01-01
  • 2012-11-10
  • 1970-01-01
相关资源
最近更新 更多