msgbartop
Various ramblings-on, mostly about Red5
msgbarbottom

19 Jul 11 Dynamic streaming with Red5

I will dub this feature beta only because I’m not sure that my handling or signaling is “exactly” right yet. The latest revision is now 4245 and those of you with the skills may use this version to stream like the pros do with FMS and Wowza.. dynamically! Be aware that Q0S is not implemented yet so hold your bugs saying it doesn’t work for now.  The following transitions are currently supported:

  • NetStreamPlayTransitions.RESET – Clears any previous play calls and plays the specified stream immediately.
  • NetStreamPlayTransitions.APPEND – Adds the stream to a playlist and begins playback with the first stream.
  • NetStreamPlayTransitions.APPEND_AND_WAIT – Builds a playlist without starting to play it from the first stream.
  • NetStreamPlayTransitions.SWITCH – Switches from playing one stream to another stream, typically with streams of the same content.
  • NetStreamPlayTransitions.SWAP – Replaces a content stream with a different content stream and maintains the rest of the playlist.
  • NetStreamPlayTransitions.STOP – Stops playing the streams in a playlist.

With any new feature there will be bugs, so bare with us and we’ll get them fixed up as soon as possible. Post any issues (with test code if you have some) to the issue tracker.

Lastly, without the help of Dan Rossi and Abhinav Kapoor’s post (http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_actionscript.html) this would have been a much longer endeavor. Mucho gracias to Infrared5 for allowing me to work on this and other Red5 features. All the testing so far was accomplished with Flowplayer v3.2.6.



Reader's Comments

  1. |

    […] Read more: Dynamic streaming with Red5 […]

  2. |

    hi
    I am very happy when I see your blog.
    I am stuck on the “combined streams”.

    I use flowplayer and red5 0.9.1 on ubuntu 11.4.

    I follow the instruction on the web page http://flowplayer.org/plugins/streaming/rtmp.html

    I have tried following two cases.
    It doesn’t work properly.
    Only the “last clip” is played. And Flowplayer shows correct duration(20 seconds)

    streams: [
    { url: ‘20110608093228.mov’ , duration: 10},
    { url: ‘20110608093128.mov’ , duration: 10}
    ]

    streams: [
    { url: ‘20110608093228.mov’ , start: 0, duration: 10},
    { url: ‘20110608093128.mov’ , start: 0, duration: 10}
    ]

    Is your “Dynamic streaming with Red5″ the solution for my problem?

    Martin



Leave a Comment


Fatal error: Call to undefined function akismet_counter() in C:\xampp\htdocs\paulgregoireblog\wp-content\themes\googlechrome\footer.php on line 9