Skip to main content
November 4, 2010
Question

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

  • November 4, 2010
  • 1 reply
  • 1452 views

How to apply this kind of logic inside FMS?

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    November 4, 2010

    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.

    November 4, 2010

    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

    ,