fix error message (#4522)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user