“现场” tvOS 15 UI 上的徽章

发布于 2025-01-13 03:33:49 字数 468 浏览 6 评论 0原文

我了解到 tvOS 15 的播放在标题视图上有一个新的红色“LIVE”徽章。视频流式传输时会出现 LIVE 徽章。

但是,它如何知道视频正在直播并设法显示徽章?定义直播的信息是否包含在元数据中?

我观看了 WWDC 21 并阅读了官方文档但是找不到答案。

实时徽章

I learnt that tvOS 15's playback has a new red "LIVE" badge upon title view. The LIVE badge appears when the video is streaming.

However, how does it know the video is live streaming and manage to display the badge? Is the information which defines Live streaming included in metadata?

I watched WWDC 21 and read an official document but couldn't find the answer.

LIVE badge

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

触ぅ动初心 2025-01-20 03:33:49

我通过与合作工程师讨论并阅读 HLS 文档解决了这个问题: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.2.6

似乎有一个m3u8标签EXT-X-PLAYLIST,定义内容是否为LIVE。

如果此标签具有特定事件值但没有值,则它被定义为“实时”。

I figured out this question by discussing with co-working engineers and reading the HLS document: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.2.6

It seems that there's a m3u8 tag EXT-X-PLAYLIST, which defines whether the content is LIVE.

If this tag has a specific event value doesn't have a value, it's defined LIVE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文