"Input buffer is not NvBufSurface" deepstream failure on camera re-connect

there is a rtsp reconnecting issue. please refer to this topic . you can modify batched-push-timeout to improve. please refer to this FAQ to improve. especially please set “export NVSTREAMMUX_ADAPTIVE_BATCHING=yes” .