fm.liveswitch.IAudioStream Interface Reference

Audio stream interface. More...

Public Member Functions

abstract void addOnReceiveDtmfTone (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Adds a handler that is raised when a DTMF tone is received. More...
 
abstract void addOnReceiveDtmfToneChange (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Adds a handler that is raised when the received DTMF tone changes. More...
 
abstract void addOnSendDtmfTone (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Adds a handler that is raised when a DTMF tone is sent. More...
 
abstract void addOnSendDtmfToneChange (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Adds a handler that is raised when the sent DTMF tone changes. More...
 
abstract boolean getG722Disabled ()
 Gets whether G.722 is disabled. More...
 
abstract boolean getOpusDisabled ()
 Gets whether Opus is disabled. More...
 
abstract boolean getPcmaDisabled ()
 Gets whether PCMA is disabled. More...
 
abstract boolean getPcmuDisabled ()
 Gets whether PCMU is disabled. More...
 
abstract boolean insertDtmfTone (fm.liveswitch.dtmf.Tone dtmfTone)
 Inserts a DTMF tone. More...
 
abstract boolean insertDtmfTones (fm.liveswitch.dtmf.Tone[] dtmfTones)
 Inserts DTMF tones. More...
 
abstract void removeOnReceiveDtmfTone (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Removes a handler that is raised when a DTMF tone is received. More...
 
abstract void removeOnReceiveDtmfToneChange (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Removes a handler that is raised when the received DTMF tone changes. More...
 
abstract void removeOnSendDtmfTone (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Removes a handler that is raised when a DTMF tone is sent. More...
 
abstract void removeOnSendDtmfToneChange (fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone > value)
 Removes a handler that is raised when the sent DTMF tone changes. More...
 
abstract void setG722Disabled (boolean value)
 Sets whether G.722 is disabled. More...
 
abstract void setOpusDisabled (boolean value)
 Sets whether Opus is disabled. More...
 
abstract void setPcmaDisabled (boolean value)
 Sets whether PCMA is disabled. More...
 
abstract void setPcmuDisabled (boolean value)
 Sets whether PCMU is disabled. More...
 
- Public Member Functions inherited from fm.liveswitch.IMediaStream
abstract void addOnDiscardBitrateNotification (fm.liveswitch.IAction1< fm.liveswitch.BitrateNotification > value)
 Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void addOnDiscardBitrateRequest (fm.liveswitch.IAction1< fm.liveswitch.BitrateRequest > value)
 Adds a handler that is raised when a bitrate request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void addOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Adds a handler that is raised when a local encoding is disabled. More...
 
abstract void addOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Adds a handler that is raised when a local encoding is enabled. More...
 
abstract fm.liveswitch.StreamDirection getCachedLocalDirection ()
 Gets Cached Local Direction for this Media Stream. More...
 
abstract boolean getCodecDisabled (String name)
 Gets whether a codec is disabled. More...
 
abstract fm.liveswitch.TransportInfo getControlTransportInfo ()
 Gets the media stream control transport info. More...
 
abstract fm.liveswitch.MediaStreamInfo getInfo ()
 Gets the media stream info. More...
 
abstract boolean getInputMuted ()
 Gets whether the input track is muted. More...
 
abstract int getLocalBandwidth ()
 Gets the local bandwidth, in kbps. More...
 
abstract String getLocalCanonicalName ()
 Gets the local canonical name. More...
 
abstract int getMaxReceiveBitrate ()
 Gets the maximum desired receive bitrate, in kbps. More...
 
abstract int getMaxSendBitrate ()
 Gets the maximum desired send bitrate, in kbps. More...
 
abstract boolean getOutputMuted ()
 Gets whether the output track is muted. More...
 
abstract String[] getPreferredCodecs ()
 Gets any preferred codecs, in order of preference. More...
 
abstract int getRemoteBandwidth ()
 Gets the remote bandwidth, in kbps. More...
 
abstract String getRemoteCanonicalName ()
 Gets the remote canonical name. More...
 
abstract fm.liveswitch.EncodingInfo getRemoteEncoding ()
 Gets the remote encoding. More...
 
abstract boolean getRemoteMuted ()
 Gets a value that indicates if remote is muted. More...
 
abstract boolean getRemoteRequestedDeactivation ()
 Gets Boolean value set when the server is currently requesting a 0 bitrate. More...
 
abstract fm.liveswitch.SimulcastMode getSimulcastMode ()
 Gets the simulcast mode. More...
 
abstract boolean raiseBitrateNotification (fm.liveswitch.BitrateNotification bitrateNotification)
 Raises a bitrate notification to the remote track. More...
 
abstract boolean raiseBitrateRequest (fm.liveswitch.BitrateRequest bitrateRequest)
 Raises a bitrate request to the local track. More...
 
abstract void removeOnDiscardBitrateNotification (fm.liveswitch.IAction1< fm.liveswitch.BitrateNotification > value)
 Removes a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void removeOnDiscardBitrateRequest (fm.liveswitch.IAction1< fm.liveswitch.BitrateRequest > value)
 Removes a handler that is raised when a bitrate request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void removeOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Removes a handler that is raised when a local encoding is disabled. More...
 
abstract void removeOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Removes a handler that is raised when a local encoding is enabled. More...
 
abstract void setCodecDisabled (String name, boolean disabled)
 Sets whether a codec is disabled. More...
 
abstract void setInputMuted (boolean value)
 Sets whether the input track is muted. More...
 
abstract void setLocalBandwidth (int value)
 Sets the local bandwidth, in kbps. More...
 
abstract void setMaxReceiveBitrate (int value)
 Sets the maximum desired receive bitrate, in kbps. More...
 
abstract void setMaxSendBitrate (int value)
 Sets the maximum desired send bitrate, in kbps. More...
 
abstract void setOutputMuted (boolean value)
 Sets whether the output track is muted. More...
 
abstract void setPreferredCodecs (String[] value)
 Sets any preferred codecs, in order of preference. More...
 
abstract void setRemoteEncoding (fm.liveswitch.EncodingInfo value)
 Sets the remote encoding. More...
 
abstract void setRemoteMuted (boolean value)
 Sets a value that indicates if remote is muted. More...
 
abstract void setSimulcastMode (fm.liveswitch.SimulcastMode value)
 Sets the simulcast mode. More...
 
- Public Member Functions inherited from fm.liveswitch.IStream
abstract void addOnDirectionChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the signalling state changes. More...
 
abstract void addOnStateChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the stream state changes. More...
 
abstract fm.liveswitch.Error changeDirection (fm.liveswitch.StreamDirection newDirection)
 Changes this stream's direction. More...
 
abstract fm.liveswitch.StreamDirection getDirection ()
 Gets the current direction. More...
 
abstract String getExternalId ()
 Gets the external identifier. More...
 
abstract String getId ()
 Gets the identifier. More...
 
abstract String getLabel ()
 Gets a label that identifies this class. More...
 
abstract fm.liveswitch.StreamDirection getLocalDirection ()
 Gets current direction indicated by the local description. More...
 
abstract boolean getLocalReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getLocalSend ()
 Gets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract String getMediaDescriptionId ()
 Gets the media description identifier. More...
 
abstract fm.liveswitch.StreamDirection getRemoteDirection ()
 Gets the current direction indicated by the remote description. More...
 
abstract boolean getRemoteReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getRemoteSend ()
 Gets a value indicating whether sending media is supported by the remote peer on this stream. More...
 
abstract fm.liveswitch.StreamState getState ()
 Gets the current state. More...
 
abstract String getTag ()
 Gets optional data to associate with this instance. More...
 
abstract fm.liveswitch.TransportInfo getTransportInfo ()
 Gets the stream transport info. More...
 
abstract fm.liveswitch.StreamType getType ()
 Gets the type. More...
 
abstract void removeOnDirectionChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the signalling state changes. More...
 
abstract void removeOnStateChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the stream state changes. More...
 
abstract void setExternalId (String value)
 Sets the external identifier. More...
 
abstract void setLocalDirection (fm.liveswitch.StreamDirection value)
 Sets current direction indicated by the local description. More...
 
abstract void setLocalReceive (boolean value)
 Sets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract void setLocalSend (boolean value)
 Sets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract void setTag (String value)
 Sets optional data to associate with this instance. More...
 

Detailed Description

Audio stream interface.

Member Function Documentation

◆ addOnReceiveDtmfTone()

abstract void fm.liveswitch.IAudioStream.addOnReceiveDtmfTone ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Adds a handler that is raised when a DTMF tone is received.

Implemented in fm.liveswitch.AudioStream.

◆ addOnReceiveDtmfToneChange()

abstract void fm.liveswitch.IAudioStream.addOnReceiveDtmfToneChange ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Adds a handler that is raised when the received DTMF tone changes.

Implemented in fm.liveswitch.AudioStream.

◆ addOnSendDtmfTone()

abstract void fm.liveswitch.IAudioStream.addOnSendDtmfTone ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Adds a handler that is raised when a DTMF tone is sent.

Implemented in fm.liveswitch.AudioStream.

◆ addOnSendDtmfToneChange()

abstract void fm.liveswitch.IAudioStream.addOnSendDtmfToneChange ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Adds a handler that is raised when the sent DTMF tone changes.

Implemented in fm.liveswitch.AudioStream.

◆ getG722Disabled()

abstract boolean fm.liveswitch.IAudioStream.getG722Disabled ( )
abstract

Gets whether G.722 is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ getOpusDisabled()

abstract boolean fm.liveswitch.IAudioStream.getOpusDisabled ( )
abstract

Gets whether Opus is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ getPcmaDisabled()

abstract boolean fm.liveswitch.IAudioStream.getPcmaDisabled ( )
abstract

Gets whether PCMA is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ getPcmuDisabled()

abstract boolean fm.liveswitch.IAudioStream.getPcmuDisabled ( )
abstract

Gets whether PCMU is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ insertDtmfTone()

abstract boolean fm.liveswitch.IAudioStream.insertDtmfTone ( fm.liveswitch.dtmf.Tone  dtmfTone)
abstract

Inserts a DTMF tone.

Parameters
dtmfToneThe DTMF tone.

Implemented in fm.liveswitch.AudioStream.

◆ insertDtmfTones()

abstract boolean fm.liveswitch.IAudioStream.insertDtmfTones ( fm.liveswitch.dtmf.Tone[]  dtmfTones)
abstract

Inserts DTMF tones.

Parameters
dtmfTonesThe DTMF tones.

Implemented in fm.liveswitch.AudioStream.

◆ removeOnReceiveDtmfTone()

abstract void fm.liveswitch.IAudioStream.removeOnReceiveDtmfTone ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Removes a handler that is raised when a DTMF tone is received.

Implemented in fm.liveswitch.AudioStream.

◆ removeOnReceiveDtmfToneChange()

abstract void fm.liveswitch.IAudioStream.removeOnReceiveDtmfToneChange ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Removes a handler that is raised when the received DTMF tone changes.

Implemented in fm.liveswitch.AudioStream.

◆ removeOnSendDtmfTone()

abstract void fm.liveswitch.IAudioStream.removeOnSendDtmfTone ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Removes a handler that is raised when a DTMF tone is sent.

Implemented in fm.liveswitch.AudioStream.

◆ removeOnSendDtmfToneChange()

abstract void fm.liveswitch.IAudioStream.removeOnSendDtmfToneChange ( fm.liveswitch.IAction1< fm.liveswitch.dtmf.Tone value)
abstract

Removes a handler that is raised when the sent DTMF tone changes.

Implemented in fm.liveswitch.AudioStream.

◆ setG722Disabled()

abstract void fm.liveswitch.IAudioStream.setG722Disabled ( boolean  value)
abstract

Sets whether G.722 is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ setOpusDisabled()

abstract void fm.liveswitch.IAudioStream.setOpusDisabled ( boolean  value)
abstract

Sets whether Opus is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ setPcmaDisabled()

abstract void fm.liveswitch.IAudioStream.setPcmaDisabled ( boolean  value)
abstract

Sets whether PCMA is disabled.

Implemented in fm.liveswitch.AudioStream.

◆ setPcmuDisabled()

abstract void fm.liveswitch.IAudioStream.setPcmuDisabled ( boolean  value)
abstract

Sets whether PCMU is disabled.

Implemented in fm.liveswitch.AudioStream.