Use of JCP site is subject to the
JCP Terms of Use and the
Oracle Privacy Policy
|
JMF 2.0 CHANGE REQUESTSDescriptionMaintenance revision for the JavaTM Media Framework Specification, version 2.0.This document is dated 21-Sep-00. Maintenance LeadMarc Owerfeldt, Sun Microsystems, Inc.FeedbackFeedback should be sent to jmf-comments@sun.comProposed RTP ChangesWe are introducing a number of changes to the RTP interface in order to simplify the API and address issues that have been brought forward by our licensees. The new RTPManager interface eliminates the need to distinguish between
multicast, multi-unicast and unicast sessions. As a result a number of methods
only intended for multi-peered sessions could be removed. Further changes
include improved naming conventions, eliminating c-like return values from the
init and start calls and hiding unnecessary complexity like
cname and ssrc values from the API as they can be handled
internally. Also, support for multi-homed systems (i.e. with more than one IP
interface) has been added.
Also, a new constructor has been added to SessionAddress which only requires dataAddress and dataPort parameters. By convention, the controlPort is computed as the dataPort + 1, the controlAddress is assumed to be identical to the dataAddress. /** * Constructor to create an SessionAddress given the data internet * address and data port. * * @param dataAddress The data address. * * @param dataPort The data port. If this value is passed as the * constant ANY_PORT, the object * will not represent a specific data port. */ public SessionAddress( InetAddress dataAddress, int dataPort) { //... } A second constructor has been added to SessionAddress. Its parameters are dataAddress, dataPort and timeToLive, which is used for multicast sessions. /** * Constructor to create an SessionAddress given the data internet * address and data port. * * @param dataAddress The data address. * * @param dataPort The data port. If this value is passed as the * constant ANY_PORT, the object * will not represent a specific data port. * * @param timeToLive The time-to-live parameter for mutlicast sessions */ public SessionAddress( InetAddress dataAddress, int dataPort, int timeToLive) { //... } |