org.mobicents.media.server.impl.resource.cnf
Class MixerOutput

java.lang.Object
  extended by org.mobicents.media.server.impl.BaseComponent
      extended by org.mobicents.media.server.impl.AbstractSource
          extended by org.mobicents.media.server.impl.resource.cnf.MixerOutput
All Implemented Interfaces:
java.io.Serializable, org.mobicents.media.Component, org.mobicents.media.MediaSource, org.mobicents.media.server.spi.clock.Task

public class MixerOutput
extends AbstractSource

Implements output stream of the audio mixer.

Author:
Oleg Kulikov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.AbstractSource
logger, otherParty
 
Fields inherited from class org.mobicents.media.server.impl.BaseComponent
format
 
Constructor Summary
MixerOutput(AudioMixer mixer)
          Creates new ouput stream
 
Method Summary
 void evolve(org.mobicents.media.Buffer buffer, long timestamp)
          This method must be overriden by concrete media source.
 org.mobicents.media.Format[] getFormats()
          (Non Java-doc.)
 
Methods inherited from class org.mobicents.media.server.impl.AbstractSource
afterStop, beforeStart, cancel, completed, connect, connect, disconnect, disconnect, failed, getBytesTransmitted, getDuration, getInterface, getMediaTime, getPacketsTransmitted, getSupportedFormatList, getSyncSource, isActive, isConnected, isMultipleConnectionsAllowed, isStarted, perform, resetStats, setDuration, setMediaTime, setPreffered, setSyncSource, start, started, stop, stopped
 
Methods inherited from class org.mobicents.media.server.impl.BaseComponent
addListener, getConnection, getEndpoint, getFormat, getId, getName, removeListener, sendEvent, setConnection, setEndpoint, subset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mobicents.media.Component
addListener, getConnection, getEndpoint, getFormat, getId, getName, removeListener, setConnection, setEndpoint
 

Constructor Detail

MixerOutput

public MixerOutput(AudioMixer mixer)
Creates new ouput stream

Parameters:
mixer -
Method Detail

evolve

public void evolve(org.mobicents.media.Buffer buffer,
                   long timestamp)
Description copied from class: AbstractSource
This method must be overriden by concrete media source. The media have to fill buffer with media data and attributes.

Specified by:
evolve in class AbstractSource
Parameters:
buffer - the buffer object for media.

getFormats

public org.mobicents.media.Format[] getFormats()
(Non Java-doc.)

See Also:
MediaSource.getFormats()


Copyright © 2010. All Rights Reserved.