diff --git a/internal/core/hls_muxer.go b/internal/core/hls_muxer.go index 485c1b8a..577f6116 100644 --- a/internal/core/hls_muxer.go +++ b/internal/core/hls_muxer.go @@ -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 H264, H265, MPEG4-Audio, Opus") + "the stream doesn't contain any supported codec, which are currently H265, H264, Opus, MPEG4-Audio") } var muxerDirectory string diff --git a/internal/core/rtmp_conn.go b/internal/core/rtmp_conn.go index 5e978f0c..906a90b4 100644 --- a/internal/core/rtmp_conn.go +++ b/internal/core/rtmp_conn.go @@ -404,7 +404,7 @@ func (c *rtmpConn) runRead(ctx context.Context, u *url.URL) error { if videoFormat == nil && audioFormat == nil { return fmt.Errorf( - "the stream doesn't contain any supported codec, which are currently H264, MPEG-1/2 Audio, MPEG-4 Audio") + "the stream doesn't contain any supported codec, which are currently H264, MPEG-4 Audio, MPEG-1/2 Audio") } defer res.stream.readerRemove(c) diff --git a/internal/core/webrtc_session.go b/internal/core/webrtc_session.go index f0ce719e..47c47112 100644 --- a/internal/core/webrtc_session.go +++ b/internal/core/webrtc_session.go @@ -62,7 +62,7 @@ func gatherOutgoingTracks(medias media.Medias) ([]*webRTCOutgoingTrack, error) { if tracks == nil { return nil, fmt.Errorf( - "the stream doesn't contain any supported codec, which are currently H264, VP8, VP9, G711, G722, Opus") + "the stream doesn't contain any supported codec, which are currently AV1, VP9, VP8, H264, Opus, G722, G711") } return tracks, nil