Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: webrtc/api/webrtcsession.h

Issue 2167363002: Log how often DTLS negotiation failed because of incompatible ciphersuites. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Desctructor related compiling error. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 // Reports stats for all transports in use. 436 // Reports stats for all transports in use.
437 void ReportTransportStats(); 437 void ReportTransportStats();
438 438
439 // Gather the usage of IPv4/IPv6 as best connection. 439 // Gather the usage of IPv4/IPv6 as best connection.
440 void ReportBestConnectionState(const cricket::TransportStats& stats); 440 void ReportBestConnectionState(const cricket::TransportStats& stats);
441 441
442 void ReportNegotiatedCiphers(const cricket::TransportStats& stats); 442 void ReportNegotiatedCiphers(const cricket::TransportStats& stats);
443 443
444 void OnSentPacket_w(const rtc::SentPacket& sent_packet); 444 void OnSentPacket_w(const rtc::SentPacket& sent_packet);
445 445
446 void OnDtlsHandshakeError(rtc::SSLHandshakeError error);
447
446 rtc::Thread* const worker_thread_; 448 rtc::Thread* const worker_thread_;
447 rtc::Thread* const signaling_thread_; 449 rtc::Thread* const signaling_thread_;
448 450
449 State state_ = STATE_INIT; 451 State state_ = STATE_INIT;
450 Error error_ = ERROR_NONE; 452 Error error_ = ERROR_NONE;
451 std::string error_desc_; 453 std::string error_desc_;
452 454
453 const std::string sid_; 455 const std::string sid_;
454 bool initial_offerer_ = false; 456 bool initial_offerer_ = false;
455 457
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 494 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
493 495
494 bool received_first_video_packet_ = false; 496 bool received_first_video_packet_ = false;
495 bool received_first_audio_packet_ = false; 497 bool received_first_audio_packet_ = false;
496 498
497 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 499 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
498 }; 500 };
499 } // namespace webrtc 501 } // namespace webrtc
500 502
501 #endif // WEBRTC_API_WEBRTCSESSION_H_ 503 #endif // WEBRTC_API_WEBRTCSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698