会议服务
更多...
#include <meeting_service.h>
|
virtual void | startMeeting (const NEStartMeetingParams ¶m, const NEStartMeetingOptions &opts, const NEStartMeetingCallback &cb)=0 |
| 开始会议
|
|
virtual void | joinMeeting (const NEJoinMeetingParams ¶m, const NEJoinMeetingOptions &opts, const NEJoinMeetingCallback &cb)=0 |
| 加入会议
|
|
virtual void | anonymousJoinMeeting (const NEJoinMeetingParams ¶m, const NEJoinMeetingOptions &opts, const NEJoinMeetingCallback &cb)=0 |
| 匿名加入会议
|
|
virtual void | leaveMeeting (bool finish, const NELeaveMeetingCallback &cb)=0 |
| 离开会议
|
|
virtual void | getCurrentMeetingInfo (const NEGetMeetingInfoCallback &cb)=0 |
| 获取当前会议信息
|
|
virtual NEMeetingStatus | getMeetingStatus ()=0 |
| 获取会议状态
|
|
virtual void | addMeetingStatusListener (NEMeetingStatusListener *listener)=0 |
| 添加会议监听,接收会议状态
|
|
virtual void | setOnInjectedMenuItemClickListener (NEMeetingOnInjectedMenuItemClickListener *listener)=0 |
| 添加会议按钮点击事件监听,接收点击事件
|
|
virtual void | getBuiltinMenuItems (const std::vector< int > &menuItemsId, const NEGetPresetMenuItemsCallback &cb)=0 |
| 获取内置菜单
|
|
virtual void | subscribeRemoteAudioStream (const std::string &accountId, bool subscribe, const NEEmptyCallback &cb)=0 |
| 订阅会议内单个音频流
|
|
virtual void | subscribeRemoteAudioStreams (const std::vector< std::string > &accountIdList, bool subscribe, const NEEmptyCallback &cb)=0 |
| 订阅会议内多个音频流
|
|
virtual void | subscribeAllRemoteAudioStreams (bool subscribe, const NEEmptyCallback &cb)=0 |
| 订阅会议内全部音频流
|
|
| NEService () |
| 构造函数
|
|
virtual | ~NEService () |
| 析构函数
|
|
| NEObject ()=default |
| 构造函数
|
|
virtual | ~NEObject ()=default |
| 析构函数
|
|
◆ NEGetMeetingInfoCallback
◆ NEGetPresetMenuItemsCallback
◆ NEJoinMeetingCallback
◆ NELeaveMeetingCallback
◆ NEStartMeetingCallback
◆ addMeetingStatusListener()
◆ anonymousJoinMeeting()
匿名加入会议
- 参数
-
param | 加入会议参数 |
opts | 加入会议选项 |
cb | 回调 |
- 返回
- void
◆ getBuiltinMenuItems()
virtual void nem_sdk_interface::NEMeetingService::getBuiltinMenuItems |
( |
const std::vector< int > & |
menuItemsId, |
|
|
const NEGetPresetMenuItemsCallback & |
cb |
|
) |
| |
|
pure virtual |
获取内置菜单
- 参数
-
menuItemsId | 菜单id,如果vector为空则返回所有 |
cb | 回调 |
- 返回
- void
◆ getCurrentMeetingInfo()
◆ getMeetingStatus()
virtual NEMeetingStatus nem_sdk_interface::NEMeetingService::getMeetingStatus |
( |
| ) |
|
|
pure virtual |
获取会议状态
- 返回
- NEMeetingStatus 会议状态
◆ joinMeeting()
加入会议
- 参数
-
param | 加入会议参数 |
opts | 加入会议选项 |
cb | 回调 |
- 返回
- void
◆ leaveMeeting()
virtual void nem_sdk_interface::NEMeetingService::leaveMeeting |
( |
bool |
finish, |
|
|
const NELeaveMeetingCallback & |
cb |
|
) |
| |
|
pure virtual |
离开会议
- 参数
-
finish | 是否要结束会议,true结束,false不结束 |
- 注意
- 只有主持人才能结束会议
- 参数
-
- 返回
- void
◆ setOnInjectedMenuItemClickListener()
添加会议按钮点击事件监听,接收点击事件
- 参数
-
- 返回
- void
◆ startMeeting()
开始会议
- 参数
-
param | 开始会议参数 |
opts | 开始会议选项 |
cb | 回调 |
- 返回
- void
◆ subscribeAllRemoteAudioStreams()
virtual void nem_sdk_interface::NEMeetingService::subscribeAllRemoteAudioStreams |
( |
bool |
subscribe, |
|
|
const NEEmptyCallback & |
cb |
|
) |
| |
|
pure virtual |
订阅会议内全部音频流
- 参数
-
subscribe | true订阅 false 取消订阅 |
cb | 回调 |
- 返回
- void
◆ subscribeRemoteAudioStream()
virtual void nem_sdk_interface::NEMeetingService::subscribeRemoteAudioStream |
( |
const std::string & |
accountId, |
|
|
bool |
subscribe, |
|
|
const NEEmptyCallback & |
cb |
|
) |
| |
|
pure virtual |
订阅会议内单个音频流
- 参数
-
accountId | 账号accountId |
subscribe | true订阅 false 取消订阅 |
cb | 回调 |
- 返回
- void
◆ subscribeRemoteAudioStreams()
virtual void nem_sdk_interface::NEMeetingService::subscribeRemoteAudioStreams |
( |
const std::vector< std::string > & |
accountIdList, |
|
|
bool |
subscribe, |
|
|
const NEEmptyCallback & |
cb |
|
) |
| |
|
pure virtual |
订阅会议内多个音频流
- 参数
-
accountIdList | 账号accountId列表 |
subscribe | true订阅 false 取消订阅 |
cb | 回调 |
- 返回
- void
该类的文档由以下文件生成: