diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 11 | ||||
-rw-r--r-- | config/test.yaml | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml index 7efaeb5a2..d0937bfc8 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -246,9 +246,20 @@ transcoding: | |||
246 | live: | 246 | live: |
247 | enabled: false | 247 | enabled: false |
248 | 248 | ||
249 | # Limit lives duration | ||
250 | # Set null to disable duration limit | ||
251 | max_duration: 5 hours | ||
252 | |||
253 | # Allow your users to save a replay of their live | ||
254 | # PeerTube will transcode segments in a video file | ||
255 | # If the user daily/total quota is reached, PeerTube will stop the live | ||
256 | # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay | ||
257 | allow_replay: true | ||
258 | |||
249 | rtmp: | 259 | rtmp: |
250 | port: 1935 | 260 | port: 1935 |
251 | 261 | ||
262 | # Allow to transcode the live streaming in multiple live resolutions | ||
252 | transcoding: | 263 | transcoding: |
253 | enabled: false | 264 | enabled: false |
254 | threads: 2 | 265 | threads: 2 |
diff --git a/config/test.yaml b/config/test.yaml index b9279b5e6..865ed5400 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -89,7 +89,7 @@ live: | |||
89 | port: 1935 | 89 | port: 1935 |
90 | 90 | ||
91 | transcoding: | 91 | transcoding: |
92 | enabled: false | 92 | enabled: true |
93 | threads: 2 | 93 | threads: 2 |
94 | 94 | ||
95 | resolutions: | 95 | resolutions: |