From a7daebf5c242e665663e37f64527780280285985 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Tue, 23 Nov 2010 17:40:20 -0500 Subject: [PATCH] [#4514] Adjust RTP timestamp --- sflphone-client-gnome/src/contacts/addressbook.c | 2 -- sflphone-common/src/audio/audiortp/AudioRtpSession.cpp | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sflphone-client-gnome/src/contacts/addressbook.c b/sflphone-client-gnome/src/contacts/addressbook.c index b37b1e48d5..8b2b529809 100644 --- a/sflphone-client-gnome/src/contacts/addressbook.c +++ b/sflphone-client-gnome/src/contacts/addressbook.c @@ -121,8 +121,6 @@ addressbook_config_books() g_strfreev (list); } - // Update buttons - // update_actions (); } /** diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp index 29295ad4c4..3c8bbf1880 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp @@ -320,9 +320,6 @@ int AudioRtpSession::startRtpThread (AudioCodec* audiocodec) void AudioRtpSession::run () { - // Timestamp must be initialized randomly, already done when instantiating outgoing queue - _timestamp = getCurrentTimestamp(); - /** int threadSleep = 0; @@ -344,6 +341,9 @@ void AudioRtpSession::run () _debug ("AudioRtpSession: Entering mainloop for call %s",_ca->getCallId().c_str()); + // Timestamp must be initialized randomly, already done when instantiating outgoing queue + _timestamp = getCurrentTimestamp(); + uint32 timeout = 0; while (isActive()) { -- GitLab