The candidateType property of the RTCIceCandidateStats dictionary is a string that indicates the type of ICE candidate the object represents.
candidateType
RTCIceCandidateStats
A string whose value is one of the strings found in RTCIceCandidate.type.
RTCIceCandidate.type