First, click the "Load cameras" button to see all of your available camera devices:
Next, select the camera device you want to use:
Then, click these buttons to start or stop the camera. If you stop the camera during the call, the camera's light will turn off.
Finally, join the room:
You can change the "enabled" property of the camera track using these buttons. Disabling a camera track makes its video unavailable to your app, but it doesn't turn the camera off. This means the camera's light stays on, and re-enabling the track is much faster, since you don't have to wait for the camera to restart.
Take a look at the setupVideo() function in the page's source code to see how to handle various MediaStreamTrack events from the camera. To leave the room, close the tab or refresh the page to start over.