[asterisk-commits] file: branch 11 r425360 - /branches/11/res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 12 16:08:16 CDT 2014


Author: file
Date: Sun Oct 12 16:08:08 2014
New Revision: 425360

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425360
Log:
res_rtp_asterisk: Make the ICE transport check case insensitive as some implementations use 'udp'.

Modified:
    branches/11/res/res_rtp_asterisk.c

Modified: branches/11/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/res/res_rtp_asterisk.c?view=diff&rev=425360&r1=425359&r2=425360
==============================================================================
--- branches/11/res/res_rtp_asterisk.c (original)
+++ branches/11/res/res_rtp_asterisk.c Sun Oct 12 16:08:08 2014
@@ -495,7 +495,7 @@
 	struct ast_rtp_engine_ice_candidate *remote_candidate;
 
 	/* ICE sessions only support UDP candidates */
-	if (strcmp(candidate->transport, "UDP")) {
+	if (strcasecmp(candidate->transport, "udp")) {
 		return;
 	}
 




More information about the asterisk-commits mailing list