summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSession.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-08-26 11:17:32 -0700
committerAndreas Huber <andih@google.com>2010-08-26 11:19:08 -0700
commit0792ce7e0924ebb0dbe7b7cfcd79d12cbdb03ed2 (patch)
tree1bfc31dd13c6036b50d3cbec6eac44b114f0b3f3 /media/libstagefright/rtsp/ARTPSession.cpp
parentf30274368327563021fb20faeb67b5661a0f373c (diff)
downloadframeworks_av-0792ce7e0924ebb0dbe7b7cfcd79d12cbdb03ed2.zip
frameworks_av-0792ce7e0924ebb0dbe7b7cfcd79d12cbdb03ed2.tar.gz
frameworks_av-0792ce7e0924ebb0dbe7b7cfcd79d12cbdb03ed2.tar.bz2
Support for RTP packets arriving interleaved with RTSP responses.
Change-Id: Ib32fba257da32a199134cf8943117cf3eaa07a25
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSession.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPSession.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/rtsp/ARTPSession.cpp b/media/libstagefright/rtsp/ARTPSession.cpp
index e082078..d2c56f7 100644
--- a/media/libstagefright/rtsp/ARTPSession.cpp
+++ b/media/libstagefright/rtsp/ARTPSession.cpp
@@ -83,7 +83,8 @@ status_t ARTPSession::setup(const sp<ASessionDescription> &desc) {
sp<AMessage> notify = new AMessage(kWhatAccessUnitComplete, id());
notify->setSize("track-index", mTracks.size() - 1);
- mRTPConn->addStream(rtpSocket, rtcpSocket, mDesc, i, notify);
+ mRTPConn->addStream(
+ rtpSocket, rtcpSocket, mDesc, i, notify, false /* injected */);
info->mPacketSource = source;
}