Open and close camera when starting and stopping the session.
Added error message if the camera could not be opened.