Red5 and Flex 4 Spark VideoPlayer



Here is a little demonstration of the new spark video player in Flex 4 SDK, that plays a rtmp stream from Red5. The Flex 4 SDK is still in beta as of this date and thus there may be some issues if you use it commercially right now. I had some issues with autoplay being false. So i have tried with [autoPlay = true] instead. However i must say it works much better than Flex3 VideoDisplay component with Red5.

Get Adobe Flash player

Download Flash builder project




February 20, 2010  Tags: , , ,   Posted in: Actionscript 3.0, Flex, Red5

4 Responses

  1. greghudd - April 28, 2010

    Apr ‘10

    Hi

    Trying this (& some variants with released flex4… No joy)

    By chance have you tried this with the released code ?
    (I am trying to use <s: DynamicStreamingSource but getting timeout failures.)

    Thx. GregH

  2. admin - April 29, 2010

    “DynamicStreamingSource” was only in the beta release. Henceforth its a normal spark player component. Yo achieve dynamic streaming you need to use external rtmp application for bandwidth detection, in your flex application. then based on data recieved call the appropriate flv from you actual rtmp app. For more info read through flowplayer dynamic streaming method for a clearer understanding.

  3. dl - June 18, 2010

    StreamingVideoSource not found ?

  4. admin - June 18, 2010

    Dont know what you mean – “StreamingVideoSource not found ?” It plays seamlessly though.

Leave a Reply