Problem providing RTMP streams from CD3 level 3

I am currently providing rtmp streams from level 3 CDNs.

The documentation can be found here: https://rapidshare.com/files/1450549534/Token_Components.html (it looks like you need to log in to view, so I accept on rapidshare. Source URL: https: //mediaportal.level3. com / mediaWeb / help / Content / ServicesDocs-Streaming / StreamingTokenAuth / TokenComponents.htm )

Scoll down to On Demand Streaming I / O Example (for MP4 Files)

I am trying to reproduce an example and get the same url with the same values. I wrote a little function for this:

function flimmithash($file) {
    $streamer = 'pmsales';
    $host = 'pmsalesfs.fplive.net'; 
    $start_time = '20080101120000'; 
    $end_time = '20101231235900'; 
    $customer_secret = 'Secret'; // in the documentation there is also secret with a non capital s, i tried both

    $resouce_path = "/$streamer/$file";                                                     echo "resouce_path: $resouce_path <br>\n";
    $message = "$resouce_path?start_time=$start_time&end_time=$end_time#$customer_secret";  echo "message: $message <br>\n";
    $digest = md5($message);                                                                echo "digest: $digest <br>\n";
    $tokenvalue = "start_time=$start_time&end_time=$end_time&digest=$digest";               echo "tokenvalue: $tokenvalue <br>\n";
    $token = base64_encode($tokenvalue);                                                    echo "token: $token <br>\n";
    $url = "rtmp://$host/$streamer?token=".($token)."/mp4:$file";                           echo "url: $url <br>\n";        
    return $url;
}
echo "url: ".flimmithash('support/lvlt300kbps.mp4')."<br>\n"; 

I use the same values ​​as in the example, but just can't get the same digest.

md5, . .

: https://rapidshare.com/files/2581196874/Appendix.html (: https://mediaportal.level3.com/mediaWeb/help/Content/ServicesDocs-Streaming/StreamingTokenAuth/Appendix-SampleScripts.htm)

md5, sha1. sha1 , .

, , .

, : - / ?

+5
1

. , , /support/lvlt300kbps.flv md5 , secret . , FLV, .

+2