mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-24 12:01:56 -08:00
normalize error message (#2160)
This commit is contained in:
parent
1edcc5a670
commit
a2e94fe3db
2 changed files with 2 additions and 2 deletions
|
|
@ -272,7 +272,7 @@ func (m *hlsMuxer) runInner(innerCtx context.Context, innerReady chan struct{})
|
|||
|
||||
if medias == nil {
|
||||
return fmt.Errorf(
|
||||
"the stream doesn't contain any supported codec, which are currently H265, H264, Opus, MPEG4-Audio")
|
||||
"the stream doesn't contain any supported codec, which are currently H265, H264, Opus, MPEG-4 Audio")
|
||||
}
|
||||
|
||||
var muxerDirectory string
|
||||
|
|
|
|||
|
|
@ -742,7 +742,7 @@ func (c *srtConn) runRead(req srtNewConnReq, pathName string, user string, pass
|
|||
|
||||
if len(tracks) == 0 {
|
||||
return true, fmt.Errorf(
|
||||
"the stream doesn't contain any supported codec, which are currently H265, H264, Opus, MPEG4-Audio")
|
||||
"the stream doesn't contain any supported codec, which are currently H265, H264, Opus, MPEG-4 Audio")
|
||||
}
|
||||
|
||||
c.Log(logger.Info, "is reading from path '%s', %s",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue