Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h

Issue 2320703003: Remove handling unused rtcp packets. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 30 matching lines...) Expand all
41 int64_t maxRTT; 41 int64_t maxRTT;
42 int64_t avgRTT; 42 int64_t avgRTT;
43 uint32_t numAverageCalcs; 43 uint32_t numAverageCalcs;
44 }; 44 };
45 45
46 class RTCPPacketInformation { 46 class RTCPPacketInformation {
47 public: 47 public:
48 RTCPPacketInformation(); 48 RTCPPacketInformation();
49 ~RTCPPacketInformation(); 49 ~RTCPPacketInformation();
50 50
51 void AddVoIPMetric(const RTCPVoIPMetric* metric);
52
53 void AddApplicationData(const uint8_t* data, const uint16_t size);
54
55 void AddNACKPacket(const uint16_t packetID); 51 void AddNACKPacket(const uint16_t packetID);
56 void ResetNACKPacketIdArray(); 52 void ResetNACKPacketIdArray();
57 53
58 void AddReportInfo(const RTCPReportBlockInformation& report_block_info); 54 void AddReportInfo(const RTCPReportBlockInformation& report_block_info);
59 55
60 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field 56 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field
61 uint32_t remoteSSRC; 57 uint32_t remoteSSRC;
62 58
63 std::vector<uint16_t> nackSequenceNumbers; 59 std::vector<uint16_t> nackSequenceNumbers;
64 60
65 uint8_t applicationSubType;
66 uint32_t applicationName;
67 uint8_t* applicationData;
68 uint16_t applicationLength;
69
70 ReportBlockList report_blocks; 61 ReportBlockList report_blocks;
71 int64_t rtt; 62 int64_t rtt;
72 63
73 uint32_t interArrivalJitter;
74
75 uint8_t sliPictureId; 64 uint8_t sliPictureId;
76 uint64_t rpsiPictureId; 65 uint64_t rpsiPictureId;
77 uint32_t receiverEstimatedMaxBitrate; 66 uint32_t receiverEstimatedMaxBitrate;
78 67
79 uint32_t ntp_secs; 68 uint32_t ntp_secs;
80 uint32_t ntp_frac; 69 uint32_t ntp_frac;
81 uint32_t rtp_timestamp; 70 uint32_t rtp_timestamp;
82 71
83 uint32_t xr_originator_ssrc; 72 uint32_t xr_originator_ssrc;
84 bool xr_dlrr_item; 73 bool xr_dlrr_item;
85 std::unique_ptr<RTCPVoIPMetric> VoIPMetric;
86 74
87 std::unique_ptr<rtcp::TransportFeedback> transport_feedback_; 75 std::unique_ptr<rtcp::TransportFeedback> transport_feedback_;
88 76
89 private: 77 private:
90 RTC_DISALLOW_COPY_AND_ASSIGN(RTCPPacketInformation); 78 RTC_DISALLOW_COPY_AND_ASSIGN(RTCPPacketInformation);
91 }; 79 };
92 80
93 class RTCPReceiveInformation { 81 class RTCPReceiveInformation {
94 public: 82 public:
95 RTCPReceiveInformation(); 83 RTCPReceiveInformation();
(...skipping 23 matching lines...) Expand all
119 int64_t last_updated_ms; 107 int64_t last_updated_ms;
120 }; 108 };
121 109
122 std::map<uint32_t, TimedTmmbrItem> tmmbr_; 110 std::map<uint32_t, TimedTmmbrItem> tmmbr_;
123 }; 111 };
124 112
125 } // end namespace RTCPHelp 113 } // end namespace RTCPHelp
126 } // namespace webrtc 114 } // namespace webrtc
127 115
128 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ 116 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698