summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 00d2163097..1fde9d2f6b 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -74,6 +74,9 @@
{"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
// -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
{"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+#elif defined (LIBNEMESI)
+ {"rtsp-stream-over-tcp", &rtsp_transport_tcp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
#else
{"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
@@ -502,6 +505,10 @@ extern m_option_t lavfdopts_conf[];
#ifdef STREAMING_LIVE555
extern int rtspStreamOverTCP;
#endif
+#ifdef LIBNEMESI
+extern int rtsp_transport_tcp;
+extern int rtsp_transport_sctp;
+#endif
extern int rtsp_port;
extern char *rtsp_destination;