rtc支持单端口

This commit is contained in:
yangjiechina
2024-07-13 13:53:26 +08:00
parent 0114a36249
commit 27da874258
7 changed files with 114 additions and 40 deletions

View File

@@ -35,6 +35,7 @@ func init() {
stream.SetDefaultConfig(config)
stream.AppConfig = *config
stream.InitHookUrl()
rtc.InitConfig()
//初始化日志
log.InitLogger(zapcore.Level(stream.AppConfig.Log.Level), stream.AppConfig.Log.Name, stream.AppConfig.Log.MaxSize, stream.AppConfig.Log.MaxBackup, stream.AppConfig.Log.MaxAge, stream.AppConfig.Log.Compress)