diff options
author | Andreas Huber <andih@google.com> | 2011-02-17 13:35:08 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-02-17 14:30:05 -0800 |
commit | 8cb0c4168bf4b678e4a6edfcf409247016be20d5 (patch) | |
tree | d3a274bc9913bacca91d58456697823b31bbaf93 /media/libstagefright/include/HTTPStream.h | |
parent | f71eb135c28dd7b305b7030776ef0d44fac732c4 (diff) | |
download | frameworks_av-8cb0c4168bf4b678e4a6edfcf409247016be20d5.zip frameworks_av-8cb0c4168bf4b678e4a6edfcf409247016be20d5.tar.gz frameworks_av-8cb0c4168bf4b678e4a6edfcf409247016be20d5.tar.bz2 |
Experimental support for https transfers in stagefright.
Change-Id: If1bd0f265dda136c7c34b53317f64383023b53a3
Diffstat (limited to 'media/libstagefright/include/HTTPStream.h')
-rw-r--r-- | media/libstagefright/include/HTTPStream.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libstagefright/include/HTTPStream.h b/media/libstagefright/include/HTTPStream.h index 545cd0c..09e6a5f 100644 --- a/media/libstagefright/include/HTTPStream.h +++ b/media/libstagefright/include/HTTPStream.h @@ -32,7 +32,7 @@ public: HTTPStream(); ~HTTPStream(); - status_t connect(const char *server, int port = 80); + status_t connect(const char *server, int port = -1, bool https = false); status_t disconnect(); status_t send(const char *data, size_t size); @@ -71,6 +71,9 @@ private: KeyedVector<AString, AString> mHeaders; + void *mSSLContext; + void *mSSL; + HTTPStream(const HTTPStream &); HTTPStream &operator=(const HTTPStream &); }; |