mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-02 07:45:48 +00:00
No high bitrate by default because of bad performance
This commit is contained in:
parent
af77a8f482
commit
37020032bb
@ -170,7 +170,7 @@ public class Limelight implements NvConnectionListener {
|
||||
int width = 1280;
|
||||
int height = 720;
|
||||
int refresh = 60;
|
||||
int bitrate = 0;
|
||||
int bitrate = 10000;
|
||||
int packetSize = 1024;
|
||||
boolean parse = true;
|
||||
boolean fake = false;
|
||||
@ -321,15 +321,6 @@ public class Limelight implements NvConnectionListener {
|
||||
System.exit(5);
|
||||
}
|
||||
|
||||
if (bitrate == 0) {
|
||||
if (height<=720)
|
||||
bitrate = 10000;
|
||||
else if (refresh==30)
|
||||
bitrate = 15000;
|
||||
else
|
||||
bitrate = 25000;
|
||||
}
|
||||
|
||||
//Set debugging level
|
||||
Logger.getLogger(LimeLog.class.getName()).setLevel(debug);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user