Event Type | Value |
Successful push | event_type = 329 |
Push interrupted | event_type = 330 |
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. This callback key is used for authentication. We recommend you set this field to ensure data security. |
Parameter | Type | Description |
appid | int | User APPID |
channel_id | string | StreamLive Channel ID |
event_type | int | Successful push:event_type = 329 Push interrupted:event_type = 330 |
input_id | string | StreamLive Channel Input ID |
pipeline | int | StreamLive Channel Input Pipeline |
{"data": {"appid": *********,"channel_id": "63F5C728000061D706B6","event_type": 329,"input_id": "6583B18B000017CCCBDA","interface": "general_callback","pipelie": 0,"sign": "fb94d1628c7ab6b3ba23fcd777ac5112","stream_id": "","t": 1757066192},"header": {"Connection": "keep-alive","Content-Length": "222","Content-Type": "application/json","User-Agent": "*********"},"receive_time": 1757065592}
{"data": {"appid": *********,"channel_id": "63F5C728000061D706B6","event_type": 330,"input_id": "6583B18B000017CCCBDA","interface": "general_callback","pipelie": 1,"sign": "fb94d1628c7ab6b3ba23fcd777ac5112","stream_id": "","t": 1757066239},"header": {"Connection": "keep-alive","Content-Length": "222","Content-Type": "application/json","User-Agent": "*********"},"receive_time": 1757065639}
Feedback