Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrcpy Wifi shortcut command #5685

Open
mlabra opened this issue Dec 18, 2024 · 0 comments
Open

Scrcpy Wifi shortcut command #5685

mlabra opened this issue Dec 18, 2024 · 0 comments

Comments

@mlabra
Copy link

mlabra commented Dec 18, 2024

Hi all, this runs scrcpy wifi on a shortcut, first enable wireless debugging, put the IP in the statement and every time to run, write the randomly assigned port in the prompt:

cmd.exe /v:on /c "set/p port=wifi port ? & scrcpy.exe --tcpip=192.168.1.100:!port! --stay-awake --window-title="ScrCpy WiFi""

The only thing missing is the landscape and lower DPI options. Other options:

  --max-size=9999      :: display quality
  --turn-screen-off    :: first must be unlocked
  --no-audio-playback  :: local audio is better quality

Any opinion and improvement is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant