OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |