From 61efb9f225969f1957986abc8a3cdf84e7d33fa6 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Mon, 1 Nov 2010 13:13:00 -0400 Subject: [PATCH] [#4367] Implement on packet receive --- sflphone-common/src/audio/audiortp/AudioRtpSession.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp index 4f43da123e..3745926719 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp @@ -229,9 +229,9 @@ void AudioRtpSession::sendDtmfEvent (sfl::DtmfEvent *dtmf) bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&) { - _debug ("AudioRtpSession: onRTPPacketRecv"); + // _debug ("AudioRtpSession: onRTPPacketRecv"); - // receiveSpeakerData (); + receiveSpeakerData (); return true; } @@ -358,8 +358,6 @@ void AudioRtpSession::run () sendMicData (); } - receiveSpeakerData(); - // This also should be moved notifyIncomingCall(); @@ -390,6 +388,8 @@ void AudioRtpSession::run () } timeout = 0; } + + // receiveSpeakerData(); } _debug ("AudioRtpSession: Left main loop for call %s", _ca->getCallId().c_str()); -- GitLab