• Gilles Chanteperdrix's avatar
    rtsp: punch holes again after pause · cdcc3702
    Gilles Chanteperdrix authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    cdcc3702
rtsp.c 88 KB