Skip to main content

[jitsi~svn:10796] Fixes current configurations of RTP pacing threshold that may have used a

  • From: yanas@...
  • To: commits@...
  • Subject: [jitsi~svn:10796] Fixes current configurations of RTP pacing threshold that may have used a
  • Date: Sat, 20 Apr 2013 09:09:14 +0000

Project:    jitsi
Repository: svn
Revision:   10796
Author:     yanas
Date:       2013-04-20 09:09:13 UTC
Link:       

Log Message:
------------
Fixes current configurations of RTP pacing threshold that may have used a 
value bigger than the newly configured maximum value.


Revisions:
----------
10796


Modified Paths:
---------------
trunk/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java


Diffs:
------
Index: 
trunk/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
===================================================================
--- 
trunk/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java 
      (revision 10795)
+++ 
trunk/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java 
      (revision 10796)
@@ -603,8 +603,14 @@
             }
         });
 
+        int videoMaxBandwith = deviceConfig.getVideoRTPPacingThreshold();
+        // Accord the current value with the maximum allowed value. Fixes
+        // existing configurations that have been set to a number larger than
+        // the advised maximum value.
+        videoMaxBandwith = ((videoMaxBandwith > 999) ? 999 : 
videoMaxBandwith);
+
         final JSpinner videoMaxBandwidth = new JSpinner(new 
SpinnerNumberModel(
-            deviceConfig.getVideoRTPPacingThreshold(),
+            videoMaxBandwith,
             1, 999, 1));
         videoMaxBandwidth.addChangeListener(new ChangeListener()
         {





[jitsi~svn:10796] Fixes current configurations of RTP pacing threshold that may have used a

yanas 04/20/2013
 
 
Close
loading
Please Confirm
Close