FileDocCategorySizeDatePackage
RTPStream.javaAPI DocJMF 2.1.1e1965Mon May 12 12:20:38 BST 2003javax.media.rtp

RTPStream

public interface RTPStream
Interface RTPStream -- base interface representing a stream within an RTP session. Objects do not implement RTPStream, but rather ReceiveStream.

Fields Summary
Constructors Summary
Methods Summary
public javax.media.protocol.DataSourcegetDataSource()
Returns the datasource of the stream.

returns
the stream's datasource

public javax.media.rtp.ParticipantgetParticipant()
Returns the Participant that "owns" this stream. If this is an "orphaned" receive stream (see RTPSessionListener.newReceiveStream), null is returned; the recvStreamMapped() callback announces the fact that this call will no longer return null for this object.

public longgetSSRC()
Returns the SSRC of the stream.

return
the stream's SSRC.

public javax.media.rtp.rtcp.SenderReportgetSenderReport()
Retrieves the latest RTCP sender report for this stream. May be null if no RTCP sender report has been received (for ReceiveStreams)

For receive streams, the returned report represents the latest sender report received from the remote source. If the associated remote participant contains multiple ReceiveStreams, the reports returned by invoking this method on each may not necessarily contain an RTCPFeedback array (obtainable via getRTCPFeedbackReports()). This is for the same reason as noted above; since the reports are coming from the same participant, they would only differ in the sender portion and it would be redundant to send the receiver portion in each.