Event Type | Field Value Description |
Smart erase | event_type = 347 |
Parameter | Type | Description |
t | int64 | Expiration time, which is the UNIX timestamp when the event notification signature expires. The default validity period of a message notification from Tencent Cloud is 10 minutes. If the time specified by the t value in a message notification has elapsed, then this notification is considered invalid, thereby preventing network replay attacks.The format of t is a decimal UNIX timestamp, i.e., the number of seconds that have elapsed since 00:00:00 (UTC/GMT time), January 1, 1970. |
sign | string | Event notification security signature sign = MD5(key + t). Note: Tencent Cloud concatenates the encryption key and t, calculates the sign value through MD5, and places it in the notification message. When your backend server receives the notification message, it can confirm whether the sign is correct based on the same algorithm and then determine whether the message is indeed from the Tencent Cloud backend. |

Parameter | Type | Description |
appid | int | |
stream_id | string | Live stream name. |
channel_id | string | Same as the live stream name. |
task_id | string | Task ID for Smart Erasing. |
data | Process the results. |
Parameter | Type | Description |
subtitle_tmp_res | Text results. |
Parameter | Type | Description |
src_txt | string | Original audio recognition text. |
start_pts | int64 | src_txt corresponds to the timestamp starting point of the audio stream, in milliseconds (ms). |
end_pts | int64 | src_txt corresponds to the timestamp end point of the audio stream, in milliseconds (ms). |
start_unix_time | int64 | src_txt corresponds to the UNIX time starting point of the live broadcast. |
end_unix_time | int64 | src_txt corresponds to the UNIX time end point of the live broadcast. |
keywords_info | List of keywords that silence hits. |
Parameter | Type | Description |
word | string | Hit keywords. |
begin_time | int64 | The keyword corresponds to the timestamp starting point of the audio stream, in milliseconds (ms). |
end_time | int64 | The keyword corresponds to the end point of the audio stream timestamp in milliseconds (ms). |
{"event_type": 347,"stream_id": "teststream","channel_id": "teststream","task_id": "7735333","data": {"subtitle_tmp_res": [{"end_pts": 964464,"end_unix_time": 1750402597,"keywords_info": [{"begin_time": 957759,"end_time": 959424,"word": "Central Commission for Discipline Inspection"}],"src_txt": "The list of alternate members for the Central Committee and candidates for the Central Commission for Discipline Inspection was carefully deliberated.","start_pts": 954864,"start_unix_time": 1750402588,}]},"sign": "ca3e25e5dc17a6f9909a9ae7281e300d","t": 1754623810}
Feedback