diff options
author | Andreas Huber <andih@google.com> | 2012-09-25 14:20:08 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-09-25 16:05:09 -0700 |
commit | 28e17ed7e2fbb254fb99481b74db85e427c905ee (patch) | |
tree | 8d4af5c5b495452f048a58eccb07736f3c03a30a /media/libstagefright/wifi-display/source/PlaybackSession.h | |
parent | 92f655fe351a5f2eb7d36123d2b687d6e7e3e913 (diff) | |
download | frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.zip frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.tar.gz frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.tar.bz2 |
Better transport stream timestamp handling.
Properly emit PCR and PMT/PAT updates every 0.1 secs.
Don't stream RTCP unless requested by the dongle.
related-to-bug: 7232540
Change-Id: Ie9a6949a074d86ab022adfab5d2811294ba746aa
Diffstat (limited to 'media/libstagefright/wifi-display/source/PlaybackSession.h')
-rw-r--r-- | media/libstagefright/wifi-display/source/PlaybackSession.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.h b/media/libstagefright/wifi-display/source/PlaybackSession.h index f2090b4..6f74382 100644 --- a/media/libstagefright/wifi-display/source/PlaybackSession.h +++ b/media/libstagefright/wifi-display/source/PlaybackSession.h @@ -123,6 +123,8 @@ private: AString mClientIP; + bool mAllTracksHavePacketizerIndex; + // in TCP mode int32_t mRTPChannel; int32_t mRTCPChannel; @@ -196,6 +198,13 @@ private: status_t onFinishPlay(); status_t onFinishPlay2(); + bool allTracksHavePacketizerIndex(); + + status_t packetizeAccessUnit( + size_t trackIndex, const sp<ABuffer> &accessUnit); + + status_t packetizeQueuedAccessUnits(); + DISALLOW_EVIL_CONSTRUCTORS(PlaybackSession); }; |