Add some logs to debug issue 386
This commit is contained in:
parent
0e019f8ab8
commit
55187864ba
@ -80,6 +80,7 @@ static process_t execute_server(const char *serial,
|
|||||||
Uint16 max_size, Uint32 bit_rate,
|
Uint16 max_size, Uint32 bit_rate,
|
||||||
SDL_bool tunnel_forward, const char *crop,
|
SDL_bool tunnel_forward, const char *crop,
|
||||||
SDL_bool send_frame_meta) {
|
SDL_bool send_frame_meta) {
|
||||||
|
LOGD("tunnel_forward=%d\n", (int) tunnel_forward);
|
||||||
char max_size_string[6];
|
char max_size_string[6];
|
||||||
char bit_rate_string[11];
|
char bit_rate_string[11];
|
||||||
sprintf(max_size_string, "%"PRIu16, max_size);
|
sprintf(max_size_string, "%"PRIu16, max_size);
|
||||||
|
@ -64,6 +64,7 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
// use "adb forward" instead of "adb tunnel"? (so the server must listen)
|
// use "adb forward" instead of "adb tunnel"? (so the server must listen)
|
||||||
boolean tunnelForward = Boolean.parseBoolean(args[2]);
|
boolean tunnelForward = Boolean.parseBoolean(args[2]);
|
||||||
|
Ln.d("tunnelForward = " + tunnelForward);
|
||||||
options.setTunnelForward(tunnelForward);
|
options.setTunnelForward(tunnelForward);
|
||||||
|
|
||||||
if (args.length < 4) {
|
if (args.length < 4) {
|
||||||
@ -105,6 +106,8 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Ln.d("args: " + Arrays.toString(args));
|
||||||
|
|
||||||
Options options = createOptions(args);
|
Options options = createOptions(args);
|
||||||
scrcpy(options);
|
scrcpy(options);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user