mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +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
|
@ -131,7 +131,7 @@ export class ConfigCommand extends AbstractCommand {
|
|||
}
|
||||
|
||||
// TODO: convert args to object
|
||||
enableTranscoding (webtorrent = true, hls = true, with0p = false) {
|
||||
enableTranscoding (webVideo = true, hls = true, with0p = false) {
|
||||
return this.updateExistingSubConfig({
|
||||
newConfig: {
|
||||
transcoding: {
|
||||
|
@ -143,7 +143,7 @@ export class ConfigCommand extends AbstractCommand {
|
|||
resolutions: ConfigCommand.getCustomConfigResolutions(true, with0p),
|
||||
|
||||
webtorrent: {
|
||||
enabled: webtorrent
|
||||
enabled: webVideo
|
||||
},
|
||||
hls: {
|
||||
enabled: hls
|
||||
|
@ -154,7 +154,7 @@ export class ConfigCommand extends AbstractCommand {
|
|||
}
|
||||
|
||||
// TODO: convert args to object
|
||||
enableMinimumTranscoding (webtorrent = true, hls = true) {
|
||||
enableMinimumTranscoding (webVideo = true, hls = true) {
|
||||
return this.updateExistingSubConfig({
|
||||
newConfig: {
|
||||
transcoding: {
|
||||
|
@ -170,7 +170,7 @@ export class ConfigCommand extends AbstractCommand {
|
|||
},
|
||||
|
||||
webtorrent: {
|
||||
enabled: webtorrent
|
||||
enabled: webVideo
|
||||
},
|
||||
hls: {
|
||||
enabled: hls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue