[vlc-devel] [RFC PATCH 2/2] libvlc-module: drop the support of set base path by rtsp-host

Zhao Zhili quinkblack at foxmail.com
Sat Sep 29 15:25:56 CEST 2018


---
 src/libvlc-module.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 64e76dd..0d603dc 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -818,12 +818,6 @@ static const char *const ppsz_prefres[] = {
     "(e.g. localhost) to restrict them to a specific network interface." )
 
 #define RTSP_HOST_TEXT N_( "RTSP server address" )
-#define RTSP_HOST_LONGTEXT N_( \
-    "This defines the address the RTSP server will listen on, along " \
-    "with the base path of the RTSP VOD media. Syntax is address/path. " \
-    "By default, the server will listen on any local IP address. " \
-    "Specify an IP address (e.g. ::1 or 127.0.0.1) or a host name " \
-    "(e.g. localhost) to restrict them to a specific network interface." )
 
 #define HTTP_PORT_TEXT N_( "HTTP server port" )
 #define HTTP_PORT_LONGTEXT N_( \
@@ -1824,7 +1818,7 @@ vlc_module_begin ()
         change_integer_range( 1, 65535 )
     add_integer( "https-port", 8443, HTTPS_PORT_TEXT, HTTPS_PORT_LONGTEXT, true )
         change_integer_range( 1, 65535 )
-    add_string( "rtsp-host", NULL, RTSP_HOST_TEXT, RTSP_HOST_LONGTEXT, true )
+    add_string( "rtsp-host", NULL, RTSP_HOST_TEXT, HOST_LONGTEXT, true )
     add_integer( "rtsp-port", 554, RTSP_PORT_TEXT, RTSP_PORT_LONGTEXT, true )
         change_integer_range( 1, 65535 )
     add_loadfile("http-cert", NULL, HTTP_CERT_TEXT, CERT_LONGTEXT)
-- 
2.9.5





More information about the vlc-devel mailing list