製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について
https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | Request Protocol: HTTPS, Request Method: POST. |
www.example.com | Webhook URL. |
SdkAppid | The SDKAppID assigned in the Chat console when creating an application. |
CallbackCommand | Fixed as Live.CallbackAfterStartBattle. |
contenttype | The fixed value is json. |
ClientIP | Client IP, format as: 127.0.0.1. |
OptPlatform | Client platform. For the value, see Introduction to Third-Party Webhook for the parameter meaning of OptPlatform. |
{"CallbackCommand": "Live.CallbackAfterStartBattle","BattleId": "4siHsNsWN/T3aub9zKraqI4zZAyPRpXQhdtKv1q4HOs=", // battle id"Duration": 60000, // battle duration"CreateTime": 1739954005, // battle creation time, in seconds"StartTime": 1739954005, // battle start time, in seconds"FromRoomInfo": { // Caller information in battle"RoomId": "pk-3","Owner_Account": "brennan"},"ToRoomList": [ // Called party information in battle{"RoomId": "pk-5","Owner_Account": "tandy"}],"EventTime": 1739954005000, // Callback trigger time, in milliseconds}
Field | Type | Description |
CallbackCommand | String | Webhook command. |
BattleId | String | Battle ID. |
Duration | Integer | Battle duration in milliseconds. |
CreateTime | Integer | Creation time of the battle, Unix time. |
StartTime | Integer | Start time of the battle, Unix time. |
FromRoomInfo | String | Caller information in battle. |
ToRoomList | Array | Information of the callee participating in the battle. |
RoomId | String | Room ID. |
Owner_Account | String | The owner ID of room. |
EventTime | Integer | Millisecond-level timestamp triggered by the event. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore webhook result}
Field | Type | Attribute | Description |
ActionStatus | String | Required | Result of request processing. OK indicates success and FAIL indicates failure. |
ErrorCode | Integer | Required | Error code. Fill in 0 here to ignore the webhook result. |
ErrorInfo | String | Required | Error message. |
フィードバック