제품 업데이트
Tencent Cloud 오디오/비디오 단말 SDK 재생 업그레이드 및 권한 부여 인증 추가
TRTC 월간 구독 패키지 출시 관련 안내


Field Name | Value |
Content-Type | application/json |
Sign | signature value |
SdkAppId | SDK application ID value |
Field Name | Type | Description |
EventGroupId | Number | Event Group ID. The cloud-based content understanding event group is fixed as 11. |
EventType | Number | Event type of callback notification. |
CallbackTs | Number | Unix Timestamp of Callback Request Sent by Event Callback Server to Your Server in milliseconds. |
EventInfo | JSON Object | Event information. |
Field Name | Type | Description |
EVENT_TYPE_CLOUD_Moderation_START | 1101 | Cloud content understanding module startup. |
EVENT_TYPE_CLOUD_Moderation_STOP | 1102 | Cloud content understanding module exit. |
EVENT_TYPE_CLOUD_Moderation_SEND_START | 1103 | Cloud content understanding task start. |
EVENT_TYPE_CLOUD_Moderation_TASK_INFO | 1104 | Cloud content understanding result callback. |
EVENT_TYPE_CLOUD_Moderation_SEND_STOP | 1105 | Cloud content understanding submission for review. |
EVENT_TYPE_CLOUD_Moderation_UPLOAD_ERROR | 1106 | Cloud content understanding delivery module error occurs. |
Field Name | Type | Description |
RoomId | String/Number | Room name (type matches the client room ID type). |
EventTs | Number | Unix Timestamp of Event Occurrence, in seconds (not recommended for use, recommend using EventMsTs). |
EventMsTs | Number | Unix Timestamp of Event Occurrence in milliseconds. |
UserId | String | User ID of the pull-stream robot. |
TaskId | String | Task ID, a unique ID for a cloud-based content understanding task that runs only once. |
Payload | JsonObject | Define different event types. |
Field Name | Type | Description |
Status | Number | 0: Represents module startup successful. 1: Represents module startup failed. |
{"EventGroupId": 11,"EventType": 1101,"CallbackTs": 1726125338219,"EventInfo": {"RoomId": "960025","EventTs": 1726125338,"EventMsTs": 1726125338219,"UserId": "inspect","TaskId": "-npVqpdU7sBobiK1iskE3BwlLIebCMrbKUbnL4K-rO+8oZWQndib9uvO4Deq9P1Na+sXGNGNuAE.""Payload": {"Status": 0}}}
Field Name | Type | Description |
LeaveCode | Number | 0: Represents the cloud-based content understanding module normally called review log out. 1: The streaming robot was kicked out of the room by the customer. 2: The customer dismissed the room. 3: The server kicked out the streaming robot. 4: The server dismissed the room. 99: No other user streams in the room except the streaming robot, exit after exceeding specified time. 100: Room timeout exit. 101: The same user repeatedly entering the same room causes the robot to log out. |
{"EventGroupId": 11,"EventType": 1102,"CallbackTs": 1729601782073,"EventInfo": {"RoomId": "975626","EventTs": "1729601782","EventMsTs": 1729601782073,"UserId": "SliceTaskDuration1-partner-robot","TaskId": "-nHRjqhU7gTG0UIL-MquzG8D0Q+wehTbVTeeIIK-rO+8oZWQndibtueIpQ8A0F3n9PEVRk0rngE.","Payload": {"LeaveCode": 99}}}
Field Name | Type | Description |
Status | Number | 0: Represents start sending slice file. |
{"EventGroupId": 11,"EventType": 1103,"CallbackTs": 1726750023538,"EventInfo": {"RoomId": "295210","EventTs": 1726750023,"EventMsTs": 1726750023538,"UserId": "inspect","TaskId": "-nHwXIdU7mJvL22pFsXZ-v7OgEzq1OzbNXe9L4K-4pycoZWQndib3ZfzqN7Wq+AdiPLMBLxd0gE.","Payload": {"Status": 0}}}
Field Name | Type | Description |
DataId | String | Cloud content understanding task ID. |
RequestId | String | Third-party content understanding provider request ID. |
MediaType | Number | speech 2: Image. |
Suggest | Number | 0: It is recommended to pass. 1: Manual review is recommended. 2: It is recommended to block. |
Label | String | Normal Ad: Advertisement Porn: Pornography Abuse: Insult Illegal: Prohibited Polity: Political content Terror: Violence and terror Sexy: Sexy image QRCode: QR code Custom |
Image | String | User bucket image path. |
Audio | String | User bucket audio path. |
AudioText | String | Audio recognition text. |
CheckDetail | Object | Cloud content understanding detailed results. |
Keywords | []String | Keyword(s) |
Score | Number | Confidence score. |
AudioSegments | Object | Audio segment location information. |
ImageLocation | Object | Image hit coordinate information. |
{"EventGroupId": 11,"EventType": 1104,"CallbackTs": 1726750309161,"EventInfo": {"RoomId": "963239","EventTs": 1735872251,"EventMsTs": 1735872251524,"UserId": "TRTCModerationCase2-user0","StreamerUserId": "SliceCustomUploadCase6-user0","TaskId": "-m9lm+lU7tOlL2mFgsPuzHeyNThbhZzbJlKQI4K-raO8oZWQndibARGYcSDohF0Zfgo7RNCuGQE.","Payload": {"DataId": "547512114953106866","RequestId": "","MediaType": 1,"Suggest": 2,"Label": "Polity","Image": "","Rate": 100,"Audio": "https://x.xx.com/-m9lm+lU7tOlL2mFgsPuzHeyNThbhZzbJlKQI4K-raO8oZWQndibARGYcSDohF0Zfgo7RNCuGQE./547512114835666354.ogg","AudioText": "xxxxxx.","CheckDetail": [{"Label": "Polity","Suggest": 2,"Keywords": ["XXX"],"Score": 100,"Desc": "","AudioSegments": {},"ImageLocation": {}}]}}}
{"EventGroupId": 11,"EventType": 1104,"CallbackTs": 1726750309161,"EventInfo": {"RoomId": "963239","EventTs": 1735872251,"EventMsTs": 1735872251524,"UserId": "TRTCModerationCase2-user0","StreamerUserId": "SliceCustomUploadCase6-user0","TaskId": "-m9lm+lU7tOlL2mFgsPuzHeyNThbhZzbJlKQI4K-raO8oZWQndibARGYcSDohF0Zfgo7RNCuGQE.","Payload": {"DataId": "554678038156038407","RequestId": "a82e0175-65ed-46b5-a656-45814aea1c60","MediaType": 2,"Suggest": 2,"Label": "Ad","Image": "https://trtcauto-sg-1311572968.cos.ap-singapore.myqcloud.com/prefix1/prefix2/-nHlf1xU7tsdRVBjLsog0ZX9T62DtVjbNguMJYK-58aNM6KipeDPAfrKt1aejC8ipMaphfYxAQ../TianyuModerationCase3-user1/images/20005067_963715_TianyuModerationCase3-user1_20250221211113.png","ImageOcr": "Movable Type Culture Moveable TVo The pain of never being able to go home again;""Rate": 90,"Audio": "","AudioText": "","CheckDetail": [{"Scene": "Ad","Label": "Normal","Suggest": 2,"Keywords": [],"Score": 90,"AudioSegments": {},"ImageLocation": {}}]}}}
Field Name | Type | Description |
Status | Number | End the task. |
{"EventGroupId": 11,"EventType": 1105,"CallbackTs": 1726751347072,"EventInfo": {"RoomId": "295211","EventTs": 1726751347,"EventMsTs": 1726751347072,"UserId": "inspect","TaskId": "-nHwXIdU7jx6C00Nt8Vr+3h4GwYdP7zbeHi9L4K-4pycoZWQndibqFeEaV4LvjFqSuQvaAkrNQE.","Payload": {"Status": 0}}}
Field Name | Type | Description |
Code | Number | COS or third-party storage error code. |
Message | String | COS or third-party storage error message. |
{"EventGroupId": 11,"EventType": 1106,"CallbackTs": 1726751347072,"EventInfo": {"RoomId": "295211","EventTs": 1726751347,"EventMsTs": 1726751347072,"UserId": "inspect","TaskId": "-nHwXIdU7jx6C00Nt8Vr+3h4GwYdP7zbeHi9L4K-4pycoZWQndibqFeEaV4LvjFqSuQvaAkrNQE.","Payload": {"Code": 10002,"Message": "BadRequest"}}}
Field | Meaning |
<taskId> | Cloud content understanding task ID. |
<sdkappid> | Cloud content understanding task SdkAppId. |
<roomId> | Room number for cloud content understanding. |
<userid> | anchor user ID |
UTC time | current time string, for example: 20250106143143 |
피드백