mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-26 05:50:05 +00:00
Packetsize argument now really changes the packet size
This commit is contained in:
1 parent
f049287286
commit
c402c87805
1 file changed
+1
-1
@@ -259,7 +259,7 @@ public class Limelight implements NvConnectionListener {
|
|||||||
} else if (args[i].equals("-packetsize")) {
|
} else if (args[i].equals("-packetsize")) {
|
||||||
if (i + 1 < args.length) {
|
if (i + 1 < args.length) {
|
||||||
try {
|
try {
|
||||||
bitrate = Integer.parseInt(args[i+1]);
|
packetSize = Integer.parseInt(args[i+1]);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
System.out.println("Syntax error: packetsize must be a number");
|
System.out.println("Syntax error: packetsize must be a number");
|
||||||
System.exit(3);
|
System.exit(3);
|
||||||
|
|||||||
Reference in new issue
Block a user