mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 19:38:22 +00:00
res_rtp_asterisk: Make the ICE transport check case insensitive as some implementations use 'udp'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@425360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -495,7 +495,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user