Stop rtmp from reaching back into core (#290)
* Stop rtmp from reaching back into core. * Un-export since these functions no longer need to be public
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/owncast/owncast/config"
|
||||
"github.com/owncast/owncast/core/chat"
|
||||
"github.com/owncast/owncast/core/ffmpeg"
|
||||
"github.com/owncast/owncast/core/rtmp"
|
||||
"github.com/owncast/owncast/models"
|
||||
"github.com/owncast/owncast/utils"
|
||||
"github.com/owncast/owncast/yp"
|
||||
@@ -61,6 +62,9 @@ func Start() error {
|
||||
|
||||
chat.Setup(ChatListenerImpl{})
|
||||
|
||||
// start the rtmp server
|
||||
go rtmp.Start(setStreamAsConnected, setBroadcaster)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user