How to access camera_id in gst-dsexxample

I intend to provide camera-id in source and also access it in gst-dsexample while saving detected objects , seems like its not a member of Nvds_framemeta.

How to access this parameter

Example:

[source3]
enable=0
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
#uri=file://../../../streams/sample_1080p_h264.mp4
uri=rtsp://admin:@192.168.1.12:554/mode=real&idc=1&ids=1
num-sources=1
gpu-id=0
camera-id=3
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

** bump

Have you checked this topic? How to set source_id in streammux?

Still cant figure this out

Firstly I think above topic should solve your problem, Pls specify more details about your problems if not.