Log authentication errors as soon as possible, use the "warn" level, use the same message whatever the author or protocol.
11 lines
204 B
Go
11 lines
204 B
Go
package defs
|
|
|
|
import "github.com/bluenviron/mediamtx/internal/logger"
|
|
|
|
// Reader is an entity that can read a stream.
|
|
type Reader interface {
|
|
logger.Writer
|
|
Close()
|
|
APIReaderDescribe() *APIPathReader
|
|
}
|