mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
64896d70b0
This reflects changes in Google's policy on JavaScript license headers, which should be smaller to avoid increasing the size of the binary unnecessarily. This also updates the company name from "Google, Inc" to "Google LLC". Change-Id: I3f8b9ed3700b6351f43173d50c94d35c333e82b4
54 lines
937 B
JavaScript
54 lines
937 B
JavaScript
/** @license
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for AudioTrack which are missing from the Closure
|
|
* compiler.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
/** @constructor */
|
|
function AudioTrack() {}
|
|
|
|
/** @type {boolean} */
|
|
AudioTrack.prototype.enabled;
|
|
|
|
/** @type {string} */
|
|
AudioTrack.prototype.id;
|
|
|
|
/** @type {string} */
|
|
AudioTrack.prototype.kind;
|
|
|
|
/** @type {string} */
|
|
AudioTrack.prototype.label;
|
|
|
|
/** @type {string} */
|
|
AudioTrack.prototype.language;
|
|
|
|
/** @type {SourceBuffer} */
|
|
AudioTrack.prototype.sourceBuffer;
|
|
|
|
|
|
/**
|
|
* @extends {IArrayLike.<AudioTrack>}
|
|
* @extends {EventTarget}
|
|
* @interface
|
|
*/
|
|
class AudioTrackList {
|
|
/** @override */
|
|
addEventListener(type, listener, useCapture) {}
|
|
|
|
/** @override */
|
|
removeEventListener(type, listener, useCapture) {}
|
|
|
|
/** @override */
|
|
dispatchEvent(event) {}
|
|
}
|
|
|
|
|
|
/** @type {AudioTrackList} */
|
|
HTMLMediaElement.prototype.audioTracks;
|