[svn-commits] file: trunk r84165 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Oct 1 09:21:07 CDT 2007


Author: file
Date: Mon Oct  1 09:21:06 2007
New Revision: 84165

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84165
Log:
Add MP4 to part of the SDP code.
(closes issue #10820)
Reported by: ruikubo
Patches:
      chan_sip.patch uploaded by ruikubo (license 250)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=84165&r1=84164&r2=84165
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Oct  1 09:21:06 2007
@@ -5856,7 +5856,7 @@
 
 			/* 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) {




More information about the svn-commits mailing list