adborc icon indicating copy to clipboard operation
adborc copied to clipboard

Screen mirroring failed: Could not start scrcpy

Open eduardb opened this issue 9 months ago • 0 comments

When running adborc consumer scrcpy DEVICE_ID, the following error is printed:

Screen mirroring failed: Could not start scrcpy: Scrcpy server failed to start: 2024-05-21 11:42:09.013 scrcpy[97427:17602128] ERROR: --bit-rate has been removed, use --video-bit-rate or --audio-bit-rate

Like the error message says, it looks like the --bit-rate argument, which I assume is hardcoded here, no longer exists in newer versions of scrcpy.

Would you accept a PR to migrate to the newer --video-bit-rate and --audio-bit-rate arguments? Cheers!

eduardb avatar May 21 '24 08:05 eduardb