• 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

How to use RTMP streams with Flash

[Solved]

Foliovision › Forums › FV Player › How to … › How to use RTMP streams with Flash

  • Alfons verreijt 8 years, 4 months ago

    I was running a free version of flowplayer on my wordpress site to do live broadcasts. And it worked great! But when I updated the plugin, it stopped working. Have been trying to solve it for two days now, to no avail. I am willing to buy a license, but are there any guarantees it will work again? I mean, the free version is the same coding, right? So do i need to spend another 70 dollars to get someone to look at it to fix it? Or is the broken rtmp a known bug, and there is a solution being made as we speak?

Viewing 16 replies - 1 through 16 (of 16 total)
  • Alfons verreijt 8 years ago

    i am restoring an older backup now, so it will work again. But I am not quite confident, a future update of the plugin wont’t ruin it again. If you would want to investigate this problem, please feel free to contact me to get my login data. Cheers, have a nice weekend!

    Eduard 8 years ago
    Avatar photo

    Hi Alfons,

    Thank you for the bug report. I have tested HLS live streaming (last video in this demo) and RTMP in this demo and everything works fine. Is there any chance that there is an issue on the source end of your streams?

    It would be a great help if you sent us a link to your page where the problem has occurred, then we eventually might move to checking the backend.

    Thanks,
    Eduard

    Alfons verreijt 8 years ago

    Hi, my problem seems solved. But as soon as i upgraded to the latest version, the live stream did not work anymore.

    I have these settings in fv player:

    `[fvplayer src="http://81.171.19.137/live/test/index.m3u8" rtmp="rtmp://81.171.19.137/" rtmp_path="/live/test" live="true" width="600" height="380"]`

    and on my VPS, I run ngnix with this script:

    worker_processes  1;
    error_log  logs/error.log debug;
    events {
    worker_connections  1024;
    }
    rtmp {
    server {
    listen 1935;
    allow play all;
    
    #creates our "live" full-resolution HLS videostream from our incoming encoder stream and tells where to put the HLS video manifest and video fragments
    application live {
    allow play all;
    live on;
    record all;
    record_path /video_recordings;
    record_unique on;
    hls on;
    hls_nested on;
    hls_path /HLS/live;
    hls_fragment 10s;
    
    #creates the downsampled or "trans-rated" mobile video stream as a 400kbps, 480x360 sized video
    exec ffmpeg -i rtmp://81.171.19.137:1935/$app/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 480x360 -b:v 400k maxrate 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://81.171.19.137:1935/mobile/$;
    }
    
    #creates our "mobile" lower-resolution HLS videostream from the ffmpeg-created stream and tells where to put the HLS video manifest and video fragments
    application mobile {
    allow play all;
    live on;
    hls on;
    hls_nested on;
    hls_path /HLS/mobile;
    hls_fragment 10s;
    }
    
    #allows you to play your recordings of your live streams using a URL like "rtmp://my-ip:1935/vod/filename.flv"
    application vod {
    play /video_recordings;
    }
    }
    }
    
    http {
    include       mime.types;
    default_type  application/octet-stream;
    
    server {
    listen 80;
    server_name 81.171.19.137;
    
    #creates the http-location for our mobile-device HLS stream - "http://my-ip/mobile/my-stream-key/index.m3u8"
    location /mobile {
    types {
    application/vnd.apple.mpegurl m3u8;
    }
    alias /HLS/mobile;
    add_header Cache-Control no-cache;
    }
    
    #allows us to see how stats on viewers on our Nginx site using a URL like: "http://my-ip/stats"
    location /stats {
    stub_status;
    }
    
    #allows us to host some webpages which can show our videos: "http://my-ip/my-page.html"
    location / {
    root   html;
    index  index.html index.htm;
    }
    }
    }
    
    

    I wil update to the latest fv again, I hope it works now.. If not, any help is highly appreciated! I will keep you informed. Cheers!

    • This reply was modified 8 years, 4 months ago by Alec Kinnear.
    • This reply was modified 8 years, 4 months ago by Alec Kinnear. Reason: adding code
    Alfons verreijt 8 years ago

    i updated the fv player plugin to the latest version. And the stream is broken again : (

    Could you be so kind to check if I did something wrong?

    screenshot-09-01-17-154612
    Screenshot-09-01-17-154612
    Martin 8 years ago

    Hello Alfons,

    the important change in FV Player 6.0.5.15 was (citing from the change log https://foliovision.com/player/changelog): “Bugfix – RTMP – making sure it takes priority over other formats to prevent browser from trying to load HLS in Flash engine”

    We did this so that if there is a player with HLS and RTMP the Flash player would pick the RTMP format over HLS, as HLS has higher requirements when loading in Flash.

    What happens to you suggests that your RTMP stream is actually not working and perhaps it never as browser were picking MP4 video instead.

    Please check if it plays if you remove the RTMP stream from that player.

    Since FV Player plays HLS streams with proper crossdomain.xml file in Flash, you don’t really need RTMP if you can meet these requirements: https://foliovision.com/player/video-hosting/hls

    Thanks,
    Martin

    Alfons verreijt 8 years ago

    if I remove the rtmp stream, it works on desktop and ios. Not on Android.

    But when I go back to the previous fv version, and add the rtmp stream, it works on ios AND android. So the latest fv is not a real improvement for me, I guess.

    I did place the crossdomain.xml in the folder from where I stream th HLS.

    #edit i also put the file in /HLS/live/test and in /HLS/live

    still, no result on android…..

    tomorrow night (wednesday) is my next broadcast. But I can roll back the server to the previous version of fv. I hope I have a solution earlier, though….

    Cheers,

    Alfons

    Alfons verreijt 8 years ago

    Wow! I cracked it. The problem was entirely my fault!

    [fvplayer src="http://81.171.19.137/live/test/index.m3u8" rtmp="rtmp://81.171.19.137:1935/HLS/live" rtmp_path="test" live="true" splash="http://vocalfeedbackacademy.vocalmedia.nl/wp-content/uploads/2016/11/cropped-VFMLogo2016-Diapositief-1280.png" width="600" height="380"]

    instead of:

    [fvplayer src="http://81.171.19.137/live/test/index.m3u8" rtmp="rtmp://81.171.19.137:1935/live" rtmp_path="test" live="true" splash="http://vocalfeedbackacademy.vocalmedia.nl/wp-content/uploads/2016/11/cropped-VFMLogo2016-Diapositief-1280.png" width="600" height="380"]

    the bug in the previous version somehow allowed the wrong stream to be played. But since you fixed it, the code was tried first. And that code was faulty.

    I guess now is the time for me to buy a license.

    One more question though: is it possible to play stored videos (VOD) with fv without the viewer downloading the video simply by rightclicking? I know jwplayer does that, i already use that, but I would rather stick to only one player. Which would be fv ofcourse.

    thanks for your support!

    Alfons Verreijt

    • This reply was modified 8 years, 4 months ago by Alec Kinnear. Reason: code formatting
    Alfons verreijt 8 years ago

    I thought it worked. I cheered too early.

    I added rtmp with the right code. And in Android, it only works on the built in webbrowser. Not on chrome……

    Martin 8 years ago

    Hello Alfons,

    you can read our overview of video download protection techniques here: https://foliovision.com/player/securing-your-video/protecting-video-from-downloading

    What browser/extension do you use if it allows you to download the video with a right click? Or do you mean you use the browser developer console to get the video URL and download it here? Please let us know where we can see your JW Player setup which prevents that. Perhaps it is just using a HLS stream for VOD.

    We offer encrypted HLS support, so even if somebody knows how to download a HLS stream, it won’t play: https://foliovision.com/player/demos/encrypted-hls-stream

    Regarding the Android Chrome issue – the first player here uses RTMP as well as other formats: https://foliovision.com/player/demos/cloudfront-download-protection The RTMP is only picked in browser with Flash, the other ones do for the MP4 or WebM.

    I also setup a demo with both RTMP and HLS: https://foliovision.com/player/demos/hls-stream -> RTMP Then HLS

    Both play properly for me on Android 4.4.4 with Chrome 55.

    Thanks,
    Martin

    Alec Kinnear 8 years ago
    Avatar photo

    Thanks Alfons for your detailed notes.

    Alfons we’ll work with you on format priority until we get the fallback working just right. Mobile playback and formats are a moving target: we tune the priorities to stay up to date with best practices, along with existing browser technologies, security methods and current devices.

    Alfons verreijt 8 years ago

    Dear Alec,
    tonight I was set up and ready to start my weekly live stream from my website. There was nothing visible anymore in fvplayer. I checked my stream from OBS to my VPS. That was fine: I saw flv files being created, which I could download and look at. So the server was recieving the right signal. But between the server and the website, there was something wrong. I checked the script of fv player. That had not changed since last week, when I did my last broadcast. Then I saw fv player offered to be updated. So I guessed, maybe that could help. But it didn’t. So I am stuck here. Not a single setting has changed since my last working broadcast. So please help me out on this one. Thanks!

    Alfons Verreijt

    Martin 8 years ago

    Hello Alfons,

    I see you purchased Pro support for our help with the configuration of this. I’ll check the issue and follow up in the private ticket we have with you.

    Thanks,
    Martin

    Adeleke Olawale 6 years ago

    i have tried all the possible syntax and my stream is not coming up
    my rtmp server address is like this

    rtmp://xx.xx.xxx.xxx:bbbb/live/hgs.mp4
    and can’t get it work

    Martin 6 years ago

    Hello Adeleke,

    can you get it to play here? https://www.wowza.com/testplayers

    What RTMP messages do you see on browser console once you execute this command on it and play the stream afterwards?

    localStorage.flowplayerDebug = true

    Thanks,
    Martin

    Vj Abnormal 6 years ago

    im not able to get fvplayer to stream from woowza streaming engine on my web page

    Martin 6 years ago

    Hello Vj,

    please use our video checker and submit the report using that: https://foliovision.com/player/basic-setup/how-to-use-video-checker

    Thanks,
    Martin

Viewing 16 replies - 1 through 16 (of 16 total)
Reply To: How to use RTMP streams with Flash



Please Sign in or Register to upload files.

Related Posts

  1. How to use RTMP streams with Flash – Deprecated

  2. Wie benutzt man RTMP stream mit Flash

  3. Cómo usar RTPM stream con Flash

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!