Romain Vimont
Romain Vimont
> im guessing the ports aren't physical ports? No, they're TCP ports (the device and the client communicate using TCP sockets). > and see what happens, will report back :+1:...
> I thought that in any case it was not possible to confuse devices when they connect simultaneously, but if assigning a different port to each device works, then I...
> one of the phones seems to be playing sound through my computer All devices with Android >= 12 are expected to forward audio by default. If this is the...
> So after checking task manager my CPU is running at 100% while im running slots on the phones, 50 connected right now If you decode 50 video streams, it...
You could encode with a lower complexity profile/level (so that it's "simpler" to decode). See the highlights at the end of https://github.com/Genymobile/scrcpy/releases/tag/v1.14 (the option is now named `--video-codec-options=`).
You can also limit frame rate (`--max-fps=15`).
> java.lang.UnsupportedOperationException: Cannot create AudioRecord #5138
Run with `--no-audio` if you don't need audio.
Can you reproduce with screenrecord? ``` adb shell screenrecord /sdcard/file.mp4 ```
It is a behavior specific to your device I guess.