net.sf.fmj.media.rtp
Class RTCPFeedback

java.lang.Object
  extended by net.sf.fmj.media.rtp.RTCPFeedback
All Implemented Interfaces:
Feedback

public class RTCPFeedback
extends java.lang.Object
implements Feedback

Represents an RTCP Feedback report

Version:
1-1-alpha3
Author:
Andrew G D Rowley

Field Summary
static int SIZE
          The size of a feedback report in bytes
 
Constructor Summary
RTCPFeedback(byte[] data, int offset, int length)
          Creates a new RTCP Feedback report
 
Method Summary
 long getDLSR()
           
 int getFractionLost()
           
 long getJitter()
           
 long getLSR()
           
 long getNumLost()
           
 long getSSRC()
           
 long getXtndSeqNum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
The size of a feedback report in bytes

See Also:
Constant Field Values
Constructor Detail

RTCPFeedback

public RTCPFeedback(byte[] data,
                    int offset,
                    int length)
             throws java.io.IOException
Creates a new RTCP Feedback report

Parameters:
data - The data to read from
offset - The offset into the data where the report starts
length - The length of the report
Throws:
java.io.IOException
Method Detail

getSSRC

public long getSSRC()
Specified by:
getSSRC in interface Feedback

getFractionLost

public int getFractionLost()
Specified by:
getFractionLost in interface Feedback

getNumLost

public long getNumLost()
Specified by:
getNumLost in interface Feedback

getXtndSeqNum

public long getXtndSeqNum()
Specified by:
getXtndSeqNum in interface Feedback

getJitter

public long getJitter()
Specified by:
getJitter in interface Feedback

getLSR

public long getLSR()
Specified by:
getLSR in interface Feedback

getDLSR

public long getDLSR()
Specified by:
getDLSR in interface Feedback