[vlc-devel] commit: Use ephemeral default ports for RTP, instead of clashing with raw UDP. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 4 19:10:44 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Tue Mar 4 20:10:18 2008 +0200| [6e8c4e7cb39657277fdd52a128962f6c0b791724]
Use ephemeral default ports for RTP, instead of clashing with raw UDP.
Signed-off-by: Rémi Denis-Courmont <rem at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e8c4e7cb39657277fdd52a128962f6c0b791724
---
NEWS | 4 ++--
modules/stream_out/rtp.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/NEWS b/NEWS
index f26560a..eebd36b 100644
--- a/NEWS
+++ b/NEWS
@@ -30,8 +30,8 @@ Important notes:
These new commands are also available in the telnet interface.
* The "rtp" access output module has been removed:
Please use the RTP stream output instead, e.g.:
- Old: '#std{access=rtp,dst=239.255.1.2,sap}'
- New: '#rtp{dst=239.255.1.2,sap}'
+ Old: '#std{access=rtp,mux=ts,dst=239.255.1.2:5004,sap}'
+ New: '#rtp{mux=ts,dst=239.255.1.2,port=5004,sap}'
* You now need to append --m3u-extvlcopt to your command line to enable
EXTVLCOPT options parsing in m3u playlists. Note that only a limited set
of options is available to m3u playlists (CVE-2007-6683).
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 712db8f..39c07ee 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -173,11 +173,11 @@ vlc_module_begin();
add_string( SOUT_CFG_PREFIX "proto", "udp", NULL, PROTO_TEXT,
PROTO_LONGTEXT, VLC_FALSE );
change_string_list( ppsz_protos, ppsz_protocols, NULL );
- add_integer( SOUT_CFG_PREFIX "port", 1234, NULL, PORT_TEXT,
+ add_integer( SOUT_CFG_PREFIX "port", 50004, NULL, PORT_TEXT,
PORT_LONGTEXT, VLC_TRUE );
- add_integer( SOUT_CFG_PREFIX "port-audio", 1230, NULL, PORT_AUDIO_TEXT,
+ add_integer( SOUT_CFG_PREFIX "port-audio", 50000, NULL, PORT_AUDIO_TEXT,
PORT_AUDIO_LONGTEXT, VLC_TRUE );
- add_integer( SOUT_CFG_PREFIX "port-video", 1232, NULL, PORT_VIDEO_TEXT,
+ add_integer( SOUT_CFG_PREFIX "port-video", 50002, NULL, PORT_VIDEO_TEXT,
PORT_VIDEO_LONGTEXT, VLC_TRUE );
add_integer( SOUT_CFG_PREFIX "ttl", 0, NULL, TTL_TEXT,
More information about the vlc-devel
mailing list