mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 05:43:50 +02:00
Start work on demuxing
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Input } from './input';
|
||||
import { InputTrack } from './input-track';
|
||||
|
||||
export abstract class Demuxer {
|
||||
input: Input;
|
||||
|
||||
constructor(input: Input) {
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
abstract getDuration(): Promise<number>;
|
||||
abstract getTracks(): Promise<InputTrack[]>;
|
||||
abstract getMimeType(): Promise<string>;
|
||||
}
|
||||
Reference in New Issue
Block a user