fix a typo in the SDP candidate parsing

This commit is contained in:
Chad Pilkey 2019-12-09 13:14:10 -08:00
parent 1b94039a4f
commit ae0ad7ff3b

View File

@ -198,7 +198,7 @@ const analyzeSdp = (sdp) => {
logCode: 'sdp_utils_server_reflexive_found', logCode: 'sdp_utils_server_reflexive_found',
extraInfo: { extraInfo: {
candidateType: srflxInfo.type, candidateType: srflxInfo.type,
canddiatePublic: srflxInfo.public, candidatePublic: srflxInfo.public,
}, },
}, 'Found a server reflexive candidate'); }, 'Found a server reflexive candidate');
} else { } else {
@ -213,7 +213,7 @@ const analyzeSdp = (sdp) => {
logCode: 'sdp_utils_peer_reflexive_found', logCode: 'sdp_utils_peer_reflexive_found',
extraInfo: { extraInfo: {
candidateType: prflxInfo.type, candidateType: prflxInfo.type,
canddiatePublic: prflxInfo.public, candidatePublic: prflxInfo.public,
}, },
}, 'Found a peer reflexive candidate'); }, 'Found a peer reflexive candidate');
} else { } else {
@ -228,7 +228,7 @@ const analyzeSdp = (sdp) => {
logCode: 'sdp_utils_relay_found', logCode: 'sdp_utils_relay_found',
extraInfo: { extraInfo: {
candidateType: relayInfo.type, candidateType: relayInfo.type,
canddiatePublic: relayInfo.public, candidatePublic: relayInfo.public,
}, },
}, 'Found a relay candidate'); }, 'Found a relay candidate');
} else { } else {