I am using facenet with TensorRT for face recognition on jetson nano everything is working fine until my rtmp server restarts whenever it restarts I got this error on nano “rtmpsink could not write to resource” I tried googling how to reconnect to rtmp server if it fails but didn’t get any proper solution. Any suggestions from here regarding this?
I am using below pipeline
appsrc ! videoconvert ! x264enc speed-preset=ultrafast tune=zerolatency ! flvmux streamable=true ! \ rtmpsink location=rtmp://IPADDRESS:1935?pwd=2021
Thanks in advance.