From 3b3b8983588b753b0a6ff5d72e001bf5116d930a Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Mon, 12 May 2025 22:10:13 +0200 Subject: [PATCH] fix error message (#4522) --- internal/protocols/rtmp/from_stream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/protocols/rtmp/from_stream.go b/internal/protocols/rtmp/from_stream.go index b15ba6ed..f4b3149a 100644 --- a/internal/protocols/rtmp/from_stream.go +++ b/internal/protocols/rtmp/from_stream.go @@ -16,7 +16,7 @@ import ( ) var errNoSupportedCodecsFrom = errors.New( - "the strm doesn't contain any supported codec, which are currently H264, MPEG-4 Audio, MPEG-1/2 Audio") + "the stream doesn't contain any supported codec, which are currently H264, MPEG-4 Audio, MPEG-1/2 Audio") func multiplyAndDivide2(v, m, d time.Duration) time.Duration { secs := v / d @@ -183,7 +183,7 @@ func setupAudio( return nil } -// FromStream maps a MediaMTX strm to a RTMP strm. +// FromStream maps a MediaMTX stream to a RTMP stream. func FromStream( str *stream.Stream, reader stream.Reader,