Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
(BOOL) | - onRecordAudioFrame:channelId: |
(BOOL) | - onPlaybackAudioFrame:channelId: |
(BOOL) | - onMixedAudioFrame:channelId: |
(BOOL) | - onPlaybackAudioFrameBeforeMixing:channelId:uid: |
The AgoraAudioFrameDelegate protocol enables audio frame callback event notifications to your application.
|
required |
Occurs when the recorded audio frame is received.
frame | A pointer to the audio frame: AgoraAudioFrame. |
channelId | Unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:
|
|
required |
Occurs when the playback audio frame is received.
channelId | Unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:
|
frame | A pointer to the audio frame: AgoraAudioFrame. |
|
required |
Occurs when the mixed audio data is received.
frame | The A pointer to the audio frame: AgoraAudioFrame. |
channelId | Unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:
|
|
required |
Occurs when the before-mixing playback audio frame is received.
channelId | Unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:
|
uid | ID of the remote user. |
frame | A pointer to the audio frame: AgoraAudioFrame. |