이 페이지에서는 Live Stream API의 개요를 제공합니다. Live Stream API는 여러 기기 플랫폼용으로 메자닌 실시간 신호를 HTTP 동적 적응형 스트리밍(DASH/MPEG-DASH), HTTP 실시간 스트리밍(HLS)을 비롯한 소비자 직접 스트리밍 형식으로 트랜스코딩합니다.
먼저 입력 엔드포인트를 만든 후 실시간 SRT 또는 RTMP 입력 신호를 HLS 또는 DASH 출력 스트림으로 트랜스코딩하는 채널 리소스를 만듭니다.
Live Stream API로 생성된 출력 스트림은 Cloud Storage 버킷에 저장됩니다. 그런 다음 Cloud Storage 버킷을 Media CDN의 백엔드로 구성할 수 있습니다.
기능
Live Stream API에는 다음 기능이 지원됩니다.
자동 인프라 프로비저닝
Cloud Storage, Cloud 감사 로그, Google Cloud
인프라와 통합
중복을 위한 백업 입력 스트림 구성
VOD에 라이브
콘텐츠 암호화
슬레이트(이미지 및 동영상)
지원되는 입력 및 출력
다음 표에서는 Live Stream API에 지원되는 입력 및 출력 형식을 보여줍니다.
입력 유형
지원되는 형식
프로토콜
SRT, RTMP
동영상 코덱
H.264(AVC)
오디오 코덱
AAC
자막
임베디드 CEA-608/708(패스 스루)
출력 유형
지원되는 형식
프로토콜
fMP4 및 MPEG2-TS 세그먼트가 있는 Apple HLS, fMP4 세그먼트가 있는 MPEG-DASH
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-03(UTC)"],[],[],null,["# Overview of the Live Stream API\n\nThis page provides an overview of the Live Stream API. The Live Stream API\ntranscodes mezzanine live signals into direct-to-consumer streaming formats,\nincluding Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live\nStreaming (HLS), for multiple device platforms.\n\nYou first create an input endpoint, then create a channel resource that\ntranscodes the live SRT or RTMP input signal into an HLS or DASH output stream.\nOutput streams created by the Live Stream API are saved to Cloud Storage\nbuckets. You can then configure a Cloud Storage bucket as a backend for\nMedia CDN.\n\nFeatures\n--------\n\nThe Live Stream API includes support for the following features:\n\n- Automatic infrastructure provisioning\n\n- Integration with Cloud Storage, Cloud Audit Logs, and Google Cloud\n infrastructure\n\n- Configuration of a backup input stream for redundancy\n\n- Live to video on demand (VOD)\n\n- Content encryption\n\n- Slates (image and video)\n\n### Supported inputs and outputs\n\nThe following tables show the supported input and output formats for the\nLive Stream API.\n\nSee the\n[supported configurations for content encryption](/livestream/docs/how-to/encrypt-content#supported-configurations).\n\nAccess control\n--------------\n\nThe Live Stream API access control model is based on\n[Identity and Access Management (IAM)](/iam/docs). IAM's fine-grained\npermissions give you control over what can be done with media data, and by whom.\n\nConcepts and terminology\n------------------------\n\nThis section provides a glossary of useful terms for working with the\nLive Stream API.\n\n### Channels\n\nA channel is a resource that ingests the input stream through an input endpoint,\ntranscodes the input stream into multiple renditions, and publishes output live\nstreams in certain formats in the specified location. You can include a primary\nand backup input stream in the same channel.\n\n### Channel events\n\nA channel event is a sub-resource of a channel that executes operations on a\nchannel resource without needing to stop the channel. The following channel\nevents are supported:\n\n- Create ad break markers\n- Mute/unmute the live stream\n- Insert a slate into the live stream\n- Return to program (live stream)\n- Switch the channel input\n\n### Encoder\n\nAn encoder is a program used to send input streams, such as `ffmpeg`.\n\n### Input endpoints\n\nAn input endpoint is an endpoint to which your encoder sends your input stream.\nYou can use the input endpoint to specify configurations for your stream, such\nas input resolution, input type, and video cropping.\n\nAn input endpoint consists of either an RTMP or SRT URI that looks like the\nfollowing: \n\n```\nrtmp://192.0.2.1/live/STREAM_ID\n``` \n\n```\nsrt://192.0.2.1:4201?streamid=STREAM_ID\n```\n\nwhere \u003cvar translate=\"no\"\u003e\u003ccode translate=\"no\" dir=\"ltr\"\u003eSTREAM_ID\u003c/code\u003e\u003c/var\u003e is a string such as\n`b8ebdd94-c8d9-4d88-a16e-b963c43a953b`."]]