We are having an application for capturing live video from presenter and broadcasting to a viewer. We have coded this using flex as3 and the server is Adobe Media Server. When a broadcasting happens and suddenly the presenter stops the video, the video display becomes blank as i have given the code and also i have closed the netstream by giving
videoDisplay.visible = false;
_video = null;
But still the webcam runs in background and capturing the video. I can see the increase in size of video in the server. Is there any possible way to stop webcam from capturing the video when it si set to off?
Thanks in advance
Possibly the Camera object is still attached to the NetStream.
Add this to a NetStream.Status.Closed event handler:
I hope this helps.