client: fix authentication during SETUP, preventing 401s during protocol switches (https://github.com/aler9/rtsp-simple-server/issues/392)

This commit is contained in:
aler9
2021-05-30 12:00:35 +02:00
parent 2c0d28ecb4
commit 9007f20af8
3 changed files with 49 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import (
"github.com/aler9/gortsplib/pkg/headers"
)
// Validator allows to validate some credentials generated by a Sender.
// Validator allows to validate credentials generated by a Sender.
type Validator struct {
user string
userHashed bool