scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Automatic wifi adb port search

Open Manu99it opened this issue 3 years ago • 4 comments

  • [x] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe. It is. Read everytime the port and write it in the script is annoying

Describe the solution you'd like That scrcpy scan trough 37000-44000 port to get adb over wifi started

Describe alternatives you've considered Retrieve that port with an external script using, for example, nmap

Manu99it avatar Jun 07 '22 20:06 Manu99it

That scrcpy scan trough 37000-44000 port to get adb over wifi started

It take too much time for scan, and this feature request not for scrcpy.

tqk2811 avatar Jun 15 '22 09:06 tqk2811

That scrcpy scan trough 37000-44000 port to get adb over wifi started

It take too much time for scan, and this feature request not for scrcpy.

Well that could be done optionally. But yes I understand that

Manu99it avatar Jun 15 '22 10:06 Manu99it

I don't think scrcpy needs this feature, in the other hand I wrote and have been using this script: it automatically scans trying multiple ports at the same time - so it's really fast - auto-connects and even have a progress bar with a ETA. Just call it before scrcpy and it gets the job done. Since it runs using Deno someone can even compile it as a .exe for Windows users for convenience.

qgustavor avatar Aug 22 '22 02:08 qgustavor

@qgustavor I just tried it and it's really fast! Thank you

Manu99it avatar Aug 23 '22 13:08 Manu99it