summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/source/PlaybackSession.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-09-28 16:34:38 -0700
committerAndreas Huber <andih@google.com>2012-09-28 16:36:04 -0700
commit77245813007cf903b4b73f5d0cd20313fbf0e510 (patch)
tree6f5a35a89933a2578a7f1ff6ec1cd4b9a5240a30 /media/libstagefright/wifi-display/source/PlaybackSession.h
parent23f74017a2c457a25382677b6e696c4cfa06cef5 (diff)
downloadframeworks_av-77245813007cf903b4b73f5d0cd20313fbf0e510.zip
frameworks_av-77245813007cf903b4b73f5d0cd20313fbf0e510.tar.gz
frameworks_av-77245813007cf903b4b73f5d0cd20313fbf0e510.tar.bz2
Even cleaner shutdown.
Change-Id: I5a76f83db3a5e43f55eb4e04269d890c2015bae7 related-to-bug: 7247918
Diffstat (limited to 'media/libstagefright/wifi-display/source/PlaybackSession.h')
-rw-r--r--media/libstagefright/wifi-display/source/PlaybackSession.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.h b/media/libstagefright/wifi-display/source/PlaybackSession.h
index 9237a72..8d88648 100644
--- a/media/libstagefright/wifi-display/source/PlaybackSession.h
+++ b/media/libstagefright/wifi-display/source/PlaybackSession.h
@@ -32,6 +32,7 @@ struct TSPacketizer;
#define LOG_TRANSPORT_STREAM 0
#define ENABLE_RETRANSMISSION 0
+#define TRACK_BANDWIDTH 0
// Encapsulates the state of an RTP/RTCP session in the context of wifi
// display.
@@ -160,12 +161,13 @@ private:
bool mSendSRPending;
- int64_t mFirstPacketTimeUs;
-
List<sp<ABuffer> > mHistory;
size_t mHistoryLength;
+#if TRACK_BANDWIDTH
+ int64_t mFirstPacketTimeUs;
uint64_t mTotalBytesSent;
+#endif
#if LOG_TRANSPORT_STREAM
FILE *mLogFile;