KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > media > engine > audio > RtpAudioMediaPublisherMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.media.engine.audio;
8
9 /**
10  * MBean interface.
11  */

12 public interface RtpAudioMediaPublisherMBean extends org.jboss.media.engine.MediaPublisherMBean
13 {
14
15    /**
16     * Returns the bitRate.
17     * @return int
18     */

19    int getBitRate();
20
21    /**
22     * Returns the encoding.
23     * @return String
24     */

25    java.lang.String JavaDoc getEncoding();
26
27    /**
28     * Sets the bitRate.
29     * @param bitRate The bitRate to set
30     */

31    void setBitRate(int bitRate);
32
33    /**
34     * Sets the encoding.
35     * @param encoding The encoding to set
36     */

37    void setEncoding(java.lang.String JavaDoc encoding);
38
39    /**
40     * Returns the resolution.
41     * @return int
42     */

43    int getResolution();
44
45    /**
46     * Sets the resolution.
47     * @param resolution The resolution to set
48     */

49    void setResolution(int resolution);
50
51    int getChannels();
52
53    void setChannels(int channels);
54
55    void publish() throws javax.media.NoProcessorException, java.net.MalformedURLException JavaDoc, java.io.IOException JavaDoc,
56          javax.media.NoDataSinkException;
57
58    void stop();
59
60    void addPluginGraph(org.jboss.media.engine.MediaPluginGraph pg);
61
62 }
63
Popular Tags