OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 } | 631 } |
632 | 632 |
633 void DtlsTransportChannelWrapper::OnRouteChange( | 633 void DtlsTransportChannelWrapper::OnRouteChange( |
634 TransportChannel* channel, const Candidate& candidate) { | 634 TransportChannel* channel, const Candidate& candidate) { |
635 ASSERT(channel == channel_); | 635 ASSERT(channel == channel_); |
636 SignalRouteChange(this, candidate); | 636 SignalRouteChange(this, candidate); |
637 } | 637 } |
638 | 638 |
639 void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged( | 639 void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged( |
640 TransportChannel* channel, | 640 TransportChannel* channel, |
641 CandidatePairInterface* selected_candidate_pair) { | 641 CandidatePairInterface* selected_candidate_pair, |
| 642 int last_sent_packet_id) { |
642 ASSERT(channel == channel_); | 643 ASSERT(channel == channel_); |
643 SignalSelectedCandidatePairChanged(this, selected_candidate_pair); | 644 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, |
| 645 last_sent_packet_id); |
644 } | 646 } |
645 | 647 |
646 void DtlsTransportChannelWrapper::OnConnectionRemoved( | 648 void DtlsTransportChannelWrapper::OnConnectionRemoved( |
647 TransportChannelImpl* channel) { | 649 TransportChannelImpl* channel) { |
648 ASSERT(channel == channel_); | 650 ASSERT(channel == channel_); |
649 SignalConnectionRemoved(this); | 651 SignalConnectionRemoved(this); |
650 } | 652 } |
651 | 653 |
652 void DtlsTransportChannelWrapper::Reconnect() { | 654 void DtlsTransportChannelWrapper::Reconnect() { |
653 set_dtls_state(DTLS_TRANSPORT_NEW); | 655 set_dtls_state(DTLS_TRANSPORT_NEW); |
654 set_writable(false); | 656 set_writable(false); |
655 if (channel_->writable()) { | 657 if (channel_->writable()) { |
656 OnWritableState(channel_); | 658 OnWritableState(channel_); |
657 } | 659 } |
658 } | 660 } |
659 | 661 |
660 } // namespace cricket | 662 } // namespace cricket |
OLD | NEW |