NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
### **接受视频呼叫** int acceptVideoCall(int userId) #### 接口说明: 接受呼叫请求,双方将会收到视频通话开始通知(AnyChatVideoCallEvent事件中的onReceiveVideoCallStart回调通知) #### 返回值: 0—成功 其他错误代码 #### 接口参数简介: | 名称 | 类型 | 说明 | 是否必须 | | --- | --- | --- | --- | | userId| int| 呼叫方用户ID | 是 | #### 示例代码: ``` // anychatSDK is the instance of sdk int status = anychatSDK.acceptVideoCall(userId);//接受呼叫 ```