Developer Documentation

MediaStream.AudioReadDataAsync

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

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