summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTSPConnection.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-16 13:20:02 -0800
committerAndreas Huber <andih@google.com>2011-02-16 13:21:35 -0800
commit5ef152132b477a07fa31b2ddd39f4cf7a29f68b4 (patch)
tree1628c6bc356cc5901abafab0a523d51e6b0344c4 /media/libstagefright/rtsp/ARTSPConnection.h
parentb5377f908fc3649b490406e3db34601dca2f7ac3 (diff)
downloadframeworks_av-5ef152132b477a07fa31b2ddd39f4cf7a29f68b4.zip
frameworks_av-5ef152132b477a07fa31b2ddd39f4cf7a29f68b4.tar.gz
frameworks_av-5ef152132b477a07fa31b2ddd39f4cf7a29f68b4.tar.bz2
Respond to RTSP server->client requests.
Even if it's just to tell them that we don't support any (this is optional). Change-Id: I557865ac00d0fb65ffa69363eb1eceaabe522a1a related-to-bug: 3353752
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 19be2a6..0fecf3c6 100644
--- a/media/libstagefright/rtsp/ARTSPConnection.h
+++ b/media/libstagefright/rtsp/ARTSPConnection.h
@@ -109,6 +109,8 @@ private:
status_t findPendingRequest(
const sp<ARTSPResponse> &response, ssize_t *index) const;
+ bool handleServerRequest(const sp<ARTSPResponse> &request);
+
static bool ParseSingleUnsignedLong(
const char *from, unsigned long *x);