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

Suggest adopting frame loss scheme to ensure smoothness #5752

Open
aoy2024 opened this issue Jan 14, 2025 · 3 comments
Open

Suggest adopting frame loss scheme to ensure smoothness #5752

aoy2024 opened this issue Jan 14, 2025 · 3 comments

Comments

@aoy2024
Copy link

aoy2024 commented Jan 14, 2025

Sometimes when the network is not good, it may get stuck (this situation usually occurs during wireless screen mirroring). When the network condition recovers well, the accumulated images will be accelerated and fully played before normal images can be restored. If possible, it is recommended to directly drop frames to prioritize smoothness

@aoy2024
Copy link
Author

aoy2024 commented Jan 14, 2025

This situation can also occur when the performance of the phone lags

@rom1v
Copy link
Collaborator

rom1v commented Jan 14, 2025

Scrcpy is tailored for working over USB. It also works wirelessly because "why not,", but it's not designed specifically for this use case, because it assumes that no packet loss occurs.

The video stream is transmitted over TCP (so head-of-line blocking) over adb, and adb may not forward UDP.

@aoy2024
Copy link
Author

aoy2024 commented Jan 14, 2025

Scrcpy is tailored for working over USB. It also works wirelessly because "why not,", but it's not designed specifically for this use case, because it assumes that no packet loss occurs.Scrcpy 专为通过 USB 工作而量身定制。它也以无线方式工作,因为 “why not”,但它不是专门为此用例设计的,因为它假设不会发生数据包丢失。

The video stream is transmitted over TCP (so head-of-line blocking) over adb, and adb may not forward UDP.视频流通过 adb 上的 TCP 传输(因此会阻止队头),并且 adb 可能不会转发 UDP。

Okay, thank you for your answer
Connecting through wireless debugging is really convenient, it is recommended to focus on this aspect for optimization

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