製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について
https://www.example.com.
Example: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 | Webhook URL. |
SdkAppid | SDKAppID assigned by the Chat console when an application is created. |
CallbackCommand | Fixed as Live.CallbackAfterCreateRoom. |
contenttype | Fixed value: json. |
ClientIP | Client IP, such as 127.0.0.1. |
OptPlatform | Client Platform, for value reference see Webhook Overview: Webhook Protocol for the meaning of the OptPlatform parameter. |
{"CallbackCommand":"Live.CallbackAfterCreateRoom","Operator_Account":"admin","RoomInfo":{"RoomId":"tandy-test-rest","RoomName":"tandy-test-rest","RoomType":"Live","Owner_Account":"user3","MaxMemberCount":300,"IsMessageDisabled":true,"CustomInfo":"custom123","IsSeatEnabled":true,"TakeSeatMode":"ApplyToTake","MaxSeatCount":16,"CreateTime":1703589922,"IsPublicVisible":true,"CoverURL":"cover url","Category":[1,2]}}
Field | Type | Description |
CallbackCommand | String | Webhook command. |
Operator_Account | String | Operator UserID initiating live room creation request. |
RoomId | String | Room ID. |
RoomName | String | Room Name. |
RoomType | String | Room Type: Live (Live Room). |
Owner_Account | String | Host ID. |
MaxMemberCount | Integer | Maximum number of room members. |
IsMessageDisabled | Bool | Prohibit all members from sending text messages. |
CustomInfo | String | Custom Definition Fields. |
IsSeatEnabled | Bool | Is microphone support available? |
MaxSeatCount | Integer | Maximum Number of Microphones. |
TakeSeatMode | String | Seat Mode: None (Off), FreeToTake (Free to Join the Podium), ApplyToTake (Apply to join the microphone). |
CreateTime | Integer | Create time in Unix time. |
IsPublicVisible | Bool | Room is public or not. |
CoverURL | String | Room cover URL. |
Category | Array | Room Type Identification, Integer array type. |
EventTime | Integer | Event trigger timestamp in milliseconds. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore webhook result}
Field | Type | Attribute | Description |
ActionStatus | String | Mandatory | The result of the request process: OK indicates success; FAIL indicates failure. |
ErrorCode | Integer | Mandatory | Error Code, here 0 means to ignore the response result. |
ErrorInfo | String | Mandatory | Error message. |
フィードバック