Streaming media filter (RTMP)

Filters ::: filter_rtmp
Maintained by FredFred Woolard, Lacey Vickery, Michelle Melton
Part of set RTMP.
Filters URLs beginning with rtmp:// and creates a Flowplayer player using their streaming plugin.
Latest release:
42 sites
13 downloads
9 fans
Current versions available: 5

The RTMP streaming media filter is used to replace links containing URLs beginning with rtmp:// with a Flowplayer media player using their rtmp plugin. It is contributed by Lacey Vickery and Fred Woolard, and Michelle Melton.

Page output is examined for anchor href values beginning with rtmp:// and ending with a supported extension (currently .mp3, .mp4, .flv, and .f4v). Qualifying links are replaced with a div tag containing 'data-' prefixed attributes that are subsequently used by the plugin's JavaScript module to apply a Flowplayer player to the div. The Adobe Flash Player browser plugin is required.

The plugin was developed to work with Adobe's Flash Media Server, but according to Flowplayer, their RTMP plugin should work with Wowza, and Red5 as well. The plugin has been tested successfully with Amazon's Cloudfront streaming service.

Playlists are supported (v1.3). See the Playlist resource plugin for more information.

Closed captions are supported (v1.4). See additional documentation.

Primitive and limited HTML5 video and audio tags are supported in v1.5 to work in conjunction with Wowza Streaming Engine's and Adobe's FMS' HLS features.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Fred
Fred Woolard (Lead maintainer): Author
Lacey Vickery: Author
Michelle Melton: Author
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Will Taylor
    Thu, 28 Feb 2013, 4:09 AM
    I've been waiting for something like this!
    I can't get it to work tho :^( -
    with an h.264 .mp4 video optimized for streaming,
    posted in my S3 bucket with a Cloudfront streaming distribution set
    made public
    Video works with a download distribution from same bucket using the standard Moodle media filter
    but using rtmp, I receive a "201, unable to load stream or clip file ..." error.
  • Fred
    Thu, 28 Feb 2013, 4:53 AM
    Hey Will, sorry for the difficulty. We developed against a Flash Media Server, which we figured would take care of Red5, and Wowza too. Didn't consider Cloudfront, sorry. Looking at the example for Cloudfront on the Flowplayer site, I think it would be fairly trivial to fix the rendering. I'll post back here when done. Should have documented what we support currently, and we'll get that done.
  • Fred
    Thu, 28 Feb 2013, 7:27 AM
    So, the subtle difference between Cloudfront and other FMS providers is that the netConnectionUrl parameter passed to Flowplayer has one extra URL segment more, and the clip URL one less segment. Wasn't sure how best to be able to distinguish which pattern to use, so the quick and dirty cheese was to look for a 'provider=acf' param in the url.

    So a url such as the following should work:
    rtmp://s2d1943y7lj0jh.cloudfront.net/cfx/st/amazon-earthnetwork-final-121912.mp4?provider=acf

    The updated code is in github for both the 2.3 and 2.4 versions.
    https://github.com/appalachianstate/moodle-filter_rtmp

    Lemme know if there are any other problems.
  • Will Taylor
    Thu, 28 Feb 2013, 8:56 AM
    awesome! working nicely now. feels like Christmas!
  • Will Taylor
    Fri, 1 Mar 2013, 12:58 AM
    using the updated code -
    this is working fine in Safari and in Chrome -
    but not in Firefox;
    in Firefox, all I see is the text of the video file (movie.mp4) as a link,
    which links to an error page,
    "The address wasn't understood
    Firefox doesn't know how to open this address, because the protocol (rtmp) isn't associated with any program."
    An issue on my end, perhaps?
Please login to post comments