JMF Solutions

UI-Based Application for Transmission of Media over RTP

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.

The core piece of the transmitter (Tx) is located in 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

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.
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

Source Code
See Also
  • JMF 2.0 Programmer's Guide
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
Duke's Choice Awards Nomination RHS

VTS OnDemand RHS Banner

Virtual Tech Summit Sept 2015 RHS banner

JavaOne 2014 Replay banner