Archived
14
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@84165 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-10-01 14:21:06 +00:00
parent e17cfbbb25
commit 079616aafe

View file

@ -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) {