Android SDK - Delay using RTSP Streaming
Our configuration:
All communication is over LAN.
One Android client connects to RTSP server, using UDP protocol.
Our app utilize the VLC for Android we used the maven artifact, and also tried versions 2.1.12 and 3.0.0.
What we see is a growing delay while playing the RTSP stream, always reproducible after a short hiccup, the delay grows, and can get to 10 seconds, and it does not gets smaller only larger!!
We have tried too many configurations, all we could find here, and other online blogs, none solved or minimized the issue.
We tried removing the cache, we tried setting various flags for no avail, and we are pretty desperate.
This delay does not exist on the Mac desktop VLC app, or our iOS app streaming from the same server, even if 20 clients are connected.
So, what I would like to know is what is the proper configuration that the Android VLC SDK would be able to stream RTSP over UDP, and auto correct the delay.