summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPSource.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-15 10:39:48 -0800
committerAndreas Huber <andih@google.com>2011-02-15 12:00:07 -0800
commitdc468c5f9d72ce54de0070493e9a23efb8907e06 (patch)
tree60bc0bbce4d9d765f13235d702443fecbe7e03ea /media/libstagefright/rtsp/ARTPSource.cpp
parentf1958f9442bc937e1f8c8d9175901500b944b021 (diff)
downloadframeworks_av-dc468c5f9d72ce54de0070493e9a23efb8907e06.zip
frameworks_av-dc468c5f9d72ce54de0070493e9a23efb8907e06.tar.gz
frameworks_av-dc468c5f9d72ce54de0070493e9a23efb8907e06.tar.bz2
Work around several issues with non-compliant RTSP servers.
In this particular case these RTSP servers were implemented as local services, retransmitting live streams via a local RTSP server instance. They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session description, wrong case of the format description, relative base URLs... Change-Id: I63fa90ca2398f19e8b52c147248bd2c5c2372426 related-to-bug: 3452103
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSource.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/rtsp/ARTPSource.cpp b/media/libstagefright/rtsp/ARTPSource.cpp
index 893a387..84c666f 100644
--- a/media/libstagefright/rtsp/ARTPSource.cpp
+++ b/media/libstagefright/rtsp/ARTPSource.cpp
@@ -67,7 +67,7 @@ ARTPSource::ARTPSource(
} 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)
- || !strncmp(desc.c_str(), "mpeg4-generic/", 14)) {
+ || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) {
mAssembler = new AMPEG4ElementaryAssembler(notify, desc, params);
mIssueFIRRequests = true;
} else {