I only need to stream to one particular remote client.
Right now I am attempting to stream MPEG-4 over HTTP.
On the client end, VLC plays the stream for a second or two, then hangs.
I suspect I am saturating the outbound cable modem pipe.
Here's my command line:
Code: Select all
C:\VideoLAN\VLC>\VideoLAN\VLC\vlc -vvv dshow:// :dshow-vdev="Hauppauge WinTV PVR
PCI II Capture" :dshow-adev="none" :dshow-tuner-channel="51" :sout="#transcode{
vcodec=mp4v,acodec=mpga,vb=350,ab=64,fps=24,deinterlace,audio-sync,scale=0.5}:st
andard{access=http,mux=ts,dst=192.168.1.100:8080}"
I think that using UDP would allow the client to drop packets and catch up.
But I don't want to be pushing out UDP when no client is connected to the video stream.
Also, the client's IP address might change from time to time.
With HTTP, I don't have to worry about that on the server end.
Should HTTP streams be able to cope with packet loss better than what I'm seeing, or is this freezing par for the course?
Is there another way for me to stream on demand to a single client?