OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 234 matching lines...) Loading... |
245 bool IceRestartPending() const; | 245 bool IceRestartPending() const; |
246 | 246 |
247 void ResetIceRestartLatch(); | 247 void ResetIceRestartLatch(); |
248 | 248 |
249 // Called when an SSLIdentity is generated or retrieved by | 249 // Called when an SSLIdentity is generated or retrieved by |
250 // WebRTCSessionDescriptionFactory. Should happen before setLocalDescription. | 250 // WebRTCSessionDescriptionFactory. Should happen before setLocalDescription. |
251 void OnIdentityReady(rtc::SSLIdentity* identity); | 251 void OnIdentityReady(rtc::SSLIdentity* identity); |
252 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp); | 252 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp); |
253 | 253 |
254 // For unit test. | 254 // For unit test. |
255 bool waiting_for_identity() const; | 255 bool waiting_for_identity_for_testing() const; |
256 | 256 |
257 void set_metrics_observer( | 257 void set_metrics_observer( |
258 webrtc::MetricsObserverInterface* metrics_observer) { | 258 webrtc::MetricsObserverInterface* metrics_observer) { |
259 metrics_observer_ = metrics_observer; | 259 metrics_observer_ = metrics_observer; |
260 } | 260 } |
261 | 261 |
262 private: | 262 private: |
263 // Indicates the type of SessionDescription in a call to SetLocalDescription | 263 // Indicates the type of SessionDescription in a call to SetLocalDescription |
264 // and SetRemoteDescription. | 264 // and SetRemoteDescription. |
265 enum Action { | 265 enum Action { |
(...skipping 144 matching lines...) Loading... |
410 PeerConnectionInterface::BundlePolicy bundle_policy_; | 410 PeerConnectionInterface::BundlePolicy bundle_policy_; |
411 | 411 |
412 // Declares the RTCP mux policy for the WebRTCSession. | 412 // Declares the RTCP mux policy for the WebRTCSession. |
413 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 413 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
414 | 414 |
415 DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 415 DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
416 }; | 416 }; |
417 } // namespace webrtc | 417 } // namespace webrtc |
418 | 418 |
419 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ | 419 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ |
OLD | NEW |