OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 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/pc/rtcstatscollector.h" | 11 #include "webrtc/pc/rtcstatscollector.h" |
12 | 12 |
13 #include <memory> | 13 #include <memory> |
14 #include <sstream> | 14 #include <sstream> |
15 #include <utility> | 15 #include <utility> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/api/mediastreaminterface.h" | 18 #include "webrtc/api/mediastreaminterface.h" |
19 #include "webrtc/api/peerconnectioninterface.h" | 19 #include "webrtc/api/peerconnectioninterface.h" |
20 #include "webrtc/base/checks.h" | |
21 #include "webrtc/base/timeutils.h" | |
22 #include "webrtc/media/base/mediachannel.h" | 20 #include "webrtc/media/base/mediachannel.h" |
23 #include "webrtc/p2p/base/candidate.h" | 21 #include "webrtc/p2p/base/candidate.h" |
24 #include "webrtc/p2p/base/p2pconstants.h" | 22 #include "webrtc/p2p/base/p2pconstants.h" |
25 #include "webrtc/p2p/base/port.h" | 23 #include "webrtc/p2p/base/port.h" |
26 #include "webrtc/pc/peerconnection.h" | 24 #include "webrtc/pc/peerconnection.h" |
27 #include "webrtc/pc/webrtcsession.h" | 25 #include "webrtc/pc/webrtcsession.h" |
| 26 #include "webrtc/rtc_base/checks.h" |
| 27 #include "webrtc/rtc_base/timeutils.h" |
28 | 28 |
29 namespace webrtc { | 29 namespace webrtc { |
30 | 30 |
31 namespace { | 31 namespace { |
32 | 32 |
33 std::string RTCCertificateIDFromFingerprint(const std::string& fingerprint) { | 33 std::string RTCCertificateIDFromFingerprint(const std::string& fingerprint) { |
34 return "RTCCertificate_" + fingerprint; | 34 return "RTCCertificate_" + fingerprint; |
35 } | 35 } |
36 | 36 |
37 std::string RTCCodecStatsIDFromDirectionMediaAndPayload( | 37 std::string RTCCodecStatsIDFromDirectionMediaAndPayload( |
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1248 const std::string& type) { | 1248 const std::string& type) { |
1249 return CandidateTypeToRTCIceCandidateType(type); | 1249 return CandidateTypeToRTCIceCandidateType(type); |
1250 } | 1250 } |
1251 | 1251 |
1252 const char* DataStateToRTCDataChannelStateForTesting( | 1252 const char* DataStateToRTCDataChannelStateForTesting( |
1253 DataChannelInterface::DataState state) { | 1253 DataChannelInterface::DataState state) { |
1254 return DataStateToRTCDataChannelState(state); | 1254 return DataStateToRTCDataChannelState(state); |
1255 } | 1255 } |
1256 | 1256 |
1257 } // namespace webrtc | 1257 } // namespace webrtc |
OLD | NEW |