rtsp: Resend new keepalive commands if they used stale auth
authorMartin Storsjö <martin@martin.st>
Mon, 12 Mar 2012 14:11:22 +0000 (16:11 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 13 Mar 2012 09:19:29 +0000 (11:19 +0200)
commitcdf9108b6ae35f597f3a7932b70be7c8cf9bd743
tree4cc6e784fe55cefe4a5266431867ac0fb4dbe880
parent2f96cc1fc41f2d3a349d55f9d2078694a6a87dc1
rtsp: Resend new keepalive commands if they used stale auth

These commands are sent asynchronously, not waiting for the reply.
This reply is parsed later by ff_rtsp_tcp_read_packet or
udp_read_packet. If the reply indicates that we used stale
authentication and need to use a new nonce, resend a new keepalive
command immediately.

This is the only request sent asynchronously, so currently there's
no other command that needs to be resent in the same way.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtspdec.c