This commit is contained in:
dexter
2022-03-08 17:18:05 +08:00
parent 0bbd227b72
commit ca1b08e499
6 changed files with 55 additions and 116 deletions

View File

@@ -59,8 +59,8 @@ func (c *RTMPConfig) OnEvent(event any) {
}
}
}
var plugin = InstallPlugin(&RTMPConfig{
var conf = &RTMPConfig{
ChunkSize: 4096,
TCP: config.TCP{ListenAddr: ":1935"},
})
}
var plugin = InstallPlugin(conf)