OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 // For unit test. | 315 // For unit test. |
316 bool waiting_for_certificate_for_testing() const; | 316 bool waiting_for_certificate_for_testing() const; |
317 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate_for_testing(); | 317 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate_for_testing(); |
318 | 318 |
319 void set_metrics_observer( | 319 void set_metrics_observer( |
320 webrtc::MetricsObserverInterface* metrics_observer) { | 320 webrtc::MetricsObserverInterface* metrics_observer) { |
321 metrics_observer_ = metrics_observer; | 321 metrics_observer_ = metrics_observer; |
322 } | 322 } |
323 | 323 |
| 324 // Set the transport controller and subscribe the Signals from the |
| 325 // TransportController. |
| 326 void SetTransportController( |
| 327 cricket::TransportController* transport_controller); |
| 328 |
324 // Called when voice_channel_, video_channel_ and data_channel_ are created | 329 // Called when voice_channel_, video_channel_ and data_channel_ are created |
325 // and destroyed. As a result of, for example, setting a new description. | 330 // and destroyed. As a result of, for example, setting a new description. |
326 sigslot::signal0<> SignalVoiceChannelCreated; | 331 sigslot::signal0<> SignalVoiceChannelCreated; |
327 sigslot::signal0<> SignalVoiceChannelDestroyed; | 332 sigslot::signal0<> SignalVoiceChannelDestroyed; |
328 sigslot::signal0<> SignalVideoChannelCreated; | 333 sigslot::signal0<> SignalVideoChannelCreated; |
329 sigslot::signal0<> SignalVideoChannelDestroyed; | 334 sigslot::signal0<> SignalVideoChannelDestroyed; |
330 sigslot::signal0<> SignalDataChannelCreated; | 335 sigslot::signal0<> SignalDataChannelCreated; |
331 sigslot::signal0<> SignalDataChannelDestroyed; | 336 sigslot::signal0<> SignalDataChannelDestroyed; |
332 // Called when the whole session is destroyed. | 337 // Called when the whole session is destroyed. |
333 sigslot::signal0<> SignalDestroyed; | 338 sigslot::signal0<> SignalDestroyed; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 PeerConnectionInterface::BundlePolicy bundle_policy_; | 531 PeerConnectionInterface::BundlePolicy bundle_policy_; |
527 | 532 |
528 // Declares the RTCP mux policy for the WebRTCSession. | 533 // Declares the RTCP mux policy for the WebRTCSession. |
529 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 534 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
530 | 535 |
531 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 536 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
532 }; | 537 }; |
533 } // namespace webrtc | 538 } // namespace webrtc |
534 | 539 |
535 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 540 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |