mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-03 16:25:31 +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 width = 1280;
|
||||||
int height = 720;
|
int height = 720;
|
||||||
int refresh = 60;
|
int refresh = 60;
|
||||||
int bitrate = 0;
|
int bitrate = 10000;
|
||||||
int packetSize = 1024;
|
int packetSize = 1024;
|
||||||
boolean parse = true;
|
boolean parse = true;
|
||||||
boolean fake = false;
|
boolean fake = false;
|
||||||
@ -321,15 +321,6 @@ public class Limelight implements NvConnectionListener {
|
|||||||
System.exit(5);
|
System.exit(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bitrate == 0) {
|
|
||||||
if (height<=720)
|
|
||||||
bitrate = 10000;
|
|
||||||
else if (refresh==30)
|
|
||||||
bitrate = 15000;
|
|
||||||
else
|
|
||||||
bitrate = 25000;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Set debugging level
|
//Set debugging level
|
||||||
Logger.getLogger(LimeLog.class.getName()).setLevel(debug);
|
Logger.getLogger(LimeLog.class.getName()).setLevel(debug);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user