mrmaffen / vlc-android-sdk

VLC Android SDK pushed to Maven Central. Primarily used in project tomahawk-android.
793 stars 244 forks source link

RTSP delay caused by buffering #148

Open LeandroVanolli opened 3 years ago

LeandroVanolli commented 3 years ago

I'm developping an App to stream an Onvif IP camera over RTSP protocol.

I'm using the VLC to show the video stream. When I play the stream, vlc starts to buffer the video before play. I can see a delay of around 2 seconds, and the log shows: libvlc input: Stream buffering done (1535 ms in 1534 ms)

I want to reduce the buffer size to reach a delay of 200ms max.

I tried to set some options but it didn't work.