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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 454 |
455 // Gather the usage of IPv4/IPv6 as best connection. | 455 // Gather the usage of IPv4/IPv6 as best connection. |
456 void ReportBestConnectionState(const cricket::TransportStats& stats); | 456 void ReportBestConnectionState(const cricket::TransportStats& stats); |
457 | 457 |
458 void ReportNegotiatedCiphers(const cricket::TransportStats& stats); | 458 void ReportNegotiatedCiphers(const cricket::TransportStats& stats); |
459 | 459 |
460 void OnSentPacket_w(const rtc::SentPacket& sent_packet); | 460 void OnSentPacket_w(const rtc::SentPacket& sent_packet); |
461 | 461 |
462 const std::string GetTransportName(const std::string& content_name); | 462 const std::string GetTransportName(const std::string& content_name); |
463 | 463 |
| 464 void OnDtlsHandshakeError(rtc::SSLHandshakeError error); |
| 465 |
464 rtc::Thread* const network_thread_; | 466 rtc::Thread* const network_thread_; |
465 rtc::Thread* const worker_thread_; | 467 rtc::Thread* const worker_thread_; |
466 rtc::Thread* const signaling_thread_; | 468 rtc::Thread* const signaling_thread_; |
467 | 469 |
468 State state_ = STATE_INIT; | 470 State state_ = STATE_INIT; |
469 Error error_ = ERROR_NONE; | 471 Error error_ = ERROR_NONE; |
470 std::string error_desc_; | 472 std::string error_desc_; |
471 | 473 |
472 const std::string sid_; | 474 const std::string sid_; |
473 bool initial_offerer_ = false; | 475 bool initial_offerer_ = false; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 | 519 |
518 #ifdef HAVE_QUIC | 520 #ifdef HAVE_QUIC |
519 std::unique_ptr<QuicDataTransport> quic_data_transport_; | 521 std::unique_ptr<QuicDataTransport> quic_data_transport_; |
520 #endif // HAVE_QUIC | 522 #endif // HAVE_QUIC |
521 | 523 |
522 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 524 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
523 }; | 525 }; |
524 } // namespace webrtc | 526 } // namespace webrtc |
525 | 527 |
526 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 528 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |