fix MPEG-4 audio configuration not matching error (#5468) (#5533)

This happened when using alwaysAvailableFile and a MPEG-4 audio track.
This commit is contained in:
Alessandro Ros
2026-02-28 20:17:44 +01:00
committed by GitHub
parent 5e80554d20
commit 4ebfcde8e2
+1
View File
@@ -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
},
}},
})