|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.BaseComponent
org.mobicents.media.server.impl.AbstractSource
org.mobicents.media.server.impl.AbstractSourceSet
org.mobicents.media.server.impl.resource.Demultiplexer
public class Demultiplexer
A Demultiplexer is a media processing component that takes an interleaved media stream as input, extracts the individual tracks from the stream, and outputs the resulting tracks. It has one input and multiple outputs.
| 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 | |
|---|---|
Demultiplexer(java.lang.String name)
Creates new instance of the demultiplexer. |
|
| Method Summary | |
|---|---|
void |
connect(org.mobicents.media.MediaSource source)
|
AbstractSource |
createSource(org.mobicents.media.MediaSink otherParty)
|
void |
destroySource(AbstractSource source)
|
void |
disconnect(org.mobicents.media.MediaSource source)
|
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). |
AbstractSink |
getInput()
(Non Java-doc). |
void |
setConnection(org.mobicents.media.server.spi.Connection connection)
(Non Java-doc.) |
void |
setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
(Non Java-doc.) |
void |
start()
(Non Java-doc). |
void |
stop()
(Non Java-doc). |
| Methods inherited from class org.mobicents.media.server.impl.AbstractSourceSet |
|---|
connect, disconnect, getActiveSourceCount, getStreams, isMultipleConnectionsAllowed |
| Methods inherited from class org.mobicents.media.server.impl.AbstractSource |
|---|
afterStop, beforeStart, cancel, completed, connect, disconnect, failed, getBytesTransmitted, getDuration, getInterface, getMediaTime, getPacketsTransmitted, getSupportedFormatList, getSyncSource, isActive, isConnected, isStarted, perform, resetStats, setDuration, setMediaTime, setPreffered, setSyncSource, started, stopped |
| Methods inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
addListener, getConnection, getEndpoint, getFormat, getId, getName, removeListener, sendEvent, 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, getInterface, getName, removeListener, resetStats |
| Constructor Detail |
|---|
public Demultiplexer(java.lang.String name)
name - | Method Detail |
|---|
public AbstractSink getInput()
getInput in interface org.mobicents.media.InletInlet.getInput().public void connect(org.mobicents.media.MediaSource source)
connect in interface org.mobicents.media.Inletpublic void disconnect(org.mobicents.media.MediaSource source)
disconnect in interface org.mobicents.media.Inletpublic AbstractSource createSource(org.mobicents.media.MediaSink otherParty)
createSource in class AbstractSourceSetpublic void setConnection(org.mobicents.media.server.spi.Connection connection)
BaseComponent
setConnection in interface org.mobicents.media.ComponentsetConnection in class BaseComponentorg.mobicents.media.Component#setConnection().public void setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
BaseComponent
setEndpoint in interface org.mobicents.media.ComponentsetEndpoint in class BaseComponentComponent.setEndpoint(Endpoint).public org.mobicents.media.Format[] getFormats()
getFormats in interface org.mobicents.media.MediaSourceMediaSource.getFormats().public void start()
AbstractSource
start in interface org.mobicents.media.MediaSourcestart in class AbstractSourceSetMediaSource.start().public void stop()
AbstractSource
stop in interface org.mobicents.media.MediaSourcestop in class AbstractSourceMediaSource.stop().
public void evolve(org.mobicents.media.Buffer buffer,
long timestamp)
AbstractSource
evolve in class AbstractSourcebuffer - the buffer object for media.public void destroySource(AbstractSource source)
destroySource in class AbstractSourceSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||