[vlc-devel] Factor HTTP/HTTPS/RTSP port in core
Ross Finlayson
finlayson at live555.com
Sun Aug 14 23:28:31 CEST 2011
>> Another thing:
>>
>> + add_integer( "rtsp-port", 5554, RTSP_PORT_TEXT, RTSP_PORT_LONGTEXT,
>> true ) + change_integer_range( 1, 65535 )
>>
>> I couldn't guess whether you meant 554, or used 5554 instead of the
>> registered rtsp-alt port 8554.
>
> I don't really care. 554 would cause a lot of problems as stupid users don't
> understand the concept of "Permission denied" error on privileged ports.
According to <http://www.iana.org/assignments/port-numbers>, port number 5554 is reserved for "SGI ESP HTTP", whatever that is… This might be an obsolete protocol (or it might not), but you still shouldn't be stepping on it.
It's better to use 8554, which is specifically reserved by IANA as an 'alternate' port for RTSP. (FYI, what I do for my server app is first try 554, and then if that fails (usually because of not running as root), try 8554.)
If enough server developers use 8554 (and 554), it will (in an ideal world) encourage middleware vendors to stop blocking those ports.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110814/b62c38ff/attachment.html>
More information about the vlc-devel
mailing list