when I use capturing with WASAPI, the sound seems to lag behind the video quite a bit, up to half a second to a second if I had to guess. When firing guns, this is quite noticeable.
Is this a know problem?
When I connect to the cloud machine with Parsec audio and video are synced. I have the same problem in my local LAN testing setup, audio and video are not in sync.
The code that initialises audio is quite short:
const string AudioStream = "AUDIO"; /// [...] ThrowOnError(GenvidSDK.CreateStream(AudioStream)); ThrowOnError(GenvidSDK.SetParameter(AudioStream, "Audio.Source.WASAPI", 1));
I have no other audio-related code.
Since the audio is behind the video, it can’t be that I submit video-frames late. Any idea what I could do to improve the syncronization?