UNPKG

@liveryvideo/player

Version:

Livery video player for use in web browsers.

110 lines (55 loc) 1.66 kB
[@liveryvideo/player v7.15.0](../index.md) / LiveryConfigChangeEvent # Class: LiveryConfigChangeEvent Dispatched when `config` has changed. ## Extends - `Event` ## Properties ### config > `readonly` **config**: `object` Public part of Livery stream config. #### 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**: `"LIVE"` \| `"POST"` \| `"PRE"` Livery stream phase, i.e: PRE/LIVE/POST before/while/after streaming to viewers. #### streamPhases > **streamPhases**: [`number`, `"LIVE"` \| `"POST"` \| `"PRE"`][] Array of [unixTimestamp, streamPhase] tuples listing the times at which those phases started. #### tenantId > **tenantId**: `string` Livery tenant ID. *** ### type > `static` **type**: `"livery-config-change"` Event type.