BMXRTCEngineProtocol Protocol Reference
Conforms to NSObject
Declared in floo_proxy.h
Overview
@protocol RTC Engine listener
Instance Methods
onErrorWithInfo:error:
Received an error
- (void)onErrorWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
info
error
Declared In
floo_proxy.h
onJoinRoomWithInfo:roomId:error:
Joined a room
- (void)onJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
info
roomId
error
Declared In
floo_proxy.h
onKickoffWithInfo:error:
Kicked off
- (void)onKickoffWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
info
error
Declared In
floo_proxy.h
onLeaveRoomWithInfo:roomId:error:reason:
Left a room
- (void)onLeaveRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error* reason:(NSString *)*reason*
Parameters
info
roomId
error
reason
Declared In
floo_proxy.h
onLocalAudioLevelWithVolume:
Local audio volume changed
- (void)onLocalAudioLevelWithVolume:(int)*volume*
Parameters
volume
Declared In
floo_proxy.h
onLocalPublishWithStream:info:error:
Local stream published
- (void)onLocalPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onLocalStreamMuteRspWithStream:trackType:mute:info:error:
Local stream muted or unmuted
- (void)onLocalStreamMuteRspWithStream:(BMXStream *)*stream* trackType:(BMXTrackType)*trackType* mute:(BOOL)*mute* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
trackType
Audio or video
mute
info
error
Declared In
floo_proxy.h
onLocalUnPublishWithStream:info:error:
Local stream unpublished
- (void)onLocalUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onMemberExitedWithRoomId:usedId:reason:
Other member left
- (void)onMemberExitedWithRoomId:(long long)*roomId* usedId:(long long)*usedId* reason:(NSString *)*reason*
Parameters
roomId
reason
userId
Declared In
floo_proxy.h
onMemberJoinedWithRoomId:usedId:
Other member joined
- (void)onMemberJoinedWithRoomId:(long long)*roomId* usedId:(long long)*usedId*
Parameters
roomId
usedId
Declared In
floo_proxy.h
onNetworkQualityWithStream:info:error:
Stream network quality changed
- (void)onNetworkQualityWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onReJoinRoomWithInfo:roomId:error:
Rejoined a room
- (void)onReJoinRoomWithInfo:(NSString *)*info* roomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
info
roomId
error
Declared In
floo_proxy.h
onRejoiningWithRoomId:error:
Rejoining a room
- (void)onRejoiningWithRoomId:(long long)*roomId* error:(BMXErrorCode)*error*
Parameters
roomId
error
Discussion
Declared In
floo_proxy.h
onRemoteAudioLevelWithUserId:volume:
Remote audio volume changed
- (void)onRemoteAudioLevelWithUserId:(long long)*userId* volume:(int)*volume*
Parameters
userId
volume
Declared In
floo_proxy.h
onRemotePublishWithStream:info:error:
Remote stream published
- (void)onRemotePublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onRemoteRTCStatsWithStreamStats:info:error:
Remote RTC statistics data received
- (void)onRemoteRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
streamStats
info
error
Declared In
floo_proxy.h
onRemoteStreamMuteRspWithStream:trackType:mute:info:error:
Remote stream muted or unmuted
- (void)onRemoteStreamMuteRspWithStream:(BMXStream *)*stream* trackType:(BMXTrackType)*trackType* mute:(BOOL)*mute* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
trackType
Audio or video
mute
info
error
Declared In
floo_proxy.h
onRemoteTrackNotifyWithStream:trackType:info:error:
Remote stream track updated
- (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:
Remote stream unpublished
- (void)onRemoteUnPublishWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onSendRTCStatsWithStreamStats:info:error:
RTC stream statistics data sent
- (void)onSendRTCStatsWithStreamStats:(BMXStreamStats *)*streamStats* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
streamStats
info
error
Declared In
floo_proxy.h
onSubscribeWithStream:info:error:
Stream subscribed
- (void)onSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onUnSubscribeWithStream:info:error:
Stream unsubscribed
- (void)onUnSubscribeWithStream:(BMXStream *)*stream* info:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
stream
info
error
Declared In
floo_proxy.h
onWarningWithInfo:error:
Warning info received
- (void)onWarningWithInfo:(NSString *)*info* error:(BMXErrorCode)*error*
Parameters
info
error
Declared In
floo_proxy.h
Example: