summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSession.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-09-01 09:27:47 -0700
committerAndreas Huber <andih@google.com>2010-09-01 09:27:47 -0700
commit389636ce967af15e72817e2133907a2cb2efd1ae (patch)
treec498f021d1a1bca46b992c5257f0de71fcb06667 /media/libstagefright/rtsp/ARTPSession.cpp
parent06124758ff402512f3c7a5fb2b35d8d09a0d6c2e (diff)
downloadframeworks_av-389636ce967af15e72817e2133907a2cb2efd1ae.zip
frameworks_av-389636ce967af15e72817e2133907a2cb2efd1ae.tar.gz
frameworks_av-389636ce967af15e72817e2133907a2cb2efd1ae.tar.bz2
Keep gtalk video chat specific code consistent with rtsp changes.
Change-Id: I5f3f46c2150e16b26674432e427f79c04a69cd8e
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSession.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPSession.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTPSession.cpp b/media/libstagefright/rtsp/ARTPSession.cpp
index f60c1a9..8ce93b7 100644
--- a/media/libstagefright/rtsp/ARTPSession.cpp
+++ b/media/libstagefright/rtsp/ARTPSession.cpp
@@ -125,6 +125,14 @@ void ARTPSession::onMessageReceived(const sp<AMessage> &msg) {
switch (msg->what()) {
case kWhatAccessUnitComplete:
{
+ int32_t firstRTCP;
+ if (msg->findInt32("first-rtcp", &firstRTCP)) {
+ // There won't be an access unit here, it's just a notification
+ // that the data communication worked since we got the first
+ // rtcp packet.
+ break;
+ }
+
size_t trackIndex;
CHECK(msg->findSize("track-index", &trackIndex));