-
Notifications
You must be signed in to change notification settings - Fork 77
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
Video preview lag #72
Comments
I decompiled the official app, and found that the official app used a totally different way to play the RTSP stream of camera preview. The sample app simply uses VideoView, while the official app uses a 3rd party library (I searched for that package name on google and the library used in official app seem to be in https://github.com/fenghxfriend/Android-RTSP-Player). The preview lag of VideoView seems to depend on device model... my MI 5 has a huge lag of 11 seconds, but a MI MIX 2 has a lag of about 1s, both using the sample app. I decided to use other RTSP library to play preview. |
Thank you, for answer |
Is it possible to zoom using video preview ? I'm thinking using cctv zoom lens, and video preview zoom for adjusting focus on the fly |
hello, tell me please why video preview is laging (video delay 5 seconds), in your sample app, but oficial yi action app is not laging(about 600 ms)? How i can set low preview resolution or bitrate to fix this problem?
The text was updated successfully, but these errors were encountered: