From 46ae3ebd875c657810b2854abdc51ba371b8188d Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Wed, 17 Nov 2010 18:41:18 -0500
Subject: [PATCH] [#4524] Increment RTP count when sending data

---
 sflphone-client-gnome/VERSION                          | 2 +-
 sflphone-client-gnome/configure.ac                     | 2 +-
 sflphone-common/VERSION                                | 2 +-
 sflphone-common/configure.ac                           | 2 +-
 sflphone-common/src/audio/audiortp/AudioRtpSession.cpp | 2 ++
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sflphone-client-gnome/VERSION b/sflphone-client-gnome/VERSION
index 56f3151140..8225a4ba4f 100644
--- a/sflphone-client-gnome/VERSION
+++ b/sflphone-client-gnome/VERSION
@@ -1 +1 @@
-0.9.10
+0.9.11
diff --git a/sflphone-client-gnome/configure.ac b/sflphone-client-gnome/configure.ac
index a8c37e9886..d684f0084a 100644
--- a/sflphone-client-gnome/configure.ac
+++ b/sflphone-client-gnome/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([SFLphone],[0.9.10],[sflphoneteam@savoirfairelinux.com],[sflphone-client-gnome])
+AC_INIT([SFLphone],[0.9.11],[sflphoneteam@savoirfairelinux.com],[sflphone-client-gnome])
 AM_CONFIG_HEADER(config.h)
 
 LT_INIT
diff --git a/sflphone-common/VERSION b/sflphone-common/VERSION
index 56f3151140..8225a4ba4f 100644
--- a/sflphone-common/VERSION
+++ b/sflphone-common/VERSION
@@ -1 +1 @@
-0.9.10
+0.9.11
diff --git a/sflphone-common/configure.ac b/sflphone-common/configure.ac
index 789fc63480..ab2adba919 100644
--- a/sflphone-common/configure.ac
+++ b/sflphone-common/configure.ac
@@ -3,7 +3,7 @@ dnl
 
 	dnl Process this file with autoconf to produce a configure script.
 	AC_PREREQ(2.59)
-	AC_INIT([sflphone],[0.9.10],[sflphoneteam@savoirfairelinux.com],[sflphone])
+	AC_INIT([sflphone],[0.9.11],[sflphoneteam@savoirfairelinux.com],[sflphone])
 	AC_COPYRIGHT([[Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010]])
 AC_REVISION([$Revision$])
 
diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
index c3888d707c..68368b36eb 100644
--- a/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
+++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
@@ -241,6 +241,8 @@ void AudioRtpSession::sendMicData()
     if (!compSize)
         return;
 
+    _timestampCount++;
+
     // Reset timestamp to make sure the timing information are up to date
     if (_timestampCount > RTP_TIMESTAMP_RESET_FREQ) {
         _timestamp = getCurrentTimestamp();
-- 
GitLab