How to make two instances of the same camera


I am working with a Jetson TX2 + CSI camera, and i was wondering if could make two instances of the same camera, and work whit it simultaneously, if this is possible, can you tell me how?

Thank You.

Please refer to tegra_multimedia_api\samples\09_camera_jpeg_capture
There is one preview stream and one capture stream in the sample. You can modify to create two streams for your usecase.