aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-05 13:41:48 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commita687879e94fa5d3ecdd76bec3d94d0e1698ee913 (patch)
treeb17ee096918dfd4624d50dbf0e91ff8f66bd4a7f /shared
parente7d8e2b245491c0a8e008fb570037506d729ff04 (diff)
downloadPeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.gz
PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.zst
PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.zip
Reload the video after waiting for the files lock
Diffstat (limited to 'shared')
-rw-r--r--shared/server-commands/videos/live.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/server-commands/videos/live.ts b/shared/server-commands/videos/live.ts
index 578e6ede7..3b09d3ff8 100644
--- a/shared/server-commands/videos/live.ts
+++ b/shared/server-commands/videos/live.ts
@@ -21,8 +21,8 @@ function sendRTMPStream (options: {
21 command.outputOption('-c copy') 21 command.outputOption('-c copy')
22 } else { 22 } else {
23 command.outputOption('-c:v libx264') 23 command.outputOption('-c:v libx264')
24 command.outputOption('-g 50') 24 command.outputOption('-g 120')
25 command.outputOption('-keyint_min 2') 25 command.outputOption('-x264-params "no-scenecut=1"')
26 command.outputOption('-r 60') 26 command.outputOption('-r 60')
27 } 27 }
28 28