NIMRTSConferenceManager Protocol Reference

Conforms to NSObject
Declared in NIMRTSConferenceManagerProtocol.h

Overview

实时会话协议

– reserveConference: required method

预订多方实时会话

- (nullable NSError *)reserveConference:(NIMRTSConference *)conference

Parameters

conference

需要预订的会话

Return Value

接口调用的结果. 该结果只是表示当前这个函数调用是否成功,需要后续的回调才能判断预订会话是否成功

Discussion

预订多方实时会话

Declared In

NIMRTSConferenceManagerProtocol.h

– joinConference: required method

加入多方实时会话

- (nullable NSError *)joinConference:(NIMRTSConference *)conference

Parameters

conference

需要加入的会话

Return Value

接口调用的结果. 该结果只是表示当前这个函数调用是否成功,需要后续的回调才能判断加入会话是否成功

Discussion

加入多方实时会话

Declared In

NIMRTSConferenceManagerProtocol.h

– leaveConference: required method

离开多方实时会话

- (nullable NSError *)leaveConference:(NIMRTSConference *)conference

Parameters

conference

需要离开的会话

Return Value

接口调用的结果

Discussion

离开多方实时会话

Declared In

NIMRTSConferenceManagerProtocol.h

– leaveConference:finishBlock: required method

离开多方实时会话

- (void)leaveConference:(NIMRTSConference *)conference finishBlock:(NIMRTSConferenceOperationFinishBlock _Nullable)block

Parameters

conference

需要离开的会话

block

接口调用的结果

Discussion

离开多方实时会话

Declared In

NIMRTSConferenceManagerProtocol.h

– sendRTSData: required method

发送多方实时会话数据

- (BOOL)sendRTSData:(NIMRTSConferenceData *)data

Parameters

data

需要发送的实时会话数据, 数据长度不允许超过50KB, 推荐不超过4KB; 发送数据的周期建议控制在50ms以上

Return Value

是否允许发送

Discussion

发送多方实时会话数据

被叫在响应请求之前不要调用挂断接口

Declared In

NIMRTSConferenceManagerProtocol.h

– addDelegate: required method

添加多方实时会话委托

- (void)addDelegate:(id<NIMRTSConferenceManagerDelegate>)delegate

Parameters

delegate

多方实时会话委托

Discussion

添加多方实时会话委托

Declared In

NIMRTSConferenceManagerProtocol.h

– removeDelegate: required method

移除多方实时会话委托

- (void)removeDelegate:(id<NIMRTSConferenceManagerDelegate>)delegate

Parameters

delegate

多方实时会话委托

Discussion

移除多方实时会话委托

Declared In

NIMRTSConferenceManagerProtocol.h

– setUpRTSSocksWithParam: required method

配置白板代理参数

- (void)setUpRTSSocksWithParam:(NIMRTSSocksParam *)socksParam

Parameters

socksParam

代理参数

Discussion

配置白板代理参数

Declared In

NIMRTSConferenceManagerProtocol.h