YouTube 直播內容擷取通訊協定比較
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
YouTube 直播支援下列內容擷取通訊協定:
第三方用戶端:
擷取通訊協定 |
已加密 |
支援視訊轉碼器 |
註解 |
RTMP |
否 |
H.264 |
適合一般、低延遲或超低延遲的直播。 |
RTMPS |
是 |
H.264 |
適合一般、低延遲或超低延遲的直播。 |
HLS |
是 |
H.264、H.265 (HEVC) |
由於支援 HEVC,因此能更優異的 4K 解析度。支援 HDR。超低延遲適合。 |
資訊主頁 |
是 |
H.264、VP9 |
由於 VP9 支援,因此更適合用於 4K 解析度。超低延遲適合。 |
即時訊息通訊協定 (RTMPS) 是廣為使用的視訊通訊協定
。
即時訊息通訊協定安全 (RTMPS) 是 RTMP 的安全擴充功能。
RTMPS 可有效防範中間人,造福內容創作者和觀眾
針對直播內容擷取面發動攻擊這能確保
創作者的直播資料 (包括影片、音訊和控制信號)
安全傳輸至 YouTube 伺服器,防止遭到竄改
傳輸中的攔截
HTTP 即時串流 (HLS) 和 透過 HTTP 執行的動態自動調整串流
(DASH) 擷取通訊協定也會經過加密,例如 RTMPS。也支援
RTMP 和 RTMPS 通訊協定不需要的轉碼器。新一代的影片轉碼器,例如 VP9 和
高效率視訊編碼 (HEVC) 能以更高的壓縮率高出許多
到 H.264
或是以較低位元率串流播放相同畫質的串流內容,
減少緩衝處理的情況因此,HLS 或 DASH 擷取功能是絕佳的
需要畫質及更高解析度的內容
則延遲時間較長請注意,HLS 和 DASH 擷取通常會導致
延遲時間大於 RTMP,因為 HTTP 即時串流和 DASH 是以區隔為基礎。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-15 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-15 (世界標準時間)。"],[[["YouTube Live Streaming supports four ingestion protocols: RTMP, RTMPS, HLS, and DASH, each with different features and capabilities."],["RTMP and RTMPS are suitable for normal, low, or ultra-low latency live streaming, with RTMPS providing secure, encrypted transmission."],["HLS and DASH are encrypted, support advanced codecs like HEVC and VP9, and are better suited for 4K and high-resolution streaming but have higher latency."],["HLS and DASH offer improved video compression compared to H.264, allowing for higher quality at the same bitrate or equivalent quality with a lower bitrate."]]],["YouTube Live Streaming uses RTMP, RTMPS, HLS, and DASH protocols. RTMP and RTMPS, the latter being a secure extension, support H.264 and are suitable for low-latency streams. Encrypted HLS supports H.264 and H.265 (HEVC), while encrypted DASH supports H.264 and VP9, both being ideal for 4K and HDR content. HLS and DASH are segment based and offer better compression, but are not suitable for ultra-low latency.\n"]]