diff options
author | Robert Shih <robertshih@google.com> | 2015-04-08 09:06:54 -0700 |
---|---|---|
committer | Robert Shih <robertshih@google.com> | 2015-04-16 19:01:15 -0700 |
commit | 0852843d304006e3ab333081fddda13b07193de8 (patch) | |
tree | f60be26aad988e89bc135a86f6e4ae8853c69a49 /media/libmediaplayerservice/nuplayer/HTTPLiveSource.h | |
parent | 3d66eb4128aebef31bb0fa44c4d53d6122294a26 (diff) | |
download | frameworks_av-0852843d304006e3ab333081fddda13b07193de8.zip frameworks_av-0852843d304006e3ab333081fddda13b07193de8.tar.gz frameworks_av-0852843d304006e3ab333081fddda13b07193de8.tar.bz2 |
stagefright: initial timed id3 support in hls
Change-Id: I00a8a786b3f4b74742c34770edd94e937abe20a8
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/HTTPLiveSource.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/HTTPLiveSource.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h index bbb8981..9e0ec2f 100644 --- a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h +++ b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h @@ -21,6 +21,8 @@ #include "NuPlayer.h" #include "NuPlayerSource.h" +#include "LiveSession.h" + namespace android { struct LiveSession; @@ -60,6 +62,7 @@ private: enum { kWhatSessionNotify, kWhatFetchSubtitleData, + kWhatFetchMetaData, }; sp<IMediaHTTPService> mHTTPService; @@ -71,8 +74,14 @@ private: sp<ALooper> mLiveLooper; sp<LiveSession> mLiveSession; int32_t mFetchSubtitleDataGeneration; + int32_t mFetchMetaDataGeneration; + bool mHasMetadata; + bool mMetadataSelected; void onSessionNotify(const sp<AMessage> &msg); + void pollForRawData( + const sp<AMessage> &msg, int32_t currentGeneration, + LiveSession::StreamType fetchType, int32_t pushWhat); DISALLOW_EVIL_CONSTRUCTORS(HTTPLiveSource); }; |