mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-21 07:47:04 +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")) {
|
||||
if (i + 1 < args.length) {
|
||||
try {
|
||||
bitrate = Integer.parseInt(args[i+1]);
|
||||
packetSize = Integer.parseInt(args[i+1]);
|
||||
} catch (NumberFormatException e) {
|
||||
System.out.println("Syntax error: packetsize must be a number");
|
||||
System.exit(3);
|
||||
|
||||
Reference in new issue
Block a user