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
onJoinRoomWithInfo:roomId:error:
用户加入房间回调
- (void)onJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
info
通知信息
roomId
房间Id
error
错误码信息
Declared In
floo_proxy.h
onKickoffWithInfo:error:
被踢信息回调
- (void)onKickoffWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
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
onLocalAudioLevelWithVolume:
本地音量调节回调
- (void)onLocalAudioLevelWithVolume:(int)*volume*
Parameters
volume
音量信息
Declared In
floo_proxy.h
onLocalPublishWithStream:info:error:
本地流发布回调
- (void)onLocalPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
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
onLocalUnPublishWithStream:info:error:
本地流停止发布回调
- (void)onLocalUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
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
onMemberJoinedWithRoomId:usedId:
其他用户加入房间回调
- (void)onMemberJoinedWithRoomId:(long long)*roomId* usedId:(long long)*usedId*
Parameters
roomId
房间Id
usedId
用户id
Declared In
floo_proxy.h
onNetworkQualityWithStream:info:error:
网络质量回调
- (void)onNetworkQualityWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onReJoinRoomWithInfo:roomId:error:
重新加入房间完成回调
- (void)onReJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
info
通知信息
roomId
房间Id
error
错误码信息
Declared In
floo_proxy.h
onRejoiningWithRoomId:error:
@brief断线重新加入房间回调
- (void)onRejoiningWithRoomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
roomId
房间Id
error
错误码信息
Discussion
@brief断线重新加入房间回调
Declared In
floo_proxy.h
onRemoteAudioLevelWithUserId:volume:
远端音量调节回调
- (void)onRemoteAudioLevelWithUserId:(long long)*userId* volume:(int)*volume*
Parameters
userId
用户id
volume
音量信息
Declared In
floo_proxy.h
onRemotePublishWithStream:info:error:
远程流发布回调
- (void)onRemotePublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onRemoteRTCStatsWithStreamStats:info:error:
远端统计信息回调
- (void)onRemoteRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
streamStats
远端流统计信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
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
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
onRemoteUnPublishWithStream:info:error:
远程流停止发布回调
- (void)onRemoteUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onSendRTCStatsWithStreamStats:info:error:
发送端统计信息回调
- (void)onSendRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
streamStats
本地流统计信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onSubscribeWithStream:info:error:
订阅流回调
- (void)onSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onUnSubscribeWithStream:info:error:
停止订阅流回调
- (void)onUnSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
流信息
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
onWarningWithInfo:error:
警告信息回调
- (void)onWarningWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
info
通知信息
error
错误码信息
Declared In
floo_proxy.h
Example: