diff options
author | Apurupa Pattapu <apurupa@codeaurora.org> | 2015-07-07 12:27:10 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:24:30 -0600 |
commit | 0c4d3ced0a20b5cef6c51410754b40d4254f596b (patch) | |
tree | d6fd24c95573ca43af5c96325fb7bd61664b8836 /include/media | |
parent | daef932059bbeaf1b88a8871f348be128fdf0bfe (diff) | |
download | frameworks_av-0c4d3ced0a20b5cef6c51410754b40d4254f596b.zip frameworks_av-0c4d3ced0a20b5cef6c51410754b40d4254f596b.tar.gz frameworks_av-0c4d3ced0a20b5cef6c51410754b40d4254f596b.tar.bz2 |
Stagefright: Extensions for HTTP progressive streaming.
- Extend NuPlayer setDataSource for streaming
- Create ExtendedCachedSource only for MediaPlayer streaming
usecases by passing a flag to DataSource to use extended cache
- Add extension for MediaHTTP
Change-Id: Ic87c3744bf905eb8742863951b809e38d0a60339
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/DataSource.h | 3 | ||||
-rw-r--r-- | include/media/stagefright/MediaHTTP.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/media/stagefright/DataSource.h b/include/media/stagefright/DataSource.h index dcde36f..0c31e72 100644 --- a/include/media/stagefright/DataSource.h +++ b/include/media/stagefright/DataSource.h @@ -51,7 +51,8 @@ public: const char *uri, const KeyedVector<String8, String8> *headers = NULL, String8 *contentType = NULL, - HTTPBase *httpSource = NULL); + HTTPBase *httpSource = NULL, + bool useExtendedCache = false); static sp<DataSource> CreateMediaHTTP(const sp<IMediaHTTPService> &httpService); static sp<DataSource> CreateFromIDataSource(const sp<IDataSource> &source); diff --git a/include/media/stagefright/MediaHTTP.h b/include/media/stagefright/MediaHTTP.h index 006d8d8..88683bd 100644 --- a/include/media/stagefright/MediaHTTP.h +++ b/include/media/stagefright/MediaHTTP.h @@ -54,7 +54,7 @@ protected: virtual String8 getUri(); virtual String8 getMIMEType() const; -private: +protected: status_t mInitCheck; sp<IMediaHTTPConnection> mHTTPConnection; |