Source: externs/shaka/codecs.js

/*! @license
 * Shaka Player
 * Copyright 2023 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @externs
 */

/**
 * @typedef {{
 *   data: !Uint8Array,
 *   packetLength: number,
 *   pts: ?number,
 *   dts: ?number,
 *   nalus: !Array.<!shaka.extern.VideoNalu>
 * }}
 *
 * @summary MPEG_PES.
 * @property {!Uint8Array} data
 * @property {number} packetLength
 * @property {?number} pts
 * @property {?number} dts
 * @property {!Array.<!shaka.extern.VideoNalu>} nalus
 */
shaka.extern.MPEG_PES;


/**
 * @typedef {{
 *   data: !Uint8Array,
 *   fullData: !Uint8Array,
 *   type: number,
 *   time: ?number
 * }}
 *
 * @summary VideoNalu.
 * @property {!Uint8Array} data
 * @property {!Uint8Array} fullData
 * @property {number} type
 * @property {?number} time
 */
shaka.extern.VideoNalu;