mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 19:33:51 +02:00
Fix typecheck, lint and build
This commit is contained in:
@@ -479,6 +479,14 @@ export class AdtsInputFormat extends InputFormat {
|
||||
|
||||
const TS_PACKET_SIZE = 188;
|
||||
|
||||
/**
|
||||
* MPEG Transport Stream (MPEG-TS) file format.
|
||||
*
|
||||
* Do not instantiate this class; use the {@link MPEG_TS} singleton instead.
|
||||
*
|
||||
* @group Input formats
|
||||
* @public
|
||||
*/
|
||||
export class MpegTsInputFormat extends InputFormat {
|
||||
/** @internal */
|
||||
async _canReadInput(input: Input) {
|
||||
@@ -573,6 +581,11 @@ export const ADTS = /* #__PURE__ */ new AdtsInputFormat();
|
||||
*/
|
||||
export const FLAC = /* #__PURE__ */ new FlacInputFormat();
|
||||
|
||||
/**
|
||||
* MPEG-TS input format singleton.
|
||||
* @group Input formats
|
||||
* @public
|
||||
*/
|
||||
export const MPEG_TS = /* #__PURE__ */ new MpegTsInputFormat();
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
/*!
|
||||
* Copyright (c) 2025-present, Vanilagy and contributors
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
import { SAMPLES_PER_AAC_FRAME } from '../adts/adts-demuxer';
|
||||
import { MAX_FRAME_HEADER_SIZE, readAdtsFrameHeader } from '../adts/adts-reader';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user