RTP Audio System
2.0.0
|
Source State Info. More...
#include <sourcestateinfo.h>
Public Member Functions | |
SourceStateInfo () | |
SourceStateInfo & | operator= (const SourceStateInfo &original) |
void | reset () |
card32 | getSSRC () const |
card32 | getLSR () const |
card32 | calculateDLSR () const |
void | setLSR (const card32 lsr) |
void | setSSRC (card32 ssrc) |
Private Attributes | |
card64 | LSRUpdateTimeStamp |
card32 | ReceivedPrior |
card32 | ExpectedPrior |
card32 | FractionLost |
card32 | SSRC |
card32 | LSR |
Source State Info.
This class manages the source state information of an RTP receiver to be transmitted by a RTCPSender. See also RFC 1889 for more information on RTP.
Constructor.
card32 SourceStateInfo::calculateDLSR | ( | ) | const |
Calculate delay since last sender report time stamp using current time.
card32 SourceStateInfo::getLSR | ( | ) | const [inline] |
Get last sender report time stamp.
card32 SourceStateInfo::getSSRC | ( | ) | const [inline] |
Get SSRC.
SourceStateInfo & SourceStateInfo::operator= | ( | const SourceStateInfo & | original | ) |
Copy operation.
void SourceStateInfo::reset | ( | ) |
Reset.
Reimplemented from SeqNumValidator.
void SourceStateInfo::setLSR | ( | const card32 | lsr | ) | [inline] |
Set last sender report time stamp.
lsr | LSR. |
void SourceStateInfo::setSSRC | ( | card32 | ssrc | ) | [inline] |
Set SSRC.
card32 SourceStateInfo::ExpectedPrior [private] |
Reimplemented from SeqNumValidator.
card32 SourceStateInfo::FractionLost [private] |
Reimplemented from SeqNumValidator.
card32 SourceStateInfo::LSR [private] |
card64 SourceStateInfo::LSRUpdateTimeStamp [private] |
card32 SourceStateInfo::ReceivedPrior [private] |
Reimplemented from SeqNumValidator.
card32 SourceStateInfo::SSRC [private] |