|
|
UI-Based Application for Reception of Media over RTP
|
|
Problem
Setting up RTP sessions with several distributed clients and
streams can be a tedious and complicated task. We developed a small
application with a convenient graphical user interface that
demonstrates how to do this.
Solution
The core piece of the receiver (Rx) is located in AVReceiver.java. It
allows receive media streams containing any number of tracks from a number of different hosts/transmitters on the network simultaneously.
The other classes contain the graphical user interface, a configuration manager that saves and restores your last settings as well a a utility called RTCP Monitor. The RTCP Monitor allows you to trace RTCP packets such as Sender Reports, Receiver Reports and Bye Packets.
The main class of this test tool is located in Rx.java.
A complimentary rtp tool called Tx, designed to transmit media streams that can be received by Rx, is also available from the solutions page.
|
|
| Requirements |
|
| Platform: |
JDK 1.2 or later |
| JMF API: |
2.1.1 |
| Implementation: |
AJ, WPP, SPP * |
| Hardware: [optional] |
Capture card required for live capture. |
* AJ = All Java, WPP = Windows Performance Pack, SPP =
Solaris Performance Pack |
|
|
| Related Classes |
|
|
|
|
| How to run this sample |
|
-
Download and compile the source files.
-
Start Rx, for example: java Rx
|
|
| Source Code |
|
|
|
|
| See Also |
|
-
JMF 2.0 Programmer's Guide
|
|