mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Prefer web videos in favour of webtorrent
This commit is contained in:
parent
c3030e944a
commit
784e2ad5c3
102 changed files with 579 additions and 570 deletions
|
@ -8,7 +8,7 @@ import { isVideoInPrivateDirectory } from './video-privacy'
|
|||
|
||||
// ################## Video file name ##################
|
||||
|
||||
function generateWebTorrentVideoFilename (resolution: number, extname: string) {
|
||||
function generateWebVideoFilename (resolution: number, extname: string) {
|
||||
return buildUUID() + '-' + resolution + extname
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ function getFSTorrentFilePath (videoFile: MVideoFile) {
|
|||
|
||||
export {
|
||||
generateHLSVideoFilename,
|
||||
generateWebTorrentVideoFilename,
|
||||
generateWebVideoFilename,
|
||||
|
||||
generateTorrentFileName,
|
||||
getFSTorrentFilePath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue