deepstream-services-library icon indicating copy to clipboard operation
deepstream-services-library copied to clipboard

Refactor CSI Source constructor to generate a unique/incremental sensor_id for each source.

Open rjhowell44 opened this issue 2 years ago • 1 comments

The current implementation fixes the sensor-id to 1. Therefore, only once CSI camera can be used. The constructor will be updated to generate the unique sensor-id. Rules are as follows.

A unique sensor-id is assigned to each CSI Source on creation, starting with 0, then 1, and so on. The default setting can be overridden by calling dsl_source_decode_uri_set (new service). The call will fail if the given sensor-id is not unique. If a source is deleted, the sensor-id will be re-assigned to a new CSI Source if one is created.

rjhowell44 avatar Sep 27 '22 00:09 rjhowell44

Merged into v0.26.alpha

rjhowell44 avatar Sep 27 '22 00:09 rjhowell44