aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server.ts2
-rw-r--r--server/lib/live-manager.ts4
2 files changed, 5 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index edfbab3d7..e674a09d4 100644
--- a/server.ts
+++ b/server.ts
@@ -283,7 +283,7 @@ async function startApplication () {
283 283
284 // Make server listening 284 // Make server listening
285 server.listen(port, hostname, () => { 285 server.listen(port, hostname, () => {
286 logger.info('Server listening on %s:%d', hostname, port) 286 logger.info('HTTP server listening on %s:%d', hostname, port)
287 logger.info('Web server: %s', WEBSERVER.URL) 287 logger.info('Web server: %s', WEBSERVER.URL)
288 288
289 Hooks.runAction('action:application.listening') 289 Hooks.runAction('action:application.listening')
diff --git a/server/lib/live-manager.ts b/server/lib/live-manager.ts
index 379f61bdf..7f5fdf899 100644
--- a/server/lib/live-manager.ts
+++ b/server/lib/live-manager.ts
@@ -109,6 +109,10 @@ class LiveManager {
109 logger.info('Running RTMP server on port %d', config.rtmp.port) 109 logger.info('Running RTMP server on port %d', config.rtmp.port)
110 110
111 this.rtmpServer = new NodeRtmpServer(config) 111 this.rtmpServer = new NodeRtmpServer(config)
112 this.rtmpServer.tcpServer.on('error', err => {
113 logger.error('Cannot run RTMP server.', { err })
114 })
115
112 this.rtmpServer.run() 116 this.rtmpServer.run()
113 } 117 }
114 118