|
@@ -200,7 +200,7 @@ void RtcpReportBlock::setSeqNo(uint16_t highestSeqNo, uint16_t seqNoCycles) {
|
|
|
|
|
|
void RtcpReportBlock::setJitter(uint32_t jitter) { _jitter = htonl(jitter); }
|
|
void RtcpReportBlock::setJitter(uint32_t jitter) { _jitter = htonl(jitter); }
|
|
|
|
|
|
-void RtcpReportBlock::setNTPOfSR(uint64_t ntp) { _lastReport = htonll(ntp >> 16u); }
|
|
|
|
|
|
+void RtcpReportBlock::setNTPOfSR(uint64_t ntp) { _lastReport = htonl((uint32_t)(ntp >> 16)); }
|
|
|
|
|
|
uint32_t RtcpReportBlock::getNTPOfSR() const { return ntohl(_lastReport) << 16u; }
|
|
uint32_t RtcpReportBlock::getNTPOfSR() const { return ntohl(_lastReport) << 16u; }
|
|
|
|
|