normalize error message (#2160)

This commit is contained in:
Alessandro Ros
2023-08-06 17:56:11 +02:00
committed by GitHub
parent 1edcc5a670
commit a2e94fe3db
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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",