move DVT conversion to connection

This commit is contained in:
2024-10-03 16:05:21 +02:00
parent 7cb4f67f96
commit 14a726ad75
2 changed files with 10 additions and 37 deletions

View File

@ -7,6 +7,11 @@
#include <atomic>
#include <thread>
// tips: you can force a SDL vido driver by setting an env:
// SDL_CAMERA_DRIVER=v4l2
// SDL_CAMERA_DRIVER=pipewire
// etc.
// while a stream is subscribed, have the camera device open
// and aquire and push frames from a thread
struct SDLVideo2InputDevice : public FrameStream2MultiSource<SDLVideoFrame> {