puhitaku / mtplvcap

Nikon to USB Webcam. Supports older models that Nikon WU does not. Windows/macOS/Linux. No HDMI capture dongle is needed. Ask me on Twitter @puhitaku
https://twitter.com/puhitaku
Other
251 stars 17 forks source link

Stream to browser without OBS? #79

Closed allesan closed 7 months ago

allesan commented 7 months ago

Is it possible to somehow bypass OBS and have Firefox detect my camera without OBS?

puhitaku commented 7 months ago

The browsers rely on the OS's video recording device API, but mtplvcap doesn't have a mechanism to connect the video stream from DSLRs to the API. OBS's virtual camera takes that part, so you can't "bypass" it since it's necessary.

Since it needs different OS-dependent code or each OS to connect mtplvcap to the video recording API, that's very heavy and I will only do it if someone gives me that part with CI support.