mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
15 lines
317 B
TypeScript
15 lines
317 B
TypeScript
import { Input } from './input';
|
|
import { InputTrack } from './input-track';
|
|
|
|
export abstract class Demuxer {
|
|
input: Input;
|
|
|
|
constructor(input: Input) {
|
|
this.input = input;
|
|
}
|
|
|
|
abstract computeDuration(): Promise<number>;
|
|
abstract getTracks(): Promise<InputTrack[]>;
|
|
abstract getMimeType(): Promise<string>;
|
|
}
|