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 | Callback URL |
SdkAppid | The SDKAppID assigned by the Chat console when an app is created |
CallbackCommand | Fixed as Mic.CallbackAfterSeatInfoChanged |
contenttype | Fixed value: JSON |
ClientIP | Client IP, such as 127.0.0.1 |
OptPlatform | Client Platform. For the value, refer to the meaning of the OptPlatform parameter of Webhook Overview: Callback Protocol. |
{"CallbackCommand":"Mic.CallbackAfterSeatInfoChanged","Operator_Account":"user1","RoomId":"rid-123","SeatList":[{// Seat Number"Index": 1,// If the seat is currently occupied, return the user's ID"Member_Account": 144115233775727695,// false: Mic access allowed true: Mic access prohibited"IsTakenDisabled": false,// false: Pushing video stream allowed true: Pushing video stream prohibited"IsVideoDisabled": false,// false: Allow audio stream push true: Prohibit audio stream push"IsAudioDisabled": false}]"EventTime":1670574414123// Millisecond level, event trigger timestamp}
Field | Type | Description |
CallbackCommand | String | Callback command |
Operator_Account | String | UserID of the requester |
RoomId | String | Room ID |
SeatList | Array | The list of the seat |
Index | Integer | The number of the seat |
Member_Account | String | User ID on the seat position, empty indicates no user on the seat |
IsTakenDisabled | Bool | Lock the seat position |
IsVideoDisabled | Bool | Disable microphone video stream |
IsAudioDisabled | Bool | Disable microphone audio stream |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore callback result}
Field | Type | Attribute | Description |
ActionStatus | String | Mandatory | The result of the request process. OK for success, FAIL for failure. |
ErrorCode | Integer | Mandatory | Error code, 0 means to ignore the response result |
ErrorInfo | String | Mandatory | Error message |
Was this page helpful?