OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 ScopedVector<WebRtcMediaStreamAdapter> local_streams_; | 212 ScopedVector<WebRtcMediaStreamAdapter> local_streams_; |
213 | 213 |
214 PeerConnectionTracker* peer_connection_tracker_; | 214 PeerConnectionTracker* peer_connection_tracker_; |
215 | 215 |
216 MediaStreamTrackMetrics track_metrics_; | 216 MediaStreamTrackMetrics track_metrics_; |
217 | 217 |
218 // Counter for a UMA stat reported at destruction time. | 218 // Counter for a UMA stat reported at destruction time. |
219 int num_data_channels_created_; | 219 int num_data_channels_created_; |
220 | 220 |
| 221 // Counter for number of IPv4 and IPv6 local candidates. |
| 222 int num_local_candidates_ipv4_; |
| 223 int num_local_candidates_ipv6_; |
| 224 |
221 // |native_peer_connection_| is the libjingle native PeerConnection object. | 225 // |native_peer_connection_| is the libjingle native PeerConnection object. |
222 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_; | 226 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_; |
223 | 227 |
224 typedef std::map<webrtc::MediaStreamInterface*, | 228 typedef std::map<webrtc::MediaStreamInterface*, |
225 content::RemoteMediaStreamImpl*> RemoteStreamMap; | 229 content::RemoteMediaStreamImpl*> RemoteStreamMap; |
226 RemoteStreamMap remote_streams_; | 230 RemoteStreamMap remote_streams_; |
227 scoped_refptr<webrtc::UMAObserver> uma_observer_; | 231 scoped_refptr<webrtc::UMAObserver> uma_observer_; |
228 base::TimeTicks ice_connection_checking_start_; | 232 base::TimeTicks ice_connection_checking_start_; |
229 | 233 |
230 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); | 234 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); |
231 }; | 235 }; |
232 | 236 |
233 } // namespace content | 237 } // namespace content |
234 | 238 |
235 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 239 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
OLD | NEW |