Support AUTH for CreateEventSubscribe.

This commit is contained in:
sdk-team
2021-12-30 08:00:22 +00:00
parent 1d81df8694
commit 8a2d243786
6 changed files with 35 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ public:
~CreateEventSubscribeRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getNeedCallbackAuth() const;
void setNeedCallbackAuth(bool needCallbackAuth);
std::vector<std::string> getEvents() const;
void setEvents(const std::vector<std::string> &events);
std::string getShowLog() const;
@@ -49,6 +51,7 @@ public:
private:
std::string clientToken_;
bool needCallbackAuth_;
std::vector<std::string> events_;
std::string showLog_;
long ownerId_;

View File

@@ -80,6 +80,9 @@ public:
bool enableUserPaneBackground;
std::string backgroundPath;
};
struct OutputStreamParams {
std::string streamURL;
};
struct Backgrounds {
float width;
float height;
@@ -131,6 +134,8 @@ public:
void setCropMode(int cropMode);
std::vector<std::string> getSubSpecCameraUsers() const;
void setSubSpecCameraUsers(const std::vector<std::string> &subSpecCameraUsers);
std::vector<OutputStreamParams> getOutputStreamParams() const;
void setOutputStreamParams(const std::vector<OutputStreamParams> &outputStreamParams);
std::string getTaskProfile() const;
void setTaskProfile(const std::string &taskProfile);
std::vector<long> getLayoutIds() const;
@@ -177,6 +182,7 @@ private:
int rtpExtInfo_;
int cropMode_;
std::vector<std::string> subSpecCameraUsers_;
std::vector<OutputStreamParams> outputStreamParams_;
std::string taskProfile_;
std::vector<long> layoutIds_;
std::string streamURL_;