diff options
-rw-r--r-- | gst/rtsp-server/rtsp-stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 9fd3e00..f5b5cf2 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -1176,6 +1176,9 @@ create_and_configure_udpsources (GstElement * udpsrc_out[2], g_object_set (G_OBJECT (udpsrc_out[0]), "loop", FALSE, NULL); g_object_set (G_OBJECT (udpsrc_out[1]), "loop", FALSE, NULL); + g_object_set (G_OBJECT (udpsrc_out[0]), "close-socket", FALSE, NULL); + g_object_set (G_OBJECT (udpsrc_out[1]), "close-socket", FALSE, NULL); + ret = gst_element_set_state (udpsrc_out[0], GST_STATE_READY); if (ret == GST_STATE_CHANGE_FAILURE) goto error; |