• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

CloudFront RTMP not working

Foliovision › Forums › FV Player › Troubleshooting › CloudFront RTMP not working

  • Cory 9 years, 9 months ago

    Hi I’m just getting setup and have two questions:

    1) I’ve setup FV on cloudfront following the FV documentation. I can successfully play directly from S3 or from cloudfront CDN w/ an http distribution via FV player. However RTMP won’t work.

    My test shortcode looks like this and for the time being my bucket and url access restrictions are disabled on the distribution.
    [fvplayer rtmp="rtmp://xxxxx.cloudfront.net/cfx/st" rtmp_path="grading-womens.mp4" engine="flash"]

    When played the video says:
    Flash: Video file not found
    I turned on debugging and this showed up in the console:

    Mixed Content: The page at ‘xxxxxxxx’ was loaded over HTTPS, but requested an insecure plugin data ‘http://xxxxxx.cloudfront.net/fcs/ident2’. This content should also be served over HTTPS.

    Next, I took a known working, public rtmp stream and inserted it into another fv block. VLC plays this just fine: rtmp://85.132.48.75/livepkgr/livestream3
    This also does not play and essentially shows the same thing in the console.

    My whole site is https. My http cloudfront distributions are set to https. Your demo page does the same thing, but your videos load. What’s the difference? Why don’t either the public rtmp stream, nor my cloudfront rtmp stream load?

    2) Looking through the documentation I don’t understand how HLS fits in to this. I’d like to have fast streaming on all devices, and download protection.

    It seems that I can’t use my cloudfront-S3 setup and HLS together. So does HLS supersede what I just setup w/ cloudfront-s3 and rtmp? Please help me understand if HLS gets me what I want better than RTMP.

    Thanks,
    Cory

Viewing 5 replies - 1 through 5 (of 5 total)
  • Cory 10 years ago

    Actually I moved the “folder” from the rtmp_path to the rtmp variable for the Lider TV stream and now it plays. However I can’t figure out why mine doesn’t.

    Cory 10 years ago

    https://t….ion.org/video-test/
    Password is 1

    Martin 10 years ago

    Hello Cory,

    1) RTMP issue – the issue with http://xxxxxx.cloudfront.net/fcs/ident2 is not likely related as that’s not your RTMP server.

    I checked the debug info and your stream is not found. Are you sure your CloudFront for RTMP is pointed to the right S3 bucket? Are you sure https://foliovision.com/player/serving-private-cloudfront -> “Next step is bigger – you need to fill in required data:” -> “Restrict Viewer Access” is not enabled? If it is, then you should configure FV Player Pro to setup the signature for that domain as well – check “If you setup your RTMP with access restrictions, you need to enter your domain” on the above guide.

    Also check “Origin Access Identity” in the above guide – both CloudFront distributions should use the same. If you have CloudFront HTTP distribution restrict the access to the bucket and have the CloudFront RTMP work without the Restrict Viewer Access then it;s going to be a problem.

    I’m noticing there are JavaScript errors on your page which break something in jQuery, so something might be broken because of that as well.

    2) HLS and RTMP is harder to download that a video served over HTTP, but certainly not impossible. But you need to deliver the video via HTTP to allow playback for non-Android non-iOS devices non-Mac-Safari users without Flash – typically desktop computers using Windows or Linux.

    Our overview of video download protection is here: https://foliovision.com/player/protecting-video-from-downloading

    Thanks,
    Martin

    Cory 10 years ago

    1) I have confirmed that the s3 bucket is identical to the working http cloudfront stream and is the correct bucket.

    The /fcs/ident2 is pointed to the same cloudfront host as my rtmp distribution, just as it is on your demo page for your cloudfront distribution.

    Currently both restrict bucket access and restrict viewer access are both disabled for testing. However I added my rtmp domain to my FV cloudfront pro settings in addition to my http distribution domain. The access restrictions are in place and working fine for the http distribution (4th video) except on my phone, but that is my other thread.

    If there is a problem with the cloudfront distributions being different (I thought they were separate and unrelated) I will temporarily disable permissions on both… There, for now I have disabled bucket access and viewer access restrictions on the http distribution as well.

    The changes are propagating now. I will look at the javascript errors. I’ll get back to you on these two.

    2) Does HLS supersede http? What is confusing me is in the documentation I thought I understood that I am to put the HLS url into the same place where I would put the cloudfront http url.

    But looking again, I guess I use ec2 to transcode the files into a new s3 bucket, then I can make an http cloudfront distribution to pull the m3u8 playlist from that new bucket, right?

    Thanks for this document. I’m looking forward to encrypting the streams. This document doesn’t talk about cloudfront protection. I thought

    Cory 10 years ago

    1) I disabled autoptimize which was causing the javascript error. (select2.min.js). It only showed warnings after. However it made no difference to the rtmp video, so I reenabled it.

    I noticed the error message says:
    flash: Video file not found
    Video file expired. Please reload the page and play it again.

    I don’t recall if that second message said it was expired yesterday.

    ** Actually, I don’t have time to deal with this. I’m going to sign up for pro support so you guys can just make it work.

Viewing 5 replies - 1 through 5 (of 5 total)
Reply To: CloudFront RTMP not working



Please Sign in or Register to upload files.

Related Posts

  1. Serving Private Videos via CloudFront

  2. How to use RTMP streams with Flash – Deprecated

  3. Amazon CloudFront con Download Protección (English)

Primary Sidebar

Troubleshooting

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    Footer

    Our Plugins

    • FV WordPress Flowplayer
    • FV Thoughtful Comments
    • FV Simpler SEO
    • FV Antispam
    • FV Gravatar Cache
    • FV Testimonials

    Free Tools

    • Pandoc Online
    • Article spinner
    • WordPress Password Finder
    • Delete LinkedIn Account
    • Responsive Design Calculator
    Foliovision logo
    All materials © 2026 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
    • This Site Uses Cookies
    • Privacy Policy
    • Terms of Service
    • Site Map
    • Contact
    • Tel. ‭+421 2/5292 0086‬