From 27b9c8ec168f0b26a663960c6ee6fb973265d195 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Wed, 1 Sep 2010 09:27:47 -0700 Subject: [PATCH] Keep gtalk video chat specific code consistent with rtsp changes. Change-Id: I5f3f46c2150e16b26674432e427f79c04a69cd8e --- media/libstagefright/rtsp/ARTPSession.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/media/libstagefright/rtsp/ARTPSession.cpp b/media/libstagefright/rtsp/ARTPSession.cpp index f60c1a9eea59e..8ce93b722c223 100644 --- a/media/libstagefright/rtsp/ARTPSession.cpp +++ b/media/libstagefright/rtsp/ARTPSession.cpp @@ -125,6 +125,14 @@ void ARTPSession::onMessageReceived(const sp &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));