Merge pull request #32742 from Beraliv/master

[@types/hls.js] Add bandwidth estimate type
This commit is contained in:
Armando Aguirre
2019-02-04 13:59:07 -08:00
committed by GitHub
+6
View File
@@ -3,6 +3,7 @@
// Definitions by: John G. Gainfort, Jr. <https://github.com/jgainfort>
// Johan Brook <https://github.com/brookback>
// Adrián Caballero <https://github.com/adripanico>
// Alexey I. Berezin <https://github.com/beraliv>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
@@ -1734,6 +1735,11 @@ declare class Hls {
* If set to false, the mode will be set to hidden.
*/
subtitleDisplay: boolean;
/**
* (default: NaN)
* Return current download bandwidth in bits/s if available
*/
bandwidthEstimate: number;
/**
* calling this method will:
* bind videoElement and hls instances