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 7843615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:36:07+00:00 2026-06-02T16:36:07+00:00

How does signed URLs work for streamed videos in Amazon CloudFront? I’m using aws_cf_signer

  • 0

How does signed URLs work for streamed videos in Amazon CloudFront?

I’m using aws_cf_signer gem, but can’t get signed urls work for rtmp streamed mp4-file. For static files, like text.txt it works fine, but not when I have streaming distribution.

Example:

I have file named test.mp4 so how do I get signed url out of signer.sign()?

E.g. signed_url = signer.sign('rtmp://xyz.cloudfront.net/test', :ending => Time.now + 3600) does not produce working url. I have tested URLs with VLC player and rtmpdump

The distribution itself is created with boto like this:

stream_dist = cf.create_streaming_distribution(origin=origin,
enabled=True,
trusted_signers=[“Self”],
comment=”test distribution”)

  • 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-06-02T16:36:09+00:00Added an answer on June 2, 2026 at 4:36 pm

    According to the AWS: Restricting End User Access doc, the format for signed RTMP urls is different from HTTP:

    With HTTP, a full URL uniquely describes an object. You can include the URL
    in the signature. The content of a streaming distribution, however, cannot always
    be described by a valid URL. In a streaming distribution, you only use the stream
    name to create a signature. For example, if your stream including the signature is:

    example/mp3_name.mp3?Expires=1258237200&Signature=TBD&Key-Pair-Id=PK12345EXAMPLE

    The value for RESOURCE is:

    example/mp3_name

    For streaming distributions, you do not include a prefix, such as mp3: or mp4:,
    for the resource name in the policy.

    Also, when referencing an MPEG file, you might have to omit the file extension for
    the URL enclosed in the signature. For example, you use mp3_name instead of mp3_name.mp3.

    I’m not sure whether aws_cf_signer gem supports signing RTMP urls, unfortunately. If you find out, please let me know!

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

Sidebar

Related Questions

I'm generating pre-signed urls with AmazonS3 .NET SDK. They were working fine but they
Is the enum type signed or unsigned? Does the signedness of enums differ between:
Does anyone know how to add an item to a list but do it
What is the difference between signed and unsigned in MySQL? And what does signed
I've just signed up for the Google group entitled Test Driven Development but it's
I'm using openssl to create self-signed certs. I'm getting this error with the certs
I have a SQL 2008 job that does database backups using a Powershell script.
More sanity checking than an actual question, so this dll is not signed? Does
After a jar is signed and the -tsa option was used, how can I
does anybody have experience with OmniAuth & Facbeook? I just moved from using a

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.