From 0ff4b3fd9f636939bf3752ac1174fee54108676e Mon Sep 17 00:00:00 2001 From: lu_zero Date: Wed, 19 Sep 2007 21:38:22 +0000 Subject: libnemesi support, yet another rtsp/rtp library... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24584 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cfg-common.h') 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; -- cgit v1.2.3