---
url: https://docs.moqtail.dev/ts/api/model/classes/VideoConfig.md
---
# Class: VideoConfig

## Constructors

### Constructor

> **new VideoConfig**(`config`): `VideoConfig`

#### Parameters

##### config

`Uint8Array`

#### Returns

`VideoConfig`

## Properties

### config

> `readonly` **config**: `Uint8Array`

***

### TYPE

> `readonly` `static` **TYPE**: [`VideoConfig`](../enumerations/LOCPropertyId.md#videoconfig) = `LOCPropertyId.VideoConfig`

## Methods

### toKeyValuePair()

> **toKeyValuePair**(): [`KeyValuePair`](KeyValuePair.md)

#### Returns

[`KeyValuePair`](KeyValuePair.md)

***

### fromKeyValuePair()

> `static` **fromKeyValuePair**(`pair`): `VideoConfig` | `undefined`

#### Parameters

##### pair

[`KeyValuePair`](KeyValuePair.md)

#### Returns

`VideoConfig` | `undefined`
