Methods Summary |
---|
public void | addFormat(javax.media.Format fmt, int payload)This method is used to add a dynamic payload ---> Format
mapping in the RTPSessionManager. The RTPSessionManager maintains
all static payload numbers and their correspnding Formats as
mentioned in the Audio/Video profile document. Using the plugin
packethandler interface, a user may plugin his own packetizer or
depacketizer to handle RTP streams of a proprietary format using
dynamic payload numbers as specified in the AV profile. Before
streaming payload of a dynamic nature, a Format object needs to
be created for the dynamic payload and associated with a dynamic
payload number.
|
public javax.media.Format | getFormat()Retrieves the Format object for the current stream. If this datasource
has not received data as yet, null will be returned. This method
provides a way for the application writer to query the datasource
for the format it is currently streaming, since payload formats
can be switched during the course of an RTP session.
|
public javax.media.Format | getFormat(int payload)Retrieves a format corresponding to the payload as stored by
the session manager.
|
public javax.media.Format[] | getFormatList()Retrieves a complete list of all the formats set on this
datasource. This is a collection of Format objects that
were added by using addFormat() method.
|
public javax.media.rtp.GlobalReceptionStats | getGlobalStats()Query the RTP datasource for global RTP statistics
|
public javax.media.rtp.ReceptionStats | getReceptionStats()Query the RTP datasource for its data reception statistics
|