mirror of https://github.com/FFmpeg/FFmpeg.git
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 before each PLAY command to cause the router to restart the port redirection in that case. Move the existing code for sending the packets from the SETUP phase to the PLAY phase. Signed-off-by: Martin Storsjö <martin@martin.st>pull/113/head^2
parent
061c489895
commit
cdcc370293
2 changed files with 12 additions and 7 deletions
Loading…
Reference in new issue