Add custom RTMP port number support (#462)

* Bump api spec version

* Add support for custom RTMP port. Closes #454
This commit is contained in:
Gabe Kangas
2020-12-17 09:56:04 -08:00
committed by GitHub
parent ef792c66a6
commit e9c7ff29cf
4 changed files with 14 additions and 3 deletions

View File

@ -66,7 +66,8 @@ func Start() error {
go rtmp.Start(setStreamAsConnected, setBroadcaster)
port := config.Config.GetPublicWebServerPort()
log.Infof("Web server is listening on port %d, RTMP is accepting inbound streams on port 1935.", port)
rtmpPort := config.Config.GetRTMPServerPort()
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.")
return nil