Using Communication Objects > Camera object > Turning the camera off

 

Turning the camera off

If your application uses a Camera object attached to a NetStream object to record data, the camera will stay on after you finish recording. To turn off the camera, use NetStream.attachVideo(false) when you have finished recording.