@ -12,7 +12,6 @@ public class Options {
private int lockVideoOrientation = - 1 ;
private boolean tunnelForward ;
private Rect crop ;
private boolean sendFrameMeta = true ; // send PTS so that the client may record properly
private boolean control = true ;
private int displayId ;
private boolean showTouches ;
@ -23,6 +22,9 @@ public class Options {
private boolean clipboardAutosync = true ;
private boolean downsizeOnError = true ;
// Options not used by the scrcpy client, but useful to use scrcpy-server directly
private boolean sendFrameMeta = true ; // send PTS so that the client may record properly
public Ln . Level getLogLevel ( ) {
return logLevel ;
}
@ -79,14 +81,6 @@ public class Options {
this . crop = crop ;
}
public boolean getSendFrameMeta ( ) {
return sendFrameMeta ;
}
public void setSendFrameMeta ( boolean sendFrameMeta ) {
this . sendFrameMeta = sendFrameMeta ;
}
public boolean getControl ( ) {
return control ;
}
@ -158,4 +152,12 @@ public class Options {
public void setDownsizeOnError ( boolean downsizeOnError ) {
this . downsizeOnError = downsizeOnError ;
}
public boolean getSendFrameMeta ( ) {
return sendFrameMeta ;
}
public void setSendFrameMeta ( boolean sendFrameMeta ) {
this . sendFrameMeta = sendFrameMeta ;
}
}