|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.samples.rtp.Transmitter
public class Transmitter
This class transmits a video stream with an RTPConnector main method also starts a Receiver on the same topic Therefore it receives it own stream too. It will also receive any other stream sent to the same topic.
| Constructor Summary | |
|---|---|
Transmitter(javax.media.rtp.RTPConnector connector)
construct the transmitter with a RTPConnector |
|
| Method Summary | |
|---|---|
void |
close()
Stops the transmission if already started |
static javax.media.MediaLocator |
getMediaLocator()
get a MediaLocator from a capture device for video |
static void |
main(String[] args)
|
static void |
printUsage()
|
void |
setDataSource(javax.media.protocol.DataSource ds)
set the datasource |
String |
start()
Initialize the RTPManager and start transmitting data Return null if successful, otherwise a string explaining the problem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transmitter(javax.media.rtp.RTPConnector connector)
| Method Detail |
|---|
public void setDataSource(javax.media.protocol.DataSource ds)
public void close()
public String start()
public static void main(String[] args)
throws Exception
Exceptionpublic static void printUsage()
public static javax.media.MediaLocator getMediaLocator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||