ws-scrcpy icon indicating copy to clipboard operation
ws-scrcpy copied to clipboard

How can i use one device to control all device?

Open tiennguyen12g opened this issue 1 year ago • 3 comments

Hello everyone, if you have experience with this case, please give me some solution.

  • I connect 5 devices to computer via usb cable.
  • I run server and run command "adb -s <device Id> forward tcp:8886 tcp:8886 " for each device ( note: change the first tcp to other port such as: 8887 , 8888, 8889 ... and more)
  • I connect url: "http://127.0.0.1:8000/#!action=stream&udid=<.device-Id.>&player=broadway&ws=ws%3A%2F%2F127.0.0.1%3A<.port corresponding to device Id.>%2F". It mean i open 5 window browsers.

Question:

  1. How can i use one device to control all device? ex: I watch Tiktok video, when i scroll to next video or increase/decrease volume, i want other devices do the same thing.
  2. Does the ws-scrcpy project provide the ability to show all devices in a single web window? Thank all you. Hope to see your help
  3. How to make the web auto display new device when we connect device to computer via usb cable?

tiennguyen12g avatar Mar 31 '23 09:03 tiennguyen12g