]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Live streaming implementation first step
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index eedd285375a825d32d8ccb0a7aa2288996630705..b9279b5e68a7e0f6c8e245c0f63b8e7dfdfca5e4 100644 (file)
@@ -37,24 +37,24 @@ log:
 
 contact_form:
   enabled: true
-
-redundancy:
-  videos:
-    check_interval: '10 minutes'
-    strategies:
-      -
-        size: '10MB'
-        min_lifetime: '10 minutes'
-        strategy: 'most-views'
-      -
-        size: '10MB'
-        min_lifetime: '10 minutes'
-        strategy: 'trending'
-      -
-        size: '10MB'
-        min_lifetime: '10 minutes'
-        strategy: 'recently-added'
-        min_views: 1
+#
+#redundancy:
+#  videos:
+#    check_interval: '1 minute'
+#    strategies:
+#      -
+#        size: '1000MB'
+#        min_lifetime: '10 minutes'
+#        strategy: 'most-views'
+#      -
+#        size: '1000MB'
+#        min_lifetime: '10 minutes'
+#        strategy: 'trending'
+#      -
+#        size: '1000MB'
+#        min_lifetime: '10 minutes'
+#        strategy: 'recently-added'
+#        min_views: 1
 
 cache:
   previews:
@@ -72,7 +72,7 @@ transcoding:
   allow_audio_files: false
   threads: 2
   resolutions:
-    0p: true
+    0p: false
     240p: true
     360p: true
     480p: true
@@ -82,10 +82,31 @@ transcoding:
   hls:
     enabled: true
 
+live:
+  enabled: false
+
+  rtmp:
+    port: 1935
+
+  transcoding:
+    enabled: false
+    threads: 2
+
+    resolutions:
+      240p: false
+      360p: false
+      480p: false
+      720p: false
+      1080p: false
+      2160p: false
+
 import:
   videos:
     http:
       enabled: true
+      proxy:
+        enabled: false
+        url: ""
     torrent:
       enabled: true
 
@@ -95,3 +116,25 @@ instance:
 plugins:
   index:
     check_latest_versions_interval: '10 minutes'
+
+search:
+  # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
+  # If enabled, the associated group will be able to "escape" from the instance follows
+  # That means they will be able to follow channels, watch videos, list videos of non followed instances
+  remote_uri:
+    users: true
+    anonymous: false
+
+  # Use a third party index instead of your local index, only for search results
+  # Useful to discover content outside of your instance
+  search_index:
+    enabled: false
+    # URL of the search index, that should use the same search API and routes
+    # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
+    # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
+    # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
+    url: 'http://localhost:3234'
+    # You can disable local search, so users only use the search index
+    disable_local_search: false
+    # If you did not disable local search, you can decide to use the search index by default
+    is_default_search: true