Add proper API of SRT log data

This commit is contained in:
Ingo Oppermann
2022-07-01 15:31:07 +02:00
parent 1931782638
commit da039f4751
9 changed files with 936 additions and 38 deletions

View File

@@ -701,7 +701,7 @@ func (a *api) start() error {
Token: cfg.SRT.Token,
Logger: a.log.logger.core.WithComponent("SRT").WithField("address", cfg.SRT.Address),
Collector: a.sessions.Collector("srt"),
SRTLogTopics: []string{"handshake", "connection"},
SRTLogTopics: []string{"listen", "handshake", "connection"},
}
srtserver, err := srt.New(config)