mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #32742 from Beraliv/master
[@types/hls.js] Add bandwidth estimate type
This commit is contained in:
Vendored
+6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user