mirror of https://github.com/mpv-player/mpv
Make sure -rtsp-stream-with-sctp is supported while building with libnemesi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29321 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f7d2053641
commit
2bd1990820
|
@ -82,14 +82,18 @@
|
||||||
|
|
||||||
#ifdef CONFIG_LIVE555
|
#ifdef CONFIG_LIVE555
|
||||||
{"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
{"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
||||||
|
#endif /* CONFIG_LIVE555 */
|
||||||
|
#ifdef CONFIG_LIBNEMESI || CONFIG_LIVE555
|
||||||
// -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
|
// -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
|
||||||
{"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
#elif defined (CONFIG_LIBNEMESI)
|
#else
|
||||||
{"rtsp-stream-over-tcp", &rtsp_transport_tcp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" or \"libnemesi\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||||
|
#endif /* CONFIG_LIVE555 || CONFIG_LIBNEMESI */
|
||||||
|
#ifdef CONFIG_LIBNEMESI
|
||||||
{"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
#else
|
#else
|
||||||
{"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
{"rtsp-stream-over-sctp", "-rtsp-stream-over-sctp requires the", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||||
#endif /* CONFIG_LIVE555 */
|
#endif /* CONFIG_LIBNEMESI */
|
||||||
#ifdef CONFIG_NETWORK
|
#ifdef CONFIG_NETWORK
|
||||||
{"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
|
{"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
|
||||||
{"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
|
{"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
|
||||||
|
|
Loading…
Reference in New Issue