From 8321fc1e25b613e1ab608f240c63736fd7f77b4e Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Fri, 13 Mar 2015 21:36:12 +0000 Subject: [PATCH] adjust the weighting factor for overall delay calculation of the jitter buffers --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index c72da7ec..6c5f5149 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -1308,7 +1308,7 @@ int CClient::EstimatedOverallDelay ( const int iPingTimeMs ) // Consider the jitter buffer on the client and on the server side, too. const double dTotalJitterBufferDelayMs = SYSTEM_BLOCK_DURATION_MS_FLOAT * static_cast ( GetSockBufNumFrames() + - GetServerSockBufNumFrames() ) * 0.8f; + GetServerSockBufNumFrames() ) * 0.7f; // consider delay introduced by the sound card conversion buffer by using // "GetSndCrdConvBufAdditionalDelayMonoBlSize()"