mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-17 06:11:36 +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")) {
|
} 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