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:
parent
3cabf3532b
commit
9e2b2e76ba
5 changed files with 9 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue