Developer Documentation
Our new developer documentation is now available. Please check it out!

MediaStream.AudioReadDataAsync

public virtual async Task<uint> AudioReadDataAsync(float[] buffer)

Read audio data using a custom custom CancellationSource.

Parameters

NameTypeDescription
bufferSingle[]buffer to write into

Returns

TypeDescription
Task<UInt32>count of written bytes into buffer