0
I’m having a little problem, and I’d like your help. Recently I had a doubt and I started researching about but found nothing, I noticed that the video streaming services uses a server "Wowza" and for that I wanted to receive streaming and be able to replicate using php an example is the url below
http://live-hls.rtvcm.stream.flumotion.com:80/rtvcm/hls-multi/main.m3u8
I used this code to try to connect but 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 don’t know if it’s possible, I tried using socket but I couldn’t, could someone help me with that? I’m sorry if the url is not appropriate but I needed to quote a url for testing.
Thank you!
If possible, give examples demonstrating the solution given or proving that it works. If not possible, cite references so the user can know how to start.
– Grupo CDS Informática
Thank you very much, I thought to do in a language because it makes it possible to scale more easily, this was just a test that I was testing to see the possibility, could you post some example? can be in any language
– Daniel Yohan