Hi!!
I'm trying to create a PHP script for creating and setting broadcast emissions in VLM. I followed How-to and this wonderful topic step by step.
Code: Select all
<?php
$url = 'http://myIP:8080/requests/vlm_cmd.xml?command=';
$create = $url . 'new%20test%20broadcast%20enabled';
$input = $url . 'setup%20test%20input%20"C:\video.ts"';
$output = $url . 'setup%20test%20output%20#std{access=rtp,mux=ts,dst=destinationIP:1234}';
echo file_get_contents($create);
echo file_get_contents($input);
echo file_get_contents($output);
?>
setup : missing argument for output
It's strange since it's the same command VLM suggests if I set everything manually, from the browser. Maybe a problem reading '#'??
Note that I have to use %20 instead of spaces. With spaces is not working on the browser.
Could you help me?? I'm really stuck and I don't know how to solve it :S