Allow bigger bandwidth for VGA than for CIF.

This commit is contained in:
Ghislain MARY 2015-06-16 14:11:51 +02:00
parent 455fac855e
commit 5ce6ec2377

View file

@ -788,6 +788,8 @@ public class LinphonePreferences {
int bandwidth = 512; int bandwidth = 512;
if (preferredVideoSize.equals("720p")) { if (preferredVideoSize.equals("720p")) {
bandwidth = 1024 + 128; bandwidth = 1024 + 128;
} else if (preferredVideoSize.equals("vga")) {
bandwidth = 660;
} else if (preferredVideoSize.equals("qvga")) { } else if (preferredVideoSize.equals("qvga")) {
bandwidth = 380; bandwidth = 380;
} else if (preferredVideoSize.equals("qcif")) { } else if (preferredVideoSize.equals("qcif")) {