Index: webrtc/p2p/base/dtlstransportchannel.cc |
diff --git a/webrtc/p2p/base/dtlstransportchannel.cc b/webrtc/p2p/base/dtlstransportchannel.cc |
index 33b5b6f268e6cbc298f170b8504ca422116939d2..2006391463b276e10d83df436ce1541bc00b82db 100644 |
--- a/webrtc/p2p/base/dtlstransportchannel.cc |
+++ b/webrtc/p2p/base/dtlstransportchannel.cc |
@@ -119,6 +119,8 @@ DtlsTransportChannelWrapper::DtlsTransportChannelWrapper( |
&DtlsTransportChannelWrapper::OnRoleConflict); |
channel_->SignalRouteChange.connect(this, |
&DtlsTransportChannelWrapper::OnRouteChange); |
+ channel_->SignalSelectedCandidatePairChanged.connect( |
+ this, &DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged); |
channel_->SignalConnectionRemoved.connect(this, |
&DtlsTransportChannelWrapper::OnConnectionRemoved); |
channel_->SignalReceivingState.connect(this, |
@@ -634,6 +636,13 @@ void DtlsTransportChannelWrapper::OnRouteChange( |
SignalRouteChange(this, candidate); |
} |
+void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged( |
+ TransportChannel* channel, |
+ CandidatePairInterface* selected_candidate_pair) { |
+ ASSERT(channel == channel_); |
+ SignalSelectedCandidatePairChanged(this, selected_candidate_pair); |
+} |
+ |
void DtlsTransportChannelWrapper::OnConnectionRemoved( |
TransportChannelImpl* channel) { |
ASSERT(channel == channel_); |