事件类型 | 字段取值说明 |
推流异常事件 | event_type = 321 |
参数 | 类型 | 含义 |
appid | int | 用户 APPID |
stream_id | string | 直播流名称 |
data_time | int | 推流事件回调时间(单位ms) |
report_interval | int | 有异常事件时,上报间隔(单位ms) |
abnormal_event | json | 详细异常事件组 |
参数 | 类型 | 含义 |
type | int | 异常事件类型 |
count | int | 对应异常事件单位时间(上报间隔内)发生次数 |
detail | json | desc:异常事件描述 occur_time:异常事件发生时间 |
type_desc_cn | string | 异常事件中文描述 |
type_desc_en | string | 异常事件英文描述 |
类型 | 含义 |
1 | 视频时间戳回退 |
2 | 音频时间戳回退 |
3 | 视频时间戳突然变大(大于1000ms) |
4 | 音频时间戳突然变大(大于1000ms) |
5 | chunk size 太大(大于8192) |
6 | 两帧视频帧到达时间太长(大于3000ms) |
7 | 两帧音频帧到达时间太长(大于1000ms) |
8 | 视频编码类型发生变化 |
9 | 音频编码类型发生变化 |
10 | 视频帧到来前没有 codec 头 |
11 | 音频帧到来前没有 codec 头 |
{"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":"视频帧到达时间差值大于1000ms","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":"音频帧到达时间差值大于1000ms","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}
本页内容是否解决了您的问题?