summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/ARTSPController.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-09-01 15:05:28 -0700
committerAndreas Huber <andih@google.com>2010-09-01 15:05:28 -0700
commitc9e894872c298b25fe9d74e68aa1e7287a541ac3 (patch)
tree3b5eba501373e765f359e83e3102af109b0ccd1a /media/libstagefright/include/ARTSPController.h
parentbcbe5af62aad9d1ef64f799fcde58ac9a8adace8 (diff)
downloadframeworks_av-c9e894872c298b25fe9d74e68aa1e7287a541ac3.zip
frameworks_av-c9e894872c298b25fe9d74e68aa1e7287a541ac3.tar.gz
frameworks_av-c9e894872c298b25fe9d74e68aa1e7287a541ac3.tar.bz2
Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data.
Change-Id: Ice8564e902e48c89c9c00f6651c5504b3c41fcad related-to-bug: 2556656
Diffstat (limited to 'media/libstagefright/include/ARTSPController.h')
-rw-r--r--media/libstagefright/include/ARTSPController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/include/ARTSPController.h b/media/libstagefright/include/ARTSPController.h
index 7016880..300d8f7 100644
--- a/media/libstagefright/include/ARTSPController.h
+++ b/media/libstagefright/include/ARTSPController.h
@@ -42,6 +42,7 @@ struct ARTSPController : public MediaExtractor {
size_t index, uint32_t flags);
int64_t getNormalPlayTimeUs();
+ int64_t getQueueDurationUs(bool *eos);
void onMessageReceived(const sp<AMessage> &msg);