[libav-devel] [PATCH 3/3] rtsp: Use a random offset for trying to open UDP ports for RTP

2012-01-21 Thread Martin Storsjö
From: Dmitry Volyntsev xeioexcept...@gmail.com This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he might keep on sending packets to that port. If we always start off trying to

Re: [libav-devel] [PATCH 3/3] rtsp: Use a random offset for trying to open UDP ports for RTP

2012-01-21 Thread John Brooks
On Sat, Jan 21, 2012 at 2:48 PM, Martin Storsjö mar...@martin.st wrote: From: Dmitry Volyntsev xeioexcept...@gmail.com This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he