VLC PHP Issues
Posted: 12 Dec 2007 15:59
Hey,
I am trying to create an "on-demand streaming server"
For each client that logs on, I want to start a new vlc
I cannot launch vlc with the remote control interface listening on a socket
when launching it from something else then a bash shell.
I've also tried a python script but that doesn't work either, while
starting vlc with the same parameters from a bash shell does work.
Can anyone well me what is going wrong here?
I am trying to create an "on-demand streaming server"
For each client that logs on, I want to start a new vlc
Code: Select all
$cmd = "vlc --sout udp:" . $ip . ":1234 -I rc --rc-host 0.0.0.0:9568";
echo (shell_exec ($cmd));
when launching it from something else then a bash shell.
I've also tried a python script but that doesn't work either, while
starting vlc with the same parameters from a bash shell does work.
Can anyone well me what is going wrong here?