RawIncomingAudioStream Class

public class RawIncomingAudioStream extends IncomingAudioStream

An audio stream that utilizes a virtual device for receiving audio

Constructor Summary

Constructor Description
RawIncomingAudioStream(RawIncomingAudioStreamOptions options)

Default constructor

Method Summary

Modifier and Type Method and Description
void addOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)

Adds the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.

void addOnStateChangedListener(AudioStreamStateChangedListener listener)

Adds the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.

void removeOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)

Removes the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.

void removeOnStateChangedListener(AudioStreamStateChangedListener listener)

Removes the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.

Inherited Members

Constructor Details

RawIncomingAudioStream

public RawIncomingAudioStream(RawIncomingAudioStreamOptions options)

Default constructor

Parameters:

options

Method Details

addOnMixedAudioBufferReceivedListener

public void addOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)

Adds the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.

Parameters:

listener

addOnStateChangedListener

public void addOnStateChangedListener(AudioStreamStateChangedListener listener)

Adds the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.

Parameters:

listener

removeOnMixedAudioBufferReceivedListener

public void removeOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)

Removes the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.

Parameters:

listener

removeOnStateChangedListener

public void removeOnStateChangedListener(AudioStreamStateChangedListener listener)

Removes the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.

Parameters:

listener

Applies to