summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/rtp/RTPSender.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-03-18 15:11:40 -0700
committerAndreas Huber <andih@google.com>2013-03-18 15:12:55 -0700
commita239dd722e760fe4fd7379b454d7722e1f312928 (patch)
tree1ca5da791df49f1bb4b53824f8387b6f586b8652 /media/libstagefright/wifi-display/rtp/RTPSender.h
parent0b530f1050150bb751ae642d5a9dce34141d9475 (diff)
downloadframeworks_av-a239dd722e760fe4fd7379b454d7722e1f312928.zip
frameworks_av-a239dd722e760fe4fd7379b454d7722e1f312928.tar.gz
frameworks_av-a239dd722e760fe4fd7379b454d7722e1f312928.tar.bz2
Change ANetworkSession implementation to optionally attach timestamps
to fragments of data to be transferred and to log statistics when data is finally submitted to the POSIX layer. Change-Id: Icbfcac203cdc5c9eac1634e84d34bb380b316a01
Diffstat (limited to 'media/libstagefright/wifi-display/rtp/RTPSender.h')
-rw-r--r--media/libstagefright/wifi-display/rtp/RTPSender.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libstagefright/wifi-display/rtp/RTPSender.h b/media/libstagefright/wifi-display/rtp/RTPSender.h
index 83c6223..90b1796 100644
--- a/media/libstagefright/wifi-display/rtp/RTPSender.h
+++ b/media/libstagefright/wifi-display/rtp/RTPSender.h
@@ -94,7 +94,9 @@ private:
status_t queueTSPackets(const sp<ABuffer> &tsPackets, uint8_t packetType);
status_t queueAVCBuffer(const sp<ABuffer> &accessUnit, uint8_t packetType);
- status_t sendRTPPacket(const sp<ABuffer> &packet, bool storeInHistory);
+ status_t sendRTPPacket(
+ const sp<ABuffer> &packet, bool storeInHistory,
+ bool timeValid = false, int64_t timeUs = -1ll);
void onNetNotify(bool isRTP, const sp<AMessage> &msg);