Skip to content
Snippets Groups Projects
Commit ed757569 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4367] Fix zrtp timestamping error

parent bae92982
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment