diff options
author | Andreas Huber <andih@google.com> | 2010-04-08 09:17:01 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-04-08 10:09:35 -0700 |
commit | aba965fdd86dfe4c817f4d272deb24fd1fcc1446 (patch) | |
tree | 90fd2e58ae3f6392790a17460b368264083da1b7 /include/media | |
parent | a51250bdc753c02b0cae1dd83750ae6e2c1036c7 (diff) | |
download | frameworks_base-aba965fdd86dfe4c817f4d272deb24fd1fcc1446.zip frameworks_base-aba965fdd86dfe4c817f4d272deb24fd1fcc1446.tar.gz frameworks_base-aba965fdd86dfe4c817f4d272deb24fd1fcc1446.tar.bz2 |
Refactor connection/redirection code, support redirects on reconnection.
Change-Id: Id2517568000e028b01553c06a4893813a6883168
related-to-bug: 2580785
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/HTTPDataSource.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/stagefright/HTTPDataSource.h b/include/media/stagefright/HTTPDataSource.h index 83be475..ea31942 100644 --- a/include/media/stagefright/HTTPDataSource.h +++ b/include/media/stagefright/HTTPDataSource.h @@ -77,9 +77,6 @@ private: int mStartingPort; HTTPStream *mHttp; - char *mHost; - int mPort; - char *mPath; void *mBuffer; size_t mBufferLength; @@ -95,6 +92,8 @@ private: ssize_t sendRangeRequest(size_t offset); void initHeaders(const KeyedVector<String8, String8> *overrides); + status_t connectWithRedirectsAndRange(off_t rangeStart); + HTTPDataSource(const HTTPDataSource &); HTTPDataSource &operator=(const HTTPDataSource &); }; |