[vlc-devel] rtcp and udp port collision
david.glaude at gmail.com
Fri Oct 22 11:45:20 CEST 2010
There should be no problem if RTP always use EVEN number and RTCP use ODD
"When both protocols are used in conjunction, RTP is usually originated and
received on even port
whereas RTCP uses the next higher odd port number."
Maybe server (vlc), in stream_out/rtcp.c line 79 should binds port number
a+1 ... and it you make sure that "a" is even.
PS: I say this without ever looking at the source code...
2010/10/22 Sébastien Escudier <sebastien-devel at celeos.eu>
> I have a rtsp client and rtsp server on the same computer.
> The client binds port number a and a+1
> The server (vlc), in stream_out/rtcp.c line 79 binds port number a-1
> (net_GetSockAddress), and, unfortunately, it tries to bind port number a
> (a-1)++ ) which is already in use by the client.
> Any idea if this could be fixed, and how.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel