提交 55187864 编写于 作者: R Romain Vimont

Add some logs to debug issue 386

上级 0e019f8a
......@@ -80,6 +80,7 @@ static process_t execute_server(const char *serial,
Uint16 max_size, Uint32 bit_rate,
SDL_bool tunnel_forward, const char *crop,
SDL_bool send_frame_meta) {
LOGD("tunnel_forward=%d\n", (int) tunnel_forward);
char max_size_string[6];
char bit_rate_string[11];
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)
boolean tunnelForward = Boolean.parseBoolean(args[2]);
Ln.d("tunnelForward = " + tunnelForward);
options.setTunnelForward(tunnelForward);
if (args.length < 4) {
......@@ -105,6 +106,8 @@ public final class Server {
}
});
Ln.d("args: " + Arrays.toString(args));
Options options = createOptions(args);
scrcpy(options);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册