|
||||||||||
| 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 |
|---|
otherParty |
| 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 sequenceNumber)
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)
|
void |
setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
|
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, completed, connect, disconnect, failed, getBytesTransmitted, getPacketsTransmitted, getSupportedFormatList, getSyncSource, isConnected, isStarted, resetStats, run, setSyncSource, started, stopped |
| Methods inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
addListener, getConnection, getEndpoint, getId, getName, getResourceType, removeListener, sendEvent, setResourceType, 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, getId, 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)
setConnection in interface org.mobicents.media.ComponentsetConnection in class BaseComponentpublic void setEndpoint(org.mobicents.media.server.spi.Endpoint endpoint)
setEndpoint in interface org.mobicents.media.ComponentsetEndpoint in class BaseComponentpublic org.mobicents.media.Format[] getFormats()
getFormats in interface org.mobicents.media.MediaSourceMediaSource.getFormats().public void start()
AbstractSource
start in interface org.mobicents.media.Componentstart in class AbstractSourceComponent.start().public void stop()
AbstractSource
stop in interface org.mobicents.media.Componentstop in class AbstractSourceComponent.stop().
public void evolve(org.mobicents.media.Buffer buffer,
long sequenceNumber)
AbstractSource
evolve in class AbstractSourcebuffer - the buffer object for media.sequenceNumber - the number of timer ticks from the begining.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 | |||||||||