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

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

Issue 1392513002: Disable pacer disabling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove RTP FIR + test refactoring Created 5 years, 2 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 * Class for storing RTP packets. 10 * Class for storing RTP packets.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 Clock* clock_; 86 Clock* clock_;
87 rtc::scoped_ptr<CriticalSectionWrapper> critsect_; 87 rtc::scoped_ptr<CriticalSectionWrapper> critsect_;
88 bool store_ GUARDED_BY(critsect_); 88 bool store_ GUARDED_BY(critsect_);
89 uint32_t prev_index_ GUARDED_BY(critsect_); 89 uint32_t prev_index_ GUARDED_BY(critsect_);
90 90
91 struct StoredPacket { 91 struct StoredPacket {
92 StoredPacket(); 92 StoredPacket();
93 uint16_t sequence_number = 0; 93 uint16_t sequence_number = 0;
94 int64_t time_ms = 0; 94 int64_t time_ms = 0;
95 int64_t send_time = 0; 95 int64_t send_time = 0;
96 StorageType storage_type = kDontStore; 96 StorageType storage_type = kDontRetransmit;
97 97
98 uint8_t data[IP_PACKET_SIZE]; 98 uint8_t data[IP_PACKET_SIZE];
99 size_t length = 0; 99 size_t length = 0;
100 }; 100 };
101 std::vector<StoredPacket> stored_packets_ GUARDED_BY(critsect_); 101 std::vector<StoredPacket> stored_packets_ GUARDED_BY(critsect_);
102 }; 102 };
103 } // namespace webrtc 103 } // namespace webrtc
104 #endif // WEBRTC_MODULES_RTP_RTCP_RTP_PACKET_HISTORY_H_ 104 #endif // WEBRTC_MODULES_RTP_RTCP_RTP_PACKET_HISTORY_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698