stream optimizations

This commit is contained in:
Maik Jurischka
2025-12-12 14:37:57 +01:00
parent 43a1abdd31
commit 9c9f822f35
10 changed files with 168 additions and 24 deletions

View File

@@ -7,12 +7,12 @@
class GStreamerPipeline {
public:
explicit GStreamerPipeline(const std::string& pipelineDescription);
explicit GStreamerPipeline(std::string pipelineDescription);
~GStreamerPipeline();
bool start();
void stop();
bool pushBuffer(uint8_t* data, size_t size, int width, int height, const std::string& format);
bool pushBuffer(const uint8_t* data, size_t size, int width, int height, const std::string& format);
bool isRunning() const { return running_; }
void setPipelineDescription(const std::string& description);