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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
candidateType in 'local-candidate' stats

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support