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

interface MediaTrackCapabilities {  
    [aspectRatio](#aspectratio)?: [DoubleRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DoubleRange/);  
    [autoGainControl](#autogaincontrol)?: boolean\[\];  
    [backgroundBlur](#backgroundblur)?: boolean\[\];  
    [channelCount](#channelcount)?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/);  
    [deviceId](#deviceid)?: string;  
    [displaySurface](#displaysurface)?: string;  
    [echoCancellation](#echocancellation)?: (string | boolean)\[\];  
    [facingMode](#facingmode)?: string\[\];  
    [frameRate](#framerate)?: [DoubleRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DoubleRange/);  
    [groupId](#groupid)?: string;  
    [height](#height)?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/);  
    [noiseSuppression](#noisesuppression)?: boolean\[\];  
    [sampleRate](#samplerate)?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/);  
    [sampleSize](#samplesize)?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/);  
    [width](#width)?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/);  
}

##### Index

### Properties[](#properties)

[aspectRatio?](#aspectratio) [autoGainControl?](#autogaincontrol) [backgroundBlur?](#backgroundblur) [channelCount?](#channelcount) [deviceId?](#deviceid) [displaySurface?](#displaysurface) [echoCancellation?](#echocancellation) [facingMode?](#facingmode) [frameRate?](#framerate) [groupId?](#groupid) [height?](#height) [noiseSuppression?](#noisesuppression) [sampleRate?](#samplerate) [sampleSize?](#samplesize) [width?](#width)

## Properties[](#properties-1)

### `Optional`aspectRatio[](#aspectratio)

aspectRatio?: [DoubleRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DoubleRange/)

### `Optional`autoGainControl[](#autogaincontrol)

autoGainControl?: boolean\[\]

### `Optional`backgroundBlur[](#backgroundblur)

backgroundBlur?: boolean\[\]

### `Optional`channelCount[](#channelcount)

channelCount?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/)

### `Optional`deviceId[](#deviceid)

deviceId?: string

### `Optional`displaySurface[](#displaysurface)

displaySurface?: string

### `Optional`echoCancellation[](#echocancellation)

echoCancellation?: (string | boolean)\[\]

### `Optional`facingMode[](#facingmode)

facingMode?: string\[\]

### `Optional`frameRate[](#framerate)

frameRate?: [DoubleRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DoubleRange/)

### `Optional`groupId[](#groupid)

groupId?: string

### `Optional`height[](#height)

height?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/)

### `Optional`noiseSuppression[](#noisesuppression)

noiseSuppression?: boolean\[\]

### `Optional`sampleRate[](#samplerate)

sampleRate?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/)

### `Optional`sampleSize[](#samplesize)

sampleSize?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/)

### `Optional`width[](#width)

width?: [ULongRange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ULongRange/)
