In order for some internal tools at Google to reference subsets of Shaka Player's code, we need to break out some low-level externs so that they are not entangled with other parts of Shaka's code. For example, references to Shaka classes are made inside some externs. This extracts DRM-related and resolution-related externs into their own files, where they can be more easily referenced without needing to import various other Shaka classes.
26 lines
338 B
JavaScript
26 lines
338 B
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
/**
|
|
* @externs
|
|
*/
|
|
|
|
|
|
/**
|
|
* @typedef {{
|
|
* width: number,
|
|
* height: number
|
|
* }}
|
|
*
|
|
* @property {number} width
|
|
* Width in pixels.
|
|
* @property {number} height
|
|
* Height in pixels.
|
|
* @exportDoc
|
|
*/
|
|
shaka.extern.Resolution;
|