MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ VideoStreamReader()

MayaFlux::Buffers::VideoStreamReader::VideoStreamReader ( const std::shared_ptr< Kakshya::StreamContainer > &  container)
explicit

Construct a VideoStreamReader for the given container.

Parameters
containerThe video StreamContainer to read from.

Definition at line 10 of file VideoContainerBuffer.cpp.

11 : m_container(container)
12{
13 if (container) {
14 container->register_state_change_callback(
15 [this](const auto& c, auto s) {
16 this->on_container_state_change(c, s);
17 });
18 }
19}
void on_container_state_change(const std::shared_ptr< Kakshya::SignalSourceContainer > &container, Kakshya::ProcessingState state)
Respond to container state changes.
std::shared_ptr< Kakshya::StreamContainer > m_container

References on_container_state_change().

+ Here is the call graph for this function: