org.mobicents.media.server.component.video
Class VideoMixer

java.lang.Object
  extended by org.mobicents.media.server.component.video.VideoMixer
All Implemented Interfaces:
Mixer

public class VideoMixer
extends Object
implements Mixer

Overlaps several video streams into single one.

Author:
kulikov

Constructor Summary
VideoMixer(Scheduler scheduler)
           
 
Method Summary
 Format getFormat()
          Gets the intermediate format used for mixing.
 MediaSource getOutput()
          The mixed output signal.
 MediaSink newInput()
          Creates new input signal.
 void release(MediaSink input)
          Disables specified input signal.
 String report()
           
 void setFormat(Format format)
          Modify the intermediate format using for mixing.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoMixer

public VideoMixer(Scheduler scheduler)
Method Detail

getOutput

public MediaSource getOutput()
Description copied from interface: Mixer
The mixed output signal.

Specified by:
getOutput in interface Mixer
Returns:
media source transmitting mixed signal.

newInput

public MediaSink newInput()
Description copied from interface: Mixer
Creates new input signal.

Specified by:
newInput in interface Mixer
Returns:
media sink receiving input signal.

release

public void release(MediaSink input)
Description copied from interface: Mixer
Disables specified input signal.

Specified by:
release in interface Mixer
Parameters:
input - the sink receiving input signal.

start

public void start()
Specified by:
start in interface Mixer

stop

public void stop()
Specified by:
stop in interface Mixer

setFormat

public void setFormat(Format format)
Description copied from interface: Mixer
Modify the intermediate format using for mixing.

Specified by:
setFormat in interface Mixer
Parameters:
format - the format descriptor object

getFormat

public Format getFormat()
Description copied from interface: Mixer
Gets the intermediate format used for mixing.

Specified by:
getFormat in interface Mixer
Returns:
the format descriptor object.

report

public String report()
Specified by:
report in interface Mixer


Copyright © 2011. All Rights Reserved.