Classic/VPC 환경에서 이용 가능합니다.
라이브 채널에서 녹화한 파일의 상세 정보를 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
GET | /api/v2/channels/{channelId}/records/{recordId} |
요청 헤더
Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 Live Station 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
channelId |
String | Required | 채널 아이디
|
recordId |
Integer | Required | 녹화 파일 아이디
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/channels/{channelId}/records/{recordId}' \
--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 |
Object | - | 응답 결과 |
content.{recordId} |
Object | - | 녹화 파일 정보
|
content.{recordId}.recordType |
String | - | 레코딩 파일 타입
|
content.{recordId}.channelId |
String | - | 채널 아이디 |
content.{recordId}.status |
String | - | 파일 상태
|
content.{recordId}.recordSeq |
Integer | - | 녹화 파일 시퀀스 번호 |
content.{recordId}.streamSeq |
Integer | - | 스트림 시퀀스 번호 |
content.{recordId}.recordBeginTime |
Integer | - | 녹화 시작 일시(밀리초)
|
content.{recordId}.createdTime |
Integer | - | 녹화 파일 생성 일시(밀리초)
|
content.{recordId}.shouldDeleteTime |
Integer | - | 녹화 파일 삭제 예정 일시(밀리초)
|
content.{recordId}.resolution |
String | - | 해상도
|
content.{recordId}.fileName |
String | - | 파일 이름 |
content.{recordId}.duration |
Integer | - | 재생 시간(밀리초) |
content.{recordId}.videoBitrate |
Integer | - | 비디오 스트림의 비트레이트(bps) |
content.{recordId}.audioBitrate |
Integer | - | 오디오 스트림의 비트레이트(bps) |
content.{recordId}.videoFrameRate |
Float | - | 초당 프레임 수(fps) |
content.{recordId}.audioCodec |
String | - | 오디오 코덱 |
content.{recordId}.uploadPath |
String | - | 디렉터리 경로 |
content.{recordId}.objectStorageUrl |
String | - | 레코딩 URL
|
응답 상태 코드
Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Live Station 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"content": {
"270****": {
"recordType": "MP4",
"channelId": "ls-20250814******-PZohi",
"status": "TRANSFER_FINISH",
"recordSeq": 1307117,
"streamSeq": 361545,
"recordBeginTime": 1755496369000,
"createdTime": 1755496381000,
"shouldDeleteTime": 1755755581000,
"resolution": "720x1280",
"fileName": "361545-1307117-20250818****.mp4",
"duration": 11634,
"videoBitrate": 2500000,
"audioBitrate": 128000,
"videoFrameRate": 30.0,
"audioCodec": "aac",
"uploadPath": "/databucket/361545-1307117-20250818****.mp4",
"objectStorageUrl": "https://kr.object.ncloudstorage.com/databucket/361545-1307117-20250818****.mp4"
}
}
}