YouTube ライブ配信取り込みプロトコルの比較
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
YouTube ライブ配信は、サードパーティ クライアントに対して次の取り込みプロトコルをサポートしています。
取り込みプロトコル |
暗号化あり |
サポートされている動画コーデック |
コメント |
RTMP |
いいえ |
H.264 |
通常のレイテンシ、低レイテンシ、超低レイテンシのライブ ストリーミングに適しています。 |
RTMPS |
はい |
H.264 |
通常のレイテンシ、低レイテンシ、超低レイテンシのライブ ストリーミングに適しています。 |
HLS |
はい |
H.264、H.265(HEVC) |
HEVC をサポートしているため、4K 解像度に適しています。HDR をサポートしています。超低レイテンシには適していません。 |
DASH |
はい |
H.264、VP9 |
VP9 をサポートしているため、4K 解像度に適しています。超低レイテンシには適していません。 |
リアルタイム メッセージング プロトコル(RTMPS)は、動画配信で広く使用されているプロトコルで、YouTube ライブではサービスの開始当初から採用されています。
リアルタイム メッセージング プロトコル セキュア(RTMPS)は、RTMP の安全な拡張仕様です。RTMPS は、ライブ配信の取り込み側で中間者攻撃を防ぐことで、コンテンツ クリエイターと視聴者の両方にメリットをもたらします。これにより、動画、音声、制御信号など、クリエイターのライブ配信データがすべて YouTube のサーバーに安全に送信され、転送中の改ざんや傍受から保護されます。
HTTP Live Streaming(HLS)と Dynamic Adaptive Streaming over HTTP(DASH)の取り込みプロトコルも、RTMPS と同様に暗号化されます。また、RTMP や RTMPS ではサポートされていないコーデックもサポートしています。VP9 や High Efficiency Video Coding(HEVC)などの次世代動画コーデックは、H.264 と比較して圧縮率が大幅に向上しています。これにより、ユーザーは特定のビットレートでより高品質のストリーミングを行ったり、より低いビットレートで同じ品質のストリーミングを行ったりすることができ、バッファリングを減らすことができます。そのため、HLS または DASH の取り込みは、比較的レイテンシは高くなりますが、高品質で高解像度を必要とするプレミアム コンテンツに適しています。HLS と DASH はセグメント ベースであるため、通常、HLS と DASH の取り込みは RTMP よりもレイテンシが大きくなります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-21 UTC。
[null,null,["最終更新日 2025-08-21 UTC。"],[[["\u003cp\u003eYouTube Live Streaming supports four ingestion protocols: RTMP, RTMPS, HLS, and DASH, each with different features and capabilities.\u003c/p\u003e\n"],["\u003cp\u003eRTMP and RTMPS are suitable for normal, low, or ultra-low latency live streaming, with RTMPS providing secure, encrypted transmission.\u003c/p\u003e\n"],["\u003cp\u003eHLS 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.\u003c/p\u003e\n"],["\u003cp\u003eHLS 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.\u003c/p\u003e\n"]]],["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"],null,["# YouTube Live Streaming Ingestion Protocol Comparison\n\nYouTube Live Streaming supports the following ingestion protocols for\nthird-party clients:\n\n| Ingestion Protocol | Encrypted | Video Codecs Supported | Comment |\n|----------------------------------------------------|-----------|------------------------|-----------------------------------------------------------------------------------------------------|\n| RTMP | No | H.264 | Suitable for normal, low, or ultra-low latency live streaming. |\n| [RTMPS](/youtube/v3/live/guides/rtmps-ingestion) | Yes | H.264 | Suitable for normal, low, or ultra-low latency live streaming. |\n| [HLS](/youtube/v3/live/guides/hls-ingestion) | Yes | H.264, H.265 (HEVC) | Better for 4K resolution because of HEVC support. Supports HDR. Not suitable for ultra-low latency. |\n| [DASH](/youtube/v3/live/guides/encoding-with-dash) | Yes | H.264, VP9 | Better for 4K resolution because of VP9 support. Not suitable for ultra-low latency. |\n\n*Real Time Messaging Protocol (RTMPS)* is a widely-used protocol for video\nstreaming that YouTube Live has accepted since the service began.\n\n*Real Time Messaging Protocol Secure (RTMPS)* is a secure extension to RTMP.\nRTMPS benefits both content creators and viewers by preventing man-in-the-middle\nattacks on the ingestion side of livestreams. This ensures that all of a\ncreator's live streaming data---including video, audio, and control signals---is\nsecurely transmitted to YouTube's servers, protecting it from tampering or\ninterception in transit.\n\nThe *HTTP Live Streaming (HLS)* and *Dynamic Adaptive Streaming over HTTP\n(DASH)* ingestion protocols are also encrypted, like RTMPS. They also support\ncodecs that RTMP and RTMPS don't. Next-generation video codecs such as VP9 and\n*High Efficiency Video Coding (HEVC)* can offer much better compression relative\nto H.264, allowing users to either stream with higher quality for a given\nbitrate or stream with the same quality while using a lower bitrate, which could\ndecrease buffering. This makes HLS or DASH ingestion a good choice for premium\ncontent that requires higher quality and higher resolution, albeit at a\nrelatively higher latency. Note that HLS and DASH ingestion typically incur\ngreater latency than RTMP because HLS and DASH are segment-based."]]