JMF Solutions

UI-Based Application for Transmission 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 transmitter (Tx) is located in AVTransmitter.java. It allows to stream media containing any number of tracks to a number of different hosts/clients 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 Tx.java.

A complimentary rtp tool called Rx, designed to receive and playback streams that are being sent by Tx, 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
 
  1. Download and compile the source files.
  2. Start Tx, for example: java Tx

  3.  
 
Source Code
 
 
See Also
 
  • JMF 2.0 Programmer's Guide
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
Java 8 banner (182)



Java One 2014 RHS Banner

Duke's Choice RHS Banner