Hi,
When I put a password on the panel the key generated don't allow reproduce my m3u8 with his wmsauth, but when I don't put any password the m3u8+wmsauth found!
How can I fix it? The code php
<?php
$today = gmdate("n/j/Y g:i:s A");
$initial_url = "http://188.166.68.203:8081/tugoleada/tugoleada/playlist.m3u8";
//Part of the stream name which is being use in signature
$signed_stream = "tugoleada/tugoleada";
$ip = $_SERVER['188.166.68.203'];
$key = "lol";
$validminutes = 5;
$str2hash = $ip . $key . $today . $validminutes . $signed_stream;
$md5raw = md5($str2hash, true);
$base64hash = base64_encode($md5raw);
$urlsignature = "server_time=" . $today ."&hash_value=" . $base64hash. "&validminutes=$validminutes" . "&strm_len=" . strlen($signed_stream);
$base64urlsignature = base64_encode($urlsignature);
echo $base64urlsignature;
?>
(now the server is off)
Regards and sorry for my english,