Skip to main content
Participating Frequently
August 17, 2007
Question

Any way to disconnect a specific NetStream on server-side?

  • August 17, 2007
  • 1 reply
  • 333 views
Hello,

I got a chat application and I'd like to be able to disconnect a user from a specific stream without disconnect the whole client connection. I don't want this to happen from the client Flash application as it's easily hackable and would like to be able to control this on the server. But I don't see any way to access a specific played stream between a specfic client and the server. Is there any way to do so?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    August 19, 2007
    Hmm... I don't think you can stop the client from publishing across a stream without killing the connection or relying on client side code.

    What you might consider doing is setting up the server side app so that when a client wants to view a stream, the server creates a new stream, the viewer connects to the server stream, and then the server plays the camera stream over the server stream.

    That way, you can at least prevent the camera stream from being seen by others, or having situations where other users can't get to a stream they need because another client is publishing to it when he shouldn't be.