Search channel event lists
- Print
- PDF
Search channel event lists
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is an API to search the list of channel events.
Requests
GET https://livestation.apigw.ntruss.com/api/v2/channels/{channelId}/events
Request headers
Header name | Requirement status | Description |
---|---|---|
x-ncp-apigw-timestamp | YES | It indicates the time elapsed since January 1, 1970 00:00:00 UTC in milliseconds. If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalidx-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | YES | Value of access key ID issued in the NAVER Cloud Platform portalx-ncp-iam-access-key:{Sub Account Access Key} |
x-ncp-apigw-signature-v2 | YES | Signature encrypted with the access key ID value and secret keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
x-ncp-region_code | YES | Region code (KR) |
Responses
Field name | Type | Description | Remarks |
---|---|---|---|
logLevel | String | INFO, ERROR | |
eventCode | String | ||
description | String | ||
timestamp | Integer |
Event code details
eventCode | logLevel | Type | Description |
---|---|---|---|
STREAM_RESERVE | INFO | String | Created channel |
STREAM_UPDATE | INFO | String | Updated channel settings |
PUBLISH_END | INFO | String | Terminated channel transmission |
PUBLISH_Start | INFO | String | Started channel transmission |
THUMBNAIL_CREATE | INFO | String | Created channel thumbnail |
SIMULCAST_STATUS_CHANGE | INFO | String | Updated target platform status |
ONAIR_Start | INFO | String | Start recording channel |
ONAIR_END | INFO | String | Close recording channel |
PUBLISH_OVER_THRESHOLD | INFO | String | Transmitted when the bit rate flowing into the channel exceeds the threshold |
RTMP_MAIN_STREAM_ENABLED | INFO | String | Main stream transmission activated |
RTMP_BACKUP_STREAM_ENABLED | INFO | String | Main transmission switched to backup stream transmission |
BACKUP_SESSION_STREAMING_CONNECTED | INFO | String | Backup stream transmission started |
BACKUP_SESSION_STREAMING_DISCONNECTED | INFO | String | Backup stream transmission ended |
STREAM_FINISH | INFO | String | Unavailable channel For more details, contact the customer center |
AVG_BPS_LOW_WARN | INFO | String | Unstable bit rate flowing into the channel Required to check transmission status |
ERROR | ERROR | String | Abnormal channel transmission Check transmission status |
STREAM_BLOCKED_ON_LIVE | ERROR | String | Suspended channel use due to unstable channel transmission Suspended channel usage for about 5 minutes |
STREAM_BLOCKED_AT_Start | ERROR | String | Suspended channel usage due to certain transmission options Blocked channel usage for about 30 minutes |
STREAM_BLOCKED_UNDEFINED | ERROR | String | Your channel has been suspended for an unknown reason. Suspended channel usage for about 1 hour |
STREAM_UNBLOCK | ERROR | String | Canceled channel suspension Can use after retransmission. |
STREAM_UNBLOCK_BY_MANUALLY | INFO | String | Canceled suspension of channel use |
STREAM_UNBLOCK_FAILED | ERROR | String | Failed to cancel channel suspension Contact customer center |
STREAM_BLOCKED_BY_MANUALLY | ERROR | String | Suspended channel use |
PROCESSING_FAIL | ERROR | String | Failed to create recording file for unknown reason |
FAIL_RELAY | ERROR | String | Failed to transmit for unknown reason |
FAIL_ONAIR | ERROR | String | Unable to start recording for unknown reason |
FAIL_STOP | ERROR | String | Unable to close recording for unknown reason |
FAIL_FINISH | ERROR | String | Failed to suspend transmission for unknown reason |
FAIL_FORCE | ERROR | String | Failed to suspend transmission for unknown reason |
FAIL_RELEASE | ERROR | String | Failed to suspend transmission for unknown reason |
PP_STOP_FAIL | ERROR | String | An unknown error has occurred |
NO_SPS_PPS | ERROR | String | Abnormal video packet inflow |
AUDIO_INFO_CHANGED | ERROR | String | Re-Stream channel Audio packet inflow is not normal |
VIDEO_INFO_CHANGED | ERROR | String | Re-Stream channel Video packet inflow is not normal |
FAILED_TO_PARSE_METADATA | ERROR | String | Unable to read video and audio packets flowed into the Re-Stream channel |
UNSUPPORTED_MEDIA_CODEC | ERROR | String | The codec being transmitted is not supported |
INCORRECT_KEY_INTERVAL | ERROR | String | Incoming Keyframe interval greater than 4 seconds |
UNSUPPORTED_AUDIO_FRAMERATE | ERROR | String | Incoming Audio FrameRate is abnormally high |
UNSUPPORTED_VIDEO_FRAMERATE | ERROR | String | Incoming Video FrameRate is abnormally high |
UNSUPPORTED_AUDIO_BITRATE | ERROR | String | Incoming Audio Bitrate is abnormally high |
UNSUPPORTED_VIDEO_BITRATE | ERROR | String | Incoming Video Bitrate is abnormally high |
UNSUPPORTED_VIDEO_RESOLUTION | ERROR | String | Incoming Video Bitrate is abnormally high |
TOO_MANY_DISCONNECTION | ERROR | String | Connection is very unstable |
RACE_DISCONNECTION | ERROR | String | Frequent connection conflicts due to duplicate transmission within the last 30 seconds |
PREROLL_FAILED | ERROR | String | One of the audio/video packets has not been in normal condition for 5 minutes |
LARGE_READ_TIME_GAP | ERROR | String | There have been no incoming video or audio packets for about 10 seconds after the connection |
UNEXPECTED_CONNECTION_ERROR | ERROR | String | The transmission has been ended due to unknown reasons |
LARGE_AUDIO_VIDEO_TIME_GAP | ERROR | String | The difference in timestamps between the incoming audio/video packets is abnormal |
FAILED_TO_ALLOC_MEM | ERROR | String | The transmission has been ended due to unknown reasons |
AUDIO_OVERRUN | ERROR | String | The difference in timestamp between the incoming audio/transcoding audio packets is abnormal |
VIDEO_OVERRUN | ERROR | String | The difference in timestamps between the incoming video/transcoding video packets is abnormal |
UNKNOWN | ERROR | String | UNKNOWN |
Examples
Request examples
GET /api/v2/channels/ls-20200313162828-G60tN/events
HOST: livestation.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-timestamp:1521787414578
x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
x-ncp-region_code:KR
Response examples
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 12 Sep 2018 09:53:32 GMT
Content-Type: application/json;charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
{
"content" : [
{
"logLevel" : "INFO",
"eventCode" : "PUBLISH_START",
"description" : "You have started publishing channel ls-20200313162828-G60tN.",
"timestamp" : 1585572599000
},
{
"logLevel" : "INFO",
"eventCode" : "PUBLISH_END",
"description" : "ls-20200313162828-G60tN channel publishing has ended.",
"timestamp" : 1585559611000
},
{
"logLevel" : "INFO",
"eventCode" : "ONAIR_END",
"description" : "ls-20200313162828-G60tN Channel recording has ended.",
"timestamp":1585559598000
}
],
"total" : 3
}
Was this article helpful?