Skip navigation
arasakumar p
Currently Being Moderated

Webcam runs in background even after the netstream is closed

Nov 10, 2013 10:47 PM

Hi All,


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


  • Currently Being Moderated
    Nov 13, 2013 8:04 AM   in reply to arasakumar p

    Possibly the Camera object is still attached to the NetStream.



    Add this to a NetStream.Status.Closed event handler:






    I hope this helps.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points