|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlibrtp.RtcpPkt
jlibrtp.RtcpPktSR
public class RtcpPktSR
RTCP packets for Sender Reports
Field Summary | |
---|---|
protected long |
ntpTs1
NTP timestamp, MSB |
protected long |
ntpTs2
NTP timestamp, LSB |
protected RtcpPktRR |
rReports
RR packet with receiver reports that we can append |
protected long |
rtpTs
RTP timestamp |
protected long |
sendersOctCount
Senders octet count |
protected long |
sendersPktCount
Senders packet count |
Fields inherited from class jlibrtp.RtcpPkt |
---|
itemCount, length, packetType, padding, problem, rawPkt, received, ssrc, time, version |
Constructor Summary | |
---|---|
protected |
RtcpPktSR(byte[] aRawPkt,
int start,
int length)
Constructor that parses a received packet |
protected |
RtcpPktSR(long ssrc,
long pktCount,
long octCount,
RtcpPktRR rReports)
Constructor for a new Sender Report packet |
Method Summary | |
---|---|
void |
debugPrint()
Debug purposes only |
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt CompRtcpPkt will call this automatically |
Methods inherited from class jlibrtp.RtcpPkt |
---|
check, parseHeaders, writeHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long ntpTs1
protected long ntpTs2
protected long rtpTs
protected long sendersPktCount
protected long sendersOctCount
protected RtcpPktRR rReports
Constructor Detail |
---|
protected RtcpPktSR(long ssrc, long pktCount, long octCount, RtcpPktRR rReports)
ssrc
- the senders SSRC, presumably from RTPSessionpktCount
- packets sent in this sessionoctCount
- octets sent in this sessionrReports
- receiver reports, as RR packets, to be included in this packetprotected RtcpPktSR(byte[] aRawPkt, int start, int length)
aRawPkt
- the raw packetstart
- the position at which SR startslength
- used to determine number of included receiver reportsMethod Detail |
---|
protected void encode()
encode
in class RtcpPkt
public void debugPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |