<div dir="ltr"><div><div><div><div>Hi team<br></div>i want a VLC client to choose one
of two VLC servers in two separate servers. so i need to run two VLC
servers in two hosts and just one VLC client in another host.<br></div>is this possible?<br></div><div>it
is not a constraint for live streaming (i just need video streaming) so
if i can download a file from one of these servers that's OK. but i
don't know its solution!<br></div><div>i already test (1)"vlc [path to file] --sout udp:// [destination path]"in each two servers and (2)"vlc udp:// [source path]"in client. but it does not work i need something like VoD. i test VoD too but i can't understand some parts. i follow this instruction:<br><ol><li><p>Setup the VLM Configuration in each server<br></p>
<ol><li>Run the VLC GUI</li><li>Select Tools -> VLM Configuration tool</li><li>Use this tool to setup the videos you want to stream. For each video</li><li>Select "Video On Demand" from the first dropdown </li><li>Select a name for the media (don't use spaces)</li><li>Select the video file as the input</li><li>Leave the output and muxer blank. </li><li>Select "Add"</li><li>Repeat 4-8 for each of your media files.</li><li>Export the configuration. (then exit VLC???)<br></li></ol></li><li><p>Setup VLC VOD (whre should i use this? in servers?)<br></p>
<ol><li>Start VLC using the command line: <code>vlc -vvv --color -I telnet --telnet-password <your_password> --rtsp-host 0.0.0.0 --rtsp-port 5554 (but what are -vvv? --color? and why i should use telnet?)<br></code></li><li>Connect to the telnet server on port <code>4212</code> using the password in the above command line (with command <span class=""><code>telnet localhost:4212)</code></span></li><li>Once connected, load the configuration file you exported above. Type the command <code>load <path_to>/<configuration_file>.vlm</code></li></ol></li><li><p>Test the Client</p>
<ol><li>Open an instance of the VLC GUI.</li><li>Open a network stream and point it to <code>rtsp://localhost:5554/<name_of_media></code> where <code><name_of_media></code> is the name of one of the streams you configured in the VLM Configuration GUI.</li></ol></li></ol>also i should mention that i use an emulator to test my work in an ubuntu 14.04.<br></div></div>thanks alot</div>