#include <reports.h>
Public Member Functions | |
| ReceptionReport (const char *name=NULL) | |
| ReceptionReport (const ReceptionReport &receptionReport) | |
| virtual | ~ReceptionReport () |
| ReceptionReport & | operator= (const ReceptionReport &receptionReport) |
| virtual cObject * | dup () const |
| virtual const char * | className () const |
| virtual std::string | info () |
| virtual void | writeContents (std::ostream &os) const |
| virtual u_int32 | ssrc () |
| virtual void | setSSRC (u_int32 ssrc) |
| virtual u_int8 | fractionLost () |
| virtual void | setFractionLost (u_int8 fractionLost) |
| virtual int | packetsLostCumulative () |
| virtual void | setPacketsLostCumulative (int packetLostCumulative) |
| virtual u_int32 | sequenceNumber () |
| virtual void | setSequenceNumber (u_int32 sequenceNumber) |
| virtual int | jitter () |
| virtual void | setJitter (int jitter) |
| virtual int | lastSR () |
| virtual void | setLastSR (int lastSR) |
| virtual int | delaySinceLastSR () |
| virtual void | setDelaySinceLastSR (int delaySinceLastSR) |
Protected Attributes | |
| u_int32 | _ssrc |
| u_int8 | _fractionLost |
| int | _packetsLostCumulative |
| u_int32 | _extendedHighestSequenceNumber |
| int | _jitter |
| int | _lastSR |
| int | _delaySinceLastSR |
|
|
Default constructor. 00136 : cObject(name) {
00137 _ssrc = 0;
00138 _fractionLost = 0;
00139 _packetsLostCumulative = 0;
00140 _extendedHighestSequenceNumber = 0;
00141 _jitter = 0;
00142 _lastSR = 0;
00143 _delaySinceLastSR = 0;
00144 };
|
|
|
Copy constructor.. 00147 : cObject() {
00148 setName(receptionReport.name());
00149 operator=(receptionReport);
00150 };
|
|
|
Destructor. 00153 {
00154 };
|
|
|
Returns the class name "ReceptionReport". 00175 {
00176 return "ReceptionReport";
00177 };
|
|
|
Returns the delay since the last SenderReport of this sender has been received in units of 1/65536 seconds. 00259 {
00260 return _delaySinceLastSR;
00261 };
|
|
|
Duplicates this ReceptionReport by calling the copy constructor. 00170 {
00171 return new ReceptionReport(*this);
00172 };
|
|
|
Returns the fraction of packets lost as stored in this ReceptionReport. 00209 {
00210 return _fractionLost;
00211 };
|
|
|
Writes a short info about this ReceptionReport into the given string. 00180 {
00181 std::stringstream out;
00182 out << "ReceptionReport.ssrc=" << _ssrc;
00183 return out.str();
00184 };
|
|
|
Returns the interarrival jitter. 00239 {
00240 return _jitter;
00241 };
|
|
|
Returns the rtp time stamp of the last SenderReport received from this sender. 00249 {
00250 return _lastSR;
00251 };
|
|
|
Assignment operator. 00157 {
00158 cObject::operator=(receptionReport);
00159 _ssrc = receptionReport._ssrc;
00160 _fractionLost = receptionReport._fractionLost;
00161 _packetsLostCumulative = receptionReport._packetsLostCumulative;
00162 _extendedHighestSequenceNumber = receptionReport._extendedHighestSequenceNumber;
00163 _jitter = receptionReport._jitter;
00164 _lastSR = receptionReport._lastSR;
00165 _delaySinceLastSR = receptionReport._delaySinceLastSR;
00166 return *this;
00167 };
|
|
|
Returns the number of expected minus the number of packets received. 00219 {
00220 return _packetsLostCumulative;
00221 };
|
|
|
Returns the extended highest sequence number received. 00229 {
00230 return _extendedHighestSequenceNumber;
00231 };
|
|
|
Sets the delay since the last SenderReport of this sender has been received in units of 1/65536 seconds. 00264 {
00265 _delaySinceLastSR = delaySinceLastSR;
00266 };
|
|
|
Sets the fraction of packets lost. 00214 {
00215 _fractionLost = fractionLost;
00216 };
|
|
|
Sets ths interarrival jitter. 00244 {
00245 _jitter = jitter;
00246 };
|
|
|
Sets the rtp time stamp of the last SenderReport received from this sender. 00254 {
00255 _lastSR = lastSR;
00256 };
|
|
|
Sets the number of expected minus the number of packets received. 00224 {
00225 _packetsLostCumulative = packetsLostCumulative;
00226 };
|
|
|
Set the extended highest sequence number received. 00234 {
00235 _extendedHighestSequenceNumber = sequenceNumber;
00236 };
|
|
|
Sets the ssrc identifier of the sender this ReceptionReport is for. 00204 {
00205 _ssrc = ssrc;
00206 };
|
|
|
Returns the ssrc identifier for which sender this ReceptionReport is. 00199 {
00200 return _ssrc;
00201 };
|
|
|
Writes a longer info about this ReceptionReport into the given stream. 00187 {
00188 os << "ReceptionReport:" << endl;
00189 os << " ssrc = " << _ssrc << endl;
00190 os << " fractionLost = " << (int)_fractionLost << endl;
00191 os << " packetsLostCumulative = " << _packetsLostCumulative << endl;
00192 os << " extendedHighestSequenceNumber = " << _extendedHighestSequenceNumber << endl;
00193 os << " jitter = " << _jitter << endl;
00194 os << " lastSR = " << _lastSR << endl;
00195 os << " delaySinceLastSR = " << _delaySinceLastSR << endl;
00196 };
|
|
|
The delay since the last SenderReport from this sender has been received in units of 1/65536 seconds. |
|
|
The extended highest sequence number received. |
|
|
The fraction lost. |
|
|
The interarrival jitter. |
|
|
The rtp time stamp of the last SenderReport received from this source. |
|
|
The number of packets expected minus the number of packets received. |
|
|
The ssrc identifier of the sender this ReceptionReport is for. |
1.4.1