|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
| (void) | - onRecordEncodedAudioFrame:info: |
| (void) | - onPlaybackEncodedAudioFrame:info: |
| (void) | - onMixedEncodedAudioFrame:info: |
|
required |
Gets the encoded audio data of the local user.
After calling setAudioEncodedFrameDelegate:config: and setting the encoded audio as AgoraAudioEncodedFrameObserverPositionRecord, you can get the encoded audio data of the local user from this callback.
| frameData | The audio buffer. |
| info | Audio information after encoding. See AgoraEncodedAudioFrameInfo. |
|
required |
Gets the encoded audio data of all remote users.
After calling setAudioEncodedFrameDelegate:config: and setting the encoded audio as AgoraAudioEncodedFrameObserverPositionPlayback, you can get encoded audio data of all remote users through this callback.
| frameData | The audio buffer. |
| info | Audio information after encoding. See AgoraEncodedAudioFrameInfo. |
|
required |
Gets the mixed and encoded audio data of the local and all remote users.
After calling setAudioEncodedFrameDelegate:config: and setting the audio profile as AgoraAudioEncodedFrameObserverPositionMixed, you can get the mixed and encoded audio data of the local and all remote users through this callback.
| frameData | The audio buffer. |
| info | Audio information after encoding. See AgoraEncodedAudioFrameInfo. |