Skip to main content
June 29, 2010
Question

SMIL File / Flash Video Object / Netstream

  • June 29, 2010
  • 1 reply
  • 1174 views

Hi all!


I have build a streaming video player bassed on the flash Video Object and netstream. The company that provides the streaming have now gone over to Dynamic Streaming and uses SMIL files. Usually this is not a problem if i had used a FLVPlayback component, But now that my player is a Video Object i just can't get it to work.

I don't want to rebuild the entire player based on FLVPlayback component since the current play have many functions.

Have anyone built a Dynamic player based on Video object? Anyone that can help me with this?

Oh yeay. I use AS2  I know i'm going over to AS3 but this player in built in as2


Looking forward to see how this can be solved

    This topic has been closed for replies.

    1 reply

    June 29, 2010

    Hi,

    I don't think there is a direct way of using SMIL files with Video Object like it can be used with FLVPlayback component.

    Also its much easier to accomplish dynamic streaming using AS3 than AS2.

    With the current AS2 implementation you might have to parse the contents of smil file store the details of different bitrate media available in the FMS app.

    Some amount of coding would be needed to leverage the QoS metrics which can be accessed from NetStream object when Flash Player 10 is used. And then based on what the metrics indicate pick an appropriate bitrate file to switch to.

    This article mentions how to use AS2 for dynamic streaming : http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_actionscript.html

    Hoping to see if anyone else have tried to do it already so that it may prove helpful to you.

    In case you are looking to port your video player to AS3 , here are some useful links:

    http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_advanced_pt1.html

    Now there is also an Open Source Media Framework which you can leverage to build media players easily.

    http://www.adobe.com/devnet/flash/articles/video_osmf_streaming.html

    Regards

    Mamata

    June 30, 2010

    Thank you for the answer!
    After beeing googling it for a lobg time and not finding anything, that's what i thought also.

    I'll wait and see if anyone else have any answers. I'll also check out the AS3.