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

Side by Side Diff: webrtc/p2p/base/session.cc

Issue 1207563002: Add flakiness check if there is no received packets in a certain period. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Address more comments Created 5 years, 5 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
« no previous file with comments | « webrtc/p2p/base/session.h ('k') | webrtc/p2p/base/transport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 Transport* transport = CreateTransport(content_name); 511 Transport* transport = CreateTransport(content_name);
512 transport->SetIceRole(initiator_ ? ICEROLE_CONTROLLING : ICEROLE_CONTROLLED); 512 transport->SetIceRole(initiator_ ? ICEROLE_CONTROLLING : ICEROLE_CONTROLLED);
513 transport->SetIceTiebreaker(ice_tiebreaker_); 513 transport->SetIceTiebreaker(ice_tiebreaker_);
514 transport->SetSslMaxProtocolVersion(ssl_max_version_); 514 transport->SetSslMaxProtocolVersion(ssl_max_version_);
515 // TODO: Connect all the Transport signals to TransportProxy 515 // TODO: Connect all the Transport signals to TransportProxy
516 // then to the BaseSession. 516 // then to the BaseSession.
517 transport->SignalConnecting.connect( 517 transport->SignalConnecting.connect(
518 this, &BaseSession::OnTransportConnecting); 518 this, &BaseSession::OnTransportConnecting);
519 transport->SignalWritableState.connect( 519 transport->SignalWritableState.connect(
520 this, &BaseSession::OnTransportWritable); 520 this, &BaseSession::OnTransportWritable);
521 transport->SignalReceivingState.connect(
522 this, &BaseSession::OnTransportReceiving);
521 transport->SignalRequestSignaling.connect( 523 transport->SignalRequestSignaling.connect(
522 this, &BaseSession::OnTransportRequestSignaling); 524 this, &BaseSession::OnTransportRequestSignaling);
523 transport->SignalRouteChange.connect( 525 transport->SignalRouteChange.connect(
524 this, &BaseSession::OnTransportRouteChange); 526 this, &BaseSession::OnTransportRouteChange);
525 transport->SignalCandidatesAllocationDone.connect( 527 transport->SignalCandidatesAllocationDone.connect(
526 this, &BaseSession::OnTransportCandidatesAllocationDone); 528 this, &BaseSession::OnTransportCandidatesAllocationDone);
527 transport->SignalRoleConflict.connect( 529 transport->SignalRoleConflict.connect(
528 this, &BaseSession::OnRoleConflict); 530 this, &BaseSession::OnRoleConflict);
529 transport->SignalCompleted.connect( 531 transport->SignalCompleted.connect(
530 this, &BaseSession::OnTransportCompleted); 532 this, &BaseSession::OnTransportCompleted);
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 851
850 default: 852 default:
851 // Explicitly ignoring some states here. 853 // Explicitly ignoring some states here.
852 break; 854 break;
853 } 855 }
854 break; 856 break;
855 } 857 }
856 } 858 }
857 859
858 } // namespace cricket 860 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/session.h ('k') | webrtc/p2p/base/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698