|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fmj.media.rtp.RTCPReport
public abstract class RTCPReport
Represents an RTCP Report
Field Summary | |
---|---|
protected java.util.Vector |
feedbackReports
|
protected RTCPHeader |
header
|
protected Participant |
participant
|
protected int |
sdesBytes
|
protected java.util.Vector |
sourceDescriptions
|
Constructor Summary | |
---|---|
RTCPReport(byte[] data,
int offset,
int length)
Creates a new RTCPReport |
Method Summary | |
---|---|
java.lang.String |
getByeReason()
Returns the reason for the bye |
java.lang.String |
getCName()
Gets the cName of the source of the report |
java.util.Vector |
getFeedbackReports()
|
Participant |
getParticipant()
|
java.util.Vector |
getSourceDescription()
|
long |
getSSRC()
|
boolean |
isByePacket()
Returns true if a bye packet was added to the report |
protected void |
readBye(byte[] data,
int offset,
int length)
|
protected void |
readFeedbackReports(byte[] data,
int offset,
int length)
Reads feedback reports from the data |
protected void |
readSourceDescription(byte[] data,
int offset,
int length)
Reads the source description from the data |
protected void |
setParticipant(RTPParticipant participant)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Participant participant
protected RTCPHeader header
protected java.util.Vector feedbackReports
protected java.util.Vector sourceDescriptions
protected int sdesBytes
Constructor Detail |
---|
public RTCPReport(byte[] data, int offset, int length) throws java.io.IOException
data
- The data of the reportoffset
- The offset in the data where the report startslength
- The length of the report in the data
java.io.IOException
Method Detail |
---|
protected void readFeedbackReports(byte[] data, int offset, int length) throws java.io.IOException
data
- The data to read the feedback reports fromoffset
- The offset into the data where the reports startlength
- The length of the data
java.io.IOException
protected void readSourceDescription(byte[] data, int offset, int length) throws java.io.IOException
data
- The data to read the source description fromoffset
- The offset into the data where the SDES packet startslength
- The length of the data
java.io.IOException
protected void readBye(byte[] data, int offset, int length) throws java.io.IOException
java.io.IOException
protected void setParticipant(RTPParticipant participant)
public Participant getParticipant()
getParticipant
in interface Report
public long getSSRC()
getSSRC
in interface Report
public java.util.Vector getFeedbackReports()
getFeedbackReports
in interface Report
public java.util.Vector getSourceDescription()
getSourceDescription
in interface Report
public java.lang.String getCName()
public boolean isByePacket()
public java.lang.String getByeReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |