Autoselect first camera when camera_id = -1.
Add function to check camera_id.