aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-11 09:21:13 +0200
committerChocobozzz <me@florianbigard.com>2023-07-11 09:21:13 +0200
commit784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428 (patch)
tree29c46cfd6344065eb805680ed080cb05592ee1d4 /config
parentc3030e944ad03c7fd7b5d668a2d88ff03e4cdf19 (diff)
downloadPeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.tar.gz
PeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.tar.zst
PeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.zip
Prefer web videos in favour of webtorrent
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml8
-rw-r--r--config/production.yaml.example9
2 files changed, 8 insertions, 9 deletions
diff --git a/config/default.yaml b/config/default.yaml
index e54c93ac5..6f78fb7e9 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -201,7 +201,7 @@ object_storage:
201 # Useful when you want to use a CDN/external proxy 201 # Useful when you want to use a CDN/external proxy
202 base_url: '' # Example: 'https://mirror.example.com' 202 base_url: '' # Example: 'https://mirror.example.com'
203 203
204 # Same settings but for webtorrent videos 204 # Same settings but for web videos
205 videos: 205 videos:
206 bucket_name: 'videos' 206 bucket_name: 'videos'
207 prefix: '' 207 prefix: ''
@@ -480,18 +480,18 @@ transcoding:
480 # Transcode and keep original resolution, even if it's above your maximum enabled resolution 480 # Transcode and keep original resolution, even if it's above your maximum enabled resolution
481 always_transcode_original_resolution: true 481 always_transcode_original_resolution: true
482 482
483 # Generate videos in a WebTorrent format (what we do since the first PeerTube release) 483 # Generate videos in a web compatible format
484 # If you also enabled the hls format, it will multiply videos storage by 2 484 # If you also enabled the hls format, it will multiply videos storage by 2
485 # If disabled, breaks federation with PeerTube instances < 2.1 485 # If disabled, breaks federation with PeerTube instances < 2.1
486 webtorrent: 486 webtorrent:
487 enabled: false 487 enabled: false
488 488
489 # /!\ Requires ffmpeg >= 4.1 489 # /!\ Requires ffmpeg >= 4.1
490 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 490 # Generate HLS playlists and fragmented MP4 files. Better playback than with Web Videos:
491 # * Resolution change is smoother 491 # * Resolution change is smoother
492 # * Faster playback in particular with long videos 492 # * Faster playback in particular with long videos
493 # * More stable playback (less bugs/infinite loading) 493 # * More stable playback (less bugs/infinite loading)
494 # If you also enabled the webtorrent format, it will multiply videos storage by 2 494 # If you also enabled the web videos format, it will multiply videos storage by 2
495 hls: 495 hls:
496 enabled: true 496 enabled: true
497 497
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 83ee48dae..2898a45ac 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -199,7 +199,7 @@ object_storage:
199 # Useful when you want to use a CDN/external proxy 199 # Useful when you want to use a CDN/external proxy
200 base_url: '' # Example: 'https://mirror.example.com' 200 base_url: '' # Example: 'https://mirror.example.com'
201 201
202 # Same settings but for webtorrent videos 202 # Same settings but for web videos
203 videos: 203 videos:
204 bucket_name: 'videos' 204 bucket_name: 'videos'
205 prefix: '' 205 prefix: ''
@@ -490,18 +490,18 @@ transcoding:
490 # Transcode and keep original resolution, even if it's above your maximum enabled resolution 490 # Transcode and keep original resolution, even if it's above your maximum enabled resolution
491 always_transcode_original_resolution: true 491 always_transcode_original_resolution: true
492 492
493 # Generate videos in a WebTorrent format (what we do since the first PeerTube release) 493 # Generate videos in a web compatible format
494 # If you also enabled the hls format, it will multiply videos storage by 2 494 # If you also enabled the hls format, it will multiply videos storage by 2
495 # If disabled, breaks federation with PeerTube instances < 2.1 495 # If disabled, breaks federation with PeerTube instances < 2.1
496 webtorrent: 496 webtorrent:
497 enabled: false 497 enabled: false
498 498
499 # /!\ Requires ffmpeg >= 4.1 499 # /!\ Requires ffmpeg >= 4.1
500 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 500 # Generate HLS playlists and fragmented MP4 files. Better playback than with Web Videos:
501 # * Resolution change is smoother 501 # * Resolution change is smoother
502 # * Faster playback in particular with long videos 502 # * Faster playback in particular with long videos
503 # * More stable playback (less bugs/infinite loading) 503 # * More stable playback (less bugs/infinite loading)
504 # If you also enabled the webtorrent format, it will multiply videos storage by 2 504 # If you also enabled the web videos format, it will multiply videos storage by 2
505 hls: 505 hls:
506 enabled: true 506 enabled: true
507 507
@@ -599,7 +599,6 @@ video_studio:
599 # If enabled, users can create transcoding tasks as they wish 599 # If enabled, users can create transcoding tasks as they wish
600 enabled: false 600 enabled: false
601 601
602
603 # Enable remote runners to transcode studio tasks 602 # Enable remote runners to transcode studio tasks
604 # If enabled, your instance won't transcode the videos itself 603 # If enabled, your instance won't transcode the videos itself
605 # At least 1 remote runner must be configured to transcode your videos 604 # At least 1 remote runner must be configured to transcode your videos