diff --git a/CHANGELOG b/CHANGELOG index 0e3848013..1091b9eaf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-10-13 Version: patch +- Generated 2018-01-11 for `rtc`. + 2020-10-13 Version: patch - Generated 2018-12-12 for `vs`. diff --git a/rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h b/rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h index 532ec03f1..39d397175 100644 --- a/rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h +++ b/rtc/include/alibabacloud/rtc/model/CreateMPULayoutRequest.h @@ -54,6 +54,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAppId()const; void setAppId(const std::string& appId); + std::string getName()const; + void setName(const std::string& name); int getAudioMixCount()const; void setAudioMixCount(int audioMixCount); @@ -62,6 +64,7 @@ namespace AlibabaCloud std::string showLog_; long ownerId_; std::string appId_; + std::string name_; int audioMixCount_; }; diff --git a/rtc/include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h b/rtc/include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h index 4031b5871..b86bd031e 100644 --- a/rtc/include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h +++ b/rtc/include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h @@ -47,6 +47,7 @@ namespace AlibabaCloud int audioMixCount; long layoutId; std::vector panes; + std::string name; }; diff --git a/rtc/src/model/CreateMPULayoutRequest.cc b/rtc/src/model/CreateMPULayoutRequest.cc index e2751a6d2..9569b6a42 100644 --- a/rtc/src/model/CreateMPULayoutRequest.cc +++ b/rtc/src/model/CreateMPULayoutRequest.cc @@ -81,6 +81,17 @@ void CreateMPULayoutRequest::setAppId(const std::string& appId) setParameter("AppId", appId); } +std::string CreateMPULayoutRequest::getName()const +{ + return name_; +} + +void CreateMPULayoutRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + int CreateMPULayoutRequest::getAudioMixCount()const { return audioMixCount_; diff --git a/rtc/src/model/DescribeMPULayoutInfoResult.cc b/rtc/src/model/DescribeMPULayoutInfoResult.cc index 0fcc86431..76156db4e 100644 --- a/rtc/src/model/DescribeMPULayoutInfoResult.cc +++ b/rtc/src/model/DescribeMPULayoutInfoResult.cc @@ -42,6 +42,8 @@ void DescribeMPULayoutInfoResult::parse(const std::string &payload) auto layoutNode = value["Layout"]; if(!layoutNode["LayoutId"].isNull()) layout_.layoutId = std::stol(layoutNode["LayoutId"].asString()); + if(!layoutNode["Name"].isNull()) + layout_.name = layoutNode["Name"].asString(); if(!layoutNode["AudioMixCount"].isNull()) layout_.audioMixCount = std::stoi(layoutNode["AudioMixCount"].asString()); auto allPanesNode = layoutNode["Panes"]["PanesItem"];