views:

653

answers:

1

I'm working on a webcam video streaming application utilizing Flash 8 (AS2) and Flash Media Server 3. Streaming the video live is fairly trivial, but I want to give the publisher the ability to pause their stream, effectively giving the people watching a snapshot instead of realtime video.

NetStream has a pause() method, but the documentation says it only applies to subscribers. Is there any way to pause the publishing of a stream?

+2  A: 

Pause:

  ns.attachCamera(null);

Resume:

  ns.attachCamera(Camera.getCamera());
tst
I'll give that a try, thanks.
Herms
Yep, that worked perfectly.
Herms