Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen mirroring failed: Could not start scrcpy #18

Open
eduardb opened this issue May 21, 2024 · 6 comments
Open

Screen mirroring failed: Could not start scrcpy #18

eduardb opened this issue May 21, 2024 · 6 comments

Comments

@eduardb
Copy link

eduardb commented May 21, 2024

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!

@MoritzHeschl
Copy link

Hey, did you find a fix for this?

@eduardb
Copy link
Author

eduardb commented Jan 25, 2025

Hey, did you find a fix for this?

@MoritzHeschl I made a dirty fix and then built locally from source. See this commit: wavemm@4ae2abc

@MoritzHeschl
Copy link

@eduardb Thanks for letting me know! Quick question—does this tool allow me to share devices with my employees who are located on the other side of the world? I'm not a developer, so I'm not sure if this works.

Right now, we use Vysor to share devices remotely (you might be familiar with it), but it's incredibly buggy. If this tool doesn't support remote sharing, do you happen to know of any other tools that could do the job? I actually discovered this tool through a Reddit post.

@eduardb
Copy link
Author

eduardb commented Jan 25, 2025

@MoritzHeschl Yes, you can use this tool for that, but you both need to be on the same VPN where you can see each other's computers, or do an awful lot of port forwarding, assuming that you are behind a router. I wholeheartedly recommend Tailscale, it's extremely easy to set up, especially when compared to rolling your own OpenVPN or Wireguard server.

@MoritzHeschl
Copy link

@eduardb thanks for the fast reply. I also heared of this software: https://github.com/DeviceFarmer/stf
Do you have experience with it?

@eduardb
Copy link
Author

eduardb commented Jan 27, 2025

You're welcome!
stf is something that I also run into when searching for a solution to occasionally share devices over the Internet among colleagues, but it looked like a lot more complex tool than what my needs were, so I didn't try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants