Groups | Blog | Home
all groups > macromedia flash flashcom > august 2007 >

macromedia flash flashcom : Any way to disconnect a specific NetStream on server-side?



William0275
8/17/2007 2:06:39 AM
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?
JayCharles
8/19/2007 10:28:57 PM
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.
AddThis Social Bookmark Button