UNPKG

shaka-player

Version:
28 lines (25 loc) 562 B
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.config.CrossBoundaryStrategy'); /** * @enum {string} * @export */ shaka.config.CrossBoundaryStrategy = { /** * Never reset MediaSource when crossing boundary. */ 'KEEP': 'keep', /** * Always reset MediaSource when crossing boundary. */ 'RESET': 'reset', /** * Reset MediaSource once, when transitioning from a plain * boundary to an encrypted boundary. */ 'RESET_TO_ENCRYPTED': 'reset_to_encrypted', };