diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp index 2e213d43468b739b6426e806ec3b50894926f09c..01aeea114e255e2df4fb5d23be97f4414c0ec62a 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp @@ -226,7 +226,7 @@ bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&) { //_debug ("AudioRtpSession: onRTPPacketRecv"); - receiveSpeakerData (); + // receiveSpeakerData (); return true; } @@ -259,6 +259,7 @@ void AudioRtpSession::sendMicData() void AudioRtpSession::receiveSpeakerData () { + _debug("receive spkr data"); const ost::AppDataUnit* adu = NULL; @@ -342,6 +343,8 @@ void AudioRtpSession::run () _debug ("AudioRtpSession: Entering mainloop for call %s",_ca->getCallId().c_str()); + receiveSpeakerData (); + uint32 timeout = 0; while ( isActive() ) { if ( timeout < 1000 ){ // !(timeout/1000)