We have a WPF software running on Windows 10 LTSB 64 bit (1607).
In order to play a sound file, we use System.Windows.Media.MediaTimeline targets System.Windows.Controls.MediaElement, wrapped with Storyboard, as suggested by Microsoft (See https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.mediatimeline?view=net-5.0) .
After installing Q1 and then Q2 2021 security updates the sounds stop working for the software. It is still working for the system (OS).
The software worked well prior to the updates.
Please note that changing the code to work with SoundPlayer resolved the issue: the sound works as expected.
However, we need to make the original code work.
Can someone please advise with this issue?
Thank you very much in advance!