SDL
SDL copied to clipboard
Camera: pipewire-camera back-end detects no camera
on linux ubuntu-2404 + laptop, pipewire-camera backend gets initialized but see no camera. v4l2 actually sees 1 camera.
On Fedora 39, it looks like pipewire uses v4l2 behind the scenes:
$ SDL_CAMERA_DRIVER=v4l2 test/testcamera --trackmem
INFO: - Camera #0: HD WebCam: HD WebCam
$ SDL_CAMERA_DRIVER=pipewire test/testcamera --trackmem
INFO: - Camera #0: HD WebCam (V4L2)
The camera device name is a bit counter-intuitive here.
with pipe wire, I got
INFO: Saw 0 camera devices.
INFO: No cameras available?
not sure what to configure to get it working ...