[@liveryvideo/player](../index.md) / LiveryConfigChangeEvent

# Class: LiveryConfigChangeEvent

Dispatched when `config` has changed.

## Extends

- `Event`

## Properties

### config

> `readonly` **config**: \{ `controls`: \{ `cast`: `boolean`; `contact`: `boolean`; `error`: `boolean`; `fullscreen`: `boolean`; `mute`: `boolean`; `pip`: `boolean`; `play`: `boolean`; `quality`: `boolean`; `scrubber`: `boolean`; \}; `customerId`: `string`; `streamPhase`: `"POST"` \| `"LIVE"` \| `"PRE"`; `streamPhases`: \[`number`, `"POST"` \| `"LIVE"` \| `"PRE"`\][]; `tenantId`: `string`; \} \| `undefined`

Public part of Livery stream config.

#### Union Members

##### Type Literal

\{ `controls`: \{ `cast`: `boolean`; `contact`: `boolean`; `error`: `boolean`; `fullscreen`: `boolean`; `mute`: `boolean`; `pip`: `boolean`; `play`: `boolean`; `quality`: `boolean`; `scrubber`: `boolean`; \}; `customerId`: `string`; `streamPhase`: `"POST"` \| `"LIVE"` \| `"PRE"`; `streamPhases`: \[`number`, `"POST"` \| `"LIVE"` \| `"PRE"`\][]; `tenantId`: `string`; \}

##### controls

> **controls**: `object`

Registry of controls that should be shown to the user.

###### controls.cast

> **cast**: `boolean`

Enable toggling AirPlay and/or Chromecast display.

###### controls.contact

> **contact**: `boolean`

Enable submitting user feedback.

###### controls.error

> **error**: `boolean`

Enable error feedback and recovery controls.

###### controls.fullscreen

> **fullscreen**: `boolean`

Enable toggling fullscreen display.

###### controls.mute

> **mute**: `boolean`

Enable muting and unmuting audio.

###### controls.pip

> **pip**: `boolean`

Enable toggling picture-in-picture display.

###### controls.play

> **play**: `boolean`

Enable toggling play/pause.

###### controls.quality

> **quality**: `boolean`

Enable quality selection.

###### controls.scrubber

> **scrubber**: `boolean`

Enable seeking through the stream.

##### customerId

> **customerId**: `string`

Livery customer ID.

##### streamPhase

> **streamPhase**: `"POST"` \| `"LIVE"` \| `"PRE"`

Livery stream phase, i.e: PRE/LIVE/POST before/while/after streaming to viewers.

##### streamPhases

> **streamPhases**: \[`number`, `"POST"` \| `"LIVE"` \| `"PRE"`\][]

Array of [unixTimestamp, streamPhase] tuples listing the times at which those phases started.

##### tenantId

> **tenantId**: `string`

Livery tenant ID.

***

`undefined`

***

### type

> `static` **type**: `"livery-config-change"`

Event type.
