I installed wmspanel without any problems after that i wanted hotlink protection.
i used the php code snippet from the samples provided. My password in that snippet is the same as in wmspanel. Dates of the stream and webserver and time is the same.
I have the hotlinking protection enabled on _definst_ and when i go to the website the correct wmsauth url loads but no video. In wmspanel it says the following : we cannot find hash match. Check signature and wowza wmsauth settings. I checked it 10000x now and everything is correct. Right instance , right password, right date and time and i still get this error.
When i disable wmsauth stream plays fine.
This is the php code used and need i fill in the remote address my self or is it correct this way as well.:
$today = gmdate("n/j/Y g:i:s A");
$ip = $_SERVER['REMOTE_ADDR'];
$key = "mypassword";
$validminutes = 20;
$str2hash = $ip . $key . $today . $validminutes;
$md5raw = md5($str2hash, true);
$base64hash = base64_encode($md5raw);
$urlsignature = "server_time=" . $today ."&hash_value=" . $base64hash. "&validminutes=$validminutes";
$base64urlsignature = base64_encode($urlsignature);
Please use our FAQ https://wmspanel.com/paywall/faq and follow the steps mentioned in "Q: Hot-linking protection does not work".
If this doesn't help, please contact firstname.lastname@example.org and send streaming set up details. Please also send URL of the page where you have the player which is set up to stream the protected media.
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the