Move class RTCPHelp::RTCPPacketInformation into RTCPReceiver
Use it by pointer instead of by reference. Renamed PacketInformation members to follow style, Unused members removed. BUG=webrtc:5565 Review-Url: https://codereview.webrtc.org/2366563002 Cr-Commit-Position: refs/heads/master@{#14375}
This commit is contained in:
@ -19,28 +19,6 @@
|
||||
namespace webrtc {
|
||||
namespace RTCPHelp {
|
||||
|
||||
RTCPPacketInformation::RTCPPacketInformation()
|
||||
: rtcpPacketTypeFlags(0),
|
||||
remoteSSRC(0),
|
||||
nackSequenceNumbers(),
|
||||
rtt(0),
|
||||
sliPictureId(0),
|
||||
rpsiPictureId(0),
|
||||
receiverEstimatedMaxBitrate(0),
|
||||
ntp_secs(0),
|
||||
ntp_frac(0),
|
||||
rtp_timestamp(0),
|
||||
xr_originator_ssrc(0),
|
||||
xr_dlrr_item(false) {}
|
||||
|
||||
RTCPPacketInformation::~RTCPPacketInformation() {}
|
||||
|
||||
void RTCPPacketInformation::AddReportInfo(
|
||||
const RTCPReportBlockInformation& report_block_info) {
|
||||
this->rtt = report_block_info.RTT;
|
||||
report_blocks.push_back(report_block_info.remoteReceiveBlock);
|
||||
}
|
||||
|
||||
RTCPReportBlockInformation::RTCPReportBlockInformation()
|
||||
: remoteReceiveBlock(),
|
||||
remoteMaxJitter(0),
|
||||
|
||||
Reference in New Issue
Block a user