--rtsp-caching=XXX value not respected (in particular when accessing local SDP file)
Tested with VLC 1.1.0
Will trying to archieve low latency on a live MP4 stream (UDP multicast) described by a http downloaded SDP file, I notice two potential problem:
- --rtsp-caching=160 parameter does not modify the "Stream buffering done (XXX ms ..." value (it stay at the default 320) when accessing a local (file system) SDP file.
$ "C:/Program Files/VideoLAN/VLC/VLC.exe" -vvv --verbose=2 --rtsp-caching=160 --clock-jitter=0 LaboElvisCIF.sdp &> TestWith_URL=file+--caching=160+--clock-jitter=0.txt [00e6f6e4] main input debug: `file:///r:/vlc/LowLatency110%2FLaboElvisCIF.sdp' successfully opened ... [00e6f6e4] main input debug: Stream buffering done (320 ms in 281 ms)
- When accessing the same stream with an rtsp:// URL and specifying an --rtsp-caching= value, I seems to always get that value + 40 ms in the "Stream buffering done (XXX ms ..." message.
$ "C:/Program Files/VideoLAN/VLC/VLC.exe" -vvv --verbose=2 --rtsp-caching=160 --clock-jitter=0 rtsp://136.173.110.16/LaboElvisCIF &> TestWith_URL=rtsp+--caching=160+--clock-jitter=0.txt
[00e6c6ec] main input debug: `rtsp://136.173.110.16/LaboElvisCIF' successfully opened ... [00e6c6ec] main input debug: Stream buffering done (200 ms in 127 ms)
There seems to be no way to modify the 320 ms value when reading the SDP file from the file system (rather than to get it from and rtsp DESCRIBE).
The following commit did not fix our problem: http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=b4a52f1c6e65a9b096a658825b17e811e1dd47c4
As explain here: http://permalink.gmane.org/gmane.comp.video.videolan.vlc.devel/72564