--- title: "채널 스트림 메타데이터 조회" slug: "media-livestation-channel-publishingmetainfo" updated: 2026-10-13T06:04:40Z published: 2026-10-13T10:00:06Z canonical: "api.ncloud-docs.com/media-livestation-channel-publishingmetainfo" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 채널 스트림 메타데이터 조회 Classic/VPC 환경에서 이용 가능합니다. 라이브 채널에 송출 중인 스트림의 메타데이터를 조회합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /api/v2/channels/{channelId}/streamMetadata | ### 요청 헤더 Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 [Live Station 요청 헤더](/docs/media-livestation#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `channelId` | String | Required | 채널 아이디 - [채널 목록 조회](/docs/media-livestation-channel-channellist) 참조 | ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `backup` | Boolean | Optional | 조회할 스트림 구분 - `true` \| `false` (기본값) - `true`: 백업 스트림의 메타데이터 조회 - `false`: 메인 스트림의 메타데이터 조회 - 송출 이중화(`isStreamFailOver`)를 설정한 채널에서 백업 스트림을 조회할 때 사용 | ### 요청 예시 요청 예시는 다음과 같습니다. #### 메인 스트림을 조회하는 경우 메인 스트림의 메타데이터를 조회하는 경우, 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/channels/ls-20250814******-zTwK2/streamMetadata' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'x-ncp-region_code: KR' \ --header 'Content-Type: application/json' ``` #### 백업 스트림을 조회하는 경우 백업 스트림의 메타데이터를 조회하는 경우, 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/channels/ls-20250814******-zTwK2/streamMetadata?backup=true' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'x-ncp-region_code: KR' \ --header 'Content-Type: application/json' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `content` | Object | - | 스트림 메타데이터 정보 | | `content.video` | Object | - | 비디오 트랙 정보 | | `content.video.width` | Integer | - | 출력 비디오의 너비(픽셀) | | `content.video.height` | Integer | - | 출력 비디오의 높이(픽셀) | | `content.video.fps` | Float | - | 초당 프레임 수(fps) | | `content.video.bitrate` | Integer | - | 비디오 스트림의 비트레이트(bps) | | `content.audio` | Object | - | 오디오 트랙 정보 | | `content.audio.bitrate` | Integer | - | 오디오 스트림의 비트레이트(bps) | ### 응답 상태 코드 Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Live Station 응답 상태 코드](/docs/media-livestation#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "content": { "video": { "width": 1920, "height": 1080, "fps": 30.0, "bitrate": 4026912 }, "audio": { "bitrate": 192320 } } } ```