added ability to pass in device ID for cameras