mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-10 04:11:59 -08:00
update error messages
This commit is contained in:
parent
6921a402d1
commit
b748e6d0ff
6 changed files with 6 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ func (d *SourceProtocol) UnmarshalJSON(b []byte) error {
|
|||
case "automatic":
|
||||
|
||||
default:
|
||||
return fmt.Errorf("unsupported protocol '%s'", in)
|
||||
return fmt.Errorf("invalid protocol '%s'", in)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue