Browse Source

Added setting of crop_mode parameter.

sdk-team 6 years ago
parent
commit
659350d4de
56 changed files with 618 additions and 522 deletions
  1. 3 0
      ChangeLog.txt
  2. 2 2
      services/rtc/client.go
  3. 2 2
      services/rtc/create_channel.go
  4. 5 5
      services/rtc/create_channel_token.go
  5. 8 14
      services/rtc/create_conference.go
  6. 24 21
      services/rtc/create_template.go
  7. 2 2
      services/rtc/delete_channel.go
  8. 3 3
      services/rtc/delete_conference.go
  9. 3 3
      services/rtc/delete_template.go
  10. 9 23
      services/rtc/describe_apps.go
  11. 112 0
      services/rtc/describe_channel_participants.go
  12. 6 12
      services/rtc/describe_conference_auth_info.go
  13. 5 16
      services/rtc/describe_real_time_record_detail.go
  14. 6 20
      services/rtc/describe_real_time_record_list.go
  15. 8 28
      services/rtc/describe_record_detail.go
  16. 13 27
      services/rtc/describe_record_list.go
  17. 6 15
      services/rtc/describe_rtc_channel_cnt_data.go
  18. 6 20
      services/rtc/describe_rtc_duration_data.go
  19. 6 16
      services/rtc/describe_rtc_peak_channel_cnt_data.go
  20. 6 16
      services/rtc/describe_rtc_peak_user_cnt_data.go
  21. 6 15
      services/rtc/describe_rtc_user_cnt_data.go
  22. 9 52
      services/rtc/describe_statis.go
  23. 4 4
      services/rtc/get_all_template.go
  24. 2 2
      services/rtc/get_mpu_task_status.go
  25. 6 16
      services/rtc/get_task_param.go
  26. 2 2
      services/rtc/get_task_status.go
  27. 12 31
      services/rtc/get_template_info.go
  28. 3 3
      services/rtc/modify_app.go
  29. 6 6
      services/rtc/modify_conference.go
  30. 7 17
      services/rtc/mute_audio.go
  31. 7 17
      services/rtc/mute_audio_all.go
  32. 5 5
      services/rtc/receive_notify.go
  33. 7 17
      services/rtc/remove_participants.go
  34. 5 15
      services/rtc/remove_terminals.go
  35. 14 12
      services/rtc/start_mpu_task.go
  36. 9 8
      services/rtc/start_task.go
  37. 2 2
      services/rtc/stop_mpu_task.go
  38. 2 2
      services/rtc/stop_task.go
  39. 21 0
      services/rtc/struct_channel_cnt_data_per_interval.go
  40. 22 0
      services/rtc/struct_channel_cnt_module.go
  41. 2 2
      services/rtc/struct_channel_statis_item.go
  42. 2 2
      services/rtc/struct_communication_record_info.go
  43. 21 0
      services/rtc/struct_duration_data_per_interval.go
  44. 27 0
      services/rtc/struct_duration_module.go
  45. 21 0
      services/rtc/struct_peak_channel_cnt_data_per_interval.go
  46. 23 0
      services/rtc/struct_peak_channel_cnt_module.go
  47. 21 0
      services/rtc/struct_peak_user_cnt_data_per_interval.go
  48. 23 0
      services/rtc/struct_peak_user_cnt_module.go
  49. 21 0
      services/rtc/struct_user_cnt_data_per_interval.go
  50. 22 0
      services/rtc/struct_user_cnt_module.go
  51. 21 0
      services/rtc/struct_user_list.go
  52. 2 2
      services/rtc/struct_user_statis_item.go
  53. 7 17
      services/rtc/unmute_audio.go
  54. 7 17
      services/rtc/unmute_audio_all.go
  55. 3 3
      services/rtc/update_channel.go
  56. 9 8
      services/rtc/update_task_param.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-06-27 Version: 1.60.55
+- Added setting of crop_mode parameter.
+
 2019-06-25 Version: 1.60.54
 - Enhencement for CostOptimized scaling group.
 

+ 2 - 2
services/rtc/client.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"

+ 2 - 2
services/rtc/create_channel.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	AppId     string           `position:"Query" name:"AppId"`
-	ChannelId string           `position:"Query" name:"ChannelId"`
 	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"`
 }
 
 // CreateChannelTokenResponse is the response struct for api CreateChannelToken

+ 8 - 14
services/rtc/create_conference.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +76,21 @@ 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     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"`
+	RequestId    string   `json:"RequestId" xml:"RequestId"`
+	ConferenceId string   `json:"ConferenceId" xml:"ConferenceId"`
+	AuthInfo     AuthInfo `json:"AuthInfo" xml:"AuthInfo"`
 }
 
 // CreateCreateConferenceRequest creates a request to invoke CreateConference API

+ 24 - 21
services/rtc/create_template.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,35 +76,38 @@ 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"`
-	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"`
+	MixMode           requests.Integer              `position:"Query" name:"MixMode"`
 }
 
-type CreateTemplateLayOut struct {
-	Color    string           `name:"Color"`
-	CutMode  requests.Integer `name:"CutMode"`
-	LayOutId requests.Integer `name:"LayOutId"`
+// CreateTemplateLiveConfig is a repeated param struct in CreateTemplateRequest
+type CreateTemplateLiveConfig struct {
+	DomainName string `name:"DomainName"`
+	AppName    string `name:"AppName"`
 }
 
+// CreateTemplateRecordConfig is a repeated param struct in CreateTemplateRequest
 type CreateTemplateRecordConfig struct {
-	StorageType         string           `name:"StorageType"`
-	FileFormat          requests.Integer `name:"FileFormat"`
-	OssEndPoint         string           `name:"OssEndPoint"`
-	OssBucket           string           `name:"OssBucket"`
-	VodTransCodeGroupId requests.Integer `name:"VodTransCodeGroupId"`
+	StorageType         string `name:"StorageType"`
+	FileFormat          string `name:"FileFormat"`
+	OssEndPoint         string `name:"OssEndPoint"`
+	OssBucket           string `name:"OssBucket"`
+	VodTransCodeGroupId string `name:"VodTransCodeGroupId"`
 }
 
-type CreateTemplateLiveConfig struct {
-	DomainName string `name:"DomainName"`
-	AppName    string `name:"AppName"`
+// CreateTemplateLayOut is a repeated param struct in CreateTemplateRequest
+type CreateTemplateLayOut struct {
+	Color    string `name:"Color"`
+	CutMode  string `name:"CutMode"`
+	LayOutId string `name:"LayOutId"`
 }
 
 // CreateTemplateResponse is the response struct for api CreateTemplate

+ 2 - 2
services/rtc/delete_channel.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"`
-	AppId        string           `position:"Query" name:"AppId"`
 	ConferenceId string           `position:"Query" name:"ConferenceId"`
+	AppId        string           `position:"Query" name:"AppId"`
 }
 
 // DeleteConferenceResponse is the response struct for api DeleteConference

+ 3 - 3
services/rtc/delete_template.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"`
-	AppId      string           `position:"Query" name:"AppId"`
 	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
+	AppId      string           `position:"Query" name:"AppId"`
 }
 
 // DeleteTemplateResponse is the response struct for api DeleteTemplate

+ 9 - 23
services/rtc/describe_apps.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,35 +76,21 @@ 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   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"`
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	TotalNum  int     `json:"TotalNum" xml:"TotalNum"`
+	TotalPage int     `json:"TotalPage" xml:"TotalPage"`
+	AppList   AppList `json:"AppList" xml:"AppList"`
 }
 
 // CreateDescribeAppsRequest creates a request to invoke DescribeApps API

+ 112 - 0
services/rtc/describe_channel_participants.go

@@ -0,0 +1,112 @@
+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
+//
+//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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeChannelParticipants invokes the rtc.DescribeChannelParticipants API synchronously
+// api document: https://help.aliyun.com/api/rtc/describechannelparticipants.html
+func (client *Client) DescribeChannelParticipants(request *DescribeChannelParticipantsRequest) (response *DescribeChannelParticipantsResponse, err error) {
+	response = CreateDescribeChannelParticipantsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeChannelParticipantsWithChan invokes the rtc.DescribeChannelParticipants API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describechannelparticipants.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChannelParticipantsWithChan(request *DescribeChannelParticipantsRequest) (<-chan *DescribeChannelParticipantsResponse, <-chan error) {
+	responseChan := make(chan *DescribeChannelParticipantsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeChannelParticipants(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeChannelParticipantsWithCallback invokes the rtc.DescribeChannelParticipants API asynchronously
+// api document: https://help.aliyun.com/api/rtc/describechannelparticipants.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeChannelParticipantsWithCallback(request *DescribeChannelParticipantsRequest, callback func(response *DescribeChannelParticipantsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeChannelParticipantsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeChannelParticipants(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeChannelParticipantsRequest is the request struct for api DescribeChannelParticipants
+type DescribeChannelParticipantsRequest 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"`
+	ChannelId string           `position:"Query" name:"ChannelId"`
+}
+
+// DescribeChannelParticipantsResponse is the response struct for api DescribeChannelParticipants
+type DescribeChannelParticipantsResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Timestamp int      `json:"Timestamp" xml:"Timestamp"`
+	TotalNum  int      `json:"TotalNum" xml:"TotalNum"`
+	TotalPage int      `json:"TotalPage" xml:"TotalPage"`
+	UserList  UserList `json:"UserList" xml:"UserList"`
+}
+
+// CreateDescribeChannelParticipantsRequest creates a request to invoke DescribeChannelParticipants API
+func CreateDescribeChannelParticipantsRequest() (request *DescribeChannelParticipantsRequest) {
+	request = &DescribeChannelParticipantsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("rtc", "2018-01-11", "DescribeChannelParticipants", "rtc", "openAPI")
+	return
+}
+
+// CreateDescribeChannelParticipantsResponse creates a response to parse from DescribeChannelParticipants response
+func CreateDescribeChannelParticipantsResponse() (response *DescribeChannelParticipantsResponse) {
+	response = &DescribeChannelParticipantsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 12
services/rtc/describe_conference_auth_info.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,16 @@ func (client *Client) DescribeConferenceAuthInfoWithCallback(request *DescribeCo
 type DescribeConferenceAuthInfoRequest struct {
 	*requests.RpcRequest
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
-	AppId        string           `position:"Query" name:"AppId"`
 	ConferenceId string           `position:"Query" name:"ConferenceId"`
+	AppId        string           `position:"Query" name:"AppId"`
 }
 
 // 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     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"`
+	RequestId    string   `json:"RequestId" xml:"RequestId"`
+	ConferenceId string   `json:"ConferenceId" xml:"ConferenceId"`
+	AuthInfo     AuthInfo `json:"AuthInfo" xml:"AuthInfo"`
 }
 
 // CreateDescribeConferenceAuthInfoRequest creates a request to invoke DescribeConferenceAuthInfo API

+ 5 - 16
services/rtc/describe_real_time_record_detail.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +77,16 @@ 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 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"`
+	RequestId         string                                          `json:"RequestId" xml:"RequestId"`
+	RecordDetailInfos RecordDetailInfosInDescribeRealTimeRecordDetail `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
 }
 
 // CreateDescribeRealTimeRecordDetailRequest creates a request to invoke DescribeRealTimeRecordDetail API

+ 6 - 20
services/rtc/describe_real_time_record_list.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,30 +76,16 @@ func (client *Client) DescribeRealTimeRecordListWithCallback(request *DescribeRe
 // DescribeRealTimeRecordListRequest is the request struct for api DescribeRealTimeRecordList
 type DescribeRealTimeRecordListRequest struct {
 	*requests.RpcRequest
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	StartTime string           `position:"Query" name:"StartTime"`
 	EndTime   string           `position:"Query" name:"EndTime"`
+	StartTime string           `position:"Query" name:"StartTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeRealTimeRecordListResponse is the response struct for api DescribeRealTimeRecordList
 type DescribeRealTimeRecordListResponse struct {
 	*responses.BaseResponse
-	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"`
+	RequestId                string                                               `json:"RequestId" xml:"RequestId"`
+	CommunicationRecordInfos CommunicationRecordInfosInDescribeRealTimeRecordList `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
 }
 
 // CreateDescribeRealTimeRecordListRequest creates a request to invoke DescribeRealTimeRecordList API

+ 8 - 28
services/rtc/describe_record_detail.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,40 +76,20 @@ func (client *Client) DescribeRecordDetailWithCallback(request *DescribeRecordDe
 // DescribeRecordDetailRequest is the request struct for api DescribeRecordDetail
 type DescribeRecordDetailRequest struct {
 	*requests.RpcRequest
-	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"`
-	ChannelId string           `position:"Query" name:"ChannelId"`
+	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"`
 }
 
 // DescribeRecordDetailResponse is the response struct for api DescribeRecordDetail
 type DescribeRecordDetailResponse struct {
 	*responses.BaseResponse
-	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"`
+	RequestId         string                                  `json:"RequestId" xml:"RequestId"`
+	Duration          Duration                                `json:"Duration" xml:"Duration"`
+	RecordDetailInfos RecordDetailInfosInDescribeRecordDetail `json:"RecordDetailInfos" xml:"RecordDetailInfos"`
 }
 
 // CreateDescribeRecordDetailRequest creates a request to invoke DescribeRecordDetail API

+ 13 - 27
services/rtc/describe_record_list.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,40 +76,26 @@ func (client *Client) DescribeRecordListWithCallback(request *DescribeRecordList
 // DescribeRecordListRequest is the request struct for api DescribeRecordList
 type DescribeRecordListRequest struct {
 	*requests.RpcRequest
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	AppId       string           `position:"Query" name:"AppId"`
+	SortType    string           `position:"Query" name:"SortType"`
 	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"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	AppId       string           `position:"Query" name:"AppId"`
 }
 
 // DescribeRecordListResponse is the response struct for api DescribeRecordList
 type DescribeRecordListResponse struct {
 	*responses.BaseResponse
-	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"`
+	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 CommunicationRecordInfosInDescribeRecordList `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
 }
 
 // CreateDescribeRecordListRequest creates a request to invoke DescribeRecordList API

+ 6 - 15
services/rtc/describe_rtc_channel_cnt_data.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,28 +76,19 @@ func (client *Client) DescribeRtcChannelCntDataWithCallback(request *DescribeRtc
 // 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"`
+	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"`
-	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"`
+	RequestId                 string                    `json:"RequestId" xml:"RequestId"`
+	ChannelCntDataPerInterval ChannelCntDataPerInterval `json:"ChannelCntDataPerInterval" xml:"ChannelCntDataPerInterval"`
 }
 
 // CreateDescribeRtcChannelCntDataRequest creates a request to invoke DescribeRtcChannelCntData API

+ 6 - 20
services/rtc/describe_rtc_duration_data.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,33 +76,19 @@ func (client *Client) DescribeRtcDurationDataWithCallback(request *DescribeRtcDu
 // 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"`
+	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"`
-	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"`
+	RequestId               string                  `json:"RequestId" xml:"RequestId"`
+	DurationDataPerInterval DurationDataPerInterval `json:"DurationDataPerInterval" xml:"DurationDataPerInterval"`
 }
 
 // CreateDescribeRtcDurationDataRequest creates a request to invoke DescribeRtcDurationData API

+ 6 - 16
services/rtc/describe_rtc_peak_channel_cnt_data.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,29 +76,19 @@ func (client *Client) DescribeRtcPeakChannelCntDataWithCallback(request *Describ
 // 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"`
+	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"`
-	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"`
+	RequestId                     string                        `json:"RequestId" xml:"RequestId"`
+	PeakChannelCntDataPerInterval PeakChannelCntDataPerInterval `json:"PeakChannelCntDataPerInterval" xml:"PeakChannelCntDataPerInterval"`
 }
 
 // CreateDescribeRtcPeakChannelCntDataRequest creates a request to invoke DescribeRtcPeakChannelCntData API

+ 6 - 16
services/rtc/describe_rtc_peak_user_cnt_data.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,29 +76,19 @@ func (client *Client) DescribeRtcPeakUserCntDataWithCallback(request *DescribeRt
 // 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"`
+	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"`
-	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"`
+	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
+	PeakUserCntDataPerInterval PeakUserCntDataPerInterval `json:"PeakUserCntDataPerInterval" xml:"PeakUserCntDataPerInterval"`
 }
 
 // CreateDescribeRtcPeakUserCntDataRequest creates a request to invoke DescribeRtcPeakUserCntData API

+ 6 - 15
services/rtc/describe_rtc_user_cnt_data.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,28 +76,19 @@ func (client *Client) DescribeRtcUserCntDataWithCallback(request *DescribeRtcUse
 // 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"`
+	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"`
-	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"`
+	RequestId              string                 `json:"RequestId" xml:"RequestId"`
+	UserCntDataPerInterval UserCntDataPerInterval `json:"UserCntDataPerInterval" xml:"UserCntDataPerInterval"`
 }
 
 // CreateDescribeRtcUserCntDataRequest creates a request to invoke DescribeRtcUserCntData API

+ 9 - 52
services/rtc/describe_statis.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,64 +76,21 @@ func (client *Client) DescribeStatisWithCallback(request *DescribeStatisRequest,
 // DescribeStatisRequest is the request struct for api DescribeStatis
 type DescribeStatisRequest struct {
 	*requests.RpcRequest
-	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"`
+	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"`
 	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 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"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	StatisInfos StatisInfos `json:"StatisInfos" xml:"StatisInfos"`
 }
 
 // CreateDescribeStatisRequest creates a request to invoke DescribeStatis API

+ 4 - 4
services/rtc/get_all_template.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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 []string `json:"TemplateIds" xml:"TemplateIds"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	TemplateIds TemplateIds `json:"TemplateIds" xml:"TemplateIds"`
 }
 
 // CreateGetAllTemplateRequest creates a request to invoke GetAllTemplate API

+ 2 - 2
services/rtc/get_mpu_task_status.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"

+ 6 - 16
services/rtc/get_task_param.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,20 +84,10 @@ 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 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"`
+	RequestId  string  `json:"RequestId" xml:"RequestId"`
+	ChannelId  string  `json:"ChannelId" xml:"ChannelId"`
+	TemplateId int64   `json:"TemplateId" xml:"TemplateId"`
+	MixPane    MixPane `json:"MixPane" xml:"MixPane"`
 }
 
 // CreateGetTaskParamRequest creates a request to invoke GetTaskParam API

+ 2 - 2
services/rtc/get_task_status.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"

+ 12 - 31
services/rtc/get_template_info.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,41 +77,22 @@ func (client *Client) GetTemplateInfoWithCallback(request *GetTemplateInfoReques
 type GetTemplateInfoRequest struct {
 	*requests.RpcRequest
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	AppId      string           `position:"Query" name:"AppId"`
 	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
+	AppId      string           `position:"Query" name:"AppId"`
 }
 
 // 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            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"`
+	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"`
 }
 
 // CreateGetTemplateInfoRequest creates a request to invoke GetTemplateInfo API

+ 3 - 3
services/rtc/modify_app.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"`
-	AppId   string           `position:"Query" name:"AppId"`
 	AppName string           `position:"Query" name:"AppName"`
+	AppId   string           `position:"Query" name:"AppId"`
 }
 
 // ModifyAppResponse is the response struct for api ModifyApp

+ 6 - 6
services/rtc/modify_conference.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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
-	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"`
+	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"`
 	RemindNotice   requests.Integer `position:"Query" name:"RemindNotice"`
 }
 

+ 7 - 17
services/rtc/mute_audio.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,28 +76,18 @@ 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"`
-	AppId          string           `position:"Query" name:"AppId"`
 	ConferenceId   string           `position:"Query" name:"ConferenceId"`
-	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
+	AppId          string           `position:"Query" name:"AppId"`
 }
 
 // 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 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"`
+	RequestId    string                  `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                  `json:"ConferenceId" xml:"ConferenceId"`
+	Participants ParticipantsInMuteAudio `json:"Participants" xml:"Participants"`
 }
 
 // CreateMuteAudioRequest creates a request to invoke MuteAudio API

+ 7 - 17
services/rtc/mute_audio_all.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +77,17 @@ func (client *Client) MuteAudioAllWithCallback(request *MuteAudioAllRequest, cal
 type MuteAudioAllRequest struct {
 	*requests.RpcRequest
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	AppId         string           `position:"Query" name:"AppId"`
-	ConferenceId  string           `position:"Query" name:"ConferenceId"`
 	ParticipantId string           `position:"Query" name:"ParticipantId"`
+	ConferenceId  string           `position:"Query" name:"ConferenceId"`
+	AppId         string           `position:"Query" name:"AppId"`
 }
 
 // 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 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"`
+	RequestId    string                     `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                     `json:"ConferenceId" xml:"ConferenceId"`
+	Participants ParticipantsInMuteAudioAll `json:"Participants" xml:"Participants"`
 }
 
 // CreateMuteAudioAllRequest creates a request to invoke MuteAudioAll API

+ 5 - 5
services/rtc/receive_notify.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"`
-	BizId       string           `position:"Query" name:"BizId"`
+	Content     string           `position:"Query" name:"Content"`
 	Event       string           `position:"Query" name:"Event"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	ContentType string           `position:"Query" name:"ContentType"`
-	Content     string           `position:"Query" name:"Content"`
+	BizId       string           `position:"Query" name:"BizId"`
 }
 
 // ReceiveNotifyResponse is the response struct for api ReceiveNotify

+ 7 - 17
services/rtc/remove_participants.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,28 +76,18 @@ 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"`
-	AppId          string           `position:"Query" name:"AppId"`
 	ConferenceId   string           `position:"Query" name:"ConferenceId"`
-	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
+	AppId          string           `position:"Query" name:"AppId"`
 }
 
 // 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 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"`
+	RequestId    string                           `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                           `json:"ConferenceId" xml:"ConferenceId"`
+	Participants ParticipantsInRemoveParticipants `json:"Participants" xml:"Participants"`
 }
 
 // CreateRemoveParticipantsRequest creates a request to invoke RemoveParticipants API

+ 5 - 15
services/rtc/remove_terminals.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +76,17 @@ 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 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"`
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	Terminals Terminals `json:"Terminals" xml:"Terminals"`
 }
 
 // CreateRemoveTerminalsRequest creates a request to invoke RemoveTerminals API

+ 14 - 12
services/rtc/start_mpu_task.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,24 @@ 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"`
+	CropMode        requests.Integer         `position:"Query" name:"CropMode"`
+	TaskProfile     string                   `position:"Query" name:"TaskProfile"`
+	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"`
-	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"`
+	ChannelId       string                   `position:"Query" name:"ChannelId"`
 }
 
+// StartMPUTaskUserPanes is a repeated param struct in StartMPUTaskRequest
 type StartMPUTaskUserPanes struct {
-	PaneId     requests.Integer `name:"PaneId"`
-	UserId     string           `name:"UserId"`
-	SourceType string           `name:"SourceType"`
+	PaneId     string `name:"PaneId"`
+	UserId     string `name:"UserId"`
+	SourceType string `name:"SourceType"`
 }
 
 // StartMPUTaskResponse is the response struct for api StartMPUTask

+ 9 - 8
services/rtc/start_task.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,19 @@ 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     requests.Integer `name:"PaneId"`
-	UserId     string           `name:"UserId"`
-	SourceType string           `name:"SourceType"`
+	PaneId     string `name:"PaneId"`
+	UserId     string `name:"UserId"`
+	SourceType string `name:"SourceType"`
 }
 
 // StartTaskResponse is the response struct for api StartTask

+ 2 - 2
services/rtc/stop_mpu_task.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"

+ 21 - 0
services/rtc/struct_channel_cnt_data_per_interval.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// ChannelCntDataPerInterval is a nested struct in rtc response
+type ChannelCntDataPerInterval struct {
+	ChannelCntModule []ChannelCntModule `json:"ChannelCntModule" xml:"ChannelCntModule"`
+}

+ 22 - 0
services/rtc/struct_channel_cnt_module.go

@@ -0,0 +1,22 @@
+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
+//
+//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.
+
+// ChannelCntModule is a nested struct in rtc response
+type ChannelCntModule struct {
+	TimeStamp        string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveChannelCnt int64  `json:"ActiveChannelCnt" xml:"ActiveChannelCnt"`
+}

+ 2 - 2
services/rtc/struct_channel_statis_item.go

@@ -17,7 +17,7 @@ package rtc
 
 // ChannelStatisItem is a nested struct in rtc response
 type ChannelStatisItem struct {
-	AccChannelCnt      int    `json:"AccChannelCnt" xml:"AccChannelCnt"`
-	ConChannelPeak     int    `json:"ConChannelPeak" xml:"ConChannelPeak"`
+	AccChannelCnt      int64  `json:"AccChannelCnt" xml:"AccChannelCnt"`
+	ConChannelPeak     int64  `json:"ConChannelPeak" xml:"ConChannelPeak"`
 	ConChannelPeakTime string `json:"ConChannelPeakTime" xml:"ConChannelPeakTime"`
 }

+ 2 - 2
services/rtc/struct_communication_record_info.go

@@ -21,8 +21,8 @@ type CommunicationRecordInfo struct {
 	StartTime     string                        `json:"StartTime" xml:"StartTime"`
 	EndTime       string                        `json:"EndTime" xml:"EndTime"`
 	ChannelId     string                        `json:"ChannelId" xml:"ChannelId"`
-	TotalUserCnt  int                           `json:"TotalUserCnt" xml:"TotalUserCnt"`
+	TotalUserCnt  int64                         `json:"TotalUserCnt" xml:"TotalUserCnt"`
 	RecordId      string                        `json:"RecordId" xml:"RecordId"`
-	OnlineUserCnt int                           `json:"OnlineUserCnt" xml:"OnlineUserCnt"`
+	OnlineUserCnt int64                         `json:"OnlineUserCnt" xml:"OnlineUserCnt"`
 	CallAreas     CallAreasInDescribeRecordList `json:"CallAreas" xml:"CallAreas"`
 }

+ 21 - 0
services/rtc/struct_duration_data_per_interval.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// DurationDataPerInterval is a nested struct in rtc response
+type DurationDataPerInterval struct {
+	DurationModule []DurationModule `json:"DurationModule" xml:"DurationModule"`
+}

+ 27 - 0
services/rtc/struct_duration_module.go

@@ -0,0 +1,27 @@
+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
+//
+//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.
+
+// DurationModule is a nested struct in rtc response
+type DurationModule 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"`
+}

+ 21 - 0
services/rtc/struct_peak_channel_cnt_data_per_interval.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// PeakChannelCntDataPerInterval is a nested struct in rtc response
+type PeakChannelCntDataPerInterval struct {
+	PeakChannelCntModule []PeakChannelCntModule `json:"PeakChannelCntModule" xml:"PeakChannelCntModule"`
+}

+ 23 - 0
services/rtc/struct_peak_channel_cnt_module.go

@@ -0,0 +1,23 @@
+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
+//
+//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.
+
+// PeakChannelCntModule is a nested struct in rtc response
+type PeakChannelCntModule struct {
+	TimeStamp             string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveChannelPeak     int64  `json:"ActiveChannelPeak" xml:"ActiveChannelPeak"`
+	ActiveChannelPeakTime string `json:"ActiveChannelPeakTime" xml:"ActiveChannelPeakTime"`
+}

+ 21 - 0
services/rtc/struct_peak_user_cnt_data_per_interval.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// PeakUserCntDataPerInterval is a nested struct in rtc response
+type PeakUserCntDataPerInterval struct {
+	PeakUserCntModule []PeakUserCntModule `json:"PeakUserCntModule" xml:"PeakUserCntModule"`
+}

+ 23 - 0
services/rtc/struct_peak_user_cnt_module.go

@@ -0,0 +1,23 @@
+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
+//
+//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.
+
+// PeakUserCntModule is a nested struct in rtc response
+type PeakUserCntModule struct {
+	TimeStamp          string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveUserPeak     int64  `json:"ActiveUserPeak" xml:"ActiveUserPeak"`
+	ActiveUserPeakTime string `json:"ActiveUserPeakTime" xml:"ActiveUserPeakTime"`
+}

+ 21 - 0
services/rtc/struct_user_cnt_data_per_interval.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// UserCntDataPerInterval is a nested struct in rtc response
+type UserCntDataPerInterval struct {
+	UserCntModule []UserCntModule `json:"UserCntModule" xml:"UserCntModule"`
+}

+ 22 - 0
services/rtc/struct_user_cnt_module.go

@@ -0,0 +1,22 @@
+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
+//
+//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.
+
+// UserCntModule is a nested struct in rtc response
+type UserCntModule struct {
+	TimeStamp     string `json:"TimeStamp" xml:"TimeStamp"`
+	ActiveUserCnt int64  `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
+}

+ 21 - 0
services/rtc/struct_user_list.go

@@ -0,0 +1,21 @@
+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
+//
+//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.
+
+// UserList is a nested struct in rtc response
+type UserList struct {
+	User []string `json:"User" xml:"User"`
+}

+ 2 - 2
services/rtc/struct_user_statis_item.go

@@ -17,7 +17,7 @@ package rtc
 
 // UserStatisItem is a nested struct in rtc response
 type UserStatisItem struct {
-	ActiveUserCnt      int    `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
-	ConSessionPeak     int    `json:"ConSessionPeak" xml:"ConSessionPeak"`
+	ActiveUserCnt      int64  `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
+	ConSessionPeak     int64  `json:"ConSessionPeak" xml:"ConSessionPeak"`
 	ConSessionPeakTime string `json:"ConSessionPeakTime" xml:"ConSessionPeakTime"`
 }

+ 7 - 17
services/rtc/unmute_audio.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,28 +76,18 @@ 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"`
-	AppId          string           `position:"Query" name:"AppId"`
 	ConferenceId   string           `position:"Query" name:"ConferenceId"`
-	ParticipantIds []string         `position:"Query" name:"ParticipantIds" type:"Repeated"`
+	AppId          string           `position:"Query" name:"AppId"`
 }
 
 // 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 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"`
+	RequestId    string                    `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                    `json:"ConferenceId" xml:"ConferenceId"`
+	Participants ParticipantsInUnmuteAudio `json:"Participants" xml:"Participants"`
 }
 
 // CreateUnmuteAudioRequest creates a request to invoke UnmuteAudio API

+ 7 - 17
services/rtc/unmute_audio_all.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +77,17 @@ func (client *Client) UnmuteAudioAllWithCallback(request *UnmuteAudioAllRequest,
 type UnmuteAudioAllRequest struct {
 	*requests.RpcRequest
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	AppId         string           `position:"Query" name:"AppId"`
-	ConferenceId  string           `position:"Query" name:"ConferenceId"`
 	ParticipantId string           `position:"Query" name:"ParticipantId"`
+	ConferenceId  string           `position:"Query" name:"ConferenceId"`
+	AppId         string           `position:"Query" name:"AppId"`
 }
 
 // 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 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"`
+	RequestId    string                       `json:"RequestId" xml:"RequestId"`
+	ConferenceId string                       `json:"ConferenceId" xml:"ConferenceId"`
+	Participants ParticipantsInUnmuteAudioAll `json:"Participants" xml:"Participants"`
 }
 
 // CreateUnmuteAudioAllRequest creates a request to invoke UnmuteAudioAll API

+ 3 - 3
services/rtc/update_channel.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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 - 8
services/rtc/update_task_param.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,19 @@ 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     requests.Integer `name:"PaneId"`
-	UserId     string           `name:"UserId"`
-	SourceType string           `name:"SourceType"`
+	PaneId     string `name:"PaneId"`
+	UserId     string `name:"UserId"`
+	SourceType string `name:"SourceType"`
 }
 
 // UpdateTaskParamResponse is the response struct for api UpdateTaskParam