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

MediaStream.AudioPushData

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 void AudioPushData(float[] buffer)
public virtual void AudioPushData(float[] buffer, int length)

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

Info

if IsPaused NOP

Parameters

NameTypeDescription
bufferSingle[]audio data
lengthInt32bytes to write

Variants

AudioPushData(buffer)

public virtual void AudioPushData(float[] buffer)

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

Warning

if IsPaused NOP

Parameters

NameTypeDescription
bufferSingle[]audio data

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.

Warning

if IsPaused NOP

Parameters

NameTypeDescription
bufferSingle[]audio data
lengthInt32bytes to write