From d2345ce920a5f35cd17ca8d89456dd98e9f11a2c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 29 Oct 2020 15:04:46 +0100 Subject: Add live doc in production.yaml --- config/production.yaml.example | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'config') diff --git a/config/production.yaml.example b/config/production.yaml.example index ca9c16739..f28d03e00 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -257,6 +257,43 @@ transcoding: hls: enabled: false +live: + enabled: false + + # Limit lives duration + # Set null to disable duration limit + max_duration: 5 hours + + # Limit max number of live videos created on your instance + # -1 == unlimited + max_instance_lives: 20 + + # Limit max number of live videos created by a user on your instance + # -1 == unlimited + max_user_lives: 3 + + # Allow your users to save a replay of their live + # PeerTube will transcode segments in a video file + # If the user daily/total quota is reached, PeerTube will stop the live + # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay + allow_replay: true + + rtmp: + port: 1935 + + # Allow to transcode the live streaming in multiple live resolutions + transcoding: + enabled: false + threads: 2 + + resolutions: + 240p: false + 360p: false + 480p: false + 720p: false + 1080p: false + 2160p: false + import: # Add ability for your users to import remote videos (from YouTube, torrent...) videos: -- cgit v1.2.3