diff options
author | Andreas Huber <andih@google.com> | 2010-09-01 15:05:28 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-09-01 15:05:28 -0700 |
commit | c9e894872c298b25fe9d74e68aa1e7287a541ac3 (patch) | |
tree | 3b5eba501373e765f359e83e3102af109b0ccd1a /media/libstagefright/rtsp/APacketSource.h | |
parent | bcbe5af62aad9d1ef64f799fcde58ac9a8adace8 (diff) | |
download | frameworks_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/rtsp/APacketSource.h')
-rw-r--r-- | media/libstagefright/rtsp/APacketSource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/APacketSource.h b/media/libstagefright/rtsp/APacketSource.h index 3833ab1..076ddc4 100644 --- a/media/libstagefright/rtsp/APacketSource.h +++ b/media/libstagefright/rtsp/APacketSource.h @@ -50,6 +50,8 @@ struct APacketSource : public MediaSource { void setNormalPlayTimeMapping( uint32_t rtpTime, int64_t normalPlayTimeUs); + int64_t getQueueDurationUs(bool *eos); + protected: virtual ~APacketSource(); |