mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Rename webtorrent config to web_videos
This commit is contained in:
parent
784e2ad5c3
commit
c57ad141a9
36 changed files with 108 additions and 81 deletions
|
@ -37,7 +37,7 @@ describe('Test audio only video transcoding', function () {
|
|||
hls: {
|
||||
enabled: true
|
||||
},
|
||||
webtorrent: {
|
||||
web_videos: {
|
||||
enabled: true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -165,7 +165,7 @@ function runTests (enableObjectStorage: boolean) {
|
|||
enabled: true,
|
||||
resolutions: ConfigCommand.getCustomConfigResolutions(false),
|
||||
|
||||
webtorrent: {
|
||||
webVideos: {
|
||||
enabled: true
|
||||
},
|
||||
hls: {
|
||||
|
@ -201,7 +201,7 @@ function runTests (enableObjectStorage: boolean) {
|
|||
enabled: true,
|
||||
resolutions: ConfigCommand.getCustomConfigResolutions(true),
|
||||
|
||||
webtorrent: {
|
||||
webVideos: {
|
||||
enabled: true
|
||||
},
|
||||
hls: {
|
||||
|
|
|
@ -136,7 +136,7 @@ describe('Test HLS videos', function () {
|
|||
hls: {
|
||||
enabled: true
|
||||
},
|
||||
webtorrent: {
|
||||
webVideos: {
|
||||
enabled: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ function updateConfigForTranscoding (server: PeerTubeServer) {
|
|||
allowAdditionalExtensions: true,
|
||||
allowAudioFiles: true,
|
||||
hls: { enabled: true },
|
||||
webtorrent: { enabled: true },
|
||||
webVideos: { enabled: true },
|
||||
resolutions: {
|
||||
'0p': false,
|
||||
'144p': true,
|
||||
|
@ -333,7 +333,7 @@ describe('Test video transcoding', function () {
|
|||
newConfig: {
|
||||
transcoding: {
|
||||
hls: { enabled: true },
|
||||
webtorrent: { enabled: true },
|
||||
webVideos: { enabled: true },
|
||||
resolutions: {
|
||||
'0p': false,
|
||||
'144p': false,
|
||||
|
@ -405,7 +405,7 @@ describe('Test video transcoding', function () {
|
|||
newConfig: {
|
||||
transcoding: {
|
||||
hls: { enabled: true },
|
||||
webtorrent: { enabled: true },
|
||||
webVideos: { enabled: true },
|
||||
resolutions: {
|
||||
'0p': true,
|
||||
'144p': false,
|
||||
|
@ -586,7 +586,7 @@ describe('Test video transcoding', function () {
|
|||
'1440p': true,
|
||||
'2160p': true
|
||||
},
|
||||
webtorrent: { enabled: true },
|
||||
web_videos: { enabled: true },
|
||||
hls: { enabled: true }
|
||||
}
|
||||
}
|
||||
|
@ -728,7 +728,7 @@ describe('Test video transcoding', function () {
|
|||
transcoding: {
|
||||
enabled: true,
|
||||
hls: { enabled: true },
|
||||
webtorrent: { enabled: true },
|
||||
webVideos: { enabled: true },
|
||||
resolutions: {
|
||||
'0p': false,
|
||||
'144p': false,
|
||||
|
|
|
@ -121,7 +121,7 @@ describe('Test update video privacy while transcoding', function () {
|
|||
hls: {
|
||||
enabled: true
|
||||
},
|
||||
webtorrent: {
|
||||
webVideos: {
|
||||
enabled: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -277,7 +277,7 @@ describe('Test video studio', function () {
|
|||
await servers[0].config.updateExistingSubConfig({
|
||||
newConfig: {
|
||||
transcoding: {
|
||||
webtorrent: {
|
||||
webVideos: {
|
||||
enabled: false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue