summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-10-01 14:21:06 +0000
committerJoshua Colp <jcolp@digium.com>2007-10-01 14:21:06 +0000
commitacb9d6bf2bf6cd4d9a39ae94aba275637492afd2 (patch)
tree35faf7765fefe510dfc2038bae3de1ed636b3c4b /channels/chan_sip.c
parentbfd12032d1993390cb87e211a26c79b15182703f (diff)
Add MP4 to part of the SDP code.
(closes issue #10820) Reported by: ruikubo Patches: chan_sip.patch uploaded by ruikubo (license 250) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c439f9d6d..02606fd68 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5856,7 +5856,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
/* Note: should really look at the 'freq' and '#chans' params too */
/* Note: This should all be done in the context of the m= above */
- if (!strncasecmp(mimeSubtype, "H26",3)) { /* Video */
+ if (!strncasecmp(mimeSubtype, "H26", 3) || !strncasecmp(mimeSubtype, "MP4", 3)) { /* Video */
/* Not going to do anything here for the moment, but we will soon */
} else if (!strncasecmp(mimeSubtype, "T140",4)) { /* Text */
if (p->trtp) {