Add ability to disable webtorrent
In favour of HLS
This commit is contained in:
parent
14981d7331
commit
d7a25329f9
80 changed files with 1189 additions and 540 deletions
|
@ -134,9 +134,9 @@ async function doesRedundancyExist (file: string) {
|
|||
return true
|
||||
}
|
||||
|
||||
const videoFile = video.getFile(resolution)
|
||||
const videoFile = video.getWebTorrentFile(resolution)
|
||||
if (!videoFile) {
|
||||
console.error('Cannot find file of video %s - %d', video.url, resolution)
|
||||
console.error('Cannot find webtorrent file of video %s - %d', video.url, resolution)
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue