mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 11:19:58 +01:00
BugFix stop stream without deleting it
This commit is contained in:
@@ -46,6 +46,7 @@ public:
|
||||
inline bool enabled() const { return enabled_; }
|
||||
void setSession(Session *se);
|
||||
void removeStreams(const std::string &clientname);
|
||||
void removeStream(const std::string &sender, int port);
|
||||
|
||||
bool busy();
|
||||
std::vector<std::string> listStreams();
|
||||
@@ -53,7 +54,6 @@ public:
|
||||
protected:
|
||||
void addStream(const std::string &sender, int reply_to, const std::string &clientname);
|
||||
void refuseStream(const std::string &sender, int reply_to);
|
||||
void removeStream(const std::string &sender, int port);
|
||||
|
||||
private:
|
||||
|
||||
@@ -73,6 +73,8 @@ class VideoStreamer : public FrameGrabber
|
||||
{
|
||||
friend class Streaming;
|
||||
|
||||
void stop() override;
|
||||
|
||||
// Frame buffer information
|
||||
FrameBuffer *frame_buffer_;
|
||||
uint width_;
|
||||
@@ -101,7 +103,6 @@ public:
|
||||
~VideoStreamer();
|
||||
|
||||
void addFrame(FrameBuffer *frame_buffer, float dt) override;
|
||||
void stop() override;
|
||||
std::string info() override;
|
||||
double duration() override;
|
||||
bool busy() override;
|
||||
|
||||
Reference in New Issue
Block a user