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?
From stackoverflow
-
Pause:
ns.attachCamera(null);Resume:
ns.attachCamera(Camera.getCamera());Herms : I'll give that a try, thanks.Herms : Yep, that worked perfectly.
0 comments:
Post a Comment