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

Foliovision

Main navigation

  • 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 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 9 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 9 years ago

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

    Martin 9 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 9 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 9 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)

    Amazon CloudFront con Download Protección (English)

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

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 © 2025 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‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!