diff options
author | Andreas Huber <andih@google.com> | 2013-03-25 15:46:52 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-03-25 16:20:26 -0700 |
commit | 2aea9552aeba92bbaf9e56c666049ea2d14057b5 (patch) | |
tree | fc3cdb049837a7bdd7452620b9b596aad2c831d3 /media/libstagefright/wifi-display/rtp/RTPSender.h | |
parent | f90debb467a0daf5288e7d8684642ef1119c4bad (diff) | |
download | frameworks_av-2aea9552aeba92bbaf9e56c666049ea2d14057b5.zip frameworks_av-2aea9552aeba92bbaf9e56c666049ea2d14057b5.tar.gz frameworks_av-2aea9552aeba92bbaf9e56c666049ea2d14057b5.tar.bz2 |
In "special" mode we now establish a UDP RTCP channel in addition to the
TCP RTP channel and provide feedback on the latency of arriving packets from
the sink back to the source. This information is then used to throttle
video bitrate.
Change-Id: Ic589a3cb65e4893a3ff67de947da6063d32a1c6e
Diffstat (limited to 'media/libstagefright/wifi-display/rtp/RTPSender.h')
-rw-r--r-- | media/libstagefright/wifi-display/rtp/RTPSender.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/wifi-display/rtp/RTPSender.h b/media/libstagefright/wifi-display/rtp/RTPSender.h index 8409b8d..3a926ea 100644 --- a/media/libstagefright/wifi-display/rtp/RTPSender.h +++ b/media/libstagefright/wifi-display/rtp/RTPSender.h @@ -37,6 +37,7 @@ struct RTPSender : public RTPBase, public AHandler { kWhatInitDone, kWhatError, kWhatNetworkStall, + kWhatInformSender, }; RTPSender( const sp<ANetworkSession> &netSession, @@ -105,6 +106,7 @@ private: status_t onRTCPData(const sp<ABuffer> &data); status_t parseReceiverReport(const uint8_t *data, size_t size); status_t parseTSFB(const uint8_t *data, size_t size); + status_t parseAPP(const uint8_t *data, size_t size); void notifyInitDone(status_t err); void notifyError(status_t err); |