https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Callback URL. |
SdkAppid | SDKAppID assigned when the application is created in the TRTC Console. |
CallbackCommand | Fixed value: Call.CallbackAfterRecordChanged. |
contenttype | Fixed value: json. |
ClientIP | Client IP address, format: 127.0.0.1. |
OptPlatform |
{"CallId": "f6273604-3806-4abb-bc7e-090cd9208ee6","Callback": {"EventGroupId": 3,"EventType": 301,"CallbackTs": 1774425607091,"EventInfo": {"RoomId": "1280586498","EventTs": 1774425607,"UserId": "callkit_1500099430_record_1280586498","TaskId": "-nHuqHlU7islZCDCjMne7HY2TJoU1NbbDkHjVoK-yqHu8ZWQndibQJtEhvB6ShqolkmNmnxz7AE.","Payload": {"Status": 0},"EventMsTs": 1774425607077},"KitType": 2},"CallbackCommand": "Call.CallbackAfterRecordChanged","EventTime": 1774425607149}
Field Name | Type | Description |
CallbackCommand | String | Callback command. |
EventTime | Number | Timestamp (in milliseconds) when the event was triggered. |
CallId | String | Call ID. |
Callback | JsonObject | Detailed event information. |
EventGroupId | Number | Event group ID. Cloud recording uses 3; page recording uses 8. |
EventType | Number | Event type for callback notification. |
CallbackTs | Number | Unix timestamp (in milliseconds) when the callback server sent the request to your server. |
EventInfo | JSON Object |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0}
Field | Type | Attribute | Description |
ActionStatus | String | Required | Result of the request. "OK" indicates success, "FAIL" indicates failure. |
ErrorInfo | String | Required | Error message. It is empty if the request is successful. |
ErrorCode | Integer | Required | Error code. 0 means the response result is ignored and subsequent processing continues. |
피드백