Page 1 of 1

stream broadcast project

Posted: 23 May 2005 14:17
by martintxo
Hello!
Well, we are trying to do the following with VLC and the telnet interface of VLM. We want anyone can connect our VLC server via telnet and create a new VLM channel for VLC to send a stream to his or her computer. But we want to do it as transparent as possible; that is, a client press a buttom and all the process begins, and the client receives the stream, and he or she doesn´t know what has occurred.
Well, the first step we have done is to create a program in C++ with a button which calls a .bat file that makes the following:

cmd /C telnet server_ip 4212

Now, VLM asks us for the password (admin). My problem is that I don´t know how to write it, because is I write it just below the previous command line it doesn´t work. And then, I have to add all the command lines like "new channel1 broadcast" and so on.
Has anybody any idea about this? Is there any easier way?

Posted: 23 May 2005 17:56
by dionoea
you could use the vlm http interface
start vlc with

Code: Select all

vlc -I http
and go to url http://<server-ip-address>:8080/vlm/