Skip to main content
Nov 4, 2010 7:31 AM UTC
Question

How to terminate a live stream after N minute at server side?

How to apply this kind of logic inside FMS?

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

    6 replies

    Participating Frequently
    Nov 4, 2010 7:44 AM UTC

    How are you publishing the livestream? If you are doing server-side play of VOD file - then you can decide to play it "N" minutes at the start itself when you issue play or you can use setInterval. If you using FMLE, you can send unpublish command back after N minutes using setInterval.

    Translate
    Nov 4, 2010 3:57 PM UTC

    Hi se_0208,  I have the same problem as this guy! people using the cam and not turning it off when they leave their pc.   I use flash media encoder and fms with flv playback component....... could you please post the code for the setinterval function to stop cam after 3 mins or so.......I've been googling it but with no luck .... thanks

    ,

    Translate