summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSource.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-08 10:18:41 -0800
committerAndreas Huber <andih@google.com>2011-02-10 11:53:54 -0800
commit100a4408968b90e314526185d572c72ea4cc784a (patch)
tree3b911150d367d8083a4b1d157a217b85da859ab6 /media/libstagefright/rtsp/ARTPSource.h
parentfcac8fa9421f442f024018628a6042d7a14fbfb0 (diff)
downloadframeworks_av-100a4408968b90e314526185d572c72ea4cc784a.zip
frameworks_av-100a4408968b90e314526185d572c72ea4cc784a.tar.gz
frameworks_av-100a4408968b90e314526185d572c72ea4cc784a.tar.bz2
Change timestamp handling in RTSP, remove unused, experimental, gtalk support
related-to-bug: 3216447 NTP timestamp handling is now done at a higher layer than before. Change-Id: I9fb23f1335110ec59e534f9aa0fe6f6a6406dd52
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSource.h')
-rw-r--r--media/libstagefright/rtsp/ARTPSource.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/media/libstagefright/rtsp/ARTPSource.h b/media/libstagefright/rtsp/ARTPSource.h
index e62c3f1..b70f94e 100644
--- a/media/libstagefright/rtsp/ARTPSource.h
+++ b/media/libstagefright/rtsp/ARTPSource.h
@@ -46,10 +46,6 @@ struct ARTPSource : public RefBase {
void addReceiverReport(const sp<ABuffer> &buffer);
void addFIR(const sp<ABuffer> &buffer);
- bool timeEstablished() const {
- return mNumTimes == 2;
- }
-
private:
uint32_t mID;
uint32_t mHighestSeqNumber;
@@ -58,10 +54,6 @@ private:
List<sp<ABuffer> > mQueue;
sp<ARTPAssembler> mAssembler;
- size_t mNumTimes;
- uint64_t mNTPTime[2];
- uint32_t mRTPTime[2];
-
uint64_t mLastNTPTime;
int64_t mLastNTPTimeUpdateUs;
@@ -69,7 +61,7 @@ private:
int64_t mLastFIRRequestUs;
uint8_t mNextFIRSeqNo;
- uint64_t RTP2NTP(uint32_t rtpTime) const;
+ sp<AMessage> mNotify;
bool queuePacket(const sp<ABuffer> &buffer);