Developer Documentation

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