How to get the smart record file name in the call back function

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Tesla P4
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
**• NVIDIA GPU Driver Version (valid for GPU only)**460.73.01
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

There is filesink exported in NvDsSRContext structure, please refer to /opt/nvidia/deepstream/deepstream-5.1/sources/includes/gst-nvdssr.h. You can get file name through property get.

Please pay attention the file name is set in NvDsSRStart(), so you need to get the new file name after NvDsSRStart().