aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/videos/live.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-26 11:29:50 +0100
committerChocobozzz <me@florianbigard.com>2020-11-26 11:30:18 +0100
commit884d2c39ae23b44d0d037aaff0f66ad9ae0807ba (patch)
tree1e06fa6954a987b08894c574e31db7e8c106bafe /shared/extra-utils/videos/live.ts
parent0151c41c65e0e3e94288314afe295358b9d698f7 (diff)
downloadPeerTube-884d2c39ae23b44d0d037aaff0f66ad9ae0807ba.tar.gz
PeerTube-884d2c39ae23b44d0d037aaff0f66ad9ae0807ba.tar.zst
PeerTube-884d2c39ae23b44d0d037aaff0f66ad9ae0807ba.zip
Fix live FPS limit
Diffstat (limited to 'shared/extra-utils/videos/live.ts')
-rw-r--r--shared/extra-utils/videos/live.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/extra-utils/videos/live.ts b/shared/extra-utils/videos/live.ts
index c8acb90da..266baaed3 100644
--- a/shared/extra-utils/videos/live.ts
+++ b/shared/extra-utils/videos/live.ts
@@ -69,6 +69,7 @@ function sendRTMPStream (rtmpBaseUrl: string, streamKey: string, fixtureName = '
69 command.outputOption('-c:v libx264') 69 command.outputOption('-c:v libx264')
70 command.outputOption('-g 50') 70 command.outputOption('-g 50')
71 command.outputOption('-keyint_min 2') 71 command.outputOption('-keyint_min 2')
72 command.outputOption('-r 60')
72 command.outputOption('-f flv') 73 command.outputOption('-f flv')
73 74
74 const rtmpUrl = rtmpBaseUrl + '/' + streamKey 75 const rtmpUrl = rtmpBaseUrl + '/' + streamKey