fm.liveswitch.pcma.Packetizer Class Reference

A PCMA (G.711a) packetizer. More...

Public Member Functions

String getLabel ()
 Gets a label that identifies this class. More...
 
 Packetizer ()
 Initializes a new instance of the fm.liveswitch.pcma.Packetizer class. More...
 
 Packetizer (fm.liveswitch.AudioConfig config)
 Initializes a new instance of the fm.liveswitch.pcma.Packetizer class. More...
 
 Packetizer (fm.liveswitch.IAudioOutput input)
 Initializes a new instance of the fm.liveswitch.pcma.Packetizer class. More...
 
- Public Member Functions inherited from fm.liveswitch.BasicAudioPacketizer
 BasicAudioPacketizer (fm.liveswitch.AudioFormat format)
 Initializes a new instance of the fm.liveswitch.BasicAudioPacketizer class. More...
 
 BasicAudioPacketizer (fm.liveswitch.IAudioOutput input)
 Initializes a new instance of the fm.liveswitch.BasicAudioPacketizer class. More...
 
 BasicAudioPacketizer (fm.liveswitch.AudioFormat inputFormat, fm.liveswitch.AudioFormat outputFormat)
 Initializes a new instance of the fm.liveswitch.BasicAudioPacketizer class. More...
 
- Public Member Functions inherited from fm.liveswitch.AudioPacketizer
 AudioPacketizer (fm.liveswitch.AudioFormat format)
 Initializes a new instance of the fm.liveswitch.AudioPacketizer class. More...
 
 AudioPacketizer (fm.liveswitch.IAudioOutput input)
 Initializes a new instance of the fm.liveswitch.AudioPacketizer class. More...
 
 AudioPacketizer (fm.liveswitch.AudioFormat inputFormat, fm.liveswitch.AudioFormat outputFormat)
 Initializes a new instance of the fm.liveswitch.AudioPacketizer class. More...
 
long getFramesSent ()
 Gets the number of sent frames. More...
 
boolean processFrame (fm.liveswitch.AudioFrame frame)
 Processes the frame. More...
 
- Public Member Functions inherited from fm.liveswitch.AudioPipe
 AudioPipe (fm.liveswitch.AudioFormat inputFormat, fm.liveswitch.AudioFormat outputFormat)
 Initializes a new instance of the fm.liveswitch.AudioPipe class. More...
 
 AudioPipe (fm.liveswitch.AudioFormat outputFormat)
 Initializes a new instance of the fm.liveswitch.AudioPipe class. More...
 
fm.liveswitch.AudioConfig getConfig ()
 Gets the output configuration. More...
 
double getGain ()
 Gets a value indicating the gain (input amplification) of this sink. More...
 
fm.liveswitch.AudioConfig getInputConfig ()
 Gets the input configuration. More...
 
fm.liveswitch.AudioConfig getOutputConfig ()
 Gets the output configuration. More...
 
double getVolume ()
 Gets a value indicating the volume (output resistance) of this source. More...
 
void setGain (double value)
 Sets a value indicating the gain (input amplification) of this sink. More...
 
void setVolume (double value)
 Sets a value indicating the volume (output resistance) of this source. More...
 
- Public Member Functions inherited from fm.liveswitch.Dynamic
java.util.HashMap< String, Object > getDynamicProperties ()
 Gets all dynamic properties on this instance. More...
 
Object getDynamicValue (String key)
 Gets a property value from the local cache. More...
 
void setDynamicValue (String key, Object value)
 Sets a property value in the local cache. More...
 
boolean unsetDynamicValue (String key)
 Removes a property value from the local cache. More...
 
- Public Member Functions inherited from fm.liveswitch.IElement
abstract String getExternalId ()
 Gets the external identifier. More...
 
abstract String getId ()
 Gets the identifier. More...
 
abstract String getPipelineJson ()
 Gets the pipeline JSON with this as the central point. More...
 
abstract void setExternalId (String value)
 Sets the external identifier. More...
 
- Public Member Functions inherited from fm.liveswitch.IMediaElement
abstract boolean destroy ()
 Destroys this instance. More...
 
abstract boolean getDeactivated ()
 Gets a value indicating whether this instance is deactivated. More...
 
abstract boolean getDisabled ()
 Gets a value indicating whether this instance is disabled. More...
 
abstract boolean getMuted ()
 Gets a value indicating whether this instance is muted. More...
 
abstract boolean getPaused ()
 Gets a value indicating whether this instance is paused. More...
 
abstract boolean getPersistent ()
 Gets a value indicating whether this instance is persistent. More...
 
abstract void setDeactivated (boolean value)
 Sets a value indicating whether this instance is deactivated. More...
 
abstract void setMuted (boolean value)
 Sets a value indicating whether this instance is muted. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fm.liveswitch.BasicAudioPacketizer
void doDestroy ()
 Destroys this instance. More...
 
void doProcessFrame (fm.liveswitch.AudioFrame frame, fm.liveswitch.AudioBuffer inputBuffer)
 Processes a frame. More...
 
- Protected Member Functions inherited from fm.liveswitch.AudioPacketizer
void doProcessTrackStatsFromOutput (fm.liveswitch.MediaTrackStats trackStats)
 Processes track stats from an output. More...
 
boolean getAllowDiagnosticTimer ()
 Gets whether this pipe is allowed to be timed. More...
 
boolean getCanPauseBitrate ()
 Gets whether this pipe can pause the output bitrate. More...
 
- Protected Member Functions inherited from fm.liveswitch.AudioPipe
fm.liveswitch.AudioFrame createFrame (fm.liveswitch.AudioBuffer buffer)
 Creates a frame. More...
 
fm.liveswitch.IAudioInputCollection createInputCollection (fm.liveswitch.IAudioOutput output)
 Creates an input collection. More...
 
fm.liveswitch.IAudioOutputCollection createOutputCollection (fm.liveswitch.IAudioInput input)
 Creates an output collection. More...
 
void raiseFrame (fm.liveswitch.AudioFrame frame)
 Raises a frame. More...
 
- Protected Member Functions inherited from fm.liveswitch.Dynamic
 Dynamic ()
 
- Protected Member Functions inherited from fm.liveswitch.Serializable
boolean getIsDirty ()
 Gets a value indicating whether this instance is dirty. More...
 
 Serializable ()
 Initializes a new instance of the fm.liveswitch.Serializable class. More...
 
void setIsDirty (boolean value)
 Sets a value indicating whether this instance is dirty. More...
 

Detailed Description

A PCMA (G.711a) packetizer.

Constructor & Destructor Documentation

◆ Packetizer() [1/3]

fm.liveswitch.pcma.Packetizer.Packetizer ( )

Initializes a new instance of the fm.liveswitch.pcma.Packetizer class.

◆ Packetizer() [2/3]

fm.liveswitch.pcma.Packetizer.Packetizer ( fm.liveswitch.AudioConfig  config)

Initializes a new instance of the fm.liveswitch.pcma.Packetizer class.

Parameters
configThe configuration.

◆ Packetizer() [3/3]

fm.liveswitch.pcma.Packetizer.Packetizer ( fm.liveswitch.IAudioOutput  input)

Initializes a new instance of the fm.liveswitch.pcma.Packetizer class.

Parameters
inputThe input.

Member Function Documentation

◆ getLabel()

String fm.liveswitch.pcma.Packetizer.getLabel ( )

Gets a label that identifies this class.

Reimplemented from fm.liveswitch.BasicAudioPacketizer.