mirror of
https://github.com/aler9/gortsplib
synced 2025-10-30 10:06:28 +08:00
update error message
This commit is contained in:
@@ -39,7 +39,7 @@ func setupGetTrackIDPathQuery(
|
||||
// URL doesn't contain trackID - it's track zero
|
||||
if i < 0 {
|
||||
if !strings.HasSuffix(pathAndQuery, "/") {
|
||||
return 0, "", "", fmt.Errorf("path must end with a slash (%v)", pathAndQuery)
|
||||
return 0, "", "", fmt.Errorf("path of a SETUP request must end with a slash (%v)", pathAndQuery)
|
||||
}
|
||||
pathAndQuery = pathAndQuery[:len(pathAndQuery)-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user