JMF Solutions

UI-Based Application for Reception 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 receiver (Rx) is located in 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

A complimentary rtp tool called Tx, designed to transmit media streams that can be received by Rx, 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 Rx, for example: java Rx

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