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

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

Issue 2276833003: Change RtpSender::OnReceiveNACK name and signature (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: -one more <list> include Created 4 years, 4 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
11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_
13 13
14 #include <list>
15 #include <map> 14 #include <map>
16 #include <memory> 15 #include <memory>
17 #include <vector> 16 #include <vector>
18 17
19 #include "webrtc/base/constructormagic.h" 18 #include "webrtc/base/constructormagic.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
21 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h" 20 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h"
22 #include "webrtc/typedefs.h" 21 #include "webrtc/typedefs.h"
23 22
24 namespace webrtc { 23 namespace webrtc {
(...skipping 29 matching lines...) Expand all
54 void AddApplicationData(const uint8_t* data, const uint16_t size); 53 void AddApplicationData(const uint8_t* data, const uint16_t size);
55 54
56 void AddNACKPacket(const uint16_t packetID); 55 void AddNACKPacket(const uint16_t packetID);
57 void ResetNACKPacketIdArray(); 56 void ResetNACKPacketIdArray();
58 57
59 void AddReportInfo(const RTCPReportBlockInformation& report_block_info); 58 void AddReportInfo(const RTCPReportBlockInformation& report_block_info);
60 59
61 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field 60 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field
62 uint32_t remoteSSRC; 61 uint32_t remoteSSRC;
63 62
64 std::list<uint16_t> nackSequenceNumbers; 63 std::vector<uint16_t> nackSequenceNumbers;
65 64
66 uint8_t applicationSubType; 65 uint8_t applicationSubType;
67 uint32_t applicationName; 66 uint32_t applicationName;
68 uint8_t* applicationData; 67 uint8_t* applicationData;
69 uint16_t applicationLength; 68 uint16_t applicationLength;
70 69
71 ReportBlockList report_blocks; 70 ReportBlockList report_blocks;
72 int64_t rtt; 71 int64_t rtt;
73 72
74 uint32_t interArrivalJitter; 73 uint32_t interArrivalJitter;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 int64_t last_updated_ms; 119 int64_t last_updated_ms;
121 }; 120 };
122 121
123 std::map<uint32_t, TimedTmmbrItem> tmmbr_; 122 std::map<uint32_t, TimedTmmbrItem> tmmbr_;
124 }; 123 };
125 124
126 } // end namespace RTCPHelp 125 } // end namespace RTCPHelp
127 } // namespace webrtc 126 } // namespace webrtc
128 127
129 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ 128 #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/rtp_rtcp_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698