# Stream Store, encode, deliver, and play videos on sites and applications > Links below point directly to Markdown versions of each page. Any page can also be retrieved as Markdown by sending an `Accept: text/markdown` header to the page's URL without the `index.md` suffix (for example, `curl -H "Accept: text/markdown" https://cloudflaredoc.ubitools.com/stream/`). > > For other Cloudflare products, see the [Cloudflare documentation directory](https://cloudflaredoc.ubitools.com/llms.txt). ## Overview - [Cloudflare Stream](https://cloudflaredoc.ubitools.com/stream/index.md): 无服务器直播与点播视频流,支持自适应码率编码和全球分发。 ## 快速入门 - [快速入门](https://cloudflaredoc.ubitools.com/stream/get-started/index.md): 使用 Cloudflare Stream 上传您的第一个视频或开始您的第一场直播。 ## 上传视频 - [上传视频](https://cloudflaredoc.ubitools.com/stream/uploading-videos/index.md): 了解 Cloudflare Stream 的上传方式、支持的格式和建议。 - [创作者直接上传](https://cloudflaredoc.ubitools.com/stream/uploading-videos/direct-creator-uploads/index.md): 让终端用户直接向 Cloudflare Stream 上传视频,而无需向客户端暴露 API token。 - [Player API](https://cloudflaredoc.ubitools.com/stream/uploading-videos/player-api/index.md): Cloudflare Stream 播放器元素支持的属性和属性。 - [可恢复和大文件 (tus)](https://cloudflaredoc.ubitools.com/stream/uploading-videos/resumable-uploads/index.md): 使用 tus 协议将大型或可恢复视频文件上传到 Cloudflare Stream。 - [通过链接上传](https://cloudflaredoc.ubitools.com/stream/uploading-videos/upload-via-link/index.md): 通过提供云存储中文件的 HTTP 链接将视频上传到 Cloudflare Stream。 - [基本上传](https://cloudflaredoc.ubitools.com/stream/uploading-videos/upload-video-file/index.md): 使用仪表板或 API 将 200 MB 以下的视频文件上传到 Cloudflare Stream。 ## Stream 直播视频 - [Stream 直播视频](https://cloudflaredoc.ubitools.com/stream/stream-live/index.md): 使用 Cloudflare Stream 向全球观众采集、编码和交付直播视频。 - [添加自定义采集域名](https://cloudflaredoc.ubitools.com/stream/stream-live/custom-domains/index.md): 为 Cloudflare Stream 直播输入配置自定义 RTMPS 采集域名,而非使用默认 URL。 - [下载直播视频](https://cloudflaredoc.ubitools.com/stream/stream-live/download-stream-live-videos/index.md): 为 Cloudflare Stream 直播录制启用 MP4 下载(四小时以内)。 - [直播 DVR](https://cloudflaredoc.ubitools.com/stream/stream-live/dvr-for-live/index.md): 在 Cloudflare Stream 中启用 DVR 模式,让观众可以倒带、恢复和快进直播广播。 - [Live Instant Clipping](https://cloudflaredoc.ubitools.com/stream/stream-live/live-instant-clipping/index.md): 从 Cloudflare Stream 直播广播和录制生成可分享片段,无需额外存储费用。 - [录制和重播直播](https://cloudflaredoc.ubitools.com/stream/stream-live/replay-recordings/index.md): 自动录制 Cloudflare Stream 直播广播并通过 API 获取录制内容。 - [Simulcast(转推)视频](https://cloudflaredoc.ubitools.com/stream/stream-live/simulcasting/index.md): 将 Cloudflare Stream 直播广播转发到 YouTube、Twitch、Facebook 等第三方平台。 - [开始直播](https://cloudflaredoc.ubitools.com/stream/stream-live/start-stream-live/index.md): 创建直播输入并使用 RTMPS 或 SRT 向 Cloudflare Stream 广播直播视频。 - [Stream Live API 文档](https://cloudflaredoc.ubitools.com/api/resources/stream/subresources/live_inputs/methods/list/index.md): 访问 Cloudflare Stream Live API 以管理直播输入和流配置。 - [直播故障排除](https://cloudflaredoc.ubitools.com/stream/stream-live/troubleshooting/index.md): 诊断并解决 Cloudflare Stream Live 的缓冲、冻结、延迟和其他问题。 - [观看直播](https://cloudflaredoc.ubitools.com/stream/stream-live/watch-live-stream/index.md): 使用 Stream Player 或自定义 HLS 和 DASH 播放器播放 Cloudflare Stream 直播视频。 - [接收 Live Webhooks](https://cloudflaredoc.ubitools.com/stream/stream-live/webhooks/index.md): 为 Cloudflare Stream Live 连接、断开和错误事件配置 webhook 通知。 ## 转换视频 - [转换视频](https://cloudflaredoc.ubitools.com/stream/transform-videos/index.md): 使用 Media Transformations 优化和操作存储在 Cloudflare Stream 之外的视频。 - [绑定 Workers API](https://cloudflaredoc.ubitools.com/stream/transform-videos/bindings/index.md): 将 Media Transformations API 绑定到 Cloudflare Worker,以编程方式转换视频。 - [定义源站 origin](https://cloudflaredoc.ubitools.com/stream/transform-videos/sources/index.md): 指定哪些 origin 可以为 Cloudflare Media Transformations 提供源视频。 - [故障排除](https://cloudflaredoc.ubitools.com/stream/transform-videos/troubleshooting/index.md): 解决常见的 Cloudflare Media Transformations 错误代码和失败问题。 ## 管理视频 - [管理视频](https://cloudflaredoc.ubitools.com/stream/manage-video-library/index.md): 组织、搜索和管理您的 Cloudflare Stream 视频库。 - [绑定 Workers API](https://cloudflaredoc.ubitools.com/stream/manage-video-library/bindings/index.md) - [管理创作者](https://cloudflaredoc.ubitools.com/stream/manage-video-library/creator-id/index.md): 设置并使用 creator ID 将 Cloudflare Stream 视频与内部用户账户关联。 - [搜索视频](https://cloudflaredoc.ubitools.com/stream/manage-video-library/searching/index.md): 使用 Stream API 按名称搜索 Cloudflare Stream 视频库。 - [使用 webhook](https://cloudflaredoc.ubitools.com/stream/manage-video-library/using-webhooks/index.md): 当 Cloudflare Stream 视频完成处理或遇到错误时接收 webhook 通知。 ## 分析 - [分析](https://cloudflaredoc.ubitools.com/stream/getting-analytics/index.md): 通过仪表板或 GraphQL API 访问 Cloudflare Stream 的服务端视频分析。 - [GraphQL Analytics API](https://cloudflaredoc.ubitools.com/stream/getting-analytics/fetching-bulk-analytics/index.md): 使用 GraphQL Analytics API 查询 Cloudflare Stream 视频指标和观众数据。 - [获取直播观众数](https://cloudflaredoc.ubitools.com/stream/getting-analytics/live-viewer-count/index.md): 使用 views 端点检索 Cloudflare Stream 直播视频的实时观众数。 ## WebRTC - [WebRTC](https://cloudflaredoc.ubitools.com/stream/webrtc-beta/index.md): 在 Cloudflare Stream 中使用 WHIP 和 WHEP 协议实现亚秒级延迟的直播和播放。 ## 示例 - [示例](https://cloudflaredoc.ubitools.com/stream/examples/index.md): Cloudflare Stream 视频和直播常见使用场景的代码示例。 - [Android (ExoPlayer)](https://cloudflaredoc.ubitools.com/stream/examples/android/index.md): 使用 ExoPlayer 在 Android 上播放视频的示例 - [dash.js](https://cloudflaredoc.ubitools.com/stream/examples/dash-js/index.md): 使用 Cloudflare Stream 和 DASH 参考播放器 (dash.js) 播放视频的示例 - [hls.js](https://cloudflaredoc.ubitools.com/stream/examples/hls-js/index.md): 使用 Cloudflare Stream 和 HLS 参考播放器 (hls.js) 播放视频的示例 - [iOS (AVPlayer)](https://cloudflaredoc.ubitools.com/stream/examples/ios/index.md): 使用 AVPlayer 在 iOS 上播放视频的示例 - [使用 OBS 进行首次直播](https://cloudflaredoc.ubitools.com/stream/examples/obs-from-scratch/index.md): 使用 OBS(Open Broadcaster Software)Studio 设置并启动您的首次直播 - [RTMPS 播放](https://cloudflaredoc.ubitools.com/stream/examples/rtmps_playback/index.md): 使用 RTMPS 和 ffplay 实现亚秒级延迟视频播放的示例 - [Shaka Player](https://cloudflaredoc.ubitools.com/stream/examples/shaka-player/index.md): 使用 Cloudflare Stream 和 Shaka Player 播放视频的示例 - [SRT 播放](https://cloudflaredoc.ubitools.com/stream/examples/srt_playback/index.md): 使用 SRT 和 ffplay 实现亚秒级延迟视频播放的示例 - [Stream Player](https://cloudflaredoc.ubitools.com/stream/examples/stream-player/index.md): 使用 Cloudflare Stream Player 播放视频的示例 - [在本地测试 webhook](https://cloudflaredoc.ubitools.com/stream/examples/test-webhooks-locally/index.md): 使用 Cloudflare Worker 和 Cloudflare Tunnel 在本地测试 Cloudflare Stream webhook 通知。 - [Video.js](https://cloudflaredoc.ubitools.com/stream/examples/video-js/index.md): 使用 Cloudflare Stream 和 Video.js 播放视频的示例 - [Vidstack](https://cloudflaredoc.ubitools.com/stream/examples/vidstack/index.md): 使用 Cloudflare Stream 和 Vidstack 播放视频的示例 ## Stream API 参考 - [Stream API 参考](https://cloudflaredoc.ubitools.com/api/resources/stream/methods/list/index.md): 使用 Cloudflare Stream 上传、管理和交付视频的 API 参考。 ## 更新日志 - [更新日志](https://cloudflaredoc.ubitools.com/stream/changelog/index.md): Cloudflare Stream 的最新变更与更新。 ## 常见问题 - [常见问题](https://cloudflaredoc.ubitools.com/stream/faq/index.md): 关于 Cloudflare Stream 视频上传、播放和计费的常见问题。 ## 定价 - [定价](https://cloudflaredoc.ubitools.com/stream/pricing/index.md): Cloudflare Stream 按存储视频分钟数和交付视频分钟数计费。 ## edit-videos - [添加额外音轨](https://cloudflaredoc.ubitools.com/stream/edit-videos/adding-additional-audio-tracks/index.md): 通过 API 上传和管理 Cloudflare Stream 视频的额外音轨。 - [添加字幕](https://cloudflaredoc.ubitools.com/stream/edit-videos/adding-captions/index.md): 使用 AI 生成或文件上传为 Cloudflare Stream 视频添加字幕。 - [应用水印](https://cloudflaredoc.ubitools.com/stream/edit-videos/applying-watermarks/index.md): 创建水印配置文件并通过 API 应用于 Cloudflare Stream 视频上传。 - [添加播放器增强功能](https://cloudflaredoc.ubitools.com/stream/edit-videos/player-enhancements/index.md): 使用品牌、logo 和分享链接自定义 Cloudflare Stream 播放器。 - [剪辑视频](https://cloudflaredoc.ubitools.com/stream/edit-videos/video-clipping/index.md): 通过 API 设置 Cloudflare Stream 视频的起止时间来创建新剪辑。 ## viewing-videos - [显示缩略图](https://cloudflaredoc.ubitools.com/stream/viewing-videos/displaying-thumbnails/index.md): 从 Cloudflare Stream 视频生成和自定义缩略图。 - [下载视频或音频](https://cloudflaredoc.ubitools.com/stream/viewing-videos/download-videos/index.md): 从 Cloudflare Stream 生成可下载的 MP4 视频或 M4A 音频文件。 - [保护 Stream](https://cloudflaredoc.ubitools.com/stream/viewing-videos/securing-your-stream/index.md): 使用 signed URLs 和 token 限制对 Cloudflare Stream 视频的访问。 - [使用您自己的播放器](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-own-player/index.md): 在 Web、iOS 或 Android 上使用任何兼容 HLS/DASH 的播放器播放 Cloudflare Stream 视频。 - [Android](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-own-player/android/index.md): 使用 ExoPlayer 在原生 Android 应用中流式传输点播和 Cloudflare Stream 直播视频。 - [iOS](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-own-player/ios/index.md): 使用 AVPlayer 在原生 iOS、tvOS 和 macOS 应用中流式传输点播和 Cloudflare Stream 直播视频。 - [Web](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-own-player/web/index.md): 使用兼容 HLS 和 DASH 的播放器在 Web 上播放 Cloudflare Stream 视频。 - [使用 Stream Player](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-the-stream-player/index.md): 嵌入并自定义 Cloudflare Stream Player 以播放点播和直播视频。 - [Stream Player API](https://cloudflaredoc.ubitools.com/stream/viewing-videos/using-the-stream-player/using-the-player-api/index.md): 使用 JavaScript SDK 控制 Cloudflare Stream 视频播放并监听媒体事件。