fix error message (#4522)

This commit is contained in:
Alessandro Ros
2025-05-12 22:10:13 +02:00
committed by GitHub
parent e0ad33320e
commit 3b3b898358
+2 -2
View File
@@ -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,