Our system is built as follows:
VLC windows (with webcam) ----) Darwin (Linux) ----) VLC client(Windows)
There's an incredible delay, about 10 seconds, and we don't know how to reduce it. We've tried many solutions like caching reductions and different codecs but no luck.
Here's an example command line that we use:
vlc.exe -vvv -I rc --ttl 50 dshow:// :dshow-vdev="Video Blaster WebCam 3/WebCam Plus (WDM)" :dshow-adev="none" :dshow-size="320*240" :dshow-amtuner-mode=1 :sout=#transcode{fps=10,vcodec=h264,vb=128}:duplicate{dst=display,dst=rtp{dst=ourserverip,port=1232,sdp=sap,sdp="file://C:\h264.sdp"}}
vlc.exe -vvv -I rc --ttl 100 dshow://:dshow-vdev="Video Blaster WebCam 3/WebCam Plus (WDM)" :dshow-adev="none" :dshow-size="" :dshow-amtuner-mode=1 :sout=#transcode{fps=10,venc="ffmpeg",vcodec=mp4v,vb=1024}:duplicate{dst=display,dst=rtp{dst=ourserverip,port=1232,sdp=sap,sdp="file://C:\prova2.sdp"}}
If we add encapsulation (mux=ts) VLC doesn't make the sdp file that is necessary for Darwin.
We think the problem is between Darwin and VLC client because if we use Quicktime as client player we have 5 seconds delay.
Any suggestion ?
Thanks