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 라이브 스트리밍 (HLS) 및 HTTP 동적 적응형 스트리밍(DASH) 처리 프로토콜도 RTMPS와 마찬가지로 암호화됩니다. 또한 RTMP 및 RTMPS에서 지원하지 않는 코덱도 지원합니다. VP9 및 고효율 동영상 코딩 (HEVC)과 같은 차세대 동영상 코덱은 H.264에 비해 훨씬 더 나은 압축을 제공하여 사용자가 지정된 비트 전송률로 더 높은 품질로 스트리밍하거나 더 낮은 비트 전송률을 사용하여 동일한 품질로 스트리밍할 수 있으므로 버퍼링이 줄어들 수 있습니다. 따라서 HLS 또는 DASH 수집은 상대적으로 지연 시간이 길지만 더 높은 품질과 해상도가 필요한 프리미엄 콘텐츠에 적합합니다. HLS 및 DASH는 세그먼트 기반이므로 일반적으로 RTMP보다 지연 시간이 깁니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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."]]