Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5846839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:38:01+00:00 2026-05-22T12:38:01+00:00

I am currently dealing with securing rtmp streams from Level3 CDN. The documentation can

  • 0

I am currently dealing with securing rtmp streams from Level3 CDN.

The documentation can be found here:
https://rapidshare.com/files/1450549534/Token_Components.html
(looks like you need to be logged in to view, therefore i re hosted on rapidshare. the original url is:
https://mediaportal.level3.com/mediaWeb/help/Content/ServicesDocs-Streaming/StreamingTokenAuth/TokenComponents.htm )

Scoll down to On Demand Streaming Input / Output Example ( For MP4 Files )

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

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 exact same values as in the example but just cannot get the same digest.

I used md5, because it matches the length. I also tried secret with capital and non capital s.

You can go to sample scripts here: https://rapidshare.com/files/2581196874/Appendix.html (Original: https://mediaportal.level3.com/mediaWeb/help/Content/ServicesDocs-Streaming/StreamingTokenAuth/Appendix-SampleScripts.htm )

But there is absolutely no md5 used, they use sha1. But sha1 is longer then the digest from the example.

Of course I tried to populate both versions with my values, but neither worked.

So my question is: Can anybody reproduce the example and/or tell me the digest or alter my function to work according to the example?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:38:02+00:00Added an answer on May 22, 2026 at 12:38 pm

    Their example is incorrect. The digest they give is for the file /support/lvlt300kbps.flv and can easily be generated with md5 for that filename, using the lowercase secret as the shared secret. You can see it’s identical to the digest given in the FLV example just above it in their documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently dealing with code purchased from a third party contractor. One struct
Currently I'm doing some unit tests which are executed from bash. Unit tests are
i´m currently dealing with a system where i have to track the state for
I'm currently dealing with a lot of possibly indefinite date spans, ie. StartDate EndDate
I'm currently dealing with customs messages Beans in Java. After filling in the Beans
I am currently dealing with two devices connected to the I2C bus within an
I am currently dealing with several thousand boxes that i'd like to project onto
I currently have a project where we are dealing with 30million+ keywords for PPC
I'm dealing with an issue with my current employer that has seriously made me
As part of our current database work, we are looking at a dealing with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.