---
title: RTCIceCandidateStats.candidateType
slug: Web/API/RTCIceCandidateStats/candidateType
tags:
  - API
  - Candidate
  - ICE
  - Networking
  - RTCIceCandidateStats
  - Reference
  - Statistics
  - Stats
  - WebRTC
  - WebRTC API
  - candidateType
  - rtc
browser-compat: api.RTCIceCandidateStats.candidateType
---
{{APIRef("WebRTC")}}

The {{domxref("RTCIceCandidateStats")}} interface's
**`candidateType`** property is a string which indicates the
type of {{Glossary("ICE")}} candidate the object represents.

## Syntax

```js
candidateType = rtcIceCandidateStats.candidateType;
```

### Value

A {{domxref("DOMString")}} whose value is one of the strings found in [`RTCIceCandidate.type`](/en-US/docs/Web/API/RTCIceCandidate/type#Values).

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
