summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/LiveSession.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-08-08 11:20:53 -0700
committerAndreas Huber <andih@google.com>2011-10-31 14:25:16 -0700
commit2aa4cc04154d82f6658fb86f394f13bb488b0468 (patch)
treeacb34f9d94cd1889abd3dd170505bf1b3e42d6c0 /media/libstagefright/include/LiveSession.h
parentf20877482fd43f3bfa267e407d67d0d796082341 (diff)
downloadframeworks_av-2aa4cc04154d82f6658fb86f394f13bb488b0468.zip
frameworks_av-2aa4cc04154d82f6658fb86f394f13bb488b0468.tar.gz
frameworks_av-2aa4cc04154d82f6658fb86f394f13bb488b0468.tar.bz2
Support new HLS byte-range extensions
Change-Id: Ic767ddea93ffcb87d83b8fbc20837486648da3d7
Diffstat (limited to 'media/libstagefright/include/LiveSession.h')
-rw-r--r--media/libstagefright/include/LiveSession.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libstagefright/include/LiveSession.h b/media/libstagefright/include/LiveSession.h
index 116ed0e..3a11612 100644
--- a/media/libstagefright/include/LiveSession.h
+++ b/media/libstagefright/include/LiveSession.h
@@ -120,7 +120,10 @@ private:
void onMonitorQueue();
void onSeek(const sp<AMessage> &msg);
- status_t fetchFile(const char *url, sp<ABuffer> *out);
+ status_t fetchFile(
+ const char *url, sp<ABuffer> *out,
+ int64_t range_offset = 0, int64_t range_length = -1);
+
sp<M3UParser> fetchPlaylist(const char *url, bool *unchanged);
size_t getBandwidthIndex();