]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/live-manager.ts
Support progress for ffmpeg tasks
[github/Chocobozzz/PeerTube.git] / server / lib / live-manager.ts
index 379f61bdf332de10b9491f2346b4631cb011bdf3..7f5fdf8992835af7038f41dd8c93accc0ab8fc77 100644 (file)
@@ -109,6 +109,10 @@ class LiveManager {
     logger.info('Running RTMP server on port %d', config.rtmp.port)
 
     this.rtmpServer = new NodeRtmpServer(config)
+    this.rtmpServer.tcpServer.on('error', err => {
+      logger.error('Cannot run RTMP server.', { err })
+    })
+
     this.rtmpServer.run()
   }