Classic/VPC 환경에서 이용 가능합니다.
동시 송출 채널에 설정된 플랫폼 목록을 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
GET | /api/v2/re-stream/channels/{channelId}/platforms |
요청 헤더
Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 Live Station 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
channelId |
String | Required | 채널 아이디
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/re-stream/channels/ls-20250819******-Ik1QU/platforms' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--header 'x-ncp-region_code: KR'
응답
응답 형식을 설명합니다.
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
content |
Array | - | 동시 송출 플랫폼 목록: content |
content
content
에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
targetName |
String | - | 동시 송출 플랫폼 이름 |
rtmpUrl |
String | - | 동시 송출 플랫폼 RTMP URL |
id |
String | - | RTMP 인증 아이디
|
password |
String | - | RTMP 인증 비밀번호
|
streamKey |
String | - | 스트림 키 |
connectStatus |
String | - | 동시 송출 상태
|
platId |
Integer | - | 동시 송출 플랫폼 아이디 |
bytesPerSecond |
Integer | - | 초당 전송량(Byte) |
totalRetryCount |
Integer | - | 누적 재접속 시도 횟수 |
bytesTotalTrans |
Integer | - | 누적 전송량(Byte) |
totalPlaySecond |
Integer | - | 누적 송출 시간(초) |
응답 상태 코드
Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Live Station 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"content": [
{
"targetName": "YOUTUBE",
"rtmpUrl": "rtmp://rtmp-test.youtube.com",
"id": "user000",
"password": "d*****",
"streamKey": "****-****-****-****-****",
"connectStatus": "PUBLISHING",
"platId": 3699,
"bytesPerSecond": 1100832,
"totalRetryCount": 0,
"bytesTotalTrans": 85222049,
"totalPlaySecond": 0
},
{
"targetName": "PRISM",
"rtmpUrl": "rtmp://abc.prism.com",
"id": "user001",
"password": "d*****",
"streamKey": "****-****-****-****-****",
"connectStatus": "PUBLISHING",
"platId": 3700,
"bytesPerSecond": 1100832,
"totalRetryCount": 0,
"bytesTotalTrans": 85222049,
"totalPlaySecond": 0
}
]
}