When setting up smart record you fill out the params structure and one of the fields is:
params.callback = smart_record_callback;
I can see the signature of the callback is:
static gpointer smart_record_callback (NvDsSRRecordingInfo *info, gpointer userData)
How do we pass in userData - I can’t see how to set that up in the
I want to use it to pass in the source_id.
Hardware Platform (Jetson / GPU): Jetson Nano
DeepStream Version: DS5.0 developer preview