Event Type | Parameter Value |
Push errors | event_type = 321 |
Parameter | Type | Description |
appid | int | The user’s App ID. |
stream_id | string | The stream ID. |
data_time | int | The callback time (ms). |
report_interval | int | The reporting interval (ms) when a push error occurs. |
abnormal_event | json | The push error details. |
abnormal_event
parametersParameter | Type | Description |
type | int | The error type. |
count | int | The number of times the error occurred between two reports (within the reporting interval). |
detail | json | desc: The error description. occur_time: The time when the error occurred. |
type_desc_cn | string | The error description in Chinese. |
type_desc_en | string | The error description in English. |
Type | Description |
1 | The video timestamp moved backwards. |
2 | The audio timestamp moved backwards. |
3 | The video timestamp increased notably (by more than 1000 milliseconds). |
4 | The audio timestamp increased notably (by more than 1000 milliseconds). |
5 | Chunk size too big (bigger than 8,192). |
6 | Two consecutive video frames arrived late (by more than 3000 milliseconds). |
7 | Two consecutive audio frames arrived late (by more than 1000 milliseconds). |
8 | The video codec changed. |
9 | The audio codec changed. |
10 | No codec header before a video frame arrived. |
11 | No codec header before an audio frame arrived. |
{"abnormal_event":[{"count":2,"detail":[{"desc":"video frame arrive interval too long, interval=3046(msec)","occur_time":1670588070569},{"desc":"video frame arrive interval too long, interval=2953(msec)","occur_time":1670588073522}],"type":6,"type_desc_cn":" ","type_desc_en":"video frame arrive interval bigger than 1000(ms)"},{"count":2,"detail":[{"desc":"audio frame arrive interval too long, interval=3009(msec)","occur_time":1670588070532},{"desc":"audio frame arrive interval too long, interval=2917(msec)","occur_time":1670588073486}],"type":7,"type_desc_cn":" ","type_desc_en":"audio frame arrive interval bigger than 1000(ms)"}],"appid":0,"data_time":1670588074971,"domain":"xxxx.xxxxx.xxxx.xxxx","event_type":321,"interface":"general_callback","path":"xxxx","report_interval":5000,"sequence":"000000000000000000","stream_id":"xxxxxx","stream_param":"txSecret=f5828cd4a8a09109304b060172fb3960&txTime=665982e4","timeout":5000}
Was this page helpful?