Event Type | Value |
Abnormal recording event | event_type = 341 |
Parameter | Type | Description |
t | int64 | Expiration time, which is the Unix timestamp when the event notification signature expires. The default validity period of a callback notification from Tencent Cloud is 10 minutes. If the time specified by the t value in a notification has elapsed, then this notification is considered invalid. This prevents network replay attacks.The value of t is a decimal Unix timestamp, that is, the number of seconds that have elapsed since 00:00:00 (UTC/GMT time), January 1, 1970. |
sign | string | Security signature. sign = MD5(key + t). Note: Tencent Cloud splices the encryption key and t, generates the MD5 hash of the spliced string, and embeds it in callback messages. Your backend server can perform the same calculation when it receives a callback message. If the signature matches, it indicates the message is from Tencent Cloud. |

Parameter | Type | Description |
appid | int | |
stream_id | string | Live stream name. |
session_id | string | ID of the live streaming recording session. It is used to distinguish different recording tasks. |
file_format | string | Recording file format, including FLV, TS, MP4, and AAC. |
timestamp | int | Callback time of an abnormal recording event (unit: seconds). |
exception_level | string | Exception level, including info, warning, and error. |
exception | json | Detailed abnormal event description. |
Parameter | Type | Description |
type | int | |
occurs | int | Number of occurrences within the statistical cycle of abnormal events. |
desc | string | Abnormal event description. |
Type | Description |
-8 | The audio timestamp changes greatly. |
-9 | The video timestamp changes greatly. |
-10 | The audio and video timestamps differ greatly. |
-11 | The video timestamp is invalid. |
-16 | Failed to pull the stream. |
-17 | No audio is pushed when audio recording is set for streaming. |
-18 | No video is pushed when video recording is set for streaming. |
-22 | The audio timestamp does not change. |
-23 | The video timestamp does not change. |
-24 | The audio timestamp is invalid. |
-100 | The resolution for streaming pushing has changed. |
-104 | An error occurred while writing audio/video frames to containers (files). |
-120 | The recording file is truncated due to a video encoding method change. |
-130 | Abnormal video frames are dropped. |
-131 | Abnormal audio frames are dropped. |
-132 | The GOP length is abnormal. |
-200 | The audio timestamp does not increase evenly. |
-201 | The video timestamp does not increase evenly. |
{"interface":"general_callback","event_type":341,"appid":1234567,"domain":"1234567.livepush.myqcloud.com","path":"live","stream_id":"test_stream_35b4a6e6d4261","session_id":"1855245773800540059","file_format":"ts","timestamp":1739934527,"exception_level":"info","exception":{"type":-201,"desc":"video ts deviation: 100.000000","occurs":4},"sign": "ca3e25e5dc17a6f9909a9ae7281e300d","t": 1754623810}
Feedback