I have a c++ Application where I have a gstreamer Pipeline using nvarguscamerasrc.
At runtime, I need to change the camera.
I was wondering if it is possible to change the sensor_id property of the nvarguscamerasrc at runtime or if it is
recommended to stop the pipeline and create a new pipeline with the different sensor-id.
it’s not supported via gstreamer pipeline with nvarguscamerasrc,
you must terminate the camera stream (i.e. sensor-id=0), and re-initial a new camera stream (i.e. sensor-id=1).
there’s a sample application
argus_camera, which has user-interface for selecting/launching different sensor nodes at runtime.
you may download MMAPI,
$ sudo apt install nvidia-l4t-jetson-multimedia-api
jetson_multimedia_api/argus/README.TXT for the instructions to build the Argus samples.