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

Adaptive bit rate that can find the best of options #5661

Open
muvaf opened this issue Dec 12, 2024 · 1 comment
Open

Adaptive bit rate that can find the best of options #5661

muvaf opened this issue Dec 12, 2024 · 1 comment

Comments

@muvaf
Copy link
Contributor

muvaf commented Dec 12, 2024

Is it possible to choose an FPS value and then let the scrcpy find the highest bit rate that can provide it? eg I want to provide 60 FPS all the time so when the internet bandwidth is not good, bit rate should drop to, say 512K, and if it's good, it should go up to 8M. Potentially, latency can be included in the calculation as well.

@rom1v
Copy link
Collaborator

rom1v commented Dec 13, 2024

No, scrcpy is tailored for working over USB.

It also works over TCP/IP because adb supports it, but for example it uses a single TCP socket to transmit the video stream (so it suffers head-of-line blocking on packet loss). Adaptive bit rate would be difficult with just jitter information inferred from TCP reads (and it is a complex subject anyway).

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