How to enable audio when using VideoCapturePlayer?

144 Views Asked by At

I am trying to integrate a live feed in my WPF application using DirectShow device. Both audio and video is working fine in VLC. I have integrated VideoCapturePlayer from the WPF-MediaKit in a simple application and i am able to see live video feed from the device, but i am unable to get the audio. I am not 100% sure that it is possible to capture both audio and video using the VideoCapturePlayer. Any help in getting the audio to work will be appreciated.

1

There are 1 best solutions below

2
On

Probably there's no Audio renderer set up in VideoCapturePlayer. Try to pull up the MediaUriBase.InsertAudioRenderer into the MediaPlayerBase and use it for the VideoCapturePlayer. If you succeed, open a new PR with your code.