Re: [FFmpeg-devel] [PATCH] avformat/rtsp: punch holes again after pause

2015-02-22 Thread Michael Niedermayer
On Sun, Feb 22, 2015 at 07:59:55AM +0100, Gilles Chanteperdrix wrote: > When a client behind a NAT issues a pause command, and stay paused for a > long time, the router may stop the RTP/RTCP port redirection. Resend the > hole punching packets after each PLAY command to cause the router to > restar

[FFmpeg-devel] [PATCH] avformat/rtsp: punch holes again after pause

2015-02-21 Thread Gilles Chanteperdrix
When a client behind a NAT issues a pause command, and stay paused for a long time, the router may stop the RTP/RTCP port redirection. Resend the hole punching packets after each PLAY command to cause the router to restart the port redirection in that case. Signed-off-by: Gilles Chanteperdrix ---