diff options
author | Andreas Huber <andih@google.com> | 2010-08-10 11:18:36 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-08-10 11:38:18 -0700 |
commit | f8ca90452ff3e252f20de38f1c3eee524c808c3e (patch) | |
tree | f750ba5ede661ba693e727f9de8b88e4d0d6bb41 /media/libstagefright/rtsp/ARTPSession.cpp | |
parent | def871da284aa51f129943a86d44ba9ee9d68d28 (diff) | |
download | frameworks_av-f8ca90452ff3e252f20de38f1c3eee524c808c3e.zip frameworks_av-f8ca90452ff3e252f20de38f1c3eee524c808c3e.tar.gz frameworks_av-f8ca90452ff3e252f20de38f1c3eee524c808c3e.tar.bz2 |
We're now going to ignore timestamps completely in gtalk video conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup.
Change-Id: Idc3df74b42000f7a6aa3eae090718dc9d9c4186f
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSession.cpp')
-rw-r--r-- | media/libstagefright/rtsp/ARTPSession.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libstagefright/rtsp/ARTPSession.cpp b/media/libstagefright/rtsp/ARTPSession.cpp index 0e0f45a..e082078 100644 --- a/media/libstagefright/rtsp/ARTPSession.cpp +++ b/media/libstagefright/rtsp/ARTPSession.cpp @@ -40,7 +40,10 @@ status_t ARTPSession::setup(const sp<ASessionDescription> &desc) { mDesc = desc; - mRTPConn = new ARTPConnection; + mRTPConn = new ARTPConnection( + ARTPConnection::kFakeTimestamps + | ARTPConnection::kRegularlyRequestFIR); + looper()->registerHandler(mRTPConn); for (size_t i = 1; i < mDesc->countTracks(); ++i) { |