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

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

Issue 1506823002: [rtp_rtcp] fixed namespaces lint warnings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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_receiver.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <algorithm> 16 #include <algorithm>
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
19 #include "webrtc/base/logging.h" 19 #include "webrtc/base/logging.h"
20 #include "webrtc/base/trace_event.h" 20 #include "webrtc/base/trace_event.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 using namespace RTCPUtility; 26 using RTCPHelp::RTCPPacketInformation;
27 using namespace RTCPHelp; 27 using RTCPHelp::RTCPReceiveInformation;
28 using RTCPHelp::RTCPReportBlockInformation;
29 using RTCPUtility::kBtVoipMetric;
30 using RTCPUtility::RTCPCnameInformation;
31 using RTCPUtility::RTCPPacketReportBlockItem;
32 using RTCPUtility::RTCPPacketTypes;
28 33
29 // The number of RTCP time intervals needed to trigger a timeout. 34 // The number of RTCP time intervals needed to trigger a timeout.
30 const int kRrTimeoutIntervals = 3; 35 const int kRrTimeoutIntervals = 3;
31 36
32 const int64_t kMaxWarningLogIntervalMs = 10000; 37 const int64_t kMaxWarningLogIntervalMs = 10000;
33 38
34 RTCPReceiver::RTCPReceiver( 39 RTCPReceiver::RTCPReceiver(
35 Clock* clock, 40 Clock* clock,
36 bool receiver_only, 41 bool receiver_only,
37 RtcpPacketTypeCounterObserver* packet_type_counter_observer, 42 RtcpPacketTypeCounterObserver* packet_type_counter_observer,
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 return -1; 1472 return -1;
1468 } 1473 }
1469 num += receiveInfo->TmmbrSet.lengthOfSet(); 1474 num += receiveInfo->TmmbrSet.lengthOfSet();
1470 receiveInfoIt++; 1475 receiveInfoIt++;
1471 } 1476 }
1472 } 1477 }
1473 return num; 1478 return num;
1474 } 1479 }
1475 1480
1476 } // namespace webrtc 1481 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698