diff options
author | Andreas Huber <andih@google.com> | 2010-08-24 14:33:58 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-08-24 14:33:58 -0700 |
commit | e0dd7d396051942ccce0429d7a1fe968d63ac3f7 (patch) | |
tree | dfe5de72af89f0054c966a4c9f17bee19c4cee6b /media/libstagefright/include | |
parent | 3294d44b96f63f647fba3a03604eb028e28a42bc (diff) | |
download | frameworks_base-e0dd7d396051942ccce0429d7a1fe968d63ac3f7.zip frameworks_base-e0dd7d396051942ccce0429d7a1fe968d63ac3f7.tar.gz frameworks_base-e0dd7d396051942ccce0429d7a1fe968d63ac3f7.tar.bz2 |
A first shot at proper support for seeking of rtsp streams.
Change-Id: I9604f2d09feedc0074c0e715be58e719d4483760
related-to-bug: 2556656
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/ARTSPController.h | 2 | ||||
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/ARTSPController.h b/media/libstagefright/include/ARTSPController.h index 2542e4e..7020564 100644 --- a/media/libstagefright/include/ARTSPController.h +++ b/media/libstagefright/include/ARTSPController.h @@ -33,6 +33,8 @@ struct ARTSPController : public MediaExtractor { status_t connect(const char *url); void disconnect(); + void seek(int64_t timeUs); + virtual size_t countTracks(); virtual sp<MediaSource> getTrack(size_t index); diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index 55e2c36..49b5c78 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -180,6 +180,7 @@ private: sp<ALooper> mLooper; sp<ARTSPController> mRTSPController; + int64_t mRTSPTimeOffset; sp<ARTPSession> mRTPSession; sp<UDPPusher> mRTPPusher, mRTCPPusher; |