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
Lag in screen mirroring #1450
Comments
Hello, Do you mean delay? |
Yes, I mean delay. Thank you for helping me. Is there any way to reduce the delay of the Media Projection class? |
Thank you. I reduced the delay in Exoplayer by the link you gave me. At first, it works well, but after a few minutes, the time of delay goes up again. Do you have any idea about it? Do you think Exoplayer is a good tool for screen mirroring ? |
Hello,
I'm not sure about it, You can try use UDP instead of TCP to reduce the delay and check if this solve the problem. You should do it in player side because if you use UDP or TCP is player decision. You can try both cases (TCP and UDP):
No, exoplayer no aim to be a low delay player. You can check that one of the contributor said that: |
Hi dear,
I am using RtspServerDisplay class for mirroring the surface of my Android device. when I start mirroring it, there is a lag (usually 3 seconds or more) showing my device's surface on Tv. I use Exoplayer for playing the stream. is there any way to fix it?
The text was updated successfully, but these errors were encountered: