Update to support new apis.
This commit is contained in:
@@ -376,6 +376,8 @@
|
||||
#include "model/DescribeLiveGrtnTrafficUsageResult.h"
|
||||
#include "model/DescribeLiveHttpsDomainListRequest.h"
|
||||
#include "model/DescribeLiveHttpsDomainListResult.h"
|
||||
#include "model/DescribeLiveInteractionMetricDataRequest.h"
|
||||
#include "model/DescribeLiveInteractionMetricDataResult.h"
|
||||
#include "model/DescribeLiveIpInfoRequest.h"
|
||||
#include "model/DescribeLiveIpInfoResult.h"
|
||||
#include "model/DescribeLiveLazyPullStreamConfigRequest.h"
|
||||
@@ -424,6 +426,8 @@
|
||||
#include "model/DescribeLiveStreamCountResult.h"
|
||||
#include "model/DescribeLiveStreamDelayConfigRequest.h"
|
||||
#include "model/DescribeLiveStreamDelayConfigResult.h"
|
||||
#include "model/DescribeLiveStreamDetailFrameRateAndBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamDetailFrameRateAndBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamHistoryUserNumRequest.h"
|
||||
#include "model/DescribeLiveStreamHistoryUserNumResult.h"
|
||||
#include "model/DescribeLiveStreamMetricDetailDataRequest.h"
|
||||
@@ -558,6 +562,8 @@
|
||||
#include "model/GetMultiRateConfigResult.h"
|
||||
#include "model/GetMultiRateConfigListRequest.h"
|
||||
#include "model/GetMultiRateConfigListResult.h"
|
||||
#include "model/GetTranscodeTaskStatusRequest.h"
|
||||
#include "model/GetTranscodeTaskStatusResult.h"
|
||||
#include "model/HotLiveRtcStreamRequest.h"
|
||||
#include "model/HotLiveRtcStreamResult.h"
|
||||
#include "model/InitializeAutoShowListTaskRequest.h"
|
||||
@@ -666,6 +672,8 @@
|
||||
#include "model/RemoveTerminalsResult.h"
|
||||
#include "model/RestartCasterRequest.h"
|
||||
#include "model/RestartCasterResult.h"
|
||||
#include "model/RestartTranscodeTaskRequest.h"
|
||||
#include "model/RestartTranscodeTaskResult.h"
|
||||
#include "model/ResumeLiveStreamRequest.h"
|
||||
#include "model/ResumeLiveStreamResult.h"
|
||||
#include "model/RollbackLiveStagingConfigRequest.h"
|
||||
@@ -1340,6 +1348,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveHttpsDomainListResult> DescribeLiveHttpsDomainListOutcome;
|
||||
typedef std::future<DescribeLiveHttpsDomainListOutcome> DescribeLiveHttpsDomainListOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveHttpsDomainListRequest&, const DescribeLiveHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveHttpsDomainListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveInteractionMetricDataResult> DescribeLiveInteractionMetricDataOutcome;
|
||||
typedef std::future<DescribeLiveInteractionMetricDataOutcome> DescribeLiveInteractionMetricDataOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveInteractionMetricDataRequest&, const DescribeLiveInteractionMetricDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveInteractionMetricDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveIpInfoResult> DescribeLiveIpInfoOutcome;
|
||||
typedef std::future<DescribeLiveIpInfoOutcome> DescribeLiveIpInfoOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveIpInfoRequest&, const DescribeLiveIpInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveIpInfoAsyncHandler;
|
||||
@@ -1412,6 +1423,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamDelayConfigResult> DescribeLiveStreamDelayConfigOutcome;
|
||||
typedef std::future<DescribeLiveStreamDelayConfigOutcome> DescribeLiveStreamDelayConfigOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamDelayConfigRequest&, const DescribeLiveStreamDelayConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamDelayConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamDetailFrameRateAndBitRateDataResult> DescribeLiveStreamDetailFrameRateAndBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamDetailFrameRateAndBitRateDataOutcome> DescribeLiveStreamDetailFrameRateAndBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamDetailFrameRateAndBitRateDataRequest&, const DescribeLiveStreamDetailFrameRateAndBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamDetailFrameRateAndBitRateDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamHistoryUserNumResult> DescribeLiveStreamHistoryUserNumOutcome;
|
||||
typedef std::future<DescribeLiveStreamHistoryUserNumOutcome> DescribeLiveStreamHistoryUserNumOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamHistoryUserNumRequest&, const DescribeLiveStreamHistoryUserNumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamHistoryUserNumAsyncHandler;
|
||||
@@ -1613,6 +1627,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMultiRateConfigListResult> GetMultiRateConfigListOutcome;
|
||||
typedef std::future<GetMultiRateConfigListOutcome> GetMultiRateConfigListOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::GetMultiRateConfigListRequest&, const GetMultiRateConfigListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultiRateConfigListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTranscodeTaskStatusResult> GetTranscodeTaskStatusOutcome;
|
||||
typedef std::future<GetTranscodeTaskStatusOutcome> GetTranscodeTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::GetTranscodeTaskStatusRequest&, const GetTranscodeTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTranscodeTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::HotLiveRtcStreamResult> HotLiveRtcStreamOutcome;
|
||||
typedef std::future<HotLiveRtcStreamOutcome> HotLiveRtcStreamOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::HotLiveRtcStreamRequest&, const HotLiveRtcStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HotLiveRtcStreamAsyncHandler;
|
||||
@@ -1775,6 +1792,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RestartCasterResult> RestartCasterOutcome;
|
||||
typedef std::future<RestartCasterOutcome> RestartCasterOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::RestartCasterRequest&, const RestartCasterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartCasterAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartTranscodeTaskResult> RestartTranscodeTaskOutcome;
|
||||
typedef std::future<RestartTranscodeTaskOutcome> RestartTranscodeTaskOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::RestartTranscodeTaskRequest&, const RestartTranscodeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartTranscodeTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResumeLiveStreamResult> ResumeLiveStreamOutcome;
|
||||
typedef std::future<ResumeLiveStreamOutcome> ResumeLiveStreamOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::ResumeLiveStreamRequest&, const ResumeLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeLiveStreamAsyncHandler;
|
||||
@@ -2512,6 +2532,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveHttpsDomainListOutcome describeLiveHttpsDomainList(const Model::DescribeLiveHttpsDomainListRequest &request)const;
|
||||
void describeLiveHttpsDomainListAsync(const Model::DescribeLiveHttpsDomainListRequest& request, const DescribeLiveHttpsDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveHttpsDomainListOutcomeCallable describeLiveHttpsDomainListCallable(const Model::DescribeLiveHttpsDomainListRequest& request) const;
|
||||
DescribeLiveInteractionMetricDataOutcome describeLiveInteractionMetricData(const Model::DescribeLiveInteractionMetricDataRequest &request)const;
|
||||
void describeLiveInteractionMetricDataAsync(const Model::DescribeLiveInteractionMetricDataRequest& request, const DescribeLiveInteractionMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveInteractionMetricDataOutcomeCallable describeLiveInteractionMetricDataCallable(const Model::DescribeLiveInteractionMetricDataRequest& request) const;
|
||||
DescribeLiveIpInfoOutcome describeLiveIpInfo(const Model::DescribeLiveIpInfoRequest &request)const;
|
||||
void describeLiveIpInfoAsync(const Model::DescribeLiveIpInfoRequest& request, const DescribeLiveIpInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveIpInfoOutcomeCallable describeLiveIpInfoCallable(const Model::DescribeLiveIpInfoRequest& request) const;
|
||||
@@ -2584,6 +2607,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamDelayConfigOutcome describeLiveStreamDelayConfig(const Model::DescribeLiveStreamDelayConfigRequest &request)const;
|
||||
void describeLiveStreamDelayConfigAsync(const Model::DescribeLiveStreamDelayConfigRequest& request, const DescribeLiveStreamDelayConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamDelayConfigOutcomeCallable describeLiveStreamDelayConfigCallable(const Model::DescribeLiveStreamDelayConfigRequest& request) const;
|
||||
DescribeLiveStreamDetailFrameRateAndBitRateDataOutcome describeLiveStreamDetailFrameRateAndBitRateData(const Model::DescribeLiveStreamDetailFrameRateAndBitRateDataRequest &request)const;
|
||||
void describeLiveStreamDetailFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamDetailFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamDetailFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamDetailFrameRateAndBitRateDataOutcomeCallable describeLiveStreamDetailFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamDetailFrameRateAndBitRateDataRequest& request) const;
|
||||
DescribeLiveStreamHistoryUserNumOutcome describeLiveStreamHistoryUserNum(const Model::DescribeLiveStreamHistoryUserNumRequest &request)const;
|
||||
void describeLiveStreamHistoryUserNumAsync(const Model::DescribeLiveStreamHistoryUserNumRequest& request, const DescribeLiveStreamHistoryUserNumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamHistoryUserNumOutcomeCallable describeLiveStreamHistoryUserNumCallable(const Model::DescribeLiveStreamHistoryUserNumRequest& request) const;
|
||||
@@ -2785,6 +2811,9 @@ namespace AlibabaCloud
|
||||
GetMultiRateConfigListOutcome getMultiRateConfigList(const Model::GetMultiRateConfigListRequest &request)const;
|
||||
void getMultiRateConfigListAsync(const Model::GetMultiRateConfigListRequest& request, const GetMultiRateConfigListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMultiRateConfigListOutcomeCallable getMultiRateConfigListCallable(const Model::GetMultiRateConfigListRequest& request) const;
|
||||
GetTranscodeTaskStatusOutcome getTranscodeTaskStatus(const Model::GetTranscodeTaskStatusRequest &request)const;
|
||||
void getTranscodeTaskStatusAsync(const Model::GetTranscodeTaskStatusRequest& request, const GetTranscodeTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTranscodeTaskStatusOutcomeCallable getTranscodeTaskStatusCallable(const Model::GetTranscodeTaskStatusRequest& request) const;
|
||||
HotLiveRtcStreamOutcome hotLiveRtcStream(const Model::HotLiveRtcStreamRequest &request)const;
|
||||
void hotLiveRtcStreamAsync(const Model::HotLiveRtcStreamRequest& request, const HotLiveRtcStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HotLiveRtcStreamOutcomeCallable hotLiveRtcStreamCallable(const Model::HotLiveRtcStreamRequest& request) const;
|
||||
@@ -2947,6 +2976,9 @@ namespace AlibabaCloud
|
||||
RestartCasterOutcome restartCaster(const Model::RestartCasterRequest &request)const;
|
||||
void restartCasterAsync(const Model::RestartCasterRequest& request, const RestartCasterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartCasterOutcomeCallable restartCasterCallable(const Model::RestartCasterRequest& request) const;
|
||||
RestartTranscodeTaskOutcome restartTranscodeTask(const Model::RestartTranscodeTaskRequest &request)const;
|
||||
void restartTranscodeTaskAsync(const Model::RestartTranscodeTaskRequest& request, const RestartTranscodeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartTranscodeTaskOutcomeCallable restartTranscodeTaskCallable(const Model::RestartTranscodeTaskRequest& request) const;
|
||||
ResumeLiveStreamOutcome resumeLiveStream(const Model::ResumeLiveStreamRequest &request)const;
|
||||
void resumeLiveStreamAsync(const Model::ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeLiveStreamOutcomeCallable resumeLiveStreamCallable(const Model::ResumeLiveStreamRequest& request) const;
|
||||
|
||||
@@ -29,13 +29,13 @@ namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AudioLayer {
|
||||
float volumeRate;
|
||||
int fixedDelayDuration;
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
};
|
||||
struct VideoLayer {
|
||||
int fixedDelayDuration;
|
||||
std::string fillMode;
|
||||
int fixedDelayDuration;
|
||||
float heightNormalized;
|
||||
std::string positionRefer;
|
||||
float widthNormalized;
|
||||
|
||||
@@ -30,10 +30,10 @@ class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceReques
|
||||
public:
|
||||
struct Episode {
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string episodeName;
|
||||
std::string episodeType;
|
||||
std::string resourceId;
|
||||
std::string startTime;
|
||||
std::string switchType;
|
||||
};
|
||||
AddCasterProgramRequest();
|
||||
|
||||
@@ -34,12 +34,12 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Items
|
||||
{
|
||||
struct SuccessItem
|
||||
struct FailedItem
|
||||
{
|
||||
std::string itemName;
|
||||
std::string itemId;
|
||||
};
|
||||
struct FailedItem
|
||||
struct SuccessItem
|
||||
{
|
||||
std::string itemName;
|
||||
std::string itemId;
|
||||
|
||||
@@ -29,13 +29,13 @@ namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT AddShowIntoShowListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct ShowList {
|
||||
std::string showName;
|
||||
long duration;
|
||||
int liveInputType;
|
||||
int repeatTimes;
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
std::string resourceUrl;
|
||||
int liveInputType;
|
||||
long duration;
|
||||
std::string resourceId;
|
||||
std::string showName;
|
||||
};
|
||||
AddShowIntoShowListRequest();
|
||||
~AddShowIntoShowListRequest();
|
||||
|
||||
@@ -34,6 +34,23 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Component
|
||||
{
|
||||
struct CaptionLayerContent
|
||||
{
|
||||
float borderWidthNormalized;
|
||||
std::string color;
|
||||
std::string borderColor;
|
||||
std::string locationId;
|
||||
bool showSourceLan;
|
||||
std::string sourceLan;
|
||||
int wordCountPerLine;
|
||||
int ptsOffset;
|
||||
float sizeNormalized;
|
||||
std::string fontName;
|
||||
float wordSpaceNormalized;
|
||||
std::string targetLan;
|
||||
int wordsCount;
|
||||
float lineSpaceNormalized;
|
||||
};
|
||||
struct ComponentLayer
|
||||
{
|
||||
std::vector<std::string> positionNormalizeds;
|
||||
@@ -42,6 +59,10 @@ namespace AlibabaCloud
|
||||
std::string positionRefer;
|
||||
float widthNormalized;
|
||||
};
|
||||
struct ImageLayerContent
|
||||
{
|
||||
std::string materialId;
|
||||
};
|
||||
struct TextLayerContent
|
||||
{
|
||||
float borderWidthNormalized;
|
||||
@@ -51,34 +72,13 @@ namespace AlibabaCloud
|
||||
std::string fontName;
|
||||
std::string text;
|
||||
};
|
||||
struct ImageLayerContent
|
||||
{
|
||||
std::string materialId;
|
||||
};
|
||||
struct CaptionLayerContent
|
||||
{
|
||||
float borderWidthNormalized;
|
||||
std::string color;
|
||||
std::string sourceLan;
|
||||
std::string borderColor;
|
||||
std::string locationId;
|
||||
bool showSourceLan;
|
||||
int wordCountPerLine;
|
||||
int ptsOffset;
|
||||
float sizeNormalized;
|
||||
std::string fontName;
|
||||
float wordSpaceNormalized;
|
||||
std::string targetLan;
|
||||
int wordsCount;
|
||||
float lineSpaceNormalized;
|
||||
};
|
||||
CaptionLayerContent captionLayerContent;
|
||||
TextLayerContent textLayerContent;
|
||||
std::string componentType;
|
||||
ComponentLayer componentLayer;
|
||||
std::string locationId;
|
||||
std::string effect;
|
||||
std::string componentName;
|
||||
std::string effect;
|
||||
std::string componentId;
|
||||
ImageLayerContent imageLayerContent;
|
||||
};
|
||||
|
||||
@@ -32,11 +32,6 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TranscodeConfig
|
||||
{
|
||||
std::string casterTemplate;
|
||||
std::vector<std::string> liveTemplateIds;
|
||||
};
|
||||
struct RecordConfig
|
||||
{
|
||||
struct RecordFormatItem
|
||||
@@ -51,6 +46,11 @@ namespace AlibabaCloud
|
||||
std::string ossBucket;
|
||||
int onDemand;
|
||||
};
|
||||
struct TranscodeConfig
|
||||
{
|
||||
std::string casterTemplate;
|
||||
std::vector<std::string> liveTemplateIds;
|
||||
};
|
||||
struct SyncGroup
|
||||
{
|
||||
std::vector<std::string> resourceIds;
|
||||
@@ -64,13 +64,13 @@ namespace AlibabaCloud
|
||||
~DescribeCasterConfigResult();
|
||||
int getChannelEnable()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getUrgentImageUrl()const;
|
||||
std::string getAutoSwitchUrgentConfig()const;
|
||||
std::string getUrgentMaterialId()const;
|
||||
std::string getUrgentImageUrl()const;
|
||||
std::string getSideOutputUrlList()const;
|
||||
std::string getUrgentMaterialId()const;
|
||||
TranscodeConfig getTranscodeConfig()const;
|
||||
std::string getUrgentImageId()const;
|
||||
std::string getProgramName()const;
|
||||
std::string getUrgentImageId()const;
|
||||
float getDelay()const;
|
||||
std::string getCallbackUrl()const;
|
||||
std::string getSideOutputUrl()const;
|
||||
@@ -87,13 +87,13 @@ namespace AlibabaCloud
|
||||
private:
|
||||
int channelEnable_;
|
||||
std::string domainName_;
|
||||
std::string urgentImageUrl_;
|
||||
std::string autoSwitchUrgentConfig_;
|
||||
std::string urgentMaterialId_;
|
||||
std::string urgentImageUrl_;
|
||||
std::string sideOutputUrlList_;
|
||||
std::string urgentMaterialId_;
|
||||
TranscodeConfig transcodeConfig_;
|
||||
std::string urgentImageId_;
|
||||
std::string programName_;
|
||||
std::string urgentImageId_;
|
||||
float delay_;
|
||||
std::string callbackUrl_;
|
||||
std::string sideOutputUrl_;
|
||||
|
||||
@@ -34,6 +34,12 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Layout
|
||||
{
|
||||
struct AudioLayer
|
||||
{
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
int fixedDelayDuration;
|
||||
};
|
||||
struct VideoLayer
|
||||
{
|
||||
std::vector<std::string> positionNormalizeds;
|
||||
@@ -43,12 +49,6 @@ namespace AlibabaCloud
|
||||
int fixedDelayDuration;
|
||||
float widthNormalized;
|
||||
};
|
||||
struct AudioLayer
|
||||
{
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
int fixedDelayDuration;
|
||||
};
|
||||
std::vector<std::string> mixList;
|
||||
std::vector<Layout::AudioLayer> audioLayers;
|
||||
std::vector<Layout::VideoLayer> videoLayers;
|
||||
|
||||
@@ -39,8 +39,8 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> componentIds;
|
||||
std::string endTime;
|
||||
std::string resourceId;
|
||||
std::string startTime;
|
||||
std::string episodeType;
|
||||
std::string startTime;
|
||||
std::string episodeId;
|
||||
std::string episodeName;
|
||||
};
|
||||
@@ -52,8 +52,8 @@ namespace AlibabaCloud
|
||||
int getProgramEffect()const;
|
||||
int getTotal()const;
|
||||
std::vector<Episode> getEpisodes()const;
|
||||
std::string getProgramName()const;
|
||||
std::string getCasterId()const;
|
||||
std::string getProgramName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -61,8 +61,8 @@ namespace AlibabaCloud
|
||||
int programEffect_;
|
||||
int total_;
|
||||
std::vector<Episode> episodes_;
|
||||
std::string programName_;
|
||||
std::string casterId_;
|
||||
std::string programName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,11 +37,11 @@ namespace AlibabaCloud
|
||||
struct StreamInfo
|
||||
{
|
||||
std::string outputStreamUrl;
|
||||
std::string videoFormat;
|
||||
std::string transcodeConfig;
|
||||
std::string videoFormat;
|
||||
};
|
||||
int status;
|
||||
std::string sceneId;
|
||||
int status;
|
||||
std::vector<std::string> componentIds;
|
||||
std::string sceneName;
|
||||
std::string layoutId;
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
struct StreamInfo
|
||||
{
|
||||
std::string outputStreamUrl;
|
||||
std::string videoFormat;
|
||||
std::string transcodeConfig;
|
||||
std::string videoFormat;
|
||||
};
|
||||
std::string sceneId;
|
||||
std::vector<CasterStream::StreamInfo> streamInfos;
|
||||
std::string rtsUrl;
|
||||
std::string streamUrl;
|
||||
std::string rtmpUrl;
|
||||
int outputType;
|
||||
std::string rtmpUrl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -39,8 +39,8 @@ namespace AlibabaCloud
|
||||
std::string flvUrl;
|
||||
std::string resourceName;
|
||||
std::string locationId;
|
||||
int repeatNum;
|
||||
std::string imageUrl;
|
||||
int repeatNum;
|
||||
std::string liveStreamUrl;
|
||||
int ptsCallbackInterval;
|
||||
std::string vodUrl;
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace AlibabaCloud
|
||||
std::string sSLPub;
|
||||
std::string gmtModified;
|
||||
std::string region;
|
||||
std::string gmtCreated;
|
||||
std::string certName;
|
||||
std::string gmtCreated;
|
||||
std::string cname;
|
||||
std::string domainStatus;
|
||||
std::string sSLProtocol;
|
||||
|
||||
@@ -34,8 +34,8 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct MonitoringDataItem
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string domainName;
|
||||
std::string instanceId;
|
||||
std::string region;
|
||||
int duration;
|
||||
std::string timeStamp;
|
||||
@@ -48,8 +48,8 @@ namespace AlibabaCloud
|
||||
~DescribeLiveDomainMonitoringUsageDataResult();
|
||||
std::vector<MonitoringDataItem> getMonitoringData()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getRegion()const;
|
||||
|
||||
@@ -58,8 +58,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<MonitoringDataItem> monitoringData_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
std::string domainName_;
|
||||
std::string instanceId_;
|
||||
std::string startTime_;
|
||||
std::string region_;
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
std::string certUpdateTime;
|
||||
std::string certStatus;
|
||||
std::string domainName;
|
||||
std::string certType;
|
||||
std::string certCommonName;
|
||||
std::string certType;
|
||||
std::string certExpireTime;
|
||||
std::string certName;
|
||||
std::string certStartTime;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATAREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveInteractionMetricDataRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveInteractionMetricDataRequest();
|
||||
~DescribeLiveInteractionMetricDataRequest();
|
||||
std::string getMetricType() const;
|
||||
void setMetricType(const std::string &metricType);
|
||||
long getEndTs() const;
|
||||
void setEndTs(long endTs);
|
||||
std::string getOs() const;
|
||||
void setOs(const std::string &os);
|
||||
long getBeginTs() const;
|
||||
void setBeginTs(long beginTs);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
std::string getTerminalType() const;
|
||||
void setTerminalType(const std::string &terminalType);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
long endTs_;
|
||||
std::string os_;
|
||||
long beginTs_;
|
||||
std::string appId_;
|
||||
std::string terminalType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATAREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATARESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveInteractionMetricDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string value;
|
||||
std::string timestamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveInteractionMetricDataResult();
|
||||
explicit DescribeLiveInteractionMetricDataResult(const std::string &payload);
|
||||
~DescribeLiveInteractionMetricDataResult();
|
||||
std::string getSummaryData()const;
|
||||
std::vector<Data> getNodes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string summaryData_;
|
||||
std::vector<Data> nodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEINTERACTIONMETRICDATARESULT_H_
|
||||
@@ -39,8 +39,8 @@ namespace AlibabaCloud
|
||||
std::string domainName;
|
||||
int partDuration;
|
||||
std::string protocol;
|
||||
int segmentNum;
|
||||
int segmentDuration;
|
||||
int segmentNum;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace AlibabaCloud
|
||||
std::string getOrder()const;
|
||||
int getTotalNum()const;
|
||||
int getPageNum()const;
|
||||
int getTotalPage()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<LivePackageConfig> getLivePackageConfigList()const;
|
||||
|
||||
protected:
|
||||
@@ -61,8 +61,8 @@ namespace AlibabaCloud
|
||||
std::string order_;
|
||||
int totalNum_;
|
||||
int pageNum_;
|
||||
int totalPage_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<LivePackageConfig> livePackageConfigList_;
|
||||
|
||||
};
|
||||
|
||||
@@ -36,15 +36,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
long outputHdDuration;
|
||||
std::string type;
|
||||
std::string instance;
|
||||
std::string domainName;
|
||||
std::string instance;
|
||||
std::string region;
|
||||
long outputLdDuration;
|
||||
long tranLdDuration;
|
||||
long tranSdDuration;
|
||||
long tranHdDuration;
|
||||
std::string timeStamp;
|
||||
long outputSdDuration;
|
||||
std::string timeStamp;
|
||||
long tranHdDuration;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
std::string description;
|
||||
std::string streamName;
|
||||
std::string notifyTime;
|
||||
std::string notifyContent;
|
||||
std::string domainName;
|
||||
std::string notifyContent;
|
||||
std::string notifyUrl;
|
||||
std::string notifyResult;
|
||||
std::string appName;
|
||||
@@ -53,8 +53,8 @@ namespace AlibabaCloud
|
||||
int getTotalNum()const;
|
||||
std::vector<Callback> getCallbackList()const;
|
||||
int getPageNum()const;
|
||||
int getTotalPage()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
@@ -64,8 +64,8 @@ namespace AlibabaCloud
|
||||
int totalNum_;
|
||||
std::vector<Callback> callbackList_;
|
||||
int pageNum_;
|
||||
int totalPage_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATAREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDetailFrameRateAndBitRateDataRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveStreamDetailFrameRateAndBitRateDataRequest();
|
||||
~DescribeLiveStreamDetailFrameRateAndBitRateDataRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATAREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATARESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDetailFrameRateAndBitRateDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Frabr
|
||||
{
|
||||
float audioBitRate;
|
||||
float videoFrameRate;
|
||||
std::string time;
|
||||
float audioFrameRate;
|
||||
float bitRate;
|
||||
float videoBitRate;
|
||||
std::string streamUrl;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamDetailFrameRateAndBitRateDataResult();
|
||||
explicit DescribeLiveStreamDetailFrameRateAndBitRateDataResult(const std::string &payload);
|
||||
~DescribeLiveStreamDetailFrameRateAndBitRateDataResult();
|
||||
std::vector<Frabr> getFrameRateAndBitRateInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Frabr> frameRateAndBitRateInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDETAILFRAMERATEANDBITRATEDATARESULT_H_
|
||||
@@ -46,14 +46,14 @@ namespace AlibabaCloud
|
||||
long flvCount;
|
||||
float flvBps;
|
||||
std::string timeStamp;
|
||||
float p2pBps;
|
||||
std::string appName;
|
||||
float p2pBps;
|
||||
float rtsBps;
|
||||
float hlsBps;
|
||||
long rtmpTraffic;
|
||||
std::string streamName;
|
||||
long rtmpCount;
|
||||
long flvTraffic;
|
||||
long rtmpCount;
|
||||
long hlsCount;
|
||||
long p2pCount;
|
||||
};
|
||||
|
||||
@@ -52,18 +52,18 @@ namespace AlibabaCloud
|
||||
~DescribeLiveStreamPreloadTasksResult();
|
||||
std::vector<PreloadTask> getPreloadTasks()const;
|
||||
int getTotalNum()const;
|
||||
int getTotalPage()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PreloadTask> preloadTasks_;
|
||||
int totalNum_;
|
||||
int totalPage_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
std::string description;
|
||||
std::string streamName;
|
||||
std::string notifyTime;
|
||||
std::string notifyContent;
|
||||
std::string domainName;
|
||||
std::string notifyContent;
|
||||
std::string notifyUrl;
|
||||
std::string notifyResult;
|
||||
std::string appName;
|
||||
@@ -51,18 +51,18 @@ namespace AlibabaCloud
|
||||
~DescribeLiveStreamsNotifyRecordsResult();
|
||||
std::vector<LiveStreamNotifyRecordsInfo> getNotifyRecordsInfo()const;
|
||||
int getTotalNum()const;
|
||||
int getTotalPage()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveStreamNotifyRecordsInfo> notifyRecordsInfo_;
|
||||
int totalNum_;
|
||||
int totalPage_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,52 +34,17 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PublishItem
|
||||
{
|
||||
struct VideoFramesItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AudioFramesItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoStampsItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AudioStampsItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct V_AStamp
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AvcHeadersItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AacHeadersItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoBitRateItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AudioBitRateItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoIntervalItem
|
||||
struct AudioFramesItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
@@ -89,14 +54,49 @@ namespace AlibabaCloud
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AudioStampsItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct AvcHeadersItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct ErrorFlagsItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct V_AStamp
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoBitRateItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoFramesItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoIntervalItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
struct VideoStampsItem
|
||||
{
|
||||
int value;
|
||||
long time;
|
||||
};
|
||||
std::vector<PublishItem::VideoStampsItem> videoStamps;
|
||||
std::vector<PublishItem::VideoFramesItem> videoFrames;
|
||||
std::vector<PublishItem::AudioBitRateItem> audioBitRate;
|
||||
std::vector<PublishItem::VideoFramesItem> videoFrames;
|
||||
std::string publishIp;
|
||||
std::string uniqueId;
|
||||
std::string domainName;
|
||||
|
||||
@@ -34,11 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PageData
|
||||
{
|
||||
std::string liveDomainStatus;
|
||||
std::string description;
|
||||
std::string liveDomainStatus;
|
||||
std::string domainName;
|
||||
std::string liveDomainType;
|
||||
std::string regionName;
|
||||
std::string domainName;
|
||||
std::string gmtModified;
|
||||
std::string gmtCreated;
|
||||
std::string cname;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
int status;
|
||||
std::string streamName;
|
||||
std::string blockType;
|
||||
std::string releaseTime;
|
||||
std::string domainName;
|
||||
std::string releaseTime;
|
||||
std::string updateTime;
|
||||
std::string locationList;
|
||||
std::string appName;
|
||||
@@ -48,18 +48,18 @@ namespace AlibabaCloud
|
||||
DescribeStreamLocationBlockResult();
|
||||
explicit DescribeStreamLocationBlockResult(const std::string &payload);
|
||||
~DescribeStreamLocationBlockResult();
|
||||
int getTotalPage()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<StreamBlock> getStreamBlockList()const;
|
||||
int getCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalPage_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<StreamBlock> streamBlockList_;
|
||||
int count_;
|
||||
|
||||
|
||||
@@ -34,11 +34,6 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct StudioLayout
|
||||
{
|
||||
struct CommonConfig
|
||||
{
|
||||
std::string channelId;
|
||||
std::string videoResourceId;
|
||||
};
|
||||
struct BgImageConfig
|
||||
{
|
||||
std::string materialId;
|
||||
@@ -46,24 +41,15 @@ namespace AlibabaCloud
|
||||
std::string imageUrl;
|
||||
std::string id;
|
||||
};
|
||||
struct ScreenInputConfig
|
||||
struct CommonConfig
|
||||
{
|
||||
struct AudioConfig
|
||||
{
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
};
|
||||
std::string positionY;
|
||||
std::string color;
|
||||
AudioConfig audioConfig;
|
||||
int portraitType;
|
||||
float heightNormalized;
|
||||
int index;
|
||||
std::string id;
|
||||
std::string channelId;
|
||||
std::string videoResourceId;
|
||||
std::string positionX;
|
||||
bool onlyAudio;
|
||||
};
|
||||
struct LayerOrderConfig
|
||||
{
|
||||
std::string type;
|
||||
std::string id;
|
||||
};
|
||||
struct MediaInputConfig
|
||||
{
|
||||
@@ -78,10 +64,24 @@ namespace AlibabaCloud
|
||||
float widthNormalized;
|
||||
std::vector<std::string> positionNormalized;
|
||||
};
|
||||
struct LayerOrderConfig
|
||||
struct ScreenInputConfig
|
||||
{
|
||||
std::string type;
|
||||
struct AudioConfig
|
||||
{
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
};
|
||||
std::string positionY;
|
||||
std::string color;
|
||||
AudioConfig audioConfig;
|
||||
float heightNormalized;
|
||||
int portraitType;
|
||||
int index;
|
||||
std::string id;
|
||||
std::string channelId;
|
||||
std::string videoResourceId;
|
||||
std::string positionX;
|
||||
bool onlyAudio;
|
||||
};
|
||||
std::vector<StudioLayout::ScreenInputConfig> screenInputConfigList;
|
||||
std::vector<StudioLayout::MediaInputConfig> mediaInputConfigList;
|
||||
|
||||
@@ -34,12 +34,12 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Items
|
||||
{
|
||||
struct SuccessItem
|
||||
struct FailedItem
|
||||
{
|
||||
std::string itemName;
|
||||
std::string itemId;
|
||||
};
|
||||
struct FailedItem
|
||||
struct SuccessItem
|
||||
{
|
||||
std::string itemName;
|
||||
std::string itemId;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT GetTranscodeTaskStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTranscodeTaskStatusRequest();
|
||||
~GetTranscodeTaskStatusRequest();
|
||||
std::string getTranscodingTemplate() const;
|
||||
void setTranscodingTemplate(const std::string &transcodingTemplate);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getPushDomain() const;
|
||||
void setPushDomain(const std::string &pushDomain);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getApp() const;
|
||||
void setApp(const std::string &app);
|
||||
|
||||
private:
|
||||
std::string transcodingTemplate_;
|
||||
std::string securityToken_;
|
||||
std::string pushDomain_;
|
||||
std::string streamName_;
|
||||
std::string app_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT GetTranscodeTaskStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTranscodeTaskStatusResult();
|
||||
explicit GetTranscodeTaskStatusResult(const std::string &payload);
|
||||
~GetTranscodeTaskStatusResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_GETTRANSCODETASKSTATUSRESULT_H_
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
std::string app;
|
||||
std::string taskTriggerMode;
|
||||
std::string stream;
|
||||
std::string domain;
|
||||
std::string delayTime;
|
||||
std::string domain;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
int repeatNumber;
|
||||
std::string domainName;
|
||||
std::string programId;
|
||||
std::string programName;
|
||||
std::string casterId;
|
||||
std::string programName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
MiguLivePullToPushStartResult();
|
||||
explicit MiguLivePullToPushStartResult(const std::string &payload);
|
||||
~MiguLivePullToPushStartResult();
|
||||
std::string getRequestId()const;
|
||||
std::string getMessage()const;
|
||||
std::string getRequestId()const;
|
||||
std::string getCode()const;
|
||||
std::string getTimestamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
std::string message_;
|
||||
std::string requestId_;
|
||||
std::string code_;
|
||||
std::string timestamp_;
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ namespace AlibabaCloud
|
||||
MiguLivePullToPushStatusResult();
|
||||
explicit MiguLivePullToPushStatusResult(const std::string &payload);
|
||||
~MiguLivePullToPushStatusResult();
|
||||
std::string getRequestId()const;
|
||||
std::string getMessage()const;
|
||||
std::string getRequestId()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getTimestamp()const;
|
||||
@@ -51,8 +51,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
std::string message_;
|
||||
std::string requestId_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string timestamp_;
|
||||
|
||||
@@ -29,13 +29,13 @@ namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT ModifyCasterLayoutRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AudioLayer {
|
||||
float volumeRate;
|
||||
int fixedDelayDuration;
|
||||
std::string validChannel;
|
||||
float volumeRate;
|
||||
};
|
||||
struct VideoLayer {
|
||||
int fixedDelayDuration;
|
||||
std::string fillMode;
|
||||
int fixedDelayDuration;
|
||||
float heightNormalized;
|
||||
std::string positionRefer;
|
||||
float widthNormalized;
|
||||
|
||||
@@ -30,11 +30,11 @@ class ALIBABACLOUD_LIVE_EXPORT ModifyCasterProgramRequest : public RpcServiceReq
|
||||
public:
|
||||
struct Episode {
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string episodeId;
|
||||
std::string episodeName;
|
||||
std::string episodeType;
|
||||
std::string episodeId;
|
||||
std::string resourceId;
|
||||
std::string startTime;
|
||||
std::string switchType;
|
||||
};
|
||||
ModifyCasterProgramRequest();
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT RestartTranscodeTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RestartTranscodeTaskRequest();
|
||||
~RestartTranscodeTaskRequest();
|
||||
std::string getTranscodingTemplate() const;
|
||||
void setTranscodingTemplate(const std::string &transcodingTemplate);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getPushDomain() const;
|
||||
void setPushDomain(const std::string &pushDomain);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getApp() const;
|
||||
void setApp(const std::string &app);
|
||||
|
||||
private:
|
||||
std::string transcodingTemplate_;
|
||||
std::string securityToken_;
|
||||
std::string pushDomain_;
|
||||
std::string streamName_;
|
||||
std::string app_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT RestartTranscodeTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartTranscodeTaskResult();
|
||||
explicit RestartTranscodeTaskResult(const std::string &payload);
|
||||
~RestartTranscodeTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_RESTARTTRANSCODETASKRESULT_H_
|
||||
@@ -30,8 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT SetCasterSyncGroupRequest : public RpcServiceRequ
|
||||
public:
|
||||
struct SyncGroup {
|
||||
std::string hostResourceId;
|
||||
long syncDelayThreshold;
|
||||
int mode;
|
||||
long syncDelayThreshold;
|
||||
};
|
||||
SetCasterSyncGroupRequest();
|
||||
~SetCasterSyncGroupRequest();
|
||||
|
||||
@@ -34,20 +34,20 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SceneInfo
|
||||
{
|
||||
struct StreamInfo
|
||||
{
|
||||
std::string outputStreamUrl;
|
||||
std::string transcodeConfig;
|
||||
std::string videoFormat;
|
||||
};
|
||||
std::string sceneId;
|
||||
std::vector<SceneInfo::StreamInfo> streamInfos;
|
||||
std::string rtsUrl;
|
||||
std::string streamUrl;
|
||||
};
|
||||
struct SceneInfo1
|
||||
{
|
||||
struct StreamInfo
|
||||
{
|
||||
std::string outputStreamUrl;
|
||||
std::string videoFormat;
|
||||
std::string transcodeConfig;
|
||||
};
|
||||
std::string sceneId;
|
||||
std::vector<SceneInfo1::StreamInfo> streamInfos;
|
||||
std::string rtsUrl;
|
||||
std::string streamUrl;
|
||||
};
|
||||
@@ -56,14 +56,14 @@ namespace AlibabaCloud
|
||||
StartCasterResult();
|
||||
explicit StartCasterResult(const std::string &payload);
|
||||
~StartCasterResult();
|
||||
std::vector<SceneInfo> getPvwSceneInfos()const;
|
||||
std::vector<SceneInfo1> getPgmSceneInfos()const;
|
||||
std::vector<SceneInfo1> getPvwSceneInfos()const;
|
||||
std::vector<SceneInfo> getPgmSceneInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SceneInfo> pvwSceneInfos_;
|
||||
std::vector<SceneInfo1> pgmSceneInfos_;
|
||||
std::vector<SceneInfo1> pvwSceneInfos_;
|
||||
std::vector<SceneInfo> pgmSceneInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@ namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AudioLayer {
|
||||
float volumeRate;
|
||||
std::string filter;
|
||||
int fixedDelayDuration;
|
||||
std::string validChannel;
|
||||
std::string filter;
|
||||
float volumeRate;
|
||||
};
|
||||
UpdateCasterSceneAudioRequest();
|
||||
~UpdateCasterSceneAudioRequest();
|
||||
|
||||
Reference in New Issue
Block a user