---
title: "RTCIceCandidateInit | 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 RTCIceCandidateInit

interface RTCIceCandidateInit {  
    [candidate](#candidate)?: string;  
    [sdpMid](#sdpmid)?: string | null;  
    [sdpMLineIndex](#sdpmlineindex)?: number | null;  
    [usernameFragment](#usernamefragment)?: string | null;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.RTCIceCandidateInit))

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

##### Index

### Properties[](#properties)

[candidate?](#candidate) [sdpMid?](#sdpmid) [sdpMLineIndex?](#sdpmlineindex) [usernameFragment?](#usernamefragment)

## Properties[](#properties-1)

### `Optional`candidate[](#candidate)

candidate?: string

### `Optional`sdpMid[](#sdpmid)

sdpMid?: string | null

### `Optional`sdpMLineIndex[](#sdpmlineindex)

sdpMLineIndex?: number | null

### `Optional`usernameFragment[](#usernamefragment)

usernameFragment?: string | null
