Fix type for hls.js audio track (#38241)

This commit is contained in:
Arkadiusz Babiarz 2019-09-11 16:16:33 +02:00 committed by Mine Starks
parent fc2b1b6d16
commit 8fd7686963

View File

@ -4,6 +4,7 @@
// Johan Brook <https://github.com/brookback>
// Adrián Caballero <https://github.com/adripanico>
// Alexey I. Berezin <https://github.com/beraliv>
// Arkadiusz Babiarz <https://github.com/drax98>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
@ -352,6 +353,15 @@ declare namespace Hls {
error?: CustomLogger;
}
interface AudioTrack {
buffer: SourceBuffer;
container: string;
codec: string;
id: string;
initSegment?: Uint8Array;
levelCodec: string;
}
interface Config {
/**
* (default: false)