aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-04 13:40:02 +0100
committerChocobozzz <chocobozzz@cpy.re>2022-03-09 09:23:10 +0100
commitf443a74649174b2f9347c158e30f8ac7aa3e958a (patch)
treee423bc4e2307477bda4341037b7fa04ad10adae6 /config
parent01dd04cd5ab7b55d2a9af7d0ebf405bee9579b09 (diff)
downloadPeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.gz
PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.zst
PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.zip
Add latency setting support
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml6
-rw-r--r--config/production.yaml.example6
2 files changed, 12 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index d76894b52..898395705 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -392,6 +392,12 @@ live:
392 # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay 392 # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay
393 allow_replay: true 393 allow_replay: true
394 394
395 # Allow your users to change latency settings (small latency/default/high latency)
396 # Small latency live streams cannot use P2P
397 # High latency live streams can increase P2P ratio
398 latency_setting:
399 enabled: true
400
395 # Your firewall should accept traffic from this port in TCP if you enable live 401 # Your firewall should accept traffic from this port in TCP if you enable live
396 rtmp: 402 rtmp:
397 enabled: true 403 enabled: true
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 45d26190a..03afe5841 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -400,6 +400,12 @@ live:
400 # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay 400 # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay
401 allow_replay: true 401 allow_replay: true
402 402
403 # Allow your users to change latency settings (small latency/default/high latency)
404 # Small latency live streams cannot use P2P
405 # High latency live streams can increase P2P ratio
406 latency_setting:
407 enabled: true
408
403 # Your firewall should accept traffic from this port in TCP if you enable live 409 # Your firewall should accept traffic from this port in TCP if you enable live
404 rtmp: 410 rtmp:
405 enabled: true 411 enabled: true