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/api/stats/rtcstats_objects.h" | 11 #include "webrtc/api/stats/rtcstats_objects.h" |
12 | 12 |
13 namespace webrtc { | 13 namespace webrtc { |
14 | 14 |
15 const char* RTCDataChannelState::kConnecting = "connecting"; | 15 const char* RTCDataChannelState::kConnecting = "connecting"; |
16 const char* RTCDataChannelState::kOpen = "open"; | 16 const char* RTCDataChannelState::kOpen = "open"; |
17 const char* RTCDataChannelState::kClosing = "closing"; | 17 const char* RTCDataChannelState::kClosing = "closing"; |
18 const char* RTCDataChannelState::kClosed = "closed"; | 18 const char* RTCDataChannelState::kClosed = "closed"; |
19 | 19 |
20 const char* RTCStatsIceCandidatePairState::kFrozen = "frozen"; | 20 const char* RTCStatsIceCandidatePairState::kFrozen = "frozen"; |
21 const char* RTCStatsIceCandidatePairState::kWaiting = "waiting"; | 21 const char* RTCStatsIceCandidatePairState::kWaiting = "waiting"; |
22 const char* RTCStatsIceCandidatePairState::kInProgress = "inprogress"; | 22 const char* RTCStatsIceCandidatePairState::kInProgress = "in-progress"; |
hbos
2016/12/23 13:45:34
"inprogress" vs "in-progress" being discussed here
| |
23 const char* RTCStatsIceCandidatePairState::kFailed = "failed"; | 23 const char* RTCStatsIceCandidatePairState::kFailed = "failed"; |
24 const char* RTCStatsIceCandidatePairState::kSucceeded = "succeeded"; | 24 const char* RTCStatsIceCandidatePairState::kSucceeded = "succeeded"; |
25 const char* RTCStatsIceCandidatePairState::kCancelled = "cancelled"; | |
26 | 25 |
27 // Strings defined in https://tools.ietf.org/html/rfc5245. | 26 // Strings defined in https://tools.ietf.org/html/rfc5245. |
28 const char* RTCIceCandidateType::kHost = "host"; | 27 const char* RTCIceCandidateType::kHost = "host"; |
29 const char* RTCIceCandidateType::kSrflx = "srflx"; | 28 const char* RTCIceCandidateType::kSrflx = "srflx"; |
30 const char* RTCIceCandidateType::kPrflx = "prflx"; | 29 const char* RTCIceCandidateType::kPrflx = "prflx"; |
31 const char* RTCIceCandidateType::kRelay = "relay"; | 30 const char* RTCIceCandidateType::kRelay = "relay"; |
32 | 31 |
33 WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate", | 32 WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate", |
34 &fingerprint, | 33 &fingerprint, |
35 &fingerprint_algorithm, | 34 &fingerprint_algorithm, |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
618 active_connection(other.active_connection), | 617 active_connection(other.active_connection), |
619 selected_candidate_pair_id(other.selected_candidate_pair_id), | 618 selected_candidate_pair_id(other.selected_candidate_pair_id), |
620 local_certificate_id(other.local_certificate_id), | 619 local_certificate_id(other.local_certificate_id), |
621 remote_certificate_id(other.remote_certificate_id) { | 620 remote_certificate_id(other.remote_certificate_id) { |
622 } | 621 } |
623 | 622 |
624 RTCTransportStats::~RTCTransportStats() { | 623 RTCTransportStats::~RTCTransportStats() { |
625 } | 624 } |
626 | 625 |
627 } // namespace webrtc | 626 } // namespace webrtc |
OLD | NEW |