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

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

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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) 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/rtcp_sender.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h"
12 12
13 #include <string.h> // memcpy 13 #include <string.h> // memcpy
14 14
15 #include <utility> 15 #include <utility>
16 16
17 #include "webrtc/base/checks.h"
18 #include "webrtc/base/constructormagic.h"
19 #include "webrtc/base/logging.h"
20 #include "webrtc/base/trace_event.h"
21 #include "webrtc/common_types.h" 17 #include "webrtc/common_types.h"
22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 18 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h" 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h"
27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h"
30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h"
32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h" 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h"
33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h"
34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h"
35 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h"
36 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
37 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" 33 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h"
38 #include "webrtc/modules/rtp_rtcp/source/time_util.h" 34 #include "webrtc/modules/rtp_rtcp/source/time_util.h"
39 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h" 35 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h"
36 #include "webrtc/rtc_base/checks.h"
37 #include "webrtc/rtc_base/constructormagic.h"
38 #include "webrtc/rtc_base/logging.h"
39 #include "webrtc/rtc_base/trace_event.h"
40 40
41 namespace webrtc { 41 namespace webrtc {
42 42
43 namespace { 43 namespace {
44 const uint32_t kRtcpAnyExtendedReports = 44 const uint32_t kRtcpAnyExtendedReports =
45 kRtcpXrVoipMetric | kRtcpXrReceiverReferenceTime | kRtcpXrDlrrReportBlock | 45 kRtcpXrVoipMetric | kRtcpXrReceiverReferenceTime | kRtcpXrDlrrReportBlock |
46 kRtcpXrTargetBitrate; 46 kRtcpXrTargetBitrate;
47 } // namespace 47 } // namespace
48 48
49 NACKStringBuilder::NACKStringBuilder() 49 NACKStringBuilder::NACKStringBuilder()
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 max_packet_size = max_packet_size_; 1008 max_packet_size = max_packet_size_;
1009 } 1009 }
1010 1010
1011 RTC_DCHECK_LE(max_packet_size, IP_PACKET_SIZE); 1011 RTC_DCHECK_LE(max_packet_size, IP_PACKET_SIZE);
1012 uint8_t buffer[IP_PACKET_SIZE]; 1012 uint8_t buffer[IP_PACKET_SIZE];
1013 return packet.BuildExternalBuffer(buffer, max_packet_size, &sender) && 1013 return packet.BuildExternalBuffer(buffer, max_packet_size, &sender) &&
1014 !sender.send_failure_; 1014 !sender.send_failure_;
1015 } 1015 }
1016 1016
1017 } // namespace webrtc 1017 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.h ('k') | webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698