1
0
Fork 0
forked from External/mediamtx

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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...)
},
}