diff options
author | Robert Shih <robertshih@google.com> | 2014-07-29 19:25:10 -0700 |
---|---|---|
committer | Robert Shih <robertshih@google.com> | 2014-11-06 21:44:23 +0000 |
commit | 89bf2525c5b57f17260de5b00c5f3f78ac4b881e (patch) | |
tree | f974b0e3b0b40dc30c933b1b767a66d22c10cc27 /media/libstagefright/httplive/LiveSession.h | |
parent | 1cf9ad1abb599ce4057189e0db154cf00b4913f8 (diff) | |
download | frameworks_av-89bf2525c5b57f17260de5b00c5f3f78ac4b881e.zip frameworks_av-89bf2525c5b57f17260de5b00c5f3f78ac4b881e.tar.gz frameworks_av-89bf2525c5b57f17260de5b00c5f3f78ac4b881e.tar.bz2 |
NuPlayer HTTPLiveSource: impl getSelectedTrack
Bug: 17514665
Change-Id: I81c62553f2c5acb4d2436a9d8f04c10fdbe315d0
Diffstat (limited to 'media/libstagefright/httplive/LiveSession.h')
-rw-r--r-- | media/libstagefright/httplive/LiveSession.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/LiveSession.h b/media/libstagefright/httplive/LiveSession.h index 7aacca6..896a8fc 100644 --- a/media/libstagefright/httplive/LiveSession.h +++ b/media/libstagefright/httplive/LiveSession.h @@ -19,6 +19,7 @@ #define LIVE_SESSION_H_ #include <media/stagefright/foundation/AHandler.h> +#include <media/mediaplayer.h> #include <utils/String8.h> @@ -73,6 +74,7 @@ struct LiveSession : public AHandler { size_t getTrackCount() const; sp<AMessage> getTrackInfo(size_t trackIndex) const; status_t selectTrack(size_t index, bool select); + ssize_t getSelectedTrack(media_track_type /* type */) const; bool isSeekable() const; bool hasDynamicDuration() const; |