NERtc iOS SDK
V4.4.301
|
Returns the audio data If you need to process audio data, you need to implement this protocol. 更多...
#import <NERtcEngineDelegate.h>
构造函数 | |
(void) | - onNERtcEngineAudioFrameDidRecord: |
Occurs when the audio data is captured. 更多... | |
(void) | - onNERtcEngineAudioFrameWillPlayback: |
Occurs when the audio data is played back. 更多... | |
(void) | - onNERtcEnginePlaybackAudioFrameBeforeMixingWithUserID:frame: |
Gets the raw audio data of a specified remote user before audio mixing. 更多... | |
(void) | - onNERtcEngineMixedAudioFrame: |
Gets the raw audio data of the local user and all remote users after mixing. 更多... | |
Returns the audio data If you need to process audio data, you need to implement this protocol.
|
optional |
Occurs when the audio data is captured.
The callback is used to process the audio data.
You cannot modify the content void *data points to in the frame and the format. If you want to modify the format, you can set the format by calling setParameter : kNERtcKeyObserveRecordAudioFrameFormat.
frame | The audio frame data. For more information, see NERtcAudioFrame. |
|
optional |
Occurs when the audio data is played back.
The callback is used to process the audio data.
You cannot modify the content void *data points to in the frame and the format. If you want to modify the format, you can set the format by calling setParameter : kNERtcKeyObserveRecordAudioFrameFormat.
frame | The audio frame data. For more information, see NERtcAudioFrame. |
|
optional |
Gets the raw audio data of the local user and all remote users after mixing.
You cannot modify the content that void *data points to in the frame and the format. If you need to modify the format, you can call setMixedAudioFrameParameters.
frame | The audio frame data. For more information, see NERtcAudioFrame. |
|
optional |
Gets the raw audio data of a specified remote user before audio mixing.
After the audio observer is registered, if the remote audio is subscribed by default and the remote user enables the audio, the SDK triggers this callback when the audio data before audio mixing is captured, and the audio data is returned to the user.
userID | The ID of a remote user. |
frame | The audio frame data. For more information, see NERtcAudioFrame. |