[vlc-devel] [PATCH] rtsp: clean up multicast handling

Rémi Denis-Courmont remi at remlab.net
Mon Dec 13 22:28:30 CET 2010


On Mon, 13 Dec 2010 22:13:11 +0100, Pierre Ynard <linkfanel at yahoo.fr>
wrote:
> I had to refactor the way muxed streams are set up: am I missing some
> rationale about the special cases for SAP?
> 
> Also, if I understand correctly, RTSP multicast transport syntax expects
> a range of ports, so it can't work with muxed RTP + RTCP, can it? Or is
> it okay to give the same port twice?
> 
> Should I write a proper net_GetMcastHopLimit() function in the core and
> export it?

Why do you need an accurate TTL value in the SDP anyhow? This information
is not much use for the RTSP client. In my opinion, it's a protocol design
bug.

In fact, may I suggest we remove support for custom IPv6 hop limit, and
simplify IPv4 Time-To-Live to a single boolean option (1 or 255) across
VLC?

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list