summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-09-01 13:42:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-01 13:42:46 -0700
commit002b34c3f56932fa472ee4a9fd47a8b021a27b1a (patch)
treebe93e29d294a7f664e2a44eb888c790f7218cbed
parentd8c48ad99d2e2a0b9df9aa4986ed0d31741e0d2f (diff)
parentbcbe5af62aad9d1ef64f799fcde58ac9a8adace8 (diff)
downloadframeworks_av-002b34c3f56932fa472ee4a9fd47a8b021a27b1a.zip
frameworks_av-002b34c3f56932fa472ee4a9fd47a8b021a27b1a.tar.gz
frameworks_av-002b34c3f56932fa472ee4a9fd47a8b021a27b1a.tar.bz2
am 412fc7cd: Merge "Keep gtalk video chat specific code consistent with rtsp changes." into gingerbread
Merge commit '412fc7cdb6a1c4b6afe85b58fcc794fd67271942' into gingerbread-plus-aosp * commit '412fc7cdb6a1c4b6afe85b58fcc794fd67271942': Keep gtalk video chat specific code consistent with rtsp changes.
-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));