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

MediaStream.AudioPushData

public virtual void AudioPushData(float[] buffer, int length)
public virtual void AudioPushData(float[] buffer)

Sends data to the audio stream. The data has to be interleaved [-1, 1] float data.

Parameters

NameTypeDescription
bufferSingle[]audio data
lengthInt32bytes to write

Variants

AudioPushData(buffer, length)

public virtual void AudioPushData(float[] buffer, int length)

Sends data to the audio stream. The data has to be interleaved [-1, 1] float data.

Parameters

NameTypeDescription
bufferSingle[]audio data
lengthInt32bytes to write

AudioPushData(buffer)

public virtual void AudioPushData(float[] buffer)

Sends data to the audio stream. The data has to be interleaved [-1, 1] float data.

Parameters

NameTypeDescription
bufferSingle[]audio data