Make lockVideoOrientation option name uniform

On the server, the option was named lockedVideoOrientation.
This commit is contained in:
Romain Vimont 2021-11-24 21:33:58 +01:00
parent 7b29f5fd2d
commit 4c47598865
3 changed files with 8 additions and 8 deletions

View file

@ -188,8 +188,8 @@ public final class Server {
options.setMaxFps(maxFps);
break;
case "lock_video_orientation":
int lockedVideoOrientation = Integer.parseInt(value);
options.setLockedVideoOrientation(lockedVideoOrientation);
int lockVideoOrientation = Integer.parseInt(value);
options.setLockVideoOrientation(lockVideoOrientation);
break;
case "tunnel_forward":
boolean tunnelForward = Boolean.parseBoolean(value);