diff options
Diffstat (limited to 'client/src/assets/player/peertube-videojs-typings.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-typings.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index cf92e5f08..8afb424a7 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts | |||
@@ -9,6 +9,7 @@ import { PlaylistPlugin } from './playlist/playlist-plugin' | |||
9 | import { EndCardOptions } from './upnext/end-card' | 9 | import { EndCardOptions } from './upnext/end-card' |
10 | import { StatsCardOptions } from './stats/stats-card' | 10 | import { StatsCardOptions } from './stats/stats-card' |
11 | import { WebTorrentPlugin } from './webtorrent/webtorrent-plugin' | 11 | import { WebTorrentPlugin } from './webtorrent/webtorrent-plugin' |
12 | import { StatsForNerdsPlugin } from './stats/stats-plugin' | ||
12 | 13 | ||
13 | declare module 'video.js' { | 14 | declare module 'video.js' { |
14 | 15 | ||
@@ -37,7 +38,7 @@ declare module 'video.js' { | |||
37 | 38 | ||
38 | bezels (): void | 39 | bezels (): void |
39 | 40 | ||
40 | stats (options?: Partial<StatsCardOptions>): any | 41 | stats (options?: StatsCardOptions): StatsForNerdsPlugin |
41 | 42 | ||
42 | qualityLevels (): QualityLevels | 43 | qualityLevels (): QualityLevels |
43 | 44 | ||
@@ -198,6 +199,9 @@ type PlayerNetworkInfo = { | |||
198 | uploaded: number | 199 | uploaded: number |
199 | numPeers: number | 200 | numPeers: number |
200 | } | 201 | } |
202 | |||
203 | // In bytes | ||
204 | bandwidthEstimate: number | ||
201 | } | 205 | } |
202 | 206 | ||
203 | type PlaylistItemOptions = { | 207 | type PlaylistItemOptions = { |