How can I get video capture from a virtual webcam?

I want to use the processing video library (or another library) to receive a video stream of my OBS virtualcam. However printArray(Capture.list()); only returns the physical webcam, and not the video stream I need created by OBS (open broadcasting software). I tried looking at ipcapture, but it wants an ip address for the mpeg stream.

DID you solved it ?

im certainly no expert on this, but does this not cover the requirements?

it suggests using obs studio which seemingly provides video capture.