diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/production.yaml.example | 37 |
1 files changed, 37 insertions, 0 deletions
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: | |||
257 | hls: | 257 | hls: |
258 | enabled: false | 258 | enabled: false |
259 | 259 | ||
260 | live: | ||
261 | enabled: false | ||
262 | |||
263 | # Limit lives duration | ||
264 | # Set null to disable duration limit | ||
265 | max_duration: 5 hours | ||
266 | |||
267 | # Limit max number of live videos created on your instance | ||
268 | # -1 == unlimited | ||
269 | max_instance_lives: 20 | ||
270 | |||
271 | # Limit max number of live videos created by a user on your instance | ||
272 | # -1 == unlimited | ||
273 | max_user_lives: 3 | ||
274 | |||
275 | # Allow your users to save a replay of their live | ||
276 | # PeerTube will transcode segments in a video file | ||
277 | # If the user daily/total quota is reached, PeerTube will stop the live | ||
278 | # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay | ||
279 | allow_replay: true | ||
280 | |||
281 | rtmp: | ||
282 | port: 1935 | ||
283 | |||
284 | # Allow to transcode the live streaming in multiple live resolutions | ||
285 | transcoding: | ||
286 | enabled: false | ||
287 | threads: 2 | ||
288 | |||
289 | resolutions: | ||
290 | 240p: false | ||
291 | 360p: false | ||
292 | 480p: false | ||
293 | 720p: false | ||
294 | 1080p: false | ||
295 | 2160p: false | ||
296 | |||
260 | import: | 297 | import: |
261 | # Add ability for your users to import remote videos (from YouTube, torrent...) | 298 | # Add ability for your users to import remote videos (from YouTube, torrent...) |
262 | videos: | 299 | videos: |