Skip to main content
June 15, 2011
Question

How to Stop/ Ban Live Streams

  • June 15, 2011
  • 1 reply
  • 622 views

Hi,

i own a site like ustream/justin where users can register and broadcast their channels using FMLE.

Sometime i need to ban broadcasters after i recieves any complaint against any channel. I do them on website, there is no issue in that.

But how to do that on server side at FMIS.


I need to do it bcause the stream users are already watching the channel page before it got banned, they still can watch it till they do the refresh.

So i need something that can stop the Live Stream of that particular channel on FMS server too.

how can i supply stream names to main.asc that should be banned or not to allow publishing without restartting server each time.

kindly suggest something in detail

    This topic has been closed for replies.

    1 reply

    June 20, 2011

    Hi,

    You may want to have a sort of lookup table in a data structure which contains which stream name is associated to which client object. Then you need a function in main.asc which can be used to disconnect such clients. You can invoke this method to disconnect such clients using application.disconnect(clientObj)

    I think this should give you some idea to get started, Please revert back for any more clarifications.

    Thanks,

    Abhishek