update gohlslib (#1583)

This commit is contained in:
Alessandro Ros
2023-03-20 00:34:13 +01:00
committed by GitHub
parent 32d6cb4435
commit 51a1cb9c78
4 changed files with 11 additions and 16 deletions

View File

@@ -88,8 +88,8 @@ func (s *rtspSource) run(ctx context.Context, cnf *conf.PathConf, reloadConf cha
OnResponse: func(res *base.Response) {
s.Log(logger.Debug, "s->c %v", res)
},
OnDecodeError: func(err error) {
s.Log(logger.Warn, "%v", err)
Log: func(level gortsplib.LogLevel, format string, args ...interface{}) {
s.Log(logger.Warn, format, args...)
},
}