diff options
Diffstat (limited to 'client/src/assets')
-rw-r--r-- | client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts | 4 | ||||
-rw-r--r-- | client/src/assets/player/webtorrent/webtorrent-plugin.ts | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts b/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts index c44c184d5..c3f863f72 100644 --- a/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts +++ b/client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts | |||
@@ -77,6 +77,10 @@ class P2pMediaLoaderPlugin extends Plugin { | |||
77 | clearInterval(this.networkInfoInterval) | 77 | clearInterval(this.networkInfoInterval) |
78 | } | 78 | } |
79 | 79 | ||
80 | getHLSJS () { | ||
81 | return this.hlsjs | ||
82 | } | ||
83 | |||
80 | private initialize () { | 84 | private initialize () { |
81 | initHlsJsPlayer(this.hlsjs) | 85 | initHlsJsPlayer(this.hlsjs) |
82 | 86 | ||
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index 5101b5162..35cf85c99 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts | |||
@@ -229,6 +229,10 @@ class WebTorrentPlugin extends Plugin { | |||
229 | this.trigger('resolutionChange', { auto: this.autoResolution, resolutionId: this.getCurrentResolutionId() }) | 229 | this.trigger('resolutionChange', { auto: this.autoResolution, resolutionId: this.getCurrentResolutionId() }) |
230 | } | 230 | } |
231 | 231 | ||
232 | isAutoResolutionPossible () { | ||
233 | return this.autoResolutionPossible | ||
234 | } | ||
235 | |||
232 | getTorrent () { | 236 | getTorrent () { |
233 | return this.torrent | 237 | return this.torrent |
234 | } | 238 | } |