wenzuochao %!s(int64=6) %!d(string=hai) anos
pai
achega
9d5b4c77d6
Modificáronse 40 ficheiros con 1062 adicións e 230 borrados
  1. 30 7
      services/rtc/client.go
  2. 2 2
      services/rtc/create_channel.go
  3. 5 5
      services/rtc/create_channel_token.go
  4. 14 8
      services/rtc/create_conference.go
  5. 22 25
      services/rtc/create_template.go
  6. 2 2
      services/rtc/delete_channel.go
  7. 3 3
      services/rtc/delete_conference.go
  8. 3 3
      services/rtc/delete_template.go
  9. 23 9
      services/rtc/describe_apps.go
  10. 12 6
      services/rtc/describe_conference_auth_info.go
  11. 16 5
      services/rtc/describe_real_time_record_detail.go
  12. 20 6
      services/rtc/describe_real_time_record_list.go
  13. 28 8
      services/rtc/describe_record_detail.go
  14. 27 13
      services/rtc/describe_record_list.go
  15. 118 0
      services/rtc/describe_rtc_channel_cnt_data.go
  16. 123 0
      services/rtc/describe_rtc_duration_data.go
  17. 119 0
      services/rtc/describe_rtc_peak_channel_cnt_data.go
  18. 119 0
      services/rtc/describe_rtc_peak_user_cnt_data.go
  19. 118 0
      services/rtc/describe_rtc_user_cnt_data.go
  20. 52 9
      services/rtc/describe_statis.go
  21. 4 4
      services/rtc/get_all_template.go
  22. 2 2
      services/rtc/get_mpu_task_status.go
  23. 16 6
      services/rtc/get_task_param.go
  24. 2 2
      services/rtc/get_task_status.go
  25. 31 12
      services/rtc/get_template_info.go
  26. 3 3
      services/rtc/modify_app.go
  27. 6 6
      services/rtc/modify_conference.go
  28. 17 7
      services/rtc/mute_audio.go
  29. 17 7
      services/rtc/mute_audio_all.go
  30. 5 5
      services/rtc/receive_notify.go
  31. 17 7
      services/rtc/remove_participants.go
  32. 15 5
      services/rtc/remove_terminals.go
  33. 12 12
      services/rtc/start_mpu_task.go
  34. 9 10
      services/rtc/start_task.go
  35. 2 2
      services/rtc/stop_mpu_task.go
  36. 2 2
      services/rtc/stop_task.go
  37. 17 7
      services/rtc/unmute_audio.go
  38. 17 7
      services/rtc/unmute_audio_all.go
  39. 3 3
      services/rtc/update_channel.go
  40. 9 10
      services/rtc/update_task_param.go

+ 30 - 7
services/rtc/client.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,9 +13,12 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -32,6 +33,20 @@ func NewClient() (client *Client, err error) {
 	return
 }
 
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	return
+}
+
 // NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
 // this is the common api to create a sdk client
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
@@ -41,7 +56,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
@@ -49,7 +64,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
@@ -57,15 +72,23 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
 	return
 }
 
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
@@ -73,7 +96,7 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)

+ 2 - 2
services/rtc/create_channel.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 5 - 5
services/rtc/create_channel_token.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,12 @@ func (client *Client) CreateChannelTokenWithCallback(request *CreateChannelToken
 // CreateChannelTokenRequest is the request struct for api CreateChannelToken
 type CreateChannelTokenRequest struct {
 	*requests.RpcRequest
-	SessionId string           `position:"Query" name:"SessionId"`
-	UId       string           `position:"Query" name:"UId"`
 	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	Nonce     string           `position:"Query" name:"Nonce"`
 	AppId     string           `position:"Query" name:"AppId"`
 	ChannelId string           `position:"Query" name:"ChannelId"`
+	SessionId string           `position:"Query" name:"SessionId"`
+	UId       string           `position:"Query" name:"UId"`
+	Nonce     string           `position:"Query" name:"Nonce"`
 }
 
 // CreateChannelTokenResponse is the response struct for api CreateChannelToken

+ 14 - 8
services/rtc/create_conference.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,21 +76,27 @@ func (client *Client) CreateConferenceWithCallback(request *CreateConferenceRequ
 // CreateConferenceRequest is the request struct for api CreateConference
 type CreateConferenceRequest struct {
 	*requests.RpcRequest
+	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	AppId          string           `position:"Query" name:"AppId"`
+	ConferenceName string           `position:"Query" name:"ConferenceName"`
 	ClientToken    string           `position:"Query" name:"ClientToken"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	Type           string           `position:"Query" name:"Type"`
-	ConferenceName string           `position:"Query" name:"ConferenceName"`
-	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	AppId          string           `position:"Query" name:"AppId"`
 	RemindNotice   requests.Integer `position:"Query" name:"RemindNotice"`
 }
 
 // CreateConferenceResponse is the response struct for api CreateConference
 type CreateConferenceResponse struct {
 	*responses.BaseResponse
-	RequestId    string   `json:"RequestId" xml:"RequestId"`
-	ConferenceId string   `json:"ConferenceId" xml:"ConferenceId"`
-	AuthInfo     AuthInfo `json:"AuthInfo" xml:"AuthInfo"`
+	RequestId    string                    `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                    `json:"ConferenceId" xml:"ConferenceId"`
+	AuthInfo     CreateConferenceAuthInfo0 `json:"AuthInfo" xml:"AuthInfo"`
+}
+
+type CreateConferenceAuthInfo0 struct {
+	Key       string `json:"Key" xml:"Key"`
+	Nonce     string `json:"Nonce" xml:"Nonce"`
+	Timestamp int    `json:"Timestamp" xml:"Timestamp"`
 }
 
 // CreateCreateConferenceRequest creates a request to invoke CreateConference API

+ 22 - 25
services/rtc/create_template.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,45 +76,42 @@ func (client *Client) CreateTemplateWithCallback(request *CreateTemplateRequest,
 // CreateTemplateRequest is the request struct for api CreateTemplate
 type CreateTemplateRequest struct {
 	*requests.RpcRequest
-	ServiceMode       requests.Integer              `position:"Query" name:"ServiceMode"`
-	LiveConfig        *[]CreateTemplateLiveConfig   `position:"Query" name:"LiveConfig"  type:"Repeated"`
-	MediaConfig       requests.Integer              `position:"Query" name:"MediaConfig"`
-	MaxMixStreamCount requests.Integer              `position:"Query" name:"MaxMixStreamCount"`
-	RecordConfig      *[]CreateTemplateRecordConfig `position:"Query" name:"RecordConfig"  type:"Repeated"`
 	OwnerId           requests.Integer              `position:"Query" name:"OwnerId"`
-	LayOut            *[]CreateTemplateLayOut       `position:"Query" name:"LayOut"  type:"Repeated"`
 	AppId             string                        `position:"Query" name:"AppId"`
-	CallBack          string                        `position:"Query" name:"CallBack"`
 	MixMode           requests.Integer              `position:"Query" name:"MixMode"`
+	ServiceMode       requests.Integer              `position:"Query" name:"ServiceMode"`
+	CallBack          string                        `position:"Query" name:"CallBack"`
+	MaxMixStreamCount requests.Integer              `position:"Query" name:"MaxMixStreamCount"`
+	MediaConfig       requests.Integer              `position:"Query" name:"MediaConfig"`
+	LayOut            *[]CreateTemplateLayOut       `position:"Query" name:"LayOut" type:"Repeated"`
+	RecordConfig      *[]CreateTemplateRecordConfig `position:"Query" name:"RecordConfig" type:"Repeated"`
+	LiveConfig        *[]CreateTemplateLiveConfig   `position:"Query" name:"LiveConfig" type:"Repeated"`
 }
 
-// CreateTemplateLiveConfig is a repeated param struct in CreateTemplateRequest
-type CreateTemplateLiveConfig struct {
-	DomainName string `name:"DomainName"`
-	AppName    string `name:"AppName"`
+type CreateTemplateLayOut struct {
+	Color    string           `name:"Color"`
+	CutMode  requests.Integer `name:"CutMode"`
+	LayOutId requests.Integer `name:"LayOutId"`
 }
 
-// CreateTemplateRecordConfig is a repeated param struct in CreateTemplateRequest
 type CreateTemplateRecordConfig struct {
-	StorageType         string `name:"StorageType"`
-	FileFormat          string `name:"FileFormat"`
-	OssEndPoint         string `name:"OssEndPoint"`
-	OssBucket           string `name:"OssBucket"`
-	VodTransCodeGroupId string `name:"VodTransCodeGroupId"`
+	StorageType         string           `name:"StorageType"`
+	FileFormat          requests.Integer `name:"FileFormat"`
+	OssEndPoint         string           `name:"OssEndPoint"`
+	OssBucket           string           `name:"OssBucket"`
+	VodTransCodeGroupId requests.Integer `name:"VodTransCodeGroupId"`
 }
 
-// CreateTemplateLayOut is a repeated param struct in CreateTemplateRequest
-type CreateTemplateLayOut struct {
-	Color    string `name:"Color"`
-	CutMode  string `name:"CutMode"`
-	LayOutId string `name:"LayOutId"`
+type CreateTemplateLiveConfig struct {
+	DomainName string `name:"DomainName"`
+	AppName    string `name:"AppName"`
 }
 
 // CreateTemplateResponse is the response struct for api CreateTemplate
 type CreateTemplateResponse struct {
 	*responses.BaseResponse
 	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TemplateId int    `json:"TemplateId" xml:"TemplateId"`
+	TemplateId int64  `json:"TemplateId" xml:"TemplateId"`
 }
 
 // CreateCreateTemplateRequest creates a request to invoke CreateTemplate API

+ 2 - 2
services/rtc/delete_channel.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 3 - 3
services/rtc/delete_conference.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,8 +77,8 @@ func (client *Client) DeleteConferenceWithCallback(request *DeleteConferenceRequ
 type DeleteConferenceRequest struct {
 	*requests.RpcRequest
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
-	ConferenceId string           `position:"Query" name:"ConferenceId"`
 	AppId        string           `position:"Query" name:"AppId"`
+	ConferenceId string           `position:"Query" name:"ConferenceId"`
 }
 
 // DeleteConferenceResponse is the response struct for api DeleteConference

+ 3 - 3
services/rtc/delete_template.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,8 +77,8 @@ func (client *Client) DeleteTemplateWithCallback(request *DeleteTemplateRequest,
 type DeleteTemplateRequest struct {
 	*requests.RpcRequest
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
 	AppId      string           `position:"Query" name:"AppId"`
+	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
 }
 
 // DeleteTemplateResponse is the response struct for api DeleteTemplate

+ 23 - 9
services/rtc/describe_apps.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,21 +76,35 @@ func (client *Client) DescribeAppsWithCallback(request *DescribeAppsRequest, cal
 // DescribeAppsRequest is the request struct for api DescribeApps
 type DescribeAppsRequest struct {
 	*requests.RpcRequest
-	PageNum  requests.Integer `position:"Query" name:"PageNum"`
-	PageSize requests.Integer `position:"Query" name:"PageSize"`
-	Order    string           `position:"Query" name:"Order"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
 	AppId    string           `position:"Query" name:"AppId"`
 	Status   string           `position:"Query" name:"Status"`
+	Order    string           `position:"Query" name:"Order"`
+	PageNum  requests.Integer `position:"Query" name:"PageNum"`
+	PageSize requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeAppsResponse is the response struct for api DescribeApps
 type DescribeAppsResponse struct {
 	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	TotalNum  int     `json:"TotalNum" xml:"TotalNum"`
-	TotalPage int     `json:"TotalPage" xml:"TotalPage"`
-	AppList   AppList `json:"AppList" xml:"AppList"`
+	RequestId string               `json:"RequestId" xml:"RequestId"`
+	TotalNum  int                  `json:"TotalNum" xml:"TotalNum"`
+	TotalPage int                  `json:"TotalPage" xml:"TotalPage"`
+	AppList   DescribeAppsAppList0 `json:"AppList" xml:"AppList"`
+}
+
+type DescribeAppsAppList0 struct {
+	App []DescribeAppsApp1 `json:"App" xml:"App"`
+}
+
+type DescribeAppsApp1 struct {
+	Status       int      `json:"Status" xml:"Status"`
+	AppId        string   `json:"AppId" xml:"AppId"`
+	AppName      string   `json:"AppName" xml:"AppName"`
+	CreateTime   string   `json:"CreateTime" xml:"CreateTime"`
+	AppType      string   `json:"AppType" xml:"AppType"`
+	BillType     string   `json:"BillType" xml:"BillType"`
+	ServiceAreas []string `json:"ServiceAreas" xml:"ServiceAreas"`
 }
 
 // CreateDescribeAppsRequest creates a request to invoke DescribeApps API

+ 12 - 6
services/rtc/describe_conference_auth_info.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,16 +77,22 @@ func (client *Client) DescribeConferenceAuthInfoWithCallback(request *DescribeCo
 type DescribeConferenceAuthInfoRequest struct {
 	*requests.RpcRequest
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
-	ConferenceId string           `position:"Query" name:"ConferenceId"`
 	AppId        string           `position:"Query" name:"AppId"`
+	ConferenceId string           `position:"Query" name:"ConferenceId"`
 }
 
 // DescribeConferenceAuthInfoResponse is the response struct for api DescribeConferenceAuthInfo
 type DescribeConferenceAuthInfoResponse struct {
 	*responses.BaseResponse
-	RequestId    string   `json:"RequestId" xml:"RequestId"`
-	ConferenceId string   `json:"ConferenceId" xml:"ConferenceId"`
-	AuthInfo     AuthInfo `json:"AuthInfo" xml:"AuthInfo"`
+	RequestId    string                              `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                              `json:"ConferenceId" xml:"ConferenceId"`
+	AuthInfo     DescribeConferenceAuthInfoAuthInfo0 `json:"AuthInfo" xml:"AuthInfo"`
+}
+
+type DescribeConferenceAuthInfoAuthInfo0 struct {
+	Key       string `json:"Key" xml:"Key"`
+	Nonce     string `json:"Nonce" xml:"Nonce"`
+	Timestamp int    `json:"Timestamp" xml:"Timestamp"`
 }
 
 // CreateDescribeConferenceAuthInfoRequest creates a request to invoke DescribeConferenceAuthInfo API

+ 16 - 5
services/rtc/describe_real_time_record_detail.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,16 +77,27 @@ func (client *Client) DescribeRealTimeRecordDetailWithCallback(request *Describe
 type DescribeRealTimeRecordDetailRequest struct {
 	*requests.RpcRequest
 	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	RecordId  string           `position:"Query" name:"RecordId"`
 	AppId     string           `position:"Query" name:"AppId"`
 	ChannelId string           `position:"Query" name:"ChannelId"`
+	RecordId  string           `position:"Query" name:"RecordId"`
 }
 
 // DescribeRealTimeRecordDetailResponse is the response struct for api DescribeRealTimeRecordDetail
 type DescribeRealTimeRecordDetailResponse struct {
 	*responses.BaseResponse
-	RequestId         string                                          `json:"RequestId" xml:"RequestId"`
-	RecordDetailInfos RecordDetailInfosInDescribeRealTimeRecordDetail `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
+	RequestId         string                                         `json:"RequestId" xml:"RequestId"`
+	RecordDetailInfos DescribeRealTimeRecordDetailRecordDetailInfos0 `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
+}
+
+type DescribeRealTimeRecordDetailRecordDetailInfos0 struct {
+	RecordDetailInfo []DescribeRealTimeRecordDetailRecordDetailInfo1 `json:"RecordDetailInfo" xml:"RecordDetailInfo"`
+}
+
+type DescribeRealTimeRecordDetailRecordDetailInfo1 struct {
+	Uid        string `json:"Uid" xml:"Uid"`
+	StartTime  string `json:"StartTime" xml:"StartTime"`
+	DeviceType string `json:"DeviceType" xml:"DeviceType"`
+	SDKVersion string `json:"SDKVersion" xml:"SDKVersion"`
 }
 
 // CreateDescribeRealTimeRecordDetailRequest creates a request to invoke DescribeRealTimeRecordDetail API

+ 20 - 6
services/rtc/describe_real_time_record_list.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,16 +76,30 @@ func (client *Client) DescribeRealTimeRecordListWithCallback(request *DescribeRe
 // DescribeRealTimeRecordListRequest is the request struct for api DescribeRealTimeRecordList
 type DescribeRealTimeRecordListRequest struct {
 	*requests.RpcRequest
-	EndTime   string           `position:"Query" name:"EndTime"`
-	StartTime string           `position:"Query" name:"StartTime"`
 	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
 }
 
 // DescribeRealTimeRecordListResponse is the response struct for api DescribeRealTimeRecordList
 type DescribeRealTimeRecordListResponse struct {
 	*responses.BaseResponse
-	RequestId                string                                               `json:"RequestId" xml:"RequestId"`
-	CommunicationRecordInfos CommunicationRecordInfosInDescribeRealTimeRecordList `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
+	RequestId                string                                              `json:"RequestId" xml:"RequestId"`
+	CommunicationRecordInfos DescribeRealTimeRecordListCommunicationRecordInfos0 `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
+}
+
+type DescribeRealTimeRecordListCommunicationRecordInfos0 struct {
+	CommunicationRecordInfo []DescribeRealTimeRecordListCommunicationRecordInfo1 `json:"CommunicationRecordInfo" xml:"CommunicationRecordInfo"`
+}
+
+type DescribeRealTimeRecordListCommunicationRecordInfo1 struct {
+	ChannelId     string   `json:"ChannelId" xml:"ChannelId"`
+	StartTime     string   `json:"StartTime" xml:"StartTime"`
+	EndTime       string   `json:"EndTime" xml:"EndTime"`
+	OnlineUserCnt int64    `json:"OnlineUserCnt" xml:"OnlineUserCnt"`
+	Status        bool     `json:"Status" xml:"Status"`
+	RecordId      string   `json:"RecordId" xml:"RecordId"`
+	CallAreas     []string `json:"CallAreas" xml:"CallAreas"`
 }
 
 // CreateDescribeRealTimeRecordListRequest creates a request to invoke DescribeRealTimeRecordList API

+ 28 - 8
services/rtc/describe_record_detail.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,20 +76,40 @@ func (client *Client) DescribeRecordDetailWithCallback(request *DescribeRecordDe
 // DescribeRecordDetailRequest is the request struct for api DescribeRecordDetail
 type DescribeRecordDetailRequest struct {
 	*requests.RpcRequest
-	StartTime string           `position:"Query" name:"StartTime"`
-	EndTime   string           `position:"Query" name:"EndTime"`
 	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	RecordId  string           `position:"Query" name:"RecordId"`
 	AppId     string           `position:"Query" name:"AppId"`
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
 	ChannelId string           `position:"Query" name:"ChannelId"`
+	RecordId  string           `position:"Query" name:"RecordId"`
 }
 
 // DescribeRecordDetailResponse is the response struct for api DescribeRecordDetail
 type DescribeRecordDetailResponse struct {
 	*responses.BaseResponse
-	RequestId         string                                  `json:"RequestId" xml:"RequestId"`
-	Duration          Duration                                `json:"Duration" xml:"Duration"`
-	RecordDetailInfos RecordDetailInfosInDescribeRecordDetail `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
+	RequestId         string                                 `json:"RequestId" xml:"RequestId"`
+	RecordDetailInfos DescribeRecordDetailRecordDetailInfos0 `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
+	Duration          DescribeRecordDetailDuration0          `json:"Duration" xml:"Duration"`
+}
+
+type DescribeRecordDetailRecordDetailInfos0 struct {
+	RecordDetailInfo []DescribeRecordDetailRecordDetailInfo1 `json:"RecordDetailInfo" xml:"RecordDetailInfo"`
+}
+
+type DescribeRecordDetailRecordDetailInfo1 struct {
+	Uid        string `json:"Uid" xml:"Uid"`
+	StartTime  string `json:"StartTime" xml:"StartTime"`
+	EndTime    string `json:"EndTime" xml:"EndTime"`
+	DeviceType string `json:"DeviceType" xml:"DeviceType"`
+	SDKVersion string `json:"SDKVersion" xml:"SDKVersion"`
+}
+
+type DescribeRecordDetailDuration0 struct {
+	Audio float32 `json:"Audio" xml:"Audio"`
+	Sd    float32 `json:"Sd" xml:"Sd"`
+	Hd    float32 `json:"Hd" xml:"Hd"`
+	Fhd   float32 `json:"Fhd" xml:"Fhd"`
+	All   float32 `json:"All" xml:"All"`
 }
 
 // CreateDescribeRecordDetailRequest creates a request to invoke DescribeRecordDetail API

+ 27 - 13
services/rtc/describe_record_list.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,26 +76,40 @@ func (client *Client) DescribeRecordListWithCallback(request *DescribeRecordList
 // DescribeRecordListRequest is the request struct for api DescribeRecordList
 type DescribeRecordListRequest struct {
 	*requests.RpcRequest
-	SortType    string           `position:"Query" name:"SortType"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	AppId       string           `position:"Query" name:"AppId"`
 	StartTime   string           `position:"Query" name:"StartTime"`
-	ServiceArea string           `position:"Query" name:"ServiceArea"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
-	Id          string           `position:"Query" name:"Id"`
 	EndTime     string           `position:"Query" name:"EndTime"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	IdType      string           `position:"Query" name:"IdType"`
+	Id          string           `position:"Query" name:"Id"`
+	SortType    string           `position:"Query" name:"SortType"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
 	PageNo      requests.Integer `position:"Query" name:"PageNo"`
-	AppId       string           `position:"Query" name:"AppId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeRecordListResponse is the response struct for api DescribeRecordList
 type DescribeRecordListResponse struct {
 	*responses.BaseResponse
-	RequestId                string                                       `json:"RequestId" xml:"RequestId"`
-	PageSize                 int                                          `json:"PageSize" xml:"PageSize"`
-	PageNo                   int                                          `json:"PageNo" xml:"PageNo"`
-	TotalCnt                 int                                          `json:"TotalCnt" xml:"TotalCnt"`
-	CommunicationRecordInfos CommunicationRecordInfosInDescribeRecordList `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
+	RequestId                string                                      `json:"RequestId" xml:"RequestId"`
+	PageSize                 int64                                       `json:"PageSize" xml:"PageSize"`
+	PageNo                   int64                                       `json:"PageNo" xml:"PageNo"`
+	TotalCnt                 int64                                       `json:"TotalCnt" xml:"TotalCnt"`
+	CommunicationRecordInfos DescribeRecordListCommunicationRecordInfos0 `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
+}
+
+type DescribeRecordListCommunicationRecordInfos0 struct {
+	CommunicationRecordInfo []DescribeRecordListCommunicationRecordInfo1 `json:"CommunicationRecordInfo" xml:"CommunicationRecordInfo"`
+}
+
+type DescribeRecordListCommunicationRecordInfo1 struct {
+	ChannelId    string   `json:"ChannelId" xml:"ChannelId"`
+	StartTime    string   `json:"StartTime" xml:"StartTime"`
+	EndTime      string   `json:"EndTime" xml:"EndTime"`
+	TotalUserCnt int64    `json:"TotalUserCnt" xml:"TotalUserCnt"`
+	Status       bool     `json:"Status" xml:"Status"`
+	RecordId     string   `json:"RecordId" xml:"RecordId"`
+	CallAreas    []string `json:"CallAreas" xml:"CallAreas"`
 }
 
 // CreateDescribeRecordListRequest creates a request to invoke DescribeRecordList API

+ 118 - 0
services/rtc/describe_rtc_channel_cnt_data.go

@@ -0,0 +1,118 @@
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package rtc
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRtcChannelCntData invokes the rtc.DescribeRtcChannelCntData API synchronously
+// api document: https://help.aliyun.com/api/rtc/describertcchannelcntdata.html
+func (client *Client) DescribeRtcChannelCntData(request *DescribeRtcChannelCntDataRequest) (response *DescribeRtcChannelCntDataResponse, err error) {
+	response = CreateDescribeRtcChannelCntDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRtcChannelCntDataWithChan invokes the rtc.DescribeRtcChannelCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcchannelcntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcChannelCntDataWithChan(request *DescribeRtcChannelCntDataRequest) (<-chan *DescribeRtcChannelCntDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeRtcChannelCntDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRtcChannelCntData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRtcChannelCntDataWithCallback invokes the rtc.DescribeRtcChannelCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcchannelcntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcChannelCntDataWithCallback(request *DescribeRtcChannelCntDataRequest, callback func(response *DescribeRtcChannelCntDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRtcChannelCntDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRtcChannelCntData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRtcChannelCntDataRequest is the request struct for api DescribeRtcChannelCntData
+type DescribeRtcChannelCntDataRequest struct {
+	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	AppId       string           `position:"Query" name:"AppId"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
+	Interval    string           `position:"Query" name:"Interval"`
+}
+
+// DescribeRtcChannelCntDataResponse is the response struct for api DescribeRtcChannelCntData
+type DescribeRtcChannelCntDataResponse struct {
+	*responses.BaseResponse
+	RequestId                 string                                              `json:"RequestId" xml:"RequestId"`
+	ChannelCntDataPerInterval DescribeRtcChannelCntDataChannelCntDataPerInterval0 `json:"ChannelCntDataPerInterval" xml:"ChannelCntDataPerInterval"`
+}
+
+type DescribeRtcChannelCntDataChannelCntDataPerInterval0 struct {
+	ChannelCntModule []DescribeRtcChannelCntDataChannelCntModule1 `json:"ChannelCntModule" xml:"ChannelCntModule"`
+}
+
+type DescribeRtcChannelCntDataChannelCntModule1 struct {
+	TimeStamp        string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveChannelCnt int64  `json:"ActiveChannelCnt" xml:"ActiveChannelCnt"`
+}
+
+// CreateDescribeRtcChannelCntDataRequest creates a request to invoke DescribeRtcChannelCntData API
+func CreateDescribeRtcChannelCntDataRequest() (request *DescribeRtcChannelCntDataRequest) {
+	request = &DescribeRtcChannelCntDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeRtcChannelCntData", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeRtcChannelCntDataResponse creates a response to parse from DescribeRtcChannelCntData response
+func CreateDescribeRtcChannelCntDataResponse() (response *DescribeRtcChannelCntDataResponse) {
+	response = &DescribeRtcChannelCntDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 123 - 0
services/rtc/describe_rtc_duration_data.go

@@ -0,0 +1,123 @@
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package rtc
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRtcDurationData invokes the rtc.DescribeRtcDurationData API synchronously
+// api document: https://help.aliyun.com/api/rtc/describertcdurationdata.html
+func (client *Client) DescribeRtcDurationData(request *DescribeRtcDurationDataRequest) (response *DescribeRtcDurationDataResponse, err error) {
+	response = CreateDescribeRtcDurationDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRtcDurationDataWithChan invokes the rtc.DescribeRtcDurationData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcdurationdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcDurationDataWithChan(request *DescribeRtcDurationDataRequest) (<-chan *DescribeRtcDurationDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeRtcDurationDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRtcDurationData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRtcDurationDataWithCallback invokes the rtc.DescribeRtcDurationData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcdurationdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcDurationDataWithCallback(request *DescribeRtcDurationDataRequest, callback func(response *DescribeRtcDurationDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRtcDurationDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRtcDurationData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRtcDurationDataRequest is the request struct for api DescribeRtcDurationData
+type DescribeRtcDurationDataRequest struct {
+	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	AppId       string           `position:"Query" name:"AppId"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
+	Interval    string           `position:"Query" name:"Interval"`
+}
+
+// DescribeRtcDurationDataResponse is the response struct for api DescribeRtcDurationData
+type DescribeRtcDurationDataResponse struct {
+	*responses.BaseResponse
+	RequestId               string                                          `json:"RequestId" xml:"RequestId"`
+	DurationDataPerInterval DescribeRtcDurationDataDurationDataPerInterval0 `json:"DurationDataPerInterval" xml:"DurationDataPerInterval"`
+}
+
+type DescribeRtcDurationDataDurationDataPerInterval0 struct {
+	DurationModule []DescribeRtcDurationDataDurationModule1 `json:"DurationModule" xml:"DurationModule"`
+}
+
+type DescribeRtcDurationDataDurationModule1 struct {
+	TimeStamp       string `json:"TimeStamp" xml:"TimeStamp"`
+	TotalDuration   int64  `json:"TotalDuration" xml:"TotalDuration"`
+	AudioDuration   int64  `json:"AudioDuration" xml:"AudioDuration"`
+	V360Duration    int64  `json:"V360Duration" xml:"V360Duration"`
+	V720Duration    int64  `json:"V720Duration" xml:"V720Duration"`
+	V1080Duration   int64  `json:"V1080Duration" xml:"V1080Duration"`
+	ContentDuration int64  `json:"ContentDuration" xml:"ContentDuration"`
+}
+
+// CreateDescribeRtcDurationDataRequest creates a request to invoke DescribeRtcDurationData API
+func CreateDescribeRtcDurationDataRequest() (request *DescribeRtcDurationDataRequest) {
+	request = &DescribeRtcDurationDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeRtcDurationData", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeRtcDurationDataResponse creates a response to parse from DescribeRtcDurationData response
+func CreateDescribeRtcDurationDataResponse() (response *DescribeRtcDurationDataResponse) {
+	response = &DescribeRtcDurationDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 119 - 0
services/rtc/describe_rtc_peak_channel_cnt_data.go

@@ -0,0 +1,119 @@
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package rtc
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRtcPeakChannelCntData invokes the rtc.DescribeRtcPeakChannelCntData API synchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakchannelcntdata.html
+func (client *Client) DescribeRtcPeakChannelCntData(request *DescribeRtcPeakChannelCntDataRequest) (response *DescribeRtcPeakChannelCntDataResponse, err error) {
+	response = CreateDescribeRtcPeakChannelCntDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRtcPeakChannelCntDataWithChan invokes the rtc.DescribeRtcPeakChannelCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakchannelcntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcPeakChannelCntDataWithChan(request *DescribeRtcPeakChannelCntDataRequest) (<-chan *DescribeRtcPeakChannelCntDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeRtcPeakChannelCntDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRtcPeakChannelCntData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRtcPeakChannelCntDataWithCallback invokes the rtc.DescribeRtcPeakChannelCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakchannelcntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcPeakChannelCntDataWithCallback(request *DescribeRtcPeakChannelCntDataRequest, callback func(response *DescribeRtcPeakChannelCntDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRtcPeakChannelCntDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRtcPeakChannelCntData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRtcPeakChannelCntDataRequest is the request struct for api DescribeRtcPeakChannelCntData
+type DescribeRtcPeakChannelCntDataRequest struct {
+	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	AppId       string           `position:"Query" name:"AppId"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
+	Interval    string           `position:"Query" name:"Interval"`
+}
+
+// DescribeRtcPeakChannelCntDataResponse is the response struct for api DescribeRtcPeakChannelCntData
+type DescribeRtcPeakChannelCntDataResponse struct {
+	*responses.BaseResponse
+	RequestId                     string                                                      `json:"RequestId" xml:"RequestId"`
+	PeakChannelCntDataPerInterval DescribeRtcPeakChannelCntDataPeakChannelCntDataPerInterval0 `json:"PeakChannelCntDataPerInterval" xml:"PeakChannelCntDataPerInterval"`
+}
+
+type DescribeRtcPeakChannelCntDataPeakChannelCntDataPerInterval0 struct {
+	PeakChannelCntModule []DescribeRtcPeakChannelCntDataPeakChannelCntModule1 `json:"PeakChannelCntModule" xml:"PeakChannelCntModule"`
+}
+
+type DescribeRtcPeakChannelCntDataPeakChannelCntModule1 struct {
+	TimeStamp             string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveChannelPeak     int64  `json:"ActiveChannelPeak" xml:"ActiveChannelPeak"`
+	ActiveChannelPeakTime string `json:"ActiveChannelPeakTime" xml:"ActiveChannelPeakTime"`
+}
+
+// CreateDescribeRtcPeakChannelCntDataRequest creates a request to invoke DescribeRtcPeakChannelCntData API
+func CreateDescribeRtcPeakChannelCntDataRequest() (request *DescribeRtcPeakChannelCntDataRequest) {
+	request = &DescribeRtcPeakChannelCntDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeRtcPeakChannelCntData", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeRtcPeakChannelCntDataResponse creates a response to parse from DescribeRtcPeakChannelCntData response
+func CreateDescribeRtcPeakChannelCntDataResponse() (response *DescribeRtcPeakChannelCntDataResponse) {
+	response = &DescribeRtcPeakChannelCntDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 119 - 0
services/rtc/describe_rtc_peak_user_cnt_data.go

@@ -0,0 +1,119 @@
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package rtc
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRtcPeakUserCntData invokes the rtc.DescribeRtcPeakUserCntData API synchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakusercntdata.html
+func (client *Client) DescribeRtcPeakUserCntData(request *DescribeRtcPeakUserCntDataRequest) (response *DescribeRtcPeakUserCntDataResponse, err error) {
+	response = CreateDescribeRtcPeakUserCntDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRtcPeakUserCntDataWithChan invokes the rtc.DescribeRtcPeakUserCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakusercntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcPeakUserCntDataWithChan(request *DescribeRtcPeakUserCntDataRequest) (<-chan *DescribeRtcPeakUserCntDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeRtcPeakUserCntDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRtcPeakUserCntData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRtcPeakUserCntDataWithCallback invokes the rtc.DescribeRtcPeakUserCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcpeakusercntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcPeakUserCntDataWithCallback(request *DescribeRtcPeakUserCntDataRequest, callback func(response *DescribeRtcPeakUserCntDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRtcPeakUserCntDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRtcPeakUserCntData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRtcPeakUserCntDataRequest is the request struct for api DescribeRtcPeakUserCntData
+type DescribeRtcPeakUserCntDataRequest struct {
+	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	AppId       string           `position:"Query" name:"AppId"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
+	Interval    string           `position:"Query" name:"Interval"`
+}
+
+// DescribeRtcPeakUserCntDataResponse is the response struct for api DescribeRtcPeakUserCntData
+type DescribeRtcPeakUserCntDataResponse struct {
+	*responses.BaseResponse
+	RequestId                  string                                                `json:"RequestId" xml:"RequestId"`
+	PeakUserCntDataPerInterval DescribeRtcPeakUserCntDataPeakUserCntDataPerInterval0 `json:"PeakUserCntDataPerInterval" xml:"PeakUserCntDataPerInterval"`
+}
+
+type DescribeRtcPeakUserCntDataPeakUserCntDataPerInterval0 struct {
+	PeakUserCntModule []DescribeRtcPeakUserCntDataPeakUserCntModule1 `json:"PeakUserCntModule" xml:"PeakUserCntModule"`
+}
+
+type DescribeRtcPeakUserCntDataPeakUserCntModule1 struct {
+	TimeStamp          string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveUserPeak     int64  `json:"ActiveUserPeak" xml:"ActiveUserPeak"`
+	ActiveUserPeakTime string `json:"ActiveUserPeakTime" xml:"ActiveUserPeakTime"`
+}
+
+// CreateDescribeRtcPeakUserCntDataRequest creates a request to invoke DescribeRtcPeakUserCntData API
+func CreateDescribeRtcPeakUserCntDataRequest() (request *DescribeRtcPeakUserCntDataRequest) {
+	request = &DescribeRtcPeakUserCntDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeRtcPeakUserCntData", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeRtcPeakUserCntDataResponse creates a response to parse from DescribeRtcPeakUserCntData response
+func CreateDescribeRtcPeakUserCntDataResponse() (response *DescribeRtcPeakUserCntDataResponse) {
+	response = &DescribeRtcPeakUserCntDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 118 - 0
services/rtc/describe_rtc_user_cnt_data.go

@@ -0,0 +1,118 @@
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package rtc
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRtcUserCntData invokes the rtc.DescribeRtcUserCntData API synchronously
+// api document: https://help.aliyun.com/api/rtc/describertcusercntdata.html
+func (client *Client) DescribeRtcUserCntData(request *DescribeRtcUserCntDataRequest) (response *DescribeRtcUserCntDataResponse, err error) {
+	response = CreateDescribeRtcUserCntDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRtcUserCntDataWithChan invokes the rtc.DescribeRtcUserCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcusercntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcUserCntDataWithChan(request *DescribeRtcUserCntDataRequest) (<-chan *DescribeRtcUserCntDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeRtcUserCntDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRtcUserCntData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRtcUserCntDataWithCallback invokes the rtc.DescribeRtcUserCntData API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describertcusercntdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRtcUserCntDataWithCallback(request *DescribeRtcUserCntDataRequest, callback func(response *DescribeRtcUserCntDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRtcUserCntDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRtcUserCntData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRtcUserCntDataRequest is the request struct for api DescribeRtcUserCntData
+type DescribeRtcUserCntDataRequest struct {
+	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	AppId       string           `position:"Query" name:"AppId"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
+	Interval    string           `position:"Query" name:"Interval"`
+}
+
+// DescribeRtcUserCntDataResponse is the response struct for api DescribeRtcUserCntData
+type DescribeRtcUserCntDataResponse struct {
+	*responses.BaseResponse
+	RequestId              string                                        `json:"RequestId" xml:"RequestId"`
+	UserCntDataPerInterval DescribeRtcUserCntDataUserCntDataPerInterval0 `json:"UserCntDataPerInterval" xml:"UserCntDataPerInterval"`
+}
+
+type DescribeRtcUserCntDataUserCntDataPerInterval0 struct {
+	UserCntModule []DescribeRtcUserCntDataUserCntModule1 `json:"UserCntModule" xml:"UserCntModule"`
+}
+
+type DescribeRtcUserCntDataUserCntModule1 struct {
+	TimeStamp     string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveUserCnt int64  `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
+}
+
+// CreateDescribeRtcUserCntDataRequest creates a request to invoke DescribeRtcUserCntData API
+func CreateDescribeRtcUserCntDataRequest() (request *DescribeRtcUserCntDataRequest) {
+	request = &DescribeRtcUserCntDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeRtcUserCntData", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeRtcUserCntDataResponse creates a response to parse from DescribeRtcUserCntData response
+func CreateDescribeRtcUserCntDataResponse() (response *DescribeRtcUserCntDataResponse) {
+	response = &DescribeRtcUserCntDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 52 - 9
services/rtc/describe_statis.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,21 +76,64 @@ func (client *Client) DescribeStatisWithCallback(request *DescribeStatisRequest,
 // DescribeStatisRequest is the request struct for api DescribeStatis
 type DescribeStatisRequest struct {
 	*requests.RpcRequest
-	SortType    string           `position:"Query" name:"SortType"`
-	StartTime   string           `position:"Query" name:"StartTime"`
-	DataType    string           `position:"Query" name:"DataType"`
-	ServiceArea string           `position:"Query" name:"ServiceArea"`
-	EndTime     string           `position:"Query" name:"EndTime"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	AppId       string           `position:"Query" name:"AppId"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	SortType    string           `position:"Query" name:"SortType"`
+	ServiceArea string           `position:"Query" name:"ServiceArea"`
 	Interval    string           `position:"Query" name:"Interval"`
+	DataType    string           `position:"Query" name:"DataType"`
 }
 
 // DescribeStatisResponse is the response struct for api DescribeStatis
 type DescribeStatisResponse struct {
 	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	StatisInfos StatisInfos `json:"StatisInfos" xml:"StatisInfos"`
+	RequestId   string                     `json:"RequestId" xml:"RequestId"`
+	StatisInfos DescribeStatisStatisInfos0 `json:"StatisInfos" xml:"StatisInfos"`
+}
+
+type DescribeStatisStatisInfos0 struct {
+	StatisInfo []DescribeStatisStatisInfo1 `json:"StatisInfo" xml:"StatisInfo"`
+}
+
+type DescribeStatisStatisInfo1 struct {
+	Time          string                       `json:"Time" xml:"Time"`
+	Duration      DescribeStatisDuration1      `json:"Duration" xml:"Duration"`
+	UserStatis    DescribeStatisUserStatis1    `json:"UserStatis" xml:"UserStatis"`
+	ChannelStatis DescribeStatisChannelStatis1 `json:"ChannelStatis" xml:"ChannelStatis"`
+}
+
+type DescribeStatisDuration1 struct {
+	Duration []DescribeStatisDuration2 `json:"Duration" xml:"Duration"`
+}
+
+type DescribeStatisDuration2 struct {
+	TotalDuration float32 `json:"TotalDuration" xml:"TotalDuration"`
+	AudioDuration float32 `json:"AudioDuration" xml:"AudioDuration"`
+	SdDuration    float32 `json:"SdDuration" xml:"SdDuration"`
+	HdDuration    float32 `json:"HdDuration" xml:"HdDuration"`
+	FhdDuration   float32 `json:"FhdDuration" xml:"FhdDuration"`
+}
+
+type DescribeStatisUserStatis1 struct {
+	UserStatis []DescribeStatisUserStatis2 `json:"UserStatis" xml:"UserStatis"`
+}
+
+type DescribeStatisUserStatis2 struct {
+	ActiveUserCnt      int64  `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
+	ConSessionPeak     int64  `json:"ConSessionPeak" xml:"ConSessionPeak"`
+	ConSessionPeakTime string `json:"ConSessionPeakTime" xml:"ConSessionPeakTime"`
+}
+
+type DescribeStatisChannelStatis1 struct {
+	ChannelStatis []DescribeStatisChannelStatis2 `json:"ChannelStatis" xml:"ChannelStatis"`
+}
+
+type DescribeStatisChannelStatis2 struct {
+	AccChannelCnt      int64  `json:"AccChannelCnt" xml:"AccChannelCnt"`
+	ConChannelPeak     int64  `json:"ConChannelPeak" xml:"ConChannelPeak"`
+	ConChannelPeakTime string `json:"ConChannelPeakTime" xml:"ConChannelPeakTime"`
 }
 
 // CreateDescribeStatisRequest creates a request to invoke DescribeStatis API

+ 4 - 4
services/rtc/get_all_template.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -83,8 +83,8 @@ type GetAllTemplateRequest struct {
 // GetAllTemplateResponse is the response struct for api GetAllTemplate
 type GetAllTemplateResponse struct {
 	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	TemplateIds TemplateIds `json:"TemplateIds" xml:"TemplateIds"`
+	RequestId   string   `json:"RequestId" xml:"RequestId"`
+	TemplateIds []string `json:"TemplateIds" xml:"TemplateIds"`
 }
 
 // CreateGetAllTemplateRequest creates a request to invoke GetAllTemplate API

+ 2 - 2
services/rtc/get_mpu_task_status.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 16 - 6
services/rtc/get_task_param.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -84,10 +84,20 @@ type GetTaskParamRequest struct {
 // GetTaskParamResponse is the response struct for api GetTaskParam
 type GetTaskParamResponse struct {
 	*responses.BaseResponse
-	RequestId  string  `json:"RequestId" xml:"RequestId"`
-	ChannelId  string  `json:"ChannelId" xml:"ChannelId"`
-	TemplateId int     `json:"TemplateId" xml:"TemplateId"`
-	MixPane    MixPane `json:"MixPane" xml:"MixPane"`
+	RequestId  string               `json:"RequestId" xml:"RequestId"`
+	ChannelId  string               `json:"ChannelId" xml:"ChannelId"`
+	TemplateId int64                `json:"TemplateId" xml:"TemplateId"`
+	MixPane    GetTaskParamMixPane0 `json:"MixPane" xml:"MixPane"`
+}
+
+type GetTaskParamMixPane0 struct {
+	MixPane []GetTaskParamMixPane1 `json:"MixPane" xml:"MixPane"`
+}
+
+type GetTaskParamMixPane1 struct {
+	PaneId     int    `json:"PaneId" xml:"PaneId"`
+	UserId     string `json:"UserId" xml:"UserId"`
+	SourceType string `json:"SourceType" xml:"SourceType"`
 }
 
 // CreateGetTaskParamRequest creates a request to invoke GetTaskParam API

+ 2 - 2
services/rtc/get_task_status.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 31 - 12
services/rtc/get_template_info.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,22 +77,41 @@ func (client *Client) GetTemplateInfoWithCallback(request *GetTemplateInfoReques
 type GetTemplateInfoRequest struct {
 	*requests.RpcRequest
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
 	AppId      string           `position:"Query" name:"AppId"`
+	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
 }
 
 // GetTemplateInfoResponse is the response struct for api GetTemplateInfo
 type GetTemplateInfoResponse struct {
 	*responses.BaseResponse
-	RequestId         string       `json:"RequestId" xml:"RequestId"`
-	MixMode           int          `json:"MixMode" xml:"MixMode"`
-	ServiceMode       int          `json:"ServiceMode" xml:"ServiceMode"`
-	CallBack          string       `json:"CallBack" xml:"CallBack"`
-	MaxMixStreamCount int          `json:"MaxMixStreamCount" xml:"MaxMixStreamCount"`
-	MediaConfig       int          `json:"MediaConfig" xml:"MediaConfig"`
-	LayOut            LayOut       `json:"LayOut" xml:"LayOut"`
-	RecordConfig      RecordConfig `json:"RecordConfig" xml:"RecordConfig"`
-	LiveConfig        LiveConfig   `json:"LiveConfig" xml:"LiveConfig"`
+	RequestId         string                       `json:"RequestId" xml:"RequestId"`
+	MixMode           int                          `json:"MixMode" xml:"MixMode"`
+	ServiceMode       int                          `json:"ServiceMode" xml:"ServiceMode"`
+	CallBack          string                       `json:"CallBack" xml:"CallBack"`
+	MaxMixStreamCount int                          `json:"MaxMixStreamCount" xml:"MaxMixStreamCount"`
+	MediaConfig       int                          `json:"MediaConfig" xml:"MediaConfig"`
+	LayOut            GetTemplateInfoLayOut0       `json:"LayOut" xml:"LayOut"`
+	RecordConfig      GetTemplateInfoRecordConfig0 `json:"RecordConfig" xml:"RecordConfig"`
+	LiveConfig        GetTemplateInfoLiveConfig0   `json:"LiveConfig" xml:"LiveConfig"`
+}
+
+type GetTemplateInfoLayOut0 struct {
+	Color    string `json:"Color" xml:"Color"`
+	Cutmode  int    `json:"Cutmode" xml:"Cutmode"`
+	LayoutID int    `json:"LayoutID" xml:"LayoutID"`
+}
+
+type GetTemplateInfoRecordConfig0 struct {
+	StorageType         string `json:"StorageType" xml:"StorageType"`
+	FileFormat          int    `json:"FileFormat" xml:"FileFormat"`
+	OssEndpoint         string `json:"OssEndpoint" xml:"OssEndpoint"`
+	OssBucket           string `json:"OssBucket" xml:"OssBucket"`
+	VodTranscodeGroupId int    `json:"VodTranscodeGroupId" xml:"VodTranscodeGroupId"`
+}
+
+type GetTemplateInfoLiveConfig0 struct {
+	DomainName string `json:"DomainName" xml:"DomainName"`
+	AppName    string `json:"AppName" xml:"AppName"`
 }
 
 // CreateGetTemplateInfoRequest creates a request to invoke GetTemplateInfo API

+ 3 - 3
services/rtc/modify_app.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,8 +77,8 @@ func (client *Client) ModifyAppWithCallback(request *ModifyAppRequest, callback
 type ModifyAppRequest struct {
 	*requests.RpcRequest
 	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
-	AppName string           `position:"Query" name:"AppName"`
 	AppId   string           `position:"Query" name:"AppId"`
+	AppName string           `position:"Query" name:"AppName"`
 }
 
 // ModifyAppResponse is the response struct for api ModifyApp

+ 6 - 6
services/rtc/modify_conference.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,12 @@ func (client *Client) ModifyConferenceWithCallback(request *ModifyConferenceRequ
 // ModifyConferenceRequest is the request struct for api ModifyConference
 type ModifyConferenceRequest struct {
 	*requests.RpcRequest
-	StartTime      string           `position:"Query" name:"StartTime"`
-	Type           string           `position:"Query" name:"Type"`
-	ConferenceId   string           `position:"Query" name:"ConferenceId"`
-	ConferenceName string           `position:"Query" name:"ConferenceName"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
 	AppId          string           `position:"Query" name:"AppId"`
+	ConferenceId   string           `position:"Query" name:"ConferenceId"`
+	ConferenceName string           `position:"Query" name:"ConferenceName"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	Type           string           `position:"Query" name:"Type"`
 	RemindNotice   requests.Integer `position:"Query" name:"RemindNotice"`
 }
 

+ 17 - 7
services/rtc/mute_audio.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,18 +76,28 @@ func (client *Client) MuteAudioWithCallback(request *MuteAudioRequest, callback
 // MuteAudioRequest is the request struct for api MuteAudio
 type MuteAudioRequest struct {
 	*requests.RpcRequest
-	ParticipantIds *[]string        `position:"Query" name:"ParticipantIds"  type:"Repeated"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	ConferenceId   string           `position:"Query" name:"ConferenceId"`
 	AppId          string           `position:"Query" name:"AppId"`
+	ConferenceId   string           `position:"Query" name:"ConferenceId"`
+	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
 }
 
 // MuteAudioResponse is the response struct for api MuteAudio
 type MuteAudioResponse struct {
 	*responses.BaseResponse
-	RequestId    string                  `json:"RequestId" xml:"RequestId"`
-	ConferenceId string                  `json:"ConferenceId" xml:"ConferenceId"`
-	Participants ParticipantsInMuteAudio `json:"Participants" xml:"Participants"`
+	RequestId    string                 `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                 `json:"ConferenceId" xml:"ConferenceId"`
+	Participants MuteAudioParticipants0 `json:"Participants" xml:"Participants"`
+}
+
+type MuteAudioParticipants0 struct {
+	Participant []MuteAudioParticipant1 `json:"Participant" xml:"Participant"`
+}
+
+type MuteAudioParticipant1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateMuteAudioRequest creates a request to invoke MuteAudio API

+ 17 - 7
services/rtc/mute_audio_all.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,17 +77,27 @@ func (client *Client) MuteAudioAllWithCallback(request *MuteAudioAllRequest, cal
 type MuteAudioAllRequest struct {
 	*requests.RpcRequest
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	ParticipantId string           `position:"Query" name:"ParticipantId"`
-	ConferenceId  string           `position:"Query" name:"ConferenceId"`
 	AppId         string           `position:"Query" name:"AppId"`
+	ConferenceId  string           `position:"Query" name:"ConferenceId"`
+	ParticipantId string           `position:"Query" name:"ParticipantId"`
 }
 
 // MuteAudioAllResponse is the response struct for api MuteAudioAll
 type MuteAudioAllResponse struct {
 	*responses.BaseResponse
-	RequestId    string                     `json:"RequestId" xml:"RequestId"`
-	ConferenceId string                     `json:"ConferenceId" xml:"ConferenceId"`
-	Participants ParticipantsInMuteAudioAll `json:"Participants" xml:"Participants"`
+	RequestId    string                    `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                    `json:"ConferenceId" xml:"ConferenceId"`
+	Participants MuteAudioAllParticipants0 `json:"Participants" xml:"Participants"`
+}
+
+type MuteAudioAllParticipants0 struct {
+	Participant []MuteAudioAllParticipant1 `json:"Participant" xml:"Participant"`
+}
+
+type MuteAudioAllParticipant1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateMuteAudioAllRequest creates a request to invoke MuteAudioAll API

+ 5 - 5
services/rtc/receive_notify.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,12 @@ func (client *Client) ReceiveNotifyWithCallback(request *ReceiveNotifyRequest, c
 // ReceiveNotifyRequest is the request struct for api ReceiveNotify
 type ReceiveNotifyRequest struct {
 	*requests.RpcRequest
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	TraceId     string           `position:"Query" name:"TraceId"`
-	Content     string           `position:"Query" name:"Content"`
+	BizId       string           `position:"Query" name:"BizId"`
 	Event       string           `position:"Query" name:"Event"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	ContentType string           `position:"Query" name:"ContentType"`
-	BizId       string           `position:"Query" name:"BizId"`
+	Content     string           `position:"Query" name:"Content"`
 }
 
 // ReceiveNotifyResponse is the response struct for api ReceiveNotify

+ 17 - 7
services/rtc/remove_participants.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,18 +76,28 @@ func (client *Client) RemoveParticipantsWithCallback(request *RemoveParticipants
 // RemoveParticipantsRequest is the request struct for api RemoveParticipants
 type RemoveParticipantsRequest struct {
 	*requests.RpcRequest
-	ParticipantIds *[]string        `position:"Query" name:"ParticipantIds"  type:"Repeated"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	ConferenceId   string           `position:"Query" name:"ConferenceId"`
 	AppId          string           `position:"Query" name:"AppId"`
+	ConferenceId   string           `position:"Query" name:"ConferenceId"`
+	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
 }
 
 // RemoveParticipantsResponse is the response struct for api RemoveParticipants
 type RemoveParticipantsResponse struct {
 	*responses.BaseResponse
-	RequestId    string                           `json:"RequestId" xml:"RequestId"`
-	ConferenceId string                           `json:"ConferenceId" xml:"ConferenceId"`
-	Participants ParticipantsInRemoveParticipants `json:"Participants" xml:"Participants"`
+	RequestId    string                          `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                          `json:"ConferenceId" xml:"ConferenceId"`
+	Participants RemoveParticipantsParticipants0 `json:"Participants" xml:"Participants"`
+}
+
+type RemoveParticipantsParticipants0 struct {
+	Participant []RemoveParticipantsParticipant1 `json:"Participant" xml:"Participant"`
+}
+
+type RemoveParticipantsParticipant1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateRemoveParticipantsRequest creates a request to invoke RemoveParticipants API

+ 15 - 5
services/rtc/remove_terminals.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,17 +76,27 @@ func (client *Client) RemoveTerminalsWithCallback(request *RemoveTerminalsReques
 // RemoveTerminalsRequest is the request struct for api RemoveTerminals
 type RemoveTerminalsRequest struct {
 	*requests.RpcRequest
-	TerminalIds *[]string        `position:"Query" name:"TerminalIds"  type:"Repeated"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	AppId       string           `position:"Query" name:"AppId"`
 	ChannelId   string           `position:"Query" name:"ChannelId"`
+	TerminalIds []string         `position:"Query" name:"TerminalIds" type:"Repeated"`
 }
 
 // RemoveTerminalsResponse is the response struct for api RemoveTerminals
 type RemoveTerminalsResponse struct {
 	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	Terminals Terminals `json:"Terminals" xml:"Terminals"`
+	RequestId string                    `json:"RequestId" xml:"RequestId"`
+	Terminals RemoveTerminalsTerminals0 `json:"Terminals" xml:"Terminals"`
+}
+
+type RemoveTerminalsTerminals0 struct {
+	Terminal []RemoveTerminalsTerminal1 `json:"Terminal" xml:"Terminal"`
+}
+
+type RemoveTerminalsTerminal1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    int    `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateRemoveTerminalsRequest creates a request to invoke RemoveTerminals API

+ 12 - 12
services/rtc/start_mpu_task.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,22 +76,22 @@ func (client *Client) StartMPUTaskWithCallback(request *StartMPUTaskRequest, cal
 // StartMPUTaskRequest is the request struct for api StartMPUTask
 type StartMPUTaskRequest struct {
 	*requests.RpcRequest
-	UserPanes       *[]StartMPUTaskUserPanes `position:"Query" name:"UserPanes"  type:"Repeated"`
-	BackgroundColor requests.Integer         `position:"Query" name:"BackgroundColor"`
-	LayoutIds       *[]string                `position:"Query" name:"LayoutIds"  type:"Repeated"`
-	TaskId          string                   `position:"Query" name:"TaskId"`
-	StreamURL       string                   `position:"Query" name:"StreamURL"`
 	OwnerId         requests.Integer         `position:"Query" name:"OwnerId"`
 	AppId           string                   `position:"Query" name:"AppId"`
-	MediaEncode     requests.Integer         `position:"Query" name:"MediaEncode"`
 	ChannelId       string                   `position:"Query" name:"ChannelId"`
+	TaskId          string                   `position:"Query" name:"TaskId"`
+	TaskProfile     string                   `position:"Query" name:"TaskProfile"`
+	MediaEncode     requests.Integer         `position:"Query" name:"MediaEncode"`
+	BackgroundColor requests.Integer         `position:"Query" name:"BackgroundColor"`
+	LayoutIds       []requests.Integer       `position:"Query" name:"LayoutIds" type:"Repeated"`
+	UserPanes       *[]StartMPUTaskUserPanes `position:"Query" name:"UserPanes" type:"Repeated"`
+	StreamURL       string                   `position:"Query" name:"StreamURL"`
 }
 
-// StartMPUTaskUserPanes is a repeated param struct in StartMPUTaskRequest
 type StartMPUTaskUserPanes struct {
-	PaneId     string `name:"PaneId"`
-	UserId     string `name:"UserId"`
-	SourceType string `name:"SourceType"`
+	PaneId     requests.Integer `name:"PaneId"`
+	UserId     string           `name:"UserId"`
+	SourceType string           `name:"SourceType"`
 }
 
 // StartMPUTaskResponse is the response struct for api StartMPUTask

+ 9 - 10
services/rtc/start_task.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,26 +76,25 @@ func (client *Client) StartTaskWithCallback(request *StartTaskRequest, callback
 // StartTaskRequest is the request struct for api StartTask
 type StartTaskRequest struct {
 	*requests.RpcRequest
-	MixPanes     *[]StartTaskMixPanes `position:"Query" name:"MixPanes"  type:"Repeated"`
-	IdempotentId string               `position:"Query" name:"IdempotentId"`
 	OwnerId      requests.Integer     `position:"Query" name:"OwnerId"`
-	TemplateId   requests.Integer     `position:"Query" name:"TemplateId"`
 	AppId        string               `position:"Query" name:"AppId"`
 	ChannelId    string               `position:"Query" name:"ChannelId"`
+	TemplateId   requests.Integer     `position:"Query" name:"TemplateId"`
+	IdempotentId string               `position:"Query" name:"IdempotentId"`
+	MixPanes     *[]StartTaskMixPanes `position:"Query" name:"MixPanes" type:"Repeated"`
 }
 
-// StartTaskMixPanes is a repeated param struct in StartTaskRequest
 type StartTaskMixPanes struct {
-	PaneId     string `name:"PaneId"`
-	UserId     string `name:"UserId"`
-	SourceType string `name:"SourceType"`
+	PaneId     requests.Integer `name:"PaneId"`
+	UserId     string           `name:"UserId"`
+	SourceType string           `name:"SourceType"`
 }
 
 // StartTaskResponse is the response struct for api StartTask
 type StartTaskResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int    `json:"TaskId" xml:"TaskId"`
+	TaskId    int64  `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateStartTaskRequest creates a request to invoke StartTask API

+ 2 - 2
services/rtc/stop_mpu_task.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/rtc/stop_task.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 17 - 7
services/rtc/unmute_audio.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,18 +76,28 @@ func (client *Client) UnmuteAudioWithCallback(request *UnmuteAudioRequest, callb
 // UnmuteAudioRequest is the request struct for api UnmuteAudio
 type UnmuteAudioRequest struct {
 	*requests.RpcRequest
-	ParticipantIds *[]string        `position:"Query" name:"ParticipantIds"  type:"Repeated"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	ConferenceId   string           `position:"Query" name:"ConferenceId"`
 	AppId          string           `position:"Query" name:"AppId"`
+	ConferenceId   string           `position:"Query" name:"ConferenceId"`
+	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
 }
 
 // UnmuteAudioResponse is the response struct for api UnmuteAudio
 type UnmuteAudioResponse struct {
 	*responses.BaseResponse
-	RequestId    string                    `json:"RequestId" xml:"RequestId"`
-	ConferenceId string                    `json:"ConferenceId" xml:"ConferenceId"`
-	Participants ParticipantsInUnmuteAudio `json:"Participants" xml:"Participants"`
+	RequestId    string                   `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                   `json:"ConferenceId" xml:"ConferenceId"`
+	Participants UnmuteAudioParticipants0 `json:"Participants" xml:"Participants"`
+}
+
+type UnmuteAudioParticipants0 struct {
+	Participant []UnmuteAudioParticipant1 `json:"Participant" xml:"Participant"`
+}
+
+type UnmuteAudioParticipant1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateUnmuteAudioRequest creates a request to invoke UnmuteAudio API

+ 17 - 7
services/rtc/unmute_audio_all.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,17 +77,27 @@ func (client *Client) UnmuteAudioAllWithCallback(request *UnmuteAudioAllRequest,
 type UnmuteAudioAllRequest struct {
 	*requests.RpcRequest
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	ParticipantId string           `position:"Query" name:"ParticipantId"`
-	ConferenceId  string           `position:"Query" name:"ConferenceId"`
 	AppId         string           `position:"Query" name:"AppId"`
+	ConferenceId  string           `position:"Query" name:"ConferenceId"`
+	ParticipantId string           `position:"Query" name:"ParticipantId"`
 }
 
 // UnmuteAudioAllResponse is the response struct for api UnmuteAudioAll
 type UnmuteAudioAllResponse struct {
 	*responses.BaseResponse
-	RequestId    string                       `json:"RequestId" xml:"RequestId"`
-	ConferenceId string                       `json:"ConferenceId" xml:"ConferenceId"`
-	Participants ParticipantsInUnmuteAudioAll `json:"Participants" xml:"Participants"`
+	RequestId    string                      `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                      `json:"ConferenceId" xml:"ConferenceId"`
+	Participants UnmuteAudioAllParticipants0 `json:"Participants" xml:"Participants"`
+}
+
+type UnmuteAudioAllParticipants0 struct {
+	Participant []UnmuteAudioAllParticipant1 `json:"Participant" xml:"Participant"`
+}
+
+type UnmuteAudioAllParticipant1 struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
 }
 
 // CreateUnmuteAudioAllRequest creates a request to invoke UnmuteAudioAll API

+ 3 - 3
services/rtc/update_channel.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,9 +77,9 @@ func (client *Client) UpdateChannelWithCallback(request *UpdateChannelRequest, c
 type UpdateChannelRequest struct {
 	*requests.RpcRequest
 	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	Nonce     string           `position:"Query" name:"Nonce"`
 	AppId     string           `position:"Query" name:"AppId"`
 	ChannelId string           `position:"Query" name:"ChannelId"`
+	Nonce     string           `position:"Query" name:"Nonce"`
 }
 
 // UpdateChannelResponse is the response struct for api UpdateChannel

+ 9 - 10
services/rtc/update_task_param.go

@@ -1,5 +1,3 @@
-package rtc
-
 //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
@@ -15,6 +13,8 @@ package rtc
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package rtc
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,26 +76,25 @@ func (client *Client) UpdateTaskParamWithCallback(request *UpdateTaskParamReques
 // UpdateTaskParamRequest is the request struct for api UpdateTaskParam
 type UpdateTaskParamRequest struct {
 	*requests.RpcRequest
-	MixPanes   *[]UpdateTaskParamMixPanes `position:"Query" name:"MixPanes"  type:"Repeated"`
-	TaskId     requests.Integer           `position:"Query" name:"TaskId"`
 	OwnerId    requests.Integer           `position:"Query" name:"OwnerId"`
-	TemplateId requests.Integer           `position:"Query" name:"TemplateId"`
 	AppId      string                     `position:"Query" name:"AppId"`
 	ChannelId  string                     `position:"Query" name:"ChannelId"`
+	TemplateId requests.Integer           `position:"Query" name:"TemplateId"`
+	TaskId     requests.Integer           `position:"Query" name:"TaskId"`
+	MixPanes   *[]UpdateTaskParamMixPanes `position:"Query" name:"MixPanes" type:"Repeated"`
 }
 
-// UpdateTaskParamMixPanes is a repeated param struct in UpdateTaskParamRequest
 type UpdateTaskParamMixPanes struct {
-	PaneId     string `name:"PaneId"`
-	UserId     string `name:"UserId"`
-	SourceType string `name:"SourceType"`
+	PaneId     requests.Integer `name:"PaneId"`
+	UserId     string           `name:"UserId"`
+	SourceType string           `name:"SourceType"`
 }
 
 // UpdateTaskParamResponse is the response struct for api UpdateTaskParam
 type UpdateTaskParamResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int    `json:"TaskId" xml:"TaskId"`
+	TaskId    int64  `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateUpdateTaskParamRequest creates a request to invoke UpdateTaskParam API