Our new developer documentation is now available. Please check it out!
MediaStream.AudioPushDataTask
public virtual Task AudioPushDataTask(float[] buffer, CancellationToken cancellationToken)
Sends data to the audio stream. The data has to be interleaved [-1, 1] float data.
Info
if IsPaused NOP
Parameters
Name | Type | Description |
---|---|---|
buffer | Single[] | interleaved audio data |
cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task |