mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
Fix type for hls.js audio track (#38241)
This commit is contained in:
parent
fc2b1b6d16
commit
8fd7686963
10
types/hls.js/index.d.ts
vendored
10
types/hls.js/index.d.ts
vendored
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user