Index: cfg-common.h =================================================================== --- cfg-common.h (Revision 22221) +++ cfg-common.h (Arbeitskopie) @@ -75,8 +75,10 @@ {"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}, + {"rtsp-live555", &rtspUseLive555, 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}, + {"rtsp-live555", "rtsp-use-live555 requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif #ifdef MPLAYER_NETWORK {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, @@ -503,6 +505,7 @@ #ifdef STREAMING_LIVE555 extern int rtspStreamOverTCP; +extern int rtspUseLive555; #endif extern int rtsp_port; extern char *rtsp_destination; Index: stream/stream_rtsp.c =================================================================== --- stream/stream_rtsp.c (Revision 22221) +++ stream/stream_rtsp.c (Arbeitskopie) @@ -43,6 +43,10 @@ #define RTSP_DEFAULT_PORT 554 +#ifdef STREAMING_LIVE555 +int rtspUseLive555=0; +#endif + extern int network_bandwidth; static int @@ -142,6 +146,10 @@ URL_t *url; extern int index_mode; +#ifdef STREAMING_LIVE555 + if (rtspUseLive555) return STREAM_UNSUPORTED; +#endif + mp_msg (MSGT_OPEN, MSGL_V, "STREAM_RTSP, URL: %s\n", stream->url); stream->streaming_ctrl = streaming_ctrl_new (); if (!stream->streaming_ctrl) Index: DOCS/man/en/mplayer.1 =================================================================== --- DOCS/man/en/mplayer.1 (Revision 22221) +++ DOCS/man/en/mplayer.1 (Arbeitskopie) @@ -1619,6 +1619,11 @@ .PD 1 . .TP +.B \-rtsp-live555 (LIVE555 only) +Used with 'rtsp://' URLs to force usage of external live555 library +instead of native rtsp demuxer. +. +.TP .B \-rtsp-port Used with 'rtsp://' URLs to force the client's port number. This option may be useful if you are behind a router and want to forward Index: DOCS/man/de/mplayer.1 =================================================================== --- DOCS/man/de/mplayer.1 (Revision 22221) +++ DOCS/man/de/mplayer.1 (Arbeitskopie) @@ -1715,6 +1715,11 @@ .PD 1 . .TP +.B \-rtsp-live555 (nur bei LIVE555) +Wird bei 'rtsp://'-URLs benutzt, um die externe live555 Bibliothek zu erzwingen +anstatt mplayers eigenen rtsp demuxer auszuprobieren. +. +.TP .B \-rtsp-port Wird bei 'rtsp://'-URLs benutzt, um die Portnummer des Clients zu erzwingen. Diese Option kann nützlich sein, wenn du hinter einem Router bist und den