High latency in RTSP output for deepstream default app

you are using x264enc to do software encoding, which has no idrinterval property . x264enc plugin is opensource. please refer to this code.
g_object_set (G_OBJECT (bin->encoder), “key-int-max”, 60, NULL);