aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/live')
-rw-r--r--server/lib/live/live-manager.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index 5ffe41ee3..da09aa05c 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -118,7 +118,7 @@ class LiveManager {
118 logger.error('Cannot run RTMP server.', { err, ...lTags() }) 118 logger.error('Cannot run RTMP server.', { err, ...lTags() })
119 }) 119 })
120 120
121 this.rtmpServer.listen(CONFIG.LIVE.RTMP.PORT) 121 this.rtmpServer.listen(CONFIG.LIVE.RTMP.PORT, CONFIG.LIVE.RTMP.HOSTNAME)
122 } 122 }
123 123
124 if (CONFIG.LIVE.RTMPS.ENABLED) { 124 if (CONFIG.LIVE.RTMPS.ENABLED) {
@@ -141,7 +141,7 @@ class LiveManager {
141 logger.error('Cannot run RTMPS server.', { err, ...lTags() }) 141 logger.error('Cannot run RTMPS server.', { err, ...lTags() })
142 }) 142 })
143 143
144 this.rtmpsServer.listen(CONFIG.LIVE.RTMPS.PORT) 144 this.rtmpsServer.listen(CONFIG.LIVE.RTMPS.PORT, CONFIG.LIVE.RTMPS.HOSTNAME)
145 } 145 }
146 } 146 }
147 147