[libvlcsharp] Automaitcally set audio delay

This forum is about all development around libVLC.
Ajgor
New Cone
New Cone
Posts: 5
Joined: 23 May 2024 15:27

[libvlcsharp] Automaitcally set audio delay

Postby Ajgor » 07 Jun 2024 19:26

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?

mfkl
Developer
Developer
Posts: 746
Joined: 13 Jun 2017 10:41

Re: [libvlcsharp] Automaitcally set audio delay

Postby mfkl » 11 Jun 2024 10:58

Not sure, what the logs are saying?
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 44 guests