Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Don't run ffmpeg twice for lives

Chocobozzza5cf9c986789
diff --git a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
index 5bad348606..c6ee8ebf1c 100644
--- a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
+++ b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
@@ -45,8 +45,6 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags())
- this.ffmpegCommand.run()
-
let ffmpegShellCommand: string
this.ffmpegCommand.on('start', cmdline => {
ffmpegShellCommand = cmdline