comparison cfg-mplayer.h @ 17650:d6e575c86bb8

Allows the LIVE555 library to forces the client's port to be used when reading from an RTP/RTSP source. Patch from Benjamin Zores <ben@geexbox.org> and Patrick Labatut <plabatut@gmail.com>
author bertrand
date Sun, 19 Feb 2006 13:27:27 +0000
parents 3aea4bdfd0d0
children 52f95509cd05
comparison
equal deleted inserted replaced
17649:a6a8b4287538 17650:d6e575c86bb8
84 #endif 84 #endif
85 85
86 #ifdef STREAMING_LIVE555 86 #ifdef STREAMING_LIVE555
87 extern int isSDPFile; 87 extern int isSDPFile;
88 extern int rtspStreamOverTCP; 88 extern int rtspStreamOverTCP;
89 extern int rtsp_port;
89 #endif 90 #endif
90 91
91 #ifdef HAVE_NEW_GUI 92 #ifdef HAVE_NEW_GUI
92 extern char * skinName; 93 extern char * skinName;
93 extern int enqueue; 94 extern int enqueue;
294 295
295 #ifdef STREAMING_LIVE555 296 #ifdef STREAMING_LIVE555
296 {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, 297 {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
297 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP 298 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
298 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 299 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
300 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
299 #else 301 #else
300 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 302 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
303 {"rtsp-port", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
301 #endif 304 #endif
302 305
303 //---------------------- mplayer-only options ------------------------ 306 //---------------------- mplayer-only options ------------------------
304 307
305 #ifdef CRASH_DEBUG 308 #ifdef CRASH_DEBUG