I want to understand how does OBS-Studio virtual camera works on window.
OBS-Studio's virtual camera plugin for window is https://github.com/Fenrirthviti/obs-virtual-cam . Which is built using DirectShow. In source code I saw two filters which are implementing IBaseFilter and Pin is implementing IPin. One of filter's output pin is implementing IAMStreamConfig and IKsPropertySet.
What are both the filters actually doing and how both the filters are helping creating final OBS output to virtual webcam?
OBS-Studio's virtual camera plugin for window is https://github.com/Fenrirthviti/obs-virtual-cam . Which is built using DirectShow. In source code I saw two filters which are implementing IBaseFilter and Pin is implementing IPin. One of filter's output pin is implementing IAMStreamConfig and IKsPropertySet.
What are both the filters actually doing and how both the filters are helping creating final OBS output to virtual webcam?