mirror of
https://github.com/aler9/gortsplib
synced 2025-10-19 05:24:44 +08:00
restore API compatibility
This commit is contained in:
@@ -64,10 +64,7 @@ func NewValidator(user string, pass string, methods []headers.AuthMethod) *Valid
|
||||
methods = []headers.AuthMethod{headers.AuthBasic}
|
||||
}
|
||||
|
||||
nonce, err := GenerateNonce()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
nonce := GenerateNonce()
|
||||
|
||||
return &Validator{
|
||||
user: user,
|
||||
|
Reference in New Issue
Block a user