Skip to main content
Jan 13, 2013 6:42 PM UTC
Question

how would i do a playlist on fms

Hi there on my fms i would like to get a playlist up so when the stream is not live, a playlist it going with the flv's  or f4v that ive uploaded how would i do this can i have advice please ?

thanks

gary

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

    1 reply

    Jan 15, 2013 7:28 AM UTC

    Hi Gary,

    On the server side you could create a playlist in the application.onUnpublish function as follows :

    application.onUnpublish = function(){

      myStream = Stream.get("playlist");  

      myStream.play("sample",0,-1,true );

      myStream.play("mp4:sample1_150kbps.f4v", 0, -1, false);

    }

    Let me know if this helps.

    Thanks,

    Apurva

    Translate