1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Don't add live videos in redundancy

This commit is contained in:
Chocobozzz 2020-11-06 14:33:31 +01:00 committed by Chocobozzz
parent 3cabf3532b
commit 9e2b2e76ba
5 changed files with 9 additions and 6 deletions

View file

@ -271,6 +271,8 @@ type TranscodeOptions =
| QuickTranscodeOptions
function transcode (options: TranscodeOptions) {
logger.debug('Will run transcode.', { options })
return new Promise<void>(async (res, rej) => {
try {
let command = getFFmpeg(options.inputPath)