diff options
author | James Dong <jdong@google.com> | 2011-05-25 19:37:03 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-05-31 15:23:25 -0700 |
commit | 5b1b8a93a07326f1cbc627f09e02988375189e0a (patch) | |
tree | 1da7ba8c401fb96b4de5fab790fba8e51eea78f6 /media/libstagefright/include/AwesomePlayer.h | |
parent | 65580f9adf6c4d98449ad0716488f9fe3869aa5a (diff) | |
download | frameworks_av-5b1b8a93a07326f1cbc627f09e02988375189e0a.zip frameworks_av-5b1b8a93a07326f1cbc627f09e02988375189e0a.tar.gz frameworks_av-5b1b8a93a07326f1cbc627f09e02988375189e0a.tar.bz2 |
Send estimated bandwidth value as informational event when cache fetcher pauses
o Application can make informed decision about the available network bandwidth
when cache fetcher pauses.
o Application can also adjust how frequently the bandwidth is estimated within
a range from one second to one minute.
Change-Id: I90068001343e79da1886de03c565537787e1580b
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index a9e8e95..aebcdd1 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -93,6 +93,7 @@ struct AwesomePlayer { status_t setParameter(int key, const Parcel &request); status_t getParameter(int key, Parcel *reply); + status_t setCacheStatCollectFreq(const Parcel &request); status_t seekTo(int64_t timeUs); @@ -291,6 +292,7 @@ private: void setNativeWindow_l(const sp<ANativeWindow> &native); bool isStreamingHTTP() const; + void sendCacheStats(); AwesomePlayer(const AwesomePlayer &); AwesomePlayer &operator=(const AwesomePlayer &); |