BMXRTCEngineProtocol Protocol Reference

Conforms to NSObject
Declared in floo_proxy.h

Overview

@protocol RTC Engine监听者

Instance Methods

onErrorWithInfo:error:

错误信息回调

- (void)onErrorWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onJoinRoomWithInfo:roomId:error:

用户加入房间回调

- (void)onJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*

Parameters

info
通知信息

roomId
房间Id

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onKickoffWithInfo:error:

被踢信息回调

- (void)onKickoffWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onLeaveRoomWithInfo:roomId:error:reason:

用户离开房间回调

- (void)onLeaveRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error* reason:(NSString *)*reason*

Parameters

info
通知信息

roomId
房间Id

error
错误码信息

reason
离开原因

Declared In

  • floo_proxy.h

Example:

onLocalAudioLevelWithVolume:

本地音量调节回调

- (void)onLocalAudioLevelWithVolume:(int)*volume*

Parameters

volume
音量信息

Declared In

  • floo_proxy.h

Example:

onLocalPublishWithStream:info:error:

本地流发布回调

- (void)onLocalPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onLocalStreamMuteRspWithStream:trackType:mute:info:error:

本地音频或视频启用禁用通知回调

- (void)onLocalStreamMuteRspWithStream:(BMXStream *)*stream* trackType:(BMXTrackType)*trackType* mute:(BOOL)*mute* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

trackType
音轨或者视频轨类型

mute
启用或禁用

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onLocalUnPublishWithStream:info:error:

本地流停止发布回调

- (void)onLocalUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onMemberExitedWithRoomId:usedId:reason:

其他用户离开房间回调

- (void)onMemberExitedWithRoomId:(long long)*roomId* usedId:(long long)*usedId* reason:(NSString *)*reason*

Parameters

roomId
房间Id

reason
离开原因

userId
用户Id

Declared In

  • floo_proxy.h

Example:

onMemberJoinedWithRoomId:usedId:

其他用户加入房间回调

- (void)onMemberJoinedWithRoomId:(long long)*roomId* usedId:(long long)*usedId*

Parameters

roomId
房间Id

usedId
用户id

Declared In

  • floo_proxy.h

Example:

onNetworkQualityWithStream:info:error:

网络质量回调

- (void)onNetworkQualityWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onReJoinRoomWithInfo:roomId:error:

重新加入房间完成回调

- (void)onReJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*

Parameters

info
通知信息

roomId
房间Id

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onRejoiningWithRoomId:error:

@brief断线重新加入房间回调

- (void)onRejoiningWithRoomId:(long long)*roomId* error:(BMXErrorCode)*error*

Parameters

roomId
房间Id

error
错误码信息

Discussion

@brief断线重新加入房间回调

Declared In

  • floo_proxy.h

Example:

onRemoteAudioLevelWithUserId:volume:

远端音量调节回调

- (void)onRemoteAudioLevelWithUserId:(long long)*userId* volume:(int)*volume*

Parameters

userId
用户id

volume
音量信息

Declared In

  • floo_proxy.h

Example:

onRemotePublishWithStream:info:error:

远程流发布回调

- (void)onRemotePublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onRemoteRTCStatsWithStreamStats:info:error:

远端统计信息回调

- (void)onRemoteRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

streamStats
远端流统计信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onRemoteStreamMuteRspWithStream:trackType:mute:info:error:

远端音频或视频启用禁用通知回调

- (void)onRemoteStreamMuteRspWithStream:(BMXStream *)*stream* trackType:(BMXTrackType)*trackType* mute:(BOOL)*mute* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

trackType
音轨或者视频轨类型

mute
启用或禁用

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onRemoteTrackNotifyWithStream:trackType:info:error:

远端流信息变更通知

- (void)onRemoteTrackNotifyWithStream:(BMXStream *)*stream* trackType:(BMXTrackType)*trackType* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

trackType
音轨或者视频轨类型

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onRemoteUnPublishWithStream:info:error:

远程流停止发布回调

- (void)onRemoteUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onSendRTCStatsWithStreamStats:info:error:

发送端统计信息回调

- (void)onSendRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

streamStats
本地流统计信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onSubscribeWithStream:info:error:

订阅流回调

- (void)onSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onUnSubscribeWithStream:info:error:

停止订阅流回调

- (void)onUnSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

stream
流信息

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

onWarningWithInfo:error:

警告信息回调

- (void)onWarningWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*

Parameters

info
通知信息

error
错误码信息

Declared In

  • floo_proxy.h

Example:

© 2019-2024 美信拓扑 | 官网 | 网站地图 该文件修订时间: 2024-12-07 06:49:06