Call/Meeting

1)StartMeeting(快速会议)

接口支持最低版本号:3.8.10

此接口异步返回调用结果,需要订阅 Meeting 事件,
sub_event :StartMeeting

request

{
	"jsonrpc": "2.0",
	"id": "xxx",
	"method": "Call/Meeting",
	"params":{
		  "action": "StartMeeting",
		  "action_params": {
			"meeting_type": "instant"  // 会议类型,instant 表示快速会议,pmi 表示个人专属会议
		  }
	}
}

response

{
    "jsonrpc": "2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "result":{
	"error_code":0,
        "message":"",
        "action":"StartMeeting"
    }
}

2)JoinMeeting(加入会议)

接口支持最低版本号:3.8.10

此接口异步返回调用结果,需要订阅 Meeting 事件
sub_event :JoinMeeting

request

{
	"jsonrpc": "2.0",
	"id": "xxx",
	"method": "Call/Meeting",
	"params":{
	   "action": "JoinMeeting",
	   "action_params": {
		 "meeting_code": "", // 会议码
		 "password": "", // 入会密码
		 "mic_enable": true, // 是否开启 mic
		 "camera_enable": true, // 是否开启 camera
	   }
	}, 
}

response

{
    "jsonrpc": "2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "result":{
	"error_code":0,
        "message":"",
        "action":"JoinMeeting"
    }
}

3)DissolveMeeting(解散会议)

接口支持最低版本号:3.8.10

此接口异步返回调用结果,需要订阅 Meeting 事件
sub_event :DissolveMeeting

request

{
	"jsonrpc": "2.0",
	"id": "xxx",
	"method": "Call/Meeting",
	"params":{
	   "action": "DissolveMeeting",
	}, 
}

response

{
    "jsonrpc": "2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "result":{
        "error_code":0,
        "message":"",
        "action":"DissolveMeeting"
    }
}

4)LeaveMeeting(离开会议)

接口支持最低版本号:3.8.10

此接口异步返回调用结果,需要订阅 Meeting 事件
sub_event :LeaveMeeting

request

{
	"jsonrpc": "2.0",
	"id": "xxx",
	"method": "Call/Meeting",
	"params":{
	   "action": "LeaveMeeting",
	}, 
}

response

{
    "jsonrpc": "2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "result":{
        "error_code":0,
        "message":"",
        "action":"LeaveMeeting"
    }
}

5)LeaveWaitingRoom(离开等候室)

接口支持最低版本号:3.8.10

request

{
	"jsonrpc": "2.0",
	"id": "xxx",
	"method": "Call/Meeting",
	"params":{
	   "action": "LeaveWaitingRoom",
	}, 
}

response

{
    "jsonrpc": "2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "result":{
        "error_code":0,
        "message":"",
        "action":"LeaveWaitingRoom"
    }
}

6)SwitchLayout  (切换布局)

接口支持最低版本号:3.9.150

此接口同步返回调用结果

request

{
    "jsonrpc":"2.0",
    "id":"xxx",
    "method":"Call/Meeting",
    "params":{
        "action":"SwitchLayout",
        "action_params":{
            "switch_type":1,// 切换布局类型
            "show_voice_active":true // 是否显示语音激励小窗,切换演讲者布局时有效 ( 注意:首次切换到演讲者布局时,会强制显示小窗,该参数无效)
        }
    }
}

response

{
    "jsonrpc":"2.0",
    "method":"Call/Meeting",
    "id":"xxx",
    "result":{
        "error_code":0,
        "action":"SwitchLayout",
        "message":""
    }
}
下载 Call/Meeting.pdf
Copyright(C)2023 HFBangFu Inc. All Rights Reserved 皖ICP备12017563号-5