qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
virtual void unsubscribe()=0
Stop emitting frameAvailable signals, and free associated resources if necessary.
std::uint_fast64_t IDType
void frameAvailable(std::shared_ptr< VideoFrame > frame)
Emitted when new frame available to use.
An abstract source of video frames.
virtual void subscribe()=0
If subscribe sucessfully opens the source, it will start emitting frameAvailable signals.
std::atomic_uint_fast64_t AtomicIDType
void sourceStopped()
Emitted when the source is stopped for an indefinite amount of time, but might restart sending frames...
const IDType id
ID of this VideoSource.
An ownernship and management class for AVFrames.
static AtomicIDType sourceIDs
virtual ~VideoSource()=default