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

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

Issue 1417773002: Remove system_wrappers/interface/trace_event.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 10
11 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
12 12
13 #include <stdlib.h> // srand 13 #include <stdlib.h> // srand
14 #include <utility> 14 #include <utility>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/trace_event.h"
17 #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h" 18 #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h"
18 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
19 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h"
20 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h"
21 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" 22 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
22 #include "webrtc/system_wrappers/interface/logging.h" 23 #include "webrtc/system_wrappers/interface/logging.h"
23 #include "webrtc/system_wrappers/interface/tick_util.h" 24 #include "webrtc/system_wrappers/interface/tick_util.h"
24 #include "webrtc/system_wrappers/interface/trace_event.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 // Max in the RFC 3550 is 255 bytes, we limit it to be modulus 32 for SRTP. 28 // Max in the RFC 3550 is 255 bytes, we limit it to be modulus 32 for SRTP.
29 const size_t kMaxPaddingLength = 224; 29 const size_t kMaxPaddingLength = 224;
30 const int kSendSideDelayWindowMs = 1000; 30 const int kSendSideDelayWindowMs = 1000;
31 31
32 namespace { 32 namespace {
33 33
34 const size_t kRtpHeaderLength = 12; 34 const size_t kRtpHeaderLength = 12;
(...skipping 1858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 CriticalSectionScoped lock(send_critsect_.get()); 1893 CriticalSectionScoped lock(send_critsect_.get());
1894 1894
1895 RtpState state; 1895 RtpState state;
1896 state.sequence_number = sequence_number_rtx_; 1896 state.sequence_number = sequence_number_rtx_;
1897 state.start_timestamp = start_timestamp_; 1897 state.start_timestamp = start_timestamp_;
1898 1898
1899 return state; 1899 return state;
1900 } 1900 }
1901 1901
1902 } // namespace webrtc 1902 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698