// Methods
virtual std::future<bool> send(const_frame frame) = 0;
virtual void initialize(const video_format_desc& format_desc, const audio_channel_layout& channel_layout, int channel_index) = 0;
// Methods
virtual std::future<bool> send(const_frame frame) = 0;
virtual void initialize(const video_format_desc& format_desc, const audio_channel_layout& channel_layout, int channel_index) = 0;
virtual int buffer_depth() const = 0; // -1 to not participate in frame presentation synchronization
virtual int index() const = 0;
virtual int64_t presentation_frame_age_millis() const = 0;
virtual int buffer_depth() const = 0; // -1 to not participate in frame presentation synchronization
virtual int index() const = 0;
virtual int64_t presentation_frame_age_millis() const = 0;
};
typedef std::function<spl::shared_ptr<frame_consumer>(
const std::vector<std::wstring>&,
};
typedef std::function<spl::shared_ptr<frame_consumer>(
const std::vector<std::wstring>&,
typedef std::function<spl::shared_ptr<frame_consumer>(
const boost::property_tree::wptree& element,
typedef std::function<spl::shared_ptr<frame_consumer>(
const boost::property_tree::wptree& element,
const preconfigured_consumer_factory_t& factory);
spl::shared_ptr<frame_consumer> create_consumer(
const std::vector<std::wstring>& params,
const preconfigured_consumer_factory_t& factory);
spl::shared_ptr<frame_consumer> create_consumer(
const std::vector<std::wstring>& params,
spl::shared_ptr<frame_consumer> create_consumer(
const std::wstring& element_name,
const boost::property_tree::wptree& element,
spl::shared_ptr<frame_consumer> create_consumer(
const std::wstring& element_name,
const boost::property_tree::wptree& element,