Fix the http port used not in sync with what is logged (#766)
* Fix the http port used not in sync with what is logged * Actually fix the logging race condition * Move the router logging to the router package
This commit is contained in:
@@ -72,10 +72,8 @@ func Start() error {
|
||||
// start the rtmp server
|
||||
go rtmp.Start(setStreamAsConnected, setBroadcaster)
|
||||
|
||||
port := config.WebServerPort
|
||||
rtmpPort := data.GetRTMPPortNumber()
|
||||
log.Infof("Web server is listening on port %d, RTMP is accepting inbound streams on port %d.", port, rtmpPort)
|
||||
log.Infoln("The web admin interface is available at /admin.")
|
||||
log.Infof("RTMP is accepting inbound streams on port %d.", rtmpPort)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user