Buffer websocket messages until they were processed

This commit is contained in:
WarmUpTill
2024-01-21 14:33:07 +01:00
committed by WarmUpTill
parent cf5f338902
commit 9b34af98fd
4 changed files with 34 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ public:
void Load(obs_data_t *obj);
void Save(obs_data_t *obj) const;
std::string GetName() { return _name; }
std::vector<std::string> &Events() { return _client.Events(); }
std::vector<WSMessage> &Events() { return _client.Events(); }
bool IsUsingOBSProtocol() { return _useOBSWSProtocol; }
private: