Development around libVLC • [libvlcsharp] Automaitcally set audio delay



Hello.

I am creating my own player in wpf with libVLCSharp.WPF that is to send a video file via an HDMI / SDI converter. Unfortunately, this causes a sound delay that is always the same. About 0.3 – 0.4 seconds.
I can equalize the audio manually using the SetAudioDelay() method, but every time I start playing a new file, the alignment goes back to zero and I have to do it all over again.
Is there any way to make the player automatically remember the delay setting? Or Do I need to write my own method that will restore the setting every time I run a new video file?

Statistics: Posted by Ajgor — 07 Jun 2024 19:26