+ movit::ResourcePool *get_resource_pool() const { return resource_pool; }
+
+ // Should be called as part of VideoInput.new() only.
+ void register_video_input(FFmpegCapture *capture)
+ {
+ video_inputs.push_back(capture);
+ }
+
+ std::vector<FFmpegCapture *> get_video_inputs() const
+ {
+ return video_inputs;
+ }
+
+#ifdef HAVE_CEF
+ // Should be called as part of HTMLInput.new() only.
+ void register_html_input(CEFCapture *capture)
+ {
+ html_inputs.push_back(capture);
+ }
+
+ std::vector<CEFCapture *> get_html_inputs() const
+ {
+ return html_inputs;
+ }
+#endif
+
+ void register_video_signal_connection(LiveInputWrapper *live_input, FFmpegCapture *capture)
+ {
+ video_signal_connections.emplace_back(live_input, capture);
+ }
+
+ std::vector<std::pair<LiveInputWrapper *, FFmpegCapture *>> get_video_signal_connections() const
+ {
+ return video_signal_connections;
+ }
+
+#ifdef HAVE_CEF
+ void register_html_signal_connection(LiveInputWrapper *live_input, CEFCapture *capture)
+ {
+ html_signal_connections.emplace_back(live_input, capture);
+ }
+
+ std::vector<std::pair<LiveInputWrapper *, CEFCapture *>> get_html_signal_connections() const
+ {
+ return html_signal_connections;
+ }
+#endif
+