RTCIceCandidateStats: candidateType property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The RTCIceCandidateStats interface's candidateType property is a string that indicates the type of ICE candidate the object represents.

Syntax

js
rtcIceCandidateStats.candidateType

Value

A string whose value is one of the strings found in RTCIceCandidate.type.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatestats-candidatetype

Browser compatibility

BCD tables only load in the browser