1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

Use ephemeral default ports for RTP, instead of clashing with raw UDP.

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
This commit is contained in:
Rémi Denis-Courmont 2008-03-04 20:10:18 +02:00
parent 8e19781ee1
commit 6e8c4e7cb3
2 changed files with 5 additions and 5 deletions

4
NEWS
View File

@ -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).

View File

@ -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,