diff --git a/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp index d78818a494d095b182cfe20551d35537a95e724e..115e6efca26c861afef1fe98fb86df011d827c61 100644 --- a/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp +++ b/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp @@ -292,9 +292,6 @@ void AudioZrtpSession::sendMicData() if(!compSize) return; - // Increment timestamp for outgoing packet - _timestamp += _timestampIncrement; - // Reset timestamp to make sure the timing information are up to date if (_timestampCount > RTP_TIMESTAMP_RESET_FREQ) { _timestamp = getCurrentTimestamp(); @@ -311,6 +308,7 @@ void AudioZrtpSession::sendMicData() void AudioZrtpSession::receiveSpeakerData () { + const ost::AppDataUnit* adu = NULL; int packetTimestamp = getFirstTimestamp();