Skip to main content
Jun 15, 2011 7:27 PM UTC
Question

How to Stop/ Ban Live Streams

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 is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Jun 20, 2011 12:59 PM UTC

    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

    Translate