Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index fceb806b3003bdf6b3125520f705d433052edd74..41e22daac2c555b3e060998f5120599890ac1e19 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -1844,8 +1844,6 @@ |
voice_channel_->SignalDtlsSetupFailure.connect( |
this, &WebRtcSession::OnDtlsSetupFailure); |
- voice_channel_->SignalFirstPacketReceived.connect( |
- this, &WebRtcSession::OnChannelFirstPacketReceived); |
SignalVoiceChannelCreated(); |
voice_channel_->transport_channel()->SignalSentPacket.connect( |
@@ -1863,8 +1861,6 @@ |
video_channel_->SignalDtlsSetupFailure.connect( |
this, &WebRtcSession::OnDtlsSetupFailure); |
- video_channel_->SignalFirstPacketReceived.connect( |
- this, &WebRtcSession::OnChannelFirstPacketReceived); |
SignalVideoChannelCreated(); |
video_channel_->transport_channel()->SignalSentPacket.connect( |
@@ -1897,14 +1893,6 @@ |
void WebRtcSession::OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp) { |
SetError(ERROR_TRANSPORT, |
rtcp ? kDtlsSetupFailureRtcp : kDtlsSetupFailureRtp); |
-} |
- |
-void WebRtcSession::OnChannelFirstPacketReceived(cricket::BaseChannel*) { |
- ASSERT(signaling_thread()->IsCurrent()); |
- if (!has_received_media_packet_) { |
- has_received_media_packet_ = true; |
- SignalFirstMediaPacketReceived(); |
- } |
} |
void WebRtcSession::OnDataChannelMessageReceived( |