Scrcpy: How to wirelessly view 2 devices at the same time

Created on 23 Nov 2019  路  7Comments  路  Source: Genymobile/scrcpy

So i have been able to only view one device wired and one wireless using the scrcpy -s command on linux

Most helpful comment

I think I will improve the -p option to support a range: -p start:end, with a default range 27183:27200, so that it try the ports sequentially until one works. That would avoid this kind of problem.

All 7 comments

List them with adb devices. You should be able to start scrcpy -s for each one.

List them with adb devices. You should be able to start scrcpy -s for each one.

when I run one, and I start another with scrcpy -s it error !
This is error info:
bind: Address already in use
scrcpy[15070:1261952] ERROR: Could not listen on port 27183

It listens only until the device is connected, so if you start the second one few seconds after the first one is connected, it should work.

Alternatively, you could use a different port for the other device: scrcpy -p 27184.

I think I will improve the -p option to support a range: -p start:end, with a default range 27183:27200, so that it try the ports sequentially until one works. That would avoid this kind of problem.

I think I will improve the -p option to support a range: -p start:end, with a default range 27183:27200, so that it try the ports sequentially until one works. That would avoid this kind of problem.

Great! It work! Thanks! It's a good idea about this change

Implemented in dev (see #951).

Released in v1.13.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sennight picture sennight  路  3Comments

behzadpooldar picture behzadpooldar  路  4Comments

mttmllns picture mttmllns  路  3Comments

SuryaElavazhagan picture SuryaElavazhagan  路  4Comments

cordac1 picture cordac1  路  4Comments