Skip to main content
Known Participant
March 25, 2010
Question

Running a live stream from an XML playlist

  • March 25, 2010
  • 2 replies
  • 5839 views

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 has been closed for replies.

    2 replies

    Participating Frequently
    June 13, 2010

    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

    Participating Frequently
    June 14, 2010
    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    March 25, 2010

    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

    Known Participant
    March 25, 2010

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

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    March 25, 2010

    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