FileDocCategorySizeDatePackage
SenderReport.javaAPI DocJMF 2.1.1e2481Mon May 12 12:20:40 BST 2003javax.media.rtp.rtcp

SenderReport

public interface SenderReport implements Report
Contains the methods specific to an RTCP sender report (SR).

Fields Summary
Constructors Summary
Methods Summary
public longgetNTPTimeStampLSW()
Returns the least significant word of the NTP timestamp. This is returned as a long because it's a 32-bit *unsigned* quantity, the full range of which is only representable by a long

public longgetNTPTimeStampMSW()
Returns the most significant word of the NTP timestamp. This is returned as a long because it's a 32-bit *unsigned* quantity, the full range of which is only representable by a long.

public longgetRTPTimeStamp()
Returns the RTP Timestamp. This is returned as a long because it's a 32-bit *unsigned* quantity, the full range of which is only representable by a long.

public longgetSenderByteCount()
Returns the sender's byte count.

public javax.media.rtp.rtcp.FeedbackgetSenderFeedback()
Returns a Feedback object corresponding to the feedback for this sender which the *local* participant is sending out in RTCP reports. This allows an application to quickly obtain the reception statistics we are generating for this source. Note that this method does not directly relate to the bits received in RTCP sender reports. This Feedback object is also available via the local participant (but not as easily) because it is part of the RTCP reports it is sending out. By calling getReports() on the local participant we could retrieve an RTCPReport containing this same Feedback.

public longgetSenderPacketCount()
Returns the sender's packet count.

public javax.media.rtp.RTPStreamgetStream()
Returns the RTPStream associated with this sender report.This method may return NULL if this SR was received before RTP data packets have arrived and an ReceiveStream could be created.

Note that RTCPReceiverReports don't expose this method. This is because RR's come from passive listeners that are represented by an Participant with no ReceiveStreams.