Remarks
Register to receive notifications with remote audio buffers before they are rendered. This gives you access to the audio data received, allowing for example the implementation of custom filters/effects. If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioBeforeRender when you no longer wish to have your CompletionDelegate called.
Return Value
Notification ID representing the registered callback if successful, an invalid NotificationId if not
See Also
EOS_INVALID_NOTIFICATIONID, EOS_RTCAudio_RemoveNotifyAudioBeforeRender
Parameters
EOS_RTCAudio_AddNotifyAudioBeforeRender
Parameter Type And Name | Usage Information |
---|---|
EOS_HRTCAudio Handle | |
const EOS_RTCAudio_AddNotifyAudioBeforeRenderOptions* Options | |
void* ClientData | Arbitrary data that is passed back in the CompletionDelegate |
const EOS_RTCAudio_OnAudioBeforeRenderCallback CompletionDelegate | The callback to be fired when a presence change occurs |