diff options
author | Andreas Huber <andih@google.com> | 2010-08-04 10:14:30 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-08-04 11:49:24 -0700 |
commit | 39ddf8e0f18766f7ba1e3246b774aa6ebd93eea8 (patch) | |
tree | 87f5d0d68c1779f113843e939c41440ff6b00389 /media/libstagefright/rtsp/ARTPSource.h | |
parent | 610959a52fe22a88e50d158f5f5f492fee4f1921 (diff) | |
download | frameworks_av-39ddf8e0f18766f7ba1e3246b774aa6ebd93eea8.zip frameworks_av-39ddf8e0f18766f7ba1e3246b774aa6ebd93eea8.tar.gz frameworks_av-39ddf8e0f18766f7ba1e3246b774aa6ebd93eea8.tar.bz2 |
Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation.
Change-Id: I95b8dd487061add9bade15749e563b01cd99d9a6
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSource.h')
-rw-r--r-- | media/libstagefright/rtsp/ARTPSource.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTPSource.h b/media/libstagefright/rtsp/ARTPSource.h index b93cd56..8e483a8 100644 --- a/media/libstagefright/rtsp/ARTPSource.h +++ b/media/libstagefright/rtsp/ARTPSource.h @@ -39,9 +39,13 @@ struct ARTPSource : public RefBase { void processRTPPacket(const sp<ABuffer> &buffer); void timeUpdate(uint32_t rtpTime, uint64_t ntpTime); + void byeReceived(); List<sp<ABuffer> > *queue() { return &mQueue; } + void addReceiverReport(const sp<ABuffer> &buffer); + void addFIR(const sp<ABuffer> &buffer); + private: uint32_t mID; uint32_t mHighestSeqNumber; @@ -54,6 +58,13 @@ private: uint64_t mNTPTime[2]; uint32_t mRTPTime[2]; + uint64_t mLastNTPTime; + int64_t mLastNTPTimeUpdateUs; + + bool mIssueFIRRequests; + int64_t mLastFIRRequestUs; + uint8_t mNextFIRSeqNo; + uint64_t RTP2NTP(uint32_t rtpTime) const; bool queuePacket(const sp<ABuffer> &buffer); |