From 4ebfcde8e2cd0eef33d47e8974bd16cc75f45194 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sat, 28 Feb 2026 20:17:44 +0100 Subject: [PATCH] fix MPEG-4 audio configuration not matching error (#5468) (#5533) This happened when using alwaysAvailableFile and a MPEG-4 audio track. --- internal/stream/stream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/stream/stream.go b/internal/stream/stream.go index 6f21a917..94cc375e 100644 --- a/internal/stream/stream.go +++ b/internal/stream/stream.go @@ -96,6 +96,7 @@ func mediasFromAlwaysAvailableFile(alwaysAvailableFile string) ([]*description.M Type: mpeg4audio.ObjectTypeAACLC, SampleRate: codec.Config.SampleRate, ChannelConfig: codec.Config.ChannelConfig, + ChannelCount: codec.Config.ChannelCount, //nolint:staticcheck }, }}, })