Nevermind, attachCamera(null) works just fine. Had another instance of the video object lingering so camera was still in use!
--- In [email protected], "blc187" <blc...@...> wrote: > > I have a video object that I am attaching a webcam to. > Video works, camera broadcasts fine. > > Problem is, when I close the window with the video in it, I want to be > able to shut the camera off. Right now the light on the camera is > still on to indicate it is still broadcasting. > > Documentation says to pass a null object to video.attachCamera(null) > to drop the connection to the camera. I am doing the following: > > _videoCamera.attachCamera(null); > _videoCamera.attachNetStream(null); > _videoCamera.clear(); > _videoCamera = null; > > Yet my video camera still looks like it's on and broadcasting. > Is there any other way to shut the camera itself off? >

