mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-31 07:19:06 +02:00
add rtmp broadcast
This commit is contained in:
parent
160b542a2c
commit
0e4f2327d4
9 changed files with 90 additions and 19 deletions
|
@ -61,6 +61,7 @@ func init() {
|
|||
Root: &config.Root{},
|
||||
Server: &config.Server{},
|
||||
Remote: &config.Remote{},
|
||||
Broadcast: &config.Broadcast{},
|
||||
WebRTC: &config.WebRTC{},
|
||||
WebSocket: &config.WebSocket{},
|
||||
}
|
||||
|
@ -99,6 +100,7 @@ type Neko struct {
|
|||
Version *Version
|
||||
Root *config.Root
|
||||
Remote *config.Remote
|
||||
Broadcast *config.Broadcast
|
||||
Server *config.Server
|
||||
WebRTC *config.WebRTC
|
||||
WebSocket *config.WebSocket
|
||||
|
@ -117,7 +119,7 @@ func (neko *Neko) Preflight() {
|
|||
|
||||
func (neko *Neko) Start() {
|
||||
|
||||
remoteManager := remote.New(neko.Remote)
|
||||
remoteManager := remote.New(neko.Remote, neko.Broadcast)
|
||||
remoteManager.Start()
|
||||
|
||||
sessionManager := session.New(remoteManager)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue