normalize error message (#2160)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user