EOS_RTCAudio_AddNotifyAudioBeforeSend

EOS API reference page for EOS_RTCAudio_AddNotifyAudioBeforeSend

1분 소요

Remarks

Register to receive notifications when local audio buffers are about to be encoded and sent. This gives you access to the audio data about to be sent, allowing for example the implementation of custom filters/effects. If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioBeforeSend 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_RemoveNotifyAudioBeforeSend

Parameters

EOS_RTCAudio_AddNotifyAudioBeforeSend

Parameter Type And NameUsage Information
EOS_HRTCAudio Handle
const EOS_RTCAudio_AddNotifyAudioBeforeSendOptions* Options
void* ClientDataArbitrary data that is passed back in the CompletionDelegate
const EOS_RTCAudio_OnAudioBeforeSendCallback CompletionDelegateThe callback to be fired when a presence change occurs