---
title: "RTCIceCandidatePair | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface RTCIceCandidatePair

The **`RTCIceCandidatePair`** dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints. It is used as the return value from RTCIceTransport.getSelectedCandidatePair() to identify the currently-selected candidate pair identified by the ICE agent.

interface RTCIceCandidatePair {  
    [local](#local): [RTCIceCandidate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCIceCandidate/);  
    [remote](#remote): [RTCIceCandidate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCIceCandidate/);  
}

##### Index

### Properties[](#properties)

[local](#local) [remote](#remote)

## Properties[](#properties-1)

### local[](#local)

local: [RTCIceCandidate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCIceCandidate/)

The **`local`** property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection.

### remote[](#remote)

remote: [RTCIceCandidate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCIceCandidate/)

The **`remote`** property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection.
