From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 18 Feb 2020 22:17:55 +0000 (+0100)
Subject: More performance/streaming-friendly config for PeerTube.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/do_todos?a=commitdiff_plain;h=f7821b5725b4c24d74bc74687a19a2974011db3b;p=config

More performance/streaming-friendly config for PeerTube.
---

diff --git a/buster/other_files/peertube_production.yaml b/buster/other_files/peertube_production.yaml
index 32f905f..176a3b6 100644
--- a/buster/other_files/peertube_production.yaml
+++ b/buster/other_files/peertube_production.yaml
@@ -221,11 +221,11 @@ transcoding:
   threads: 1
   resolutions: # Only created if the original video has a higher resolution, uses more storage!
     0p: false # audio-only (creates mp4 without video stream, always created when enabled)
-    240p: false
-    360p: false
-    480p: false
-    720p: false
-    1080p: false
+    240p: true
+    360p: true
+    480p: true
+    720p: true
+    1080p: true
     2160p: false
 
   # Generate videos in a WebTorrent format (what we do since the first PeerTube release)
@@ -241,7 +241,7 @@ transcoding:
   #     * More stable playback (less bugs/infinite loading)
   # If you also enabled the webtorrent format, it will multiply videos storage by 2
   hls:
-    enabled: false
+    enabled: true
 
 import:
   # Add ability for your users to import remote videos (from YouTube, torrent...)