From 04d2da4d0344ac3e402170c0d7e022a4f7575253 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 16 Aug 2013 16:16:00 +0200 Subject: [PATCH] media-factory: allow all protocols --- gst/rtsp-server/rtsp-media-factory.c | 3 ++- gst/rtsp-server/rtsp-media.c | 4 ++-- gst/rtsp-server/rtsp-stream.c | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c index 89678dcb92..8216f5da71 100644 --- a/gst/rtsp-server/rtsp-media-factory.c +++ b/gst/rtsp-server/rtsp-media-factory.c @@ -63,7 +63,8 @@ struct _GstRTSPMediaFactoryPrivate #define DEFAULT_LAUNCH NULL #define DEFAULT_SHARED FALSE #define DEFAULT_EOS_SHUTDOWN FALSE -#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_TCP +#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_UDP_MCAST | \ + GST_RTSP_LOWER_TRANS_TCP #define DEFAULT_BUFFER_SIZE 0x80000 enum diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index e2ae5207ea..de13c14fa2 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -122,8 +122,8 @@ struct _GstRTSPMediaPrivate #define DEFAULT_SHARED FALSE #define DEFAULT_REUSABLE FALSE -#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_TCP -//#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP_MCAST +#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_UDP_MCAST | \ + GST_RTSP_LOWER_TRANS_TCP #define DEFAULT_EOS_SHUTDOWN FALSE #define DEFAULT_BUFFER_SIZE 0x80000 #define DEFAULT_TIME_PROVIDER FALSE diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 7d31aaa5c5..ad0be8e1a3 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -123,7 +123,8 @@ struct _GstRTSPStreamPrivate }; #define DEFAULT_CONTROL NULL -#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_TCP +#define DEFAULT_PROTOCOLS GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_UDP_MCAST | \ + GST_RTSP_LOWER_TRANS_TCP enum { -- 2.34.1