ApsaraVideo Live provides the stream push exception event feature to help you quickly view and monitor exceptions during a stream push. This helps you identify and resolve issues promptly to ensure stream stability and quality.
Query exception events
Currently, stream push exception detection supports only the rtmp and rts protocols.
- Log on to the ApsaraVideo Live console.
-
In the left navigation bar, select to go to the Stream Ingest Exceptions page.
-
On the Stream Ingest Exceptions page, search by an exact stream ID. You can query data from the last 7 days, with a maximum time range of 3 hours per query.
The results table includes the following columns: Domain name, AppName, StreamName, Occurrence time, Event type, and Actions.
Note-
If you do not specify a StreamName, the query returns all stream push exception events under your account.
-
You can configure callbacks for stream push exception events in Feature Management - Callback Events. When a stream push exception event occurs, Alibaba Cloud sends the exception event information to the specified URL. For more information, see Callback Settings.
-
Event types
The following table describes the event types.
|
Exception code |
Event type |
|
1001 |
The URL contains invalid characters. |
|
2001 |
The video codec is on the blocklist. |
|
2002 |
The video codec is not on the allowlist. |
|
2003 |
The audio codec is on the blocklist. |
|
2004 |
The audio codec is not on the allowlist. |
|
3001 |
Failed to parse the audio header. |
|
3002 |
Failed to parse the video header. |
|
3003 |
Failed to parse the metadata. |
|
4001 |
The video resolution is inconsistent. |
|
4002 |
The metadata contains no audio information, but audio data was sent. |
|
4003 |
The actual audio or video data does not match the header. |
|
4004 |
The metadata contains no video information, but video data was sent. |
|
4005 |
The audio codec information changed mid-stream. |
|
4006 |
The video codec information changed mid-stream. |
|
4007 |
An audio frame was received before the audio header. |
|
4008 |
A video frame was received before the video header. |
|
5001 |
Excessive CTS jitter. |
|
5002 |
The DTS is not monotonically increasing. |
|
5003 |
The difference between the audio and video timestamps is too large. |
|
5004 |
The audio DTS increased excessively. |
|
5005 |
The video DTS increased excessively. |
|
5006 |
The interval between audio frames is too large. |
|
5007 |
The interval between video frames is too large. |
|
5008 |
The keyframe interval is too large. |