OLD | NEW |
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_rtcp_impl.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
12 | 12 |
13 #include <string.h> | 13 #include <string.h> |
14 | 14 |
15 #include <set> | 15 #include <set> |
16 #include <string> | 16 #include <string> |
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/common_types.h" | 20 #include "webrtc/common_types.h" |
21 #include "webrtc/config.h" | 21 #include "webrtc/config.h" |
22 #include "webrtc/system_wrappers/include/trace.h" | |
23 | 22 |
24 #ifdef _WIN32 | 23 #ifdef _WIN32 |
25 // Disable warning C4355: 'this' : used in base member initializer list. | 24 // Disable warning C4355: 'this' : used in base member initializer list. |
26 #pragma warning(disable : 4355) | 25 #pragma warning(disable : 4355) |
27 #endif | 26 #endif |
28 | 27 |
29 namespace webrtc { | 28 namespace webrtc { |
30 | 29 |
31 RTPExtensionType StringToRtpExtensionType(const std::string& extension) { | 30 RTPExtensionType StringToRtpExtensionType(const std::string& extension) { |
32 if (extension == RtpExtension::kTimestampOffsetUri) | 31 if (extension == RtpExtension::kTimestampOffsetUri) |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 StreamDataCountersCallback* | 886 StreamDataCountersCallback* |
888 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 887 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
889 return rtp_sender_->GetRtpStatisticsCallback(); | 888 return rtp_sender_->GetRtpStatisticsCallback(); |
890 } | 889 } |
891 | 890 |
892 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 891 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
893 const BitrateAllocation& bitrate) { | 892 const BitrateAllocation& bitrate) { |
894 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 893 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
895 } | 894 } |
896 } // namespace webrtc | 895 } // namespace webrtc |
OLD | NEW |