蓝莺开发者
Web & Mini ProgramiOSAndroidC++Server API

BMXRTCService Class Reference#

Inherits from NSObject
Declared in floo_proxy.h

Overview#

@interface RTC服务

Properties#

swigCMemOwn#

@property (nonatomic) BOOL swigCMemOwn

swigCPtr#

@property (nonatomic) void *swigCPtr

Instance Methods#

addDelegate:#

添加RTCService回调监听

- (void)addDelegate:(id<BMXRTCServiceProtocol>)aDelegate

Parameters#

listener
RTCService监听器

Declared In#

  • floo_proxy.h


Example:

addDelegate:delegateQueue:#

- (void)addDelegate:(id<BMXRTCServiceProtocol>)aDelegate delegateQueue:(dispatch_queue_t)aQueue


Example:

addRTCListener:#

添加RTCService回调监听

- (void)addRTCListener:(id<BMXRTCServiceProtocol>)listener

Parameters#

listener
RTCService监听器

Declared In#

  • floo_proxy.h


Example:

dealloc#

- (void)dealloc


Example:

getBMXRTCSignalService#

获取BMXRTCSignalService的信令服务service(只有BMXRTCEngine需要使用该信令service,第三方RTCEngine对象不需要)

- (BMXRTCSignalService *)getBMXRTCSignalService

Declared In#

  • floo_proxy.h


Example:

getRTCEngine#

获取存储的engine对象实例

- (BMXRTCEngine *)getRTCEngine

Return Value#

BMXRTCEngine*

Declared In#

  • floo_proxy.h


Example:

initWithCptr:swigOwnCObject:#

- (id)initWithCptr:(void )cptr swigOwnCObject:(BOOL)ownCObject*


Example:

removeDelegate:#

移除RTCService回调监听

- (void)removeDelegate:(id<BMXRTCServiceProtocol>)aDelegate

Parameters#

listener
RTCService监听器

Declared In#

  • floo_proxy.h


Example:

removeRTCListener:#

移除RTCService回调监听

- (void)removeRTCListener:(id<BMXRTCServiceProtocol>)listener

Parameters#

listener
RTCService监听器

Declared In#

  • floo_proxy.h


Example:

sendRTCMessageWithMsg:#

发送消息,用来RTCService层进行交互信令发送的操作。

- (void)sendRTCMessageWithMsg:(BMXMessage )msg*

Parameters#

msg
发送的信息消息,消息的类型仅为信令消息

Declared In#

  • floo_proxy.h


Example:

sendRTCMessageWithMsg:completion:#

发送消息,用来RTCService层进行交互信令发送的操作。

- (void)sendRTCMessageWithMsg:(BMXMessage )msg completion:(void ( ^ ) ( BMXError aError ))resBlock

Parameters#

msg
发送的信息消息,消息的类型仅为信令消息

Declared In#

  • floo_proxy.h


Example:

setupRTCEngine:#

初始化并存储engine对象实例

- (void)setupRTCEngine:(BMXRTCEngine )engine*

Parameters#

engine
BMXRTCEngine对象实例指针

Declared In#

  • floo_proxy.h
自动生成的 API 内容,仅在必要位置补充精简的 AI 解释。