summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-08 09:29:14 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:07:16 +0200
commit8de983fe7f447d5b5a567dc9947184d19f1b6095 (patch)
tree1a41929ee211b0e881518e2f4c2df68ec9fc34f7 /cfg-common-opts.h
parentc280fd08c3ee5b81dc3ef83d274cd9972c5c29bc (diff)
downloadmpv-8de983fe7f447d5b5a567dc9947184d19f1b6095.tar.bz2
mpv-8de983fe7f447d5b5a567dc9947184d19f1b6095.tar.xz
rtsp: Support RTSP/RTP over HTTP via LIVE555
Patch by Malte Särner, malte D sarner A multiq se git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31347 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix compilation with nemesi and live555. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31348 b3059339-0415-0410-9bf9-f77b7e298cf2
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