Skip to content

Commit 56bdae2

Browse files
committed
Live sdk update.
1 parent aee9383 commit 56bdae2

18 files changed

+887
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.1402
1+
1.36.1403

live/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ set(live_public_header_model
141141
include/alibabacloud/live/model/DeleteLiveAudioAuditConfigResult.h
142142
include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h
143143
include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigResult.h
144+
include/alibabacloud/live/model/DeleteLiveCenterTransferRequest.h
145+
include/alibabacloud/live/model/DeleteLiveCenterTransferResult.h
144146
include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h
145147
include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h
146148
include/alibabacloud/live/model/DeleteLiveDomainRequest.h
@@ -235,6 +237,8 @@ set(live_public_header_model
235237
include/alibabacloud/live/model/DescribeLiveAudioAuditConfigResult.h
236238
include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h
237239
include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigResult.h
240+
include/alibabacloud/live/model/DescribeLiveCenterTransferRequest.h
241+
include/alibabacloud/live/model/DescribeLiveCenterTransferResult.h
238242
include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h
239243
include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h
240244
include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h
@@ -591,6 +595,8 @@ set(live_public_header_model
591595
include/alibabacloud/live/model/UpdateLiveAudioAuditConfigResult.h
592596
include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h
593597
include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigResult.h
598+
include/alibabacloud/live/model/UpdateLiveCenterTransferRequest.h
599+
include/alibabacloud/live/model/UpdateLiveCenterTransferResult.h
594600
include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h
595601
include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h
596602
include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h
@@ -740,6 +746,8 @@ set(live_src
740746
src/model/DeleteLiveAudioAuditConfigResult.cc
741747
src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc
742748
src/model/DeleteLiveAudioAuditNotifyConfigResult.cc
749+
src/model/DeleteLiveCenterTransferRequest.cc
750+
src/model/DeleteLiveCenterTransferResult.cc
743751
src/model/DeleteLiveDetectNotifyConfigRequest.cc
744752
src/model/DeleteLiveDetectNotifyConfigResult.cc
745753
src/model/DeleteLiveDomainRequest.cc
@@ -834,6 +842,8 @@ set(live_src
834842
src/model/DescribeLiveAudioAuditConfigResult.cc
835843
src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc
836844
src/model/DescribeLiveAudioAuditNotifyConfigResult.cc
845+
src/model/DescribeLiveCenterTransferRequest.cc
846+
src/model/DescribeLiveCenterTransferResult.cc
837847
src/model/DescribeLiveCertificateDetailRequest.cc
838848
src/model/DescribeLiveCertificateDetailResult.cc
839849
src/model/DescribeLiveCertificateListRequest.cc
@@ -1190,6 +1200,8 @@ set(live_src
11901200
src/model/UpdateLiveAudioAuditConfigResult.cc
11911201
src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc
11921202
src/model/UpdateLiveAudioAuditNotifyConfigResult.cc
1203+
src/model/UpdateLiveCenterTransferRequest.cc
1204+
src/model/UpdateLiveCenterTransferResult.cc
11931205
src/model/UpdateLiveDetectNotifyConfigRequest.cc
11941206
src/model/UpdateLiveDetectNotifyConfigResult.cc
11951207
src/model/UpdateLivePullStreamInfoConfigRequest.cc

live/include/alibabacloud/live/LiveClient.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
#include "model/DeleteLiveAudioAuditConfigResult.h"
143143
#include "model/DeleteLiveAudioAuditNotifyConfigRequest.h"
144144
#include "model/DeleteLiveAudioAuditNotifyConfigResult.h"
145+
#include "model/DeleteLiveCenterTransferRequest.h"
146+
#include "model/DeleteLiveCenterTransferResult.h"
145147
#include "model/DeleteLiveDetectNotifyConfigRequest.h"
146148
#include "model/DeleteLiveDetectNotifyConfigResult.h"
147149
#include "model/DeleteLiveDomainRequest.h"
@@ -236,6 +238,8 @@
236238
#include "model/DescribeLiveAudioAuditConfigResult.h"
237239
#include "model/DescribeLiveAudioAuditNotifyConfigRequest.h"
238240
#include "model/DescribeLiveAudioAuditNotifyConfigResult.h"
241+
#include "model/DescribeLiveCenterTransferRequest.h"
242+
#include "model/DescribeLiveCenterTransferResult.h"
239243
#include "model/DescribeLiveCertificateDetailRequest.h"
240244
#include "model/DescribeLiveCertificateDetailResult.h"
241245
#include "model/DescribeLiveCertificateListRequest.h"
@@ -592,6 +596,8 @@
592596
#include "model/UpdateLiveAudioAuditConfigResult.h"
593597
#include "model/UpdateLiveAudioAuditNotifyConfigRequest.h"
594598
#include "model/UpdateLiveAudioAuditNotifyConfigResult.h"
599+
#include "model/UpdateLiveCenterTransferRequest.h"
600+
#include "model/UpdateLiveCenterTransferResult.h"
595601
#include "model/UpdateLiveDetectNotifyConfigRequest.h"
596602
#include "model/UpdateLiveDetectNotifyConfigResult.h"
597603
#include "model/UpdateLivePullStreamInfoConfigRequest.h"
@@ -807,6 +813,9 @@ namespace AlibabaCloud
807813
typedef Outcome<Error, Model::DeleteLiveAudioAuditNotifyConfigResult> DeleteLiveAudioAuditNotifyConfigOutcome;
808814
typedef std::future<DeleteLiveAudioAuditNotifyConfigOutcome> DeleteLiveAudioAuditNotifyConfigOutcomeCallable;
809815
typedef std::function<void(const LiveClient*, const Model::DeleteLiveAudioAuditNotifyConfigRequest&, const DeleteLiveAudioAuditNotifyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAudioAuditNotifyConfigAsyncHandler;
816+
typedef Outcome<Error, Model::DeleteLiveCenterTransferResult> DeleteLiveCenterTransferOutcome;
817+
typedef std::future<DeleteLiveCenterTransferOutcome> DeleteLiveCenterTransferOutcomeCallable;
818+
typedef std::function<void(const LiveClient*, const Model::DeleteLiveCenterTransferRequest&, const DeleteLiveCenterTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveCenterTransferAsyncHandler;
810819
typedef Outcome<Error, Model::DeleteLiveDetectNotifyConfigResult> DeleteLiveDetectNotifyConfigOutcome;
811820
typedef std::future<DeleteLiveDetectNotifyConfigOutcome> DeleteLiveDetectNotifyConfigOutcomeCallable;
812821
typedef std::function<void(const LiveClient*, const Model::DeleteLiveDetectNotifyConfigRequest&, const DeleteLiveDetectNotifyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveDetectNotifyConfigAsyncHandler;
@@ -948,6 +957,9 @@ namespace AlibabaCloud
948957
typedef Outcome<Error, Model::DescribeLiveAudioAuditNotifyConfigResult> DescribeLiveAudioAuditNotifyConfigOutcome;
949958
typedef std::future<DescribeLiveAudioAuditNotifyConfigOutcome> DescribeLiveAudioAuditNotifyConfigOutcomeCallable;
950959
typedef std::function<void(const LiveClient*, const Model::DescribeLiveAudioAuditNotifyConfigRequest&, const DescribeLiveAudioAuditNotifyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveAudioAuditNotifyConfigAsyncHandler;
960+
typedef Outcome<Error, Model::DescribeLiveCenterTransferResult> DescribeLiveCenterTransferOutcome;
961+
typedef std::future<DescribeLiveCenterTransferOutcome> DescribeLiveCenterTransferOutcomeCallable;
962+
typedef std::function<void(const LiveClient*, const Model::DescribeLiveCenterTransferRequest&, const DescribeLiveCenterTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveCenterTransferAsyncHandler;
951963
typedef Outcome<Error, Model::DescribeLiveCertificateDetailResult> DescribeLiveCertificateDetailOutcome;
952964
typedef std::future<DescribeLiveCertificateDetailOutcome> DescribeLiveCertificateDetailOutcomeCallable;
953965
typedef std::function<void(const LiveClient*, const Model::DescribeLiveCertificateDetailRequest&, const DescribeLiveCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveCertificateDetailAsyncHandler;
@@ -1482,6 +1494,9 @@ namespace AlibabaCloud
14821494
typedef Outcome<Error, Model::UpdateLiveAudioAuditNotifyConfigResult> UpdateLiveAudioAuditNotifyConfigOutcome;
14831495
typedef std::future<UpdateLiveAudioAuditNotifyConfigOutcome> UpdateLiveAudioAuditNotifyConfigOutcomeCallable;
14841496
typedef std::function<void(const LiveClient*, const Model::UpdateLiveAudioAuditNotifyConfigRequest&, const UpdateLiveAudioAuditNotifyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveAudioAuditNotifyConfigAsyncHandler;
1497+
typedef Outcome<Error, Model::UpdateLiveCenterTransferResult> UpdateLiveCenterTransferOutcome;
1498+
typedef std::future<UpdateLiveCenterTransferOutcome> UpdateLiveCenterTransferOutcomeCallable;
1499+
typedef std::function<void(const LiveClient*, const Model::UpdateLiveCenterTransferRequest&, const UpdateLiveCenterTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveCenterTransferAsyncHandler;
14851500
typedef Outcome<Error, Model::UpdateLiveDetectNotifyConfigResult> UpdateLiveDetectNotifyConfigOutcome;
14861501
typedef std::future<UpdateLiveDetectNotifyConfigOutcome> UpdateLiveDetectNotifyConfigOutcomeCallable;
14871502
typedef std::function<void(const LiveClient*, const Model::UpdateLiveDetectNotifyConfigRequest&, const UpdateLiveDetectNotifyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveDetectNotifyConfigAsyncHandler;
@@ -1706,6 +1721,9 @@ namespace AlibabaCloud
17061721
DeleteLiveAudioAuditNotifyConfigOutcome deleteLiveAudioAuditNotifyConfig(const Model::DeleteLiveAudioAuditNotifyConfigRequest &request)const;
17071722
void deleteLiveAudioAuditNotifyConfigAsync(const Model::DeleteLiveAudioAuditNotifyConfigRequest& request, const DeleteLiveAudioAuditNotifyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
17081723
DeleteLiveAudioAuditNotifyConfigOutcomeCallable deleteLiveAudioAuditNotifyConfigCallable(const Model::DeleteLiveAudioAuditNotifyConfigRequest& request) const;
1724+
DeleteLiveCenterTransferOutcome deleteLiveCenterTransfer(const Model::DeleteLiveCenterTransferRequest &request)const;
1725+
void deleteLiveCenterTransferAsync(const Model::DeleteLiveCenterTransferRequest& request, const DeleteLiveCenterTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
1726+
DeleteLiveCenterTransferOutcomeCallable deleteLiveCenterTransferCallable(const Model::DeleteLiveCenterTransferRequest& request) const;
17091727
DeleteLiveDetectNotifyConfigOutcome deleteLiveDetectNotifyConfig(const Model::DeleteLiveDetectNotifyConfigRequest &request)const;
17101728
void deleteLiveDetectNotifyConfigAsync(const Model::DeleteLiveDetectNotifyConfigRequest& request, const DeleteLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
17111729
DeleteLiveDetectNotifyConfigOutcomeCallable deleteLiveDetectNotifyConfigCallable(const Model::DeleteLiveDetectNotifyConfigRequest& request) const;
@@ -1847,6 +1865,9 @@ namespace AlibabaCloud
18471865
DescribeLiveAudioAuditNotifyConfigOutcome describeLiveAudioAuditNotifyConfig(const Model::DescribeLiveAudioAuditNotifyConfigRequest &request)const;
18481866
void describeLiveAudioAuditNotifyConfigAsync(const Model::DescribeLiveAudioAuditNotifyConfigRequest& request, const DescribeLiveAudioAuditNotifyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
18491867
DescribeLiveAudioAuditNotifyConfigOutcomeCallable describeLiveAudioAuditNotifyConfigCallable(const Model::DescribeLiveAudioAuditNotifyConfigRequest& request) const;
1868+
DescribeLiveCenterTransferOutcome describeLiveCenterTransfer(const Model::DescribeLiveCenterTransferRequest &request)const;
1869+
void describeLiveCenterTransferAsync(const Model::DescribeLiveCenterTransferRequest& request, const DescribeLiveCenterTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
1870+
DescribeLiveCenterTransferOutcomeCallable describeLiveCenterTransferCallable(const Model::DescribeLiveCenterTransferRequest& request) const;
18501871
DescribeLiveCertificateDetailOutcome describeLiveCertificateDetail(const Model::DescribeLiveCertificateDetailRequest &request)const;
18511872
void describeLiveCertificateDetailAsync(const Model::DescribeLiveCertificateDetailRequest& request, const DescribeLiveCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
18521873
DescribeLiveCertificateDetailOutcomeCallable describeLiveCertificateDetailCallable(const Model::DescribeLiveCertificateDetailRequest& request) const;
@@ -2381,6 +2402,9 @@ namespace AlibabaCloud
23812402
UpdateLiveAudioAuditNotifyConfigOutcome updateLiveAudioAuditNotifyConfig(const Model::UpdateLiveAudioAuditNotifyConfigRequest &request)const;
23822403
void updateLiveAudioAuditNotifyConfigAsync(const Model::UpdateLiveAudioAuditNotifyConfigRequest& request, const UpdateLiveAudioAuditNotifyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
23832404
UpdateLiveAudioAuditNotifyConfigOutcomeCallable updateLiveAudioAuditNotifyConfigCallable(const Model::UpdateLiveAudioAuditNotifyConfigRequest& request) const;
2405+
UpdateLiveCenterTransferOutcome updateLiveCenterTransfer(const Model::UpdateLiveCenterTransferRequest &request)const;
2406+
void updateLiveCenterTransferAsync(const Model::UpdateLiveCenterTransferRequest& request, const UpdateLiveCenterTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
2407+
UpdateLiveCenterTransferOutcomeCallable updateLiveCenterTransferCallable(const Model::UpdateLiveCenterTransferRequest& request) const;
23842408
UpdateLiveDetectNotifyConfigOutcome updateLiveDetectNotifyConfig(const Model::UpdateLiveDetectNotifyConfigRequest &request)const;
23852409
void updateLiveDetectNotifyConfigAsync(const Model::UpdateLiveDetectNotifyConfigRequest& request, const UpdateLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
23862410
UpdateLiveDetectNotifyConfigOutcomeCallable updateLiveDetectNotifyConfigCallable(const Model::UpdateLiveDetectNotifyConfigRequest& request) const;
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERREQUEST_H_
18+
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERREQUEST_H_
19+
20+
#include <alibabacloud/live/LiveExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Live {
28+
namespace Model {
29+
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveCenterTransferRequest : public RpcServiceRequest {
30+
public:
31+
DeleteLiveCenterTransferRequest();
32+
~DeleteLiveCenterTransferRequest();
33+
std::string getAppName() const;
34+
void setAppName(const std::string &appName);
35+
std::string getStreamName() const;
36+
void setStreamName(const std::string &streamName);
37+
std::string getDstUrl() const;
38+
void setDstUrl(const std::string &dstUrl);
39+
std::string getDomainName() const;
40+
void setDomainName(const std::string &domainName);
41+
long getOwnerId() const;
42+
void setOwnerId(long ownerId);
43+
44+
private:
45+
std::string appName_;
46+
std::string streamName_;
47+
std::string dstUrl_;
48+
std::string domainName_;
49+
long ownerId_;
50+
};
51+
} // namespace Model
52+
} // namespace Live
53+
} // namespace AlibabaCloud
54+
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERRESULT_H_
18+
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/live/LiveExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Live
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveCenterTransferResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
DeleteLiveCenterTransferResult();
38+
explicit DeleteLiveCenterTransferResult(const std::string &payload);
39+
~DeleteLiveCenterTransferResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVECENTERTRANSFERRESULT_H_
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERTRANSFERREQUEST_H_
18+
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERTRANSFERREQUEST_H_
19+
20+
#include <alibabacloud/live/LiveExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Live {
28+
namespace Model {
29+
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCenterTransferRequest : public RpcServiceRequest {
30+
public:
31+
DescribeLiveCenterTransferRequest();
32+
~DescribeLiveCenterTransferRequest();
33+
std::string getAppName() const;
34+
void setAppName(const std::string &appName);
35+
std::string getStreamName() const;
36+
void setStreamName(const std::string &streamName);
37+
std::string getDstUrl() const;
38+
void setDstUrl(const std::string &dstUrl);
39+
std::string getDomainName() const;
40+
void setDomainName(const std::string &domainName);
41+
long getOwnerId() const;
42+
void setOwnerId(long ownerId);
43+
44+
private:
45+
std::string appName_;
46+
std::string streamName_;
47+
std::string dstUrl_;
48+
std::string domainName_;
49+
long ownerId_;
50+
};
51+
} // namespace Model
52+
} // namespace Live
53+
} // namespace AlibabaCloud
54+
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERTRANSFERREQUEST_H_

0 commit comments

Comments
 (0)