Can a NetStream publisher in Flash pause their stream?

I'm working on a streaming webcam application using Flash 8 (AS2) and Flash Media Server 3. Streaming live video is pretty trivial, but I want to give the publisher the option to pause their stream, people are watching snapshot instead of live video.

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

0


source to share


1 answer


Pause:

  ns.attachCamera(null);

      



Summary:

  ns.attachCamera(Camera.getCamera());

      

+5


source







All Articles