Skip to main content
Known Participant
Mar 25, 2010 9:56 AM UTC
Question

Running a live stream from an XML playlist

I have just successfully installed Adobe FMS on my server.

I would now like to know how to program a script to run a continuous live stream, of MP4 videos, from an XML playlist.
Can anyone tell me how to do this? ...or provide me a good tutorial? (I am a complete newbie to ActionScript.)

Thanks in advance...

    This topic is closed to new replies. Start a new post to keep the conversation going.

    20 replies

    Participating Frequently
    Jun 13, 2010 2:35 AM UTC

    I'm kind of new is FMS and I'dlike to broadcast from a server side playlis like a tv, but everything here look so confusing to me does any one have a working application or an example of tjose application

    Translate
    Participating Frequently
    Jun 14, 2010 4:31 AM UTC
    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    Mar 25, 2010 11:59 AM UTC

    Hi,

    First of all Congratulations on setting up FMS Successfully!!!

    Some how i didnot get your use case clearly. Are you trying to have a playlist of MP4 files at the server side, to which the clients can subscribe? or something else?

    Regards,

    Janaki L

    Translate
    Known Participant
    Mar 25, 2010 12:14 PM UTC

    Yes, a server-side playlist that plays MP4 videos in a Flash-based video player on a web page. An internet tv network basically.

    Translate
    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    Mar 25, 2010 1:03 PM UTC

    Hi,

    Here is the code which creates the play list at the server side.

    var myPlayListStream = Stream.get("mytv");

    if (myPlayListStream){

    myPlayListStream.play("mp4:stream1.f4v", 0, 15, true);

    myPlayListStream.play("mp4:stream2.f4v ", 0, 5, false);

    myPlayListStream.play("mp4:stream3.f4v ", 0,-1, false);

    }

    Your server side application should have the mp4 streams like mp4:stream1.f4v, mp4:stream2.f4v and mp4:stream3.f4v.

    Your client to connect to this application and start subscribing to the stream “mytv”

    NetStream.play(“mytv”);

    What is that you want to do with xml in this use case? What do you mean by “xml Playlist”?

    Regards,

    Janaki L

    Translate