New file for camera access using getUserMedia API