[streaming] Re: Question about rtp ports

Rémi Denis-Courmont rem at videolan.org
Fri Sep 8 14:23:02 CEST 2006


Selon Nicky Clarkson <nicky.clarkson at gmail.com>:

> Thanks for your help. I've actually managed to sort this issue. The
> problem was that the Darwin server will only accept even UDP ports for
> some reason...

Because it uses old-style RTP semantic where there is an even port for RTP and
the next odd port for RTCP. While this makes sense for multicast streams where
you can choose the destination port(s), it is utterly stupid-broken-braindead
for unicast, where you rely on the IP stack to assign a port automatically
(no way to ask for "any even" port and the "next odd" without ugly race
conditions and other bugs). This nonsense has been addressed in RFC3605.

Now the problem is that since VLC does not support RTCP, it makes little sense
to embed a a=rtcp SDP attribute merely to signal that we don't guarantee an
even port for RTP flows.

-- 
Rémi Denis-Courmont

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list