From 2ad0f39a088ace926321d557eac3348c7d84a15a Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sun, 12 Oct 2014 21:08:45 +0000 Subject: [PATCH] res_rtp_asterisk: Make the ICE transport check case insensitive as some implementations use 'udp'. ........ Merged revisions 425360 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@425361 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_rtp_asterisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index e1af6b82e5..e85c019f9c 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -520,7 +520,7 @@ static void ast_rtp_ice_add_remote_candidate(struct ast_rtp_instance *instance, 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; } -- 2.47.2