Commit 6e8c4e7c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

Signed-off-by: default avatarRémi Denis-Courmont <rem@videolan.org>
parent 8e19781e
...@@ -30,8 +30,8 @@ Important notes: ...@@ -30,8 +30,8 @@ Important notes:
These new commands are also available in the telnet interface. These new commands are also available in the telnet interface.
* The "rtp" access output module has been removed: * The "rtp" access output module has been removed:
Please use the RTP stream output instead, e.g.: Please use the RTP stream output instead, e.g.:
Old: '#std{access=rtp,dst=239.255.1.2,sap}' Old: '#std{access=rtp,mux=ts,dst=239.255.1.2:5004,sap}'
New: '#rtp{dst=239.255.1.2,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 * 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 EXTVLCOPT options parsing in m3u playlists. Note that only a limited set
of options is available to m3u playlists (CVE-2007-6683). of options is available to m3u playlists (CVE-2007-6683).
......
...@@ -173,11 +173,11 @@ vlc_module_begin(); ...@@ -173,11 +173,11 @@ vlc_module_begin();
add_string( SOUT_CFG_PREFIX "proto", "udp", NULL, PROTO_TEXT, add_string( SOUT_CFG_PREFIX "proto", "udp", NULL, PROTO_TEXT,
PROTO_LONGTEXT, VLC_FALSE ); PROTO_LONGTEXT, VLC_FALSE );
change_string_list( ppsz_protos, ppsz_protocols, NULL ); 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 ); 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 ); 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 ); PORT_VIDEO_LONGTEXT, VLC_TRUE );
add_integer( SOUT_CFG_PREFIX "ttl", 0, NULL, TTL_TEXT, add_integer( SOUT_CFG_PREFIX "ttl", 0, NULL, TTL_TEXT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment