mirror of https://github.com/Chocobozzz/PeerTube
Don't run ffmpeg twice for lives
parent
fe7019b232
commit
a5cf9c9867
|
@ -45,8 +45,6 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
|
||||||
|
|
||||||
logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags())
|
logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags())
|
||||||
|
|
||||||
this.ffmpegCommand.run()
|
|
||||||
|
|
||||||
let ffmpegShellCommand: string
|
let ffmpegShellCommand: string
|
||||||
this.ffmpegCommand.on('start', cmdline => {
|
this.ffmpegCommand.on('start', cmdline => {
|
||||||
ffmpegShellCommand = cmdline
|
ffmpegShellCommand = cmdline
|
||||||
|
|
Loading…
Reference in New Issue