|
|||||||||
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()
Returns the feedback reports for this RTCP report. |
Participant |
getParticipant()
Returns the participant linked with this RTCP report |
java.util.Vector |
getSourceDescription()
Returns the sources descriptions (SDES) in this RTCP report. |
long |
getSSRC()
Returns the SSRC announced in this report. |
boolean |
isByePacket()
Returns true if a bye packet was added to the report |
protected void |
readBye(byte[] data,
int offset,
int length)
Reads and handles the BYE part of an RTCP report. |
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)
Sets the participant linked with this RTCP report. |
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
- I/O ExceptionMethod 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
- I/O Exceptionprotected 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
- I/O Exceptionprotected void readBye(byte[] data, int offset, int length) throws java.io.IOException
data
- the raw data in which the packet is containedoffset
- the offset where the BYE startslength
- the length of the report
java.io.IOException
- I/O Exceptionprotected void setParticipant(RTPParticipant participant)
participant
- the participant identified as linked with this RTCP reportpublic 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 |