|
||||||||||
| 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.dsp.Processor
public class Processor
Implements DSP features. Processor has input and output and is used to perform required transcoding if needed for packets followed from source to consumer. Processor is transparent for packets with format acceptable by consumer by default.
| Constructor Summary | |
|---|---|
Processor(java.lang.String name)
|
|
| Method Summary | |
|---|---|
protected void |
add(org.mobicents.media.server.spi.dsp.Codec codec)
|
void |
connect(org.mobicents.media.MediaSink sink)
|
void |
connect(org.mobicents.media.MediaSource source)
|
void |
disconnect(org.mobicents.media.MediaSink sink)
|
void |
disconnect(org.mobicents.media.MediaSource source)
|
org.mobicents.media.MediaSink |
getInput()
Gets the input for original media |
org.mobicents.media.MediaSource |
getOutput()
Gets the output stream with transcoded media. |
void |
start()
(Non Java-doc.) |
void |
stop()
(Non Java-doc.) |
| Methods inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
addListener, getConnection, getEndpoint, getId, getName, getResourceType, removeListener, resetStats, sendEvent, setConnection, setEndpoint, 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, setConnection, setEndpoint |
| Constructor Detail |
|---|
public Processor(java.lang.String name)
| Method Detail |
|---|
protected void add(org.mobicents.media.server.spi.dsp.Codec codec)
public org.mobicents.media.MediaSink getInput()
getInput in interface org.mobicents.media.Inletpublic org.mobicents.media.MediaSource getOutput()
getOutput in interface org.mobicents.media.Outletpublic 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 void connect(org.mobicents.media.MediaSink sink)
connect in interface org.mobicents.media.Outletpublic void disconnect(org.mobicents.media.MediaSink sink)
disconnect in interface org.mobicents.media.Outletpublic void start()
start in interface org.mobicents.media.ComponentComponent.start()public void stop()
stop in interface org.mobicents.media.ComponentComponent.stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||