<?php /* In this example the source media is located at rtmp://vs-hls-ww.live.cf.md.bbci.co.uk/pool_902/live/nonuk/bbc_arabic_tv/bbc_arabic_tv.isml/index.m3u8 Flow player has the name split by 2 part. They are stored in respective variables below. */ $base_url = 'http://livep2p.vanlong.stream/playlist/44faa15ef2772ff1012230a7b4dbd2e11615475726783.m3u8'; $today = gmdate("n/j/Y g:i:s A"); $key = //317a488a-0091-4a14-8147-f4e965992ebf $validminutes = 1; $str2hash = $key . $today . $validminutes; $md5raw = md5($str2hash, true); $base64hash = ($md5raw); $urlsignature = "http://4ce5e2d62ee2c10e43c709f9b87c44d5.streamhost.cc/m3u8/France/1b4d1e3292b3936.m3u8" . $today ."&hash_value=" . $base64hash. "&=$validminutes"; $base64urlsignature = base64_encode($urlsignature); ?> <?php echo "{$base_url}?wmsAuthSign=$base64urlsignature"; ?>
You have javascript disabled. You will not be able to edit any code.