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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/flexfec_sender.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" 11 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h"
12 12
13 #include <utility> 13 #include <utility>
14 14
15 #include "webrtc/base/logging.h"
15 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 16 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
16 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" 17 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h"
17 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
18 #include "webrtc/rtc_base/logging.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 namespace { 22 namespace {
23 23
24 // Let first sequence number be in the first half of the interval. 24 // Let first sequence number be in the first half of the interval.
25 constexpr uint16_t kMaxInitRtpSeqNumber = 0x7fff; 25 constexpr uint16_t kMaxInitRtpSeqNumber = 0x7fff;
26 26
27 // See breakdown in flexfec_header_reader_writer.cc. 27 // See breakdown in flexfec_header_reader_writer.cc.
28 constexpr size_t kFlexfecMaxHeaderSize = 32; 28 constexpr size_t kFlexfecMaxHeaderSize = 32;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 RtpState FlexfecSender::GetRtpState() { 162 RtpState FlexfecSender::GetRtpState() {
163 RtpState rtp_state; 163 RtpState rtp_state;
164 rtp_state.sequence_number = seq_num_; 164 rtp_state.sequence_number = seq_num_;
165 rtp_state.start_timestamp = timestamp_offset_; 165 rtp_state.start_timestamp = timestamp_offset_;
166 return rtp_state; 166 return rtp_state;
167 } 167 }
168 168
169 } // namespace webrtc 169 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/forward_error_correction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698