summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 614392a0b9..aa0f07d237 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -93,6 +93,9 @@
#ifdef CONFIG_LIVE555
{"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
+ {"rtsp-stream-over-http", &rtsp_transport_http, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+#else
+ {"rtsp-stream-over-http", "-rtsp-stream-over-http requires the \"LIVE555 Streaming Media\" library.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif /* CONFIG_LIVE555 */
#if defined(CONFIG_LIBNEMESI) || defined(CONFIG_LIVE555)
// -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP