5#ifndef MALENA_SCREEN_LAYOUT_H
6#define MALENA_SCREEN_LAYOUT_H
35 enum class Mode { Single, SideBySide, AboveBelow };
48 void setSource(
int pane,
const std::string& rtspUrl);
59 void pushFrame(
int pane,
const std::uint8_t* data, std::size_t size);
71 void layoutPanes()
const;
77 bool _running =
false;
void setScaleMode(ScreenReceiverBase::ScaleMode mode)
void setSource(int pane, const std::string &rtspUrl)
void pushFrame(int pane, const std::uint8_t *data, std::size_t size)
void setRatio(float ratio01)
void draw(sf::RenderTarget &target, sf::RenderStates states) const override
Draw this graphic to an SFML render target.
void setFrozen(int pane, bool frozen)
Displays a live H.264 video stream pulled from an RTSP/RTP source.