EOS_RTCAudio_AddNotifyAudioBeforeSend

EOS API reference page for EOS_RTCAudio_AddNotifyAudioBeforeSend

実装方法を選んでください。

C

C#

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 Name

Usage Information

EOS_HRTCAudio Handle

EOS_RTCAudio_AddNotifyAudioBeforeSendOptions* Options

void* ClientData

Arbitrary data that is passed back in the CompletionDelegate

const EOS_RTCAudio_OnAudioBeforeSendCallback CompletionDelegate

The callback to be fired when a presence change occurs

Related API Members

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

RTCAudio.RTCAudioInterface.AddNotifyAudioBeforeSend

Parameter Type And Name

Usage Information

AddNotifyAudioBeforeSendOptions options

object clientData

Arbitrary data that is passed back in the CompletionDelegate

OnAudioBeforeSendCallback completionDelegate

The callback to be fired when a presence change occurs

Related API Members

タグ