qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
An abstract source of video frames.
std::atomic_bool deleteOnClose
void unsubscribe() override
Stop emitting frameAvailable signals, and free associated resources if necessary.
void pushFrame(const vpx_image_t *frame)
Makes a copy of the vpx_image_t and emits it as a new VideoFrame.
CoreVideoSource()
CoreVideoSource constructor.
std::atomic_int subscribers
void setDeleteOnClose(bool newstate)
Setup delete on close.
void subscribe() override
If subscribe sucessfully opens the source, it will start emitting frameAvailable signals.
A VideoSource that emits frames received by Core.
void stopSource()
Stopping the source.