OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 }; | 119 }; |
120 | 120 |
121 // Information about all the connections of a channel. | 121 // Information about all the connections of a channel. |
122 typedef std::vector<ConnectionInfo> ConnectionInfos; | 122 typedef std::vector<ConnectionInfo> ConnectionInfos; |
123 | 123 |
124 // Information about a specific channel | 124 // Information about a specific channel |
125 struct TransportChannelStats { | 125 struct TransportChannelStats { |
126 int component; | 126 int component; |
127 ConnectionInfos connection_infos; | 127 ConnectionInfos connection_infos; |
128 std::string srtp_cipher; | 128 std::string srtp_cipher; |
129 std::string ssl_cipher; | 129 uint16_t ssl_cipher; |
130 }; | 130 }; |
131 | 131 |
132 // Information about all the channels of a transport. | 132 // Information about all the channels of a transport. |
133 // TODO(hta): Consider if a simple vector is as good as a map. | 133 // TODO(hta): Consider if a simple vector is as good as a map. |
134 typedef std::vector<TransportChannelStats> TransportChannelStatsList; | 134 typedef std::vector<TransportChannelStats> TransportChannelStatsList; |
135 | 135 |
136 // Information about the stats of a transport. | 136 // Information about the stats of a transport. |
137 struct TransportStats { | 137 struct TransportStats { |
138 std::string transport_name; | 138 std::string transport_name; |
139 TransportChannelStatsList channel_stats; | 139 TransportChannelStatsList channel_stats; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 416 |
417 ChannelMap channels_; | 417 ChannelMap channels_; |
418 | 418 |
419 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); | 419 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); |
420 }; | 420 }; |
421 | 421 |
422 | 422 |
423 } // namespace cricket | 423 } // namespace cricket |
424 | 424 |
425 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ | 425 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ |
OLD | NEW |