Browse Source

normalize error message (#2160)

pull/2162/head
Alessandro Ros 2 years ago committed by GitHub
parent
commit
a2e94fe3db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      internal/core/hls_muxer.go
  2. 2
      internal/core/srt_conn.go

2
internal/core/hls_muxer.go

@ -272,7 +272,7 @@ func (m *hlsMuxer) runInner(innerCtx context.Context, innerReady chan struct{}) @@ -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

2
internal/core/srt_conn.go

@ -742,7 +742,7 @@ func (c *srtConn) runRead(req srtNewConnReq, pathName string, user string, pass @@ -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…
Cancel
Save