summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSource.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-08-19 10:56:15 -0700
committerAndreas Huber <andih@google.com>2010-08-19 11:18:35 -0700
commit62cb04d23642a2ea7c005f050494c8ef3c370dd3 (patch)
treebfdb74407e1203c04d360896f5c530c7ee830800 /media/libstagefright/rtsp/ARTPSource.cpp
parentc0f7ec8134eca61752d23c10596dd211745642d9 (diff)
downloadframeworks_av-62cb04d23642a2ea7c005f050494c8ef3c370dd3.zip
frameworks_av-62cb04d23642a2ea7c005f050494c8ef3c370dd3.tar.gz
frameworks_av-62cb04d23642a2ea7c005f050494c8ef3c370dd3.tar.bz2
Support for MP4V-ES packetization format according to RFC3016.
Change-Id: I5e182936c52f9eb80cdcf6132ead03705ee32d61
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSource.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPSource.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTPSource.cpp b/media/libstagefright/rtsp/ARTPSource.cpp
index 225f6e8..775c4ee 100644
--- a/media/libstagefright/rtsp/ARTPSource.cpp
+++ b/media/libstagefright/rtsp/ARTPSource.cpp
@@ -20,6 +20,7 @@
#include "AAVCAssembler.h"
#include "AH263Assembler.h"
#include "AMPEG4AudioAssembler.h"
+#include "AMPEG4ElementaryAssembler.h"
#include "ASessionDescription.h"
#include <media/stagefright/foundation/ABuffer.h>
@@ -63,6 +64,9 @@ ARTPSource::ARTPSource(
mAssembler = new AAMRAssembler(notify, false /* isWide */, params);
} else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) {
mAssembler = new AAMRAssembler(notify, true /* isWide */, params);
+ } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8)) {
+ mAssembler = new AMPEG4ElementaryAssembler(notify);
+ mIssueFIRRequests = true;
} else {
TRESPASS();
}