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

Example:

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

Example:

onKickoffWithInfo:error:

Kicked off

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

Parameters

info

error

Declared In

  • floo_proxy.h

Example:

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

Example:

onLocalAudioLevelWithVolume:

Local audio volume changed

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

Parameters

volume

Declared In

  • floo_proxy.h

Example:

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

Example:

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

Example:

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

Example:

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

Example:

onMemberJoinedWithRoomId:usedId:

Other member joined

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

Parameters

roomId

usedId

Declared In

  • floo_proxy.h

Example:

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

Example:

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

Example:

onRejoiningWithRoomId:error:

Rejoining a room

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

Parameters

roomId

error

Discussion

Declared In

  • floo_proxy.h

Example:

onRemoteAudioLevelWithUserId:volume:

Remote audio volume changed

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

Parameters

userId

volume

Declared In

  • floo_proxy.h

Example:

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

Example:

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

Example:

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

Example:

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

Example:

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

Example:

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

Example:

onSubscribeWithStream:info:error:

Stream subscribed

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

Parameters

stream

info

error

Declared In

  • floo_proxy.h

Example:

onUnSubscribeWithStream:info:error:

Stream unsubscribed

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

Parameters

stream

info

error

Declared In

  • floo_proxy.h

Example:

onWarningWithInfo:error:

Warning info received

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

Parameters

info

error

Declared In

  • floo_proxy.h

Example:

© 2019-2023 MaximTop | Homepage Last modified time: 2023-05-17 17:35:58

results matching ""

    No results matching ""