fun switchCamera(): Unit
Helper function to switch from front to back cameras or reverse. This also switches from any external cameras to the front camera.