问题
I am working with streaming RTSP using LibVLC. I have it working where I can view the stream, but the latency is set to the default ~2seconds.
On the Ubuntu Desktop I can launch vlc with the following options to improve the latency greatly:
$ vlc -vvv rtsp://192.168.2.1:1234 --network-caching=50 --clock-jitter=0 --clock-synchro=0
however, when I add these options to LibVLC, there is no positive effect:
ArrayList<String> options = new ArrayList<>();
options.add("-vvv");
options.add("--network-caching=50");
options.add("--clock-jitter=0");
options.add("--clock-synchro=0");
mLibVLC = new LibVLC(this, options);
Is there something I'm missing?
来源:https://stackoverflow.com/questions/51773268/android-libvlc-options-do-not-work