Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCAudioRawDataHelper Class Reference

A helper to subscribe or unsubscribe audio raw data. More...

#include <MobileRTCAudioRawDataHelper.h>

Inherits NSObject.

Instance Methods

(instancetype _Nonnull) - initWithDelegate:
 Initializes MobileRTCAudioRawDataHelper.
 
(MobileRTCRawDataError- subscribe
 Starts audio raw data.
 
(MobileRTCRawDataError- unSubscribe
 Stops audio raw data.
 

Detailed Description

A helper to subscribe or unsubscribe audio raw data.

Definition at line 12 of file MobileRTCAudioRawDataHelper.h.

Method Documentation

◆ initWithDelegate:

- (instancetype _Nonnull) initWithDelegate: (id< MobileRTCAudioRawDataDelegate >_Nonnull) delegate

Initializes MobileRTCAudioRawDataHelper.

Parameters
delegateThe delegate to receive the callback.
Returns
The MobileRTCAudioRawDataHelper object.

◆ subscribe

- (MobileRTCRawDataError) subscribe

Starts audio raw data.

Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error.

◆ unSubscribe

- (MobileRTCRawDataError) unSubscribe

Stops audio raw data.

Returns
If the function succeeds, it will return MobileRTCRawDataError_Success. Otherwise return an error.