I have a little problem and I would like your help. I recently had a question and I started to search about it but I did not find anything, I noticed that the video streaming services uses a "wowza" server and for that I wanted to receive the streaming and to be able to replicate using php an example is the url down
I used this code to try to connect but it was giving error
<?php
$fp = fsockopen("http://live-hls.rtvcm.stream.flumotion.com:80/rtvcm/hls-multi/main.m3u8", 80, $errno, $errstr);
fwrite($fp, "GET request HTTP/1.1\r\nConnection: keep-alive\r\n\r\n");
while (!feof($fp)) {
echo fgets($fp, 1024);
}
fclose($fp);
?>
I do not know if it's possible, I tried to use socket but I could not, could anyone help me with this? I'm sorry if the url is not appropriate but I needed to quote a url for testing.
Thank you!