forked from NetrisTV/ws-scrcpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
100 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
export const SERVER_PACKAGE = 'com.genymobile.scrcpy.Server'; | ||
export const SERVER_PORT = 8886; | ||
export const SERVER_VERSION = '1.13.1'; | ||
export const SERVER_VERSION = '1.15.1-ws'; | ||
|
||
const LOG_LEVEL = 'ERROR'; | ||
const MAX_SIZE = 0; | ||
const BITRATE = 8000000; | ||
const MAX_FPS = 60; | ||
const LOCKED_SCREEN_ORIENTATION = -1; | ||
const TUNNEL_FORWARD = false; | ||
const CROP = '-'; | ||
const SEND_META_FRAME = false; | ||
const CONTROL = true; // If control is enabled, synchronize Android clipboard to the computer automatically | ||
const DISPLAY_ID = 0; | ||
const SHOW_TOUCHES = false; | ||
const STAY_AWAKE = false; | ||
const CODEC_OPTIONS = '-'; | ||
const SERVER_TYPE = 'web'; | ||
|
||
const ARGUMENTS = [ | ||
SERVER_VERSION, | ||
LOG_LEVEL, | ||
MAX_SIZE, | ||
BITRATE, | ||
MAX_FPS, | ||
LOCKED_SCREEN_ORIENTATION, | ||
TUNNEL_FORWARD, | ||
CROP, | ||
SEND_META_FRAME, | ||
CONTROL, | ||
DISPLAY_ID, | ||
SHOW_TOUCHES, | ||
STAY_AWAKE, | ||
CODEC_OPTIONS, | ||
SERVER_TYPE, | ||
SERVER_PORT | ||
]; | ||
|
||
export const ARGS_STRING = `/ ${SERVER_PACKAGE} ${ARGUMENTS.join(' ')} 2>&1 > /dev/null`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters