There is an emample about how to use the libvlc.dll to stream a webcam to another machine in a visual c++ project:
http://wiki.videolan.org/LibVLC_Visual_C
This is part of the source code.
char ** commands = new char*[6];
commands[0] = "testvlcconsole.exe"; //your application name
commands[1] = "dshow://";
commands[2] = ":dshow-vdev=Logitech QuickCam Pro 3000 (08B0)";
commands[3] = ":dshow-adev=";
commands[4] = ":dshow-size=176x144";
commands[5] = ":sout=#transcode{vcodec=h264,vb=1024,scale=1}:duplicate{dst=rtp{mux=ts,dst=192.168.0.155,port=1234}}";
But I want to stream a file to another machine using the libvlc.dll in a visual c++ project.
Would you please tell me how to change the source code?