mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-03 06:26:04 +00:00
Packetsize argument now really changes the packet size
This commit is contained in:
@@ -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