rtspconnection: Handle closed POST socket in tunneling
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 6 Apr 2010 08:55:42 +0000 (10:55 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 6 Apr 2010 08:59:39 +0000 (10:59 +0200)
commit318fbf33102aa3c33194fa08aed38bc9e94e8642
tree964387c455cb631d712373fa9ceda54bc4fa8ad2
parentf2a0dd38b012eca31c959fc695fd9405e4333217
rtspconnection: Handle closed POST socket in tunneling

Catch more socket errors.
Rework how sockets are managed in the GSource, wake up the maincontext instead
of adding/removing the sockets from the source.
Add callback for when the tunnel connection is lost. Some clients (Quicktime
Player) close the POST connection in tunneled mode and reopen the socket when
needed.

See #612915
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspconnection.h