diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-09 21:38:37 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-09 21:38:37 +0200 |
commit | 41f36bd816b642c48473c5ba786c065bf81a549a (patch) | |
tree | 824aace88e99052dd98ae157a7452ed134afa2cf /src/main/java | |
parent | 3334ab7d0a0a394ae5d8fe7d36d7e297859fb30d (diff) |
add 1080p as video resolution and set default to 720p
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index f7b874606..58822c5ce 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -1022,21 +1022,25 @@ public class XmppConnectionService extends Service { public int getCompressVideoResolutionPreference() { switch (getPreferences().getString("video_compression", getResources().getString(R.string.video_compression))) { - case "low": + case "verylow": return 144; - case "mid": + case "low": return 360; - case "high": + case "mid": return 720; + case "high": + return 1080; case "uncompressed": return 0; default: - return 360; + return 720; } } public int getCompressVideoBitratePreference() { switch (getPreferences().getString("video_compression", getResources().getString(R.string.video_compression))) { + case "verylow": + return 100000; case "low": return 100000; case "mid": |