summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTSPConnection.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-11-10 14:48:20 -0800
committerAndreas Huber <andih@google.com>2011-11-10 15:10:15 -0800
commit0fbe0577cfeda28bd016110e670708cce0752044 (patch)
tree605a833a1985f4a0fcdf821f5d7a18a2b6039f96 /media/libstagefright/rtsp/ARTSPConnection.h
parent1dc0ab1d2e2c5f40193556ad1239e304563f3083 (diff)
downloadframeworks_av-0fbe0577cfeda28bd016110e670708cce0752044.zip
frameworks_av-0fbe0577cfeda28bd016110e670708cce0752044.tar.gz
frameworks_av-0fbe0577cfeda28bd016110e670708cce0752044.tar.bz2
Disconnect on socket error on the RTSP control connection.
Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b
Diffstat (limited to 'media/libstagefright/rtsp/ARTSPConnection.h')
-rw-r--r--media/libstagefright/rtsp/ARTSPConnection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTSPConnection.h b/media/libstagefright/rtsp/ARTSPConnection.h
index 5cb84fd..68f2d59 100644
--- a/media/libstagefright/rtsp/ARTSPConnection.h
+++ b/media/libstagefright/rtsp/ARTSPConnection.h
@@ -91,6 +91,8 @@ private:
AString mUserAgent;
+ void performDisconnect();
+
void onConnect(const sp<AMessage> &msg);
void onDisconnect(const sp<AMessage> &msg);
void onCompleteConnection(const sp<AMessage> &msg);