|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.media.engine.MediaPublisher (src)
org.jboss.media.engine.audio.RtpAudioMediaPublisher
Field Summary | |
protected AudioGenericPluginSupport (src) |
m_plugin
|
protected Processor |
m_processor
|
protected DataSink |
m_rtpTransmitter
|
Fields inherited from class org.jboss.media.engine.MediaPublisher (src) |
log |
Constructor Summary | |
RtpAudioMediaPublisher()
|
Method Summary | |
void |
addPluginGraph(MediaPluginGraph (src) pg)
Stops publication of the current media |
int |
getBitRate()
Returns the bitRate. |
int |
getChannels()
|
java.lang.String |
getEncoding()
Returns the encoding. |
int |
getResolution()
Returns the resolution. |
void |
publish()
Publishes the processed media using a the specified protocol server |
void |
setBitRate(int bitRate)
Sets the bitRate. |
void |
setChannels(int channels)
|
void |
setEncoding(java.lang.String encoding)
Sets the encoding. |
void |
setResolution(int resolution)
Sets the resolution. |
void |
stop()
Stops publication of the current media |
Methods inherited from class org.jboss.media.engine.MediaPublisher (src) |
getContext, getFileName, getHost, getName, getPort, setContext, setFileName, setHost, setName, setPort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Processor m_processor
protected DataSink m_rtpTransmitter
protected AudioGenericPluginSupport (src) m_plugin
Constructor Detail |
public RtpAudioMediaPublisher()
Method Detail |
public int getBitRate()
public java.lang.String getEncoding()
public void setBitRate(int bitRate)
bitRate
- The bitRate to setpublic void setEncoding(java.lang.String encoding)
encoding
- The encoding to setpublic int getResolution()
public void setResolution(int resolution)
resolution
- The resolution to setpublic int getChannels()
public void setChannels(int channels)
public void publish() throws NoProcessorException, java.net.MalformedURLException, java.io.IOException, NoDataSinkException
MediaPublisher (src)
publish
in class MediaPublisher (src)
NoProcessorException
java.net.MalformedURLException
java.io.IOException
NoDataSinkException
public void stop()
MediaPublisher (src)
stop
in class MediaPublisher (src)
public void addPluginGraph(MediaPluginGraph (src) pg)
MediaPublisher (src)
addPluginGraph
in class MediaPublisher (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |