RTC SDK Auto Released By renrang.yl,Version:1.25.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -66,6 +66,8 @@
|
||||
#include "model/UnmuteAudioAllResult.h"
|
||||
#include "model/DescribeRecordDetailRequest.h"
|
||||
#include "model/DescribeRecordDetailResult.h"
|
||||
#include "model/CreateChannelTokenRequest.h"
|
||||
#include "model/CreateChannelTokenResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -141,6 +143,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRecordDetailResult> DescribeRecordDetailOutcome;
|
||||
typedef std::future<DescribeRecordDetailOutcome> DescribeRecordDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordDetailRequest&, const DescribeRecordDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateChannelTokenResult> CreateChannelTokenOutcome;
|
||||
typedef std::future<CreateChannelTokenOutcome> CreateChannelTokenOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateChannelTokenRequest&, const CreateChannelTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChannelTokenAsyncHandler;
|
||||
|
||||
RtcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
RtcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -212,6 +217,9 @@ namespace AlibabaCloud
|
||||
DescribeRecordDetailOutcome describeRecordDetail(const Model::DescribeRecordDetailRequest &request)const;
|
||||
void describeRecordDetailAsync(const Model::DescribeRecordDetailRequest& request, const DescribeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordDetailOutcomeCallable describeRecordDetailCallable(const Model::DescribeRecordDetailRequest& request) const;
|
||||
CreateChannelTokenOutcome createChannelToken(const Model::CreateChannelTokenRequest &request)const;
|
||||
void createChannelTokenAsync(const Model::CreateChannelTokenRequest& request, const CreateChannelTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateChannelTokenOutcomeCallable createChannelTokenCallable(const Model::CreateChannelTokenRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
123
rtc/include/alibabacloud/rtc/model/CreateChannelTokenRequest.h
Normal file
123
rtc/include/alibabacloud/rtc/model/CreateChannelTokenRequest.h
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_CREATECHANNELTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateChannelTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateChannelTokenRequest();
|
||||
~CreateChannelTokenRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUId()const;
|
||||
void setUId(const std::string& uId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getNonce()const;
|
||||
void setNonce(const std::string& nonce);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string sessionId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string uId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
std::string nonce_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateChannelTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateChannelTokenResult();
|
||||
explicit CreateChannelTokenResult(const std::string &payload);
|
||||
~CreateChannelTokenResult();
|
||||
std::string getChannelToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string channelToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
@@ -105,6 +107,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -82,7 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setOrder(const std::string& order);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
@@ -102,6 +104,7 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string order_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
|
||||
Reference in New Issue
Block a user