Capture your local camera but do not share with anybody else
connection.dontAttachStream = true;
dontCaptureUserMedia is an alternative.
The only difference between the two is that "dontCaptureUserMedia" doesn't tries to capture your camera. It simply ignores making any request to the camera.