Browse Source

RTC SDK Auto Released By shenshi,Version:1.53.50

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 years ago
parent
commit
4f8a038a25
73 changed files with 1010 additions and 644 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. 25 22
      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. 6 12
      services/rtc/describe_conference_auth_info.go
  12. 5 16
      services/rtc/describe_real_time_record_detail.go
  13. 6 20
      services/rtc/describe_real_time_record_list.go
  14. 8 28
      services/rtc/describe_record_detail.go
  15. 13 27
      services/rtc/describe_record_list.go
  16. 9 52
      services/rtc/describe_statis.go
  17. 4 4
      services/rtc/get_all_template.go
  18. 2 2
      services/rtc/get_mpu_task_status.go
  19. 6 16
      services/rtc/get_task_param.go
  20. 2 2
      services/rtc/get_task_status.go
  21. 12 31
      services/rtc/get_template_info.go
  22. 3 3
      services/rtc/modify_app.go
  23. 6 6
      services/rtc/modify_conference.go
  24. 7 17
      services/rtc/mute_audio.go
  25. 7 17
      services/rtc/mute_audio_all.go
  26. 5 5
      services/rtc/receive_notify.go
  27. 7 17
      services/rtc/remove_participants.go
  28. 5 15
      services/rtc/remove_terminals.go
  29. 0 104
      services/rtc/start_app.go
  30. 12 11
      services/rtc/start_mpu_task.go
  31. 10 9
      services/rtc/start_task.go
  32. 0 104
      services/rtc/stop_app.go
  33. 2 2
      services/rtc/stop_mpu_task.go
  34. 2 2
      services/rtc/stop_task.go
  35. 27 0
      services/rtc/struct_app.go
  36. 21 0
      services/rtc/struct_app_list.go
  37. 23 0
      services/rtc/struct_auth_info.go
  38. 21 0
      services/rtc/struct_call_areas_in_describe_real_time_record_list.go
  39. 21 0
      services/rtc/struct_call_areas_in_describe_record_list.go
  40. 21 0
      services/rtc/struct_channel_statis.go
  41. 23 0
      services/rtc/struct_channel_statis_item.go
  42. 28 0
      services/rtc/struct_communication_record_info.go
  43. 21 0
      services/rtc/struct_communication_record_infos_in_describe_real_time_record_list.go
  44. 21 0
      services/rtc/struct_communication_record_infos_in_describe_record_list.go
  45. 25 0
      services/rtc/struct_duration.go
  46. 21 0
      services/rtc/struct_duration_in_describe_statis.go
  47. 25 0
      services/rtc/struct_duration_item.go
  48. 23 0
      services/rtc/struct_lay_out.go
  49. 22 0
      services/rtc/struct_live_config.go
  50. 21 0
      services/rtc/struct_mix_pane.go
  51. 23 0
      services/rtc/struct_mix_pane_item.go
  52. 23 0
      services/rtc/struct_participant.go
  53. 21 0
      services/rtc/struct_participants_in_mute_audio.go
  54. 21 0
      services/rtc/struct_participants_in_mute_audio_all.go
  55. 21 0
      services/rtc/struct_participants_in_remove_participants.go
  56. 21 0
      services/rtc/struct_participants_in_unmute_audio.go
  57. 21 0
      services/rtc/struct_participants_in_unmute_audio_all.go
  58. 25 0
      services/rtc/struct_record_config.go
  59. 25 0
      services/rtc/struct_record_detail_info.go
  60. 21 0
      services/rtc/struct_record_detail_infos_in_describe_real_time_record_detail.go
  61. 21 0
      services/rtc/struct_record_detail_infos_in_describe_record_detail.go
  62. 21 0
      services/rtc/struct_service_areas.go
  63. 24 0
      services/rtc/struct_statis_info.go
  64. 21 0
      services/rtc/struct_statis_infos.go
  65. 21 0
      services/rtc/struct_template_ids.go
  66. 23 0
      services/rtc/struct_terminal.go
  67. 21 0
      services/rtc/struct_terminals.go
  68. 21 0
      services/rtc/struct_user_statis.go
  69. 23 0
      services/rtc/struct_user_statis_item.go
  70. 7 17
      services/rtc/unmute_audio.go
  71. 7 17
      services/rtc/unmute_audio_all.go
  72. 3 3
      services/rtc/update_channel.go
  73. 10 9
      services/rtc/update_task_param.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-03-15 Version: 1.53.50
+1,  Update Dependency
+
 2019-03-15 Version: 1.53.49
 1,  Update Dependency
 

+ 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

+ 25 - 22
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,42 +76,45 @@ 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
 type CreateTemplateResponse struct {
 	*responses.BaseResponse
 	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TemplateId int64  `json:"TemplateId" xml:"TemplateId"`
+	TemplateId int    `json:"TemplateId" xml:"TemplateId"`
 }
 
 // CreateCreateTemplateRequest creates a request to invoke CreateTemplate API

+ 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

+ 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                 int                                          `json:"PageSize" xml:"PageSize"`
+	PageNo                   int                                          `json:"PageNo" xml:"PageNo"`
+	TotalCnt                 int                                          `json:"TotalCnt" xml:"TotalCnt"`
+	CommunicationRecordInfos CommunicationRecordInfosInDescribeRecordList `json:"CommunicationRecordInfos" xml:"CommunicationRecordInfos"`
 }
 
 // CreateDescribeRecordListRequest creates a request to invoke DescribeRecordList 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/getmpu_task_status.go → 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 int     `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

+ 0 - 104
services/rtc/start_app.go

@@ -1,104 +0,0 @@
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-package rtc
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// StartApp invokes the rtc.StartApp API synchronously
-// api document: https://help.aliyun.com/api/rtc/startapp.html
-func (client *Client) StartApp(request *StartAppRequest) (response *StartAppResponse, err error) {
-	response = CreateStartAppResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// StartAppWithChan invokes the rtc.StartApp API asynchronously
-// api document: https://help.aliyun.com/api/rtc/startapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StartAppWithChan(request *StartAppRequest) (<-chan *StartAppResponse, <-chan error) {
-	responseChan := make(chan *StartAppResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.StartApp(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// StartAppWithCallback invokes the rtc.StartApp API asynchronously
-// api document: https://help.aliyun.com/api/rtc/startapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StartAppWithCallback(request *StartAppRequest, callback func(response *StartAppResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *StartAppResponse
-		var err error
-		defer close(result)
-		response, err = client.StartApp(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// StartAppRequest is the request struct for api StartApp
-type StartAppRequest struct {
-	*requests.RpcRequest
-	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
-	AppId   string           `position:"Query" name:"AppId"`
-}
-
-// StartAppResponse is the response struct for api StartApp
-type StartAppResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateStartAppRequest creates a request to invoke StartApp API
-func CreateStartAppRequest() (request *StartAppRequest) {
-	request = &StartAppRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("rtc", "2018-01-11", "StartApp", "rtc", "openAPI")
-	return
-}
-
-// CreateStartAppResponse creates a response to parse from StartApp response
-func CreateStartAppResponse() (response *StartAppResponse) {
-	response = &StartAppResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 12 - 11
services/rtc/startmpu_task.go → 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,21 +76,22 @@ func (client *Client) StartMPUTaskWithCallback(request *StartMPUTaskRequest, cal
 // StartMPUTaskRequest is the request struct for api StartMPUTask
 type StartMPUTaskRequest struct {
 	*requests.RpcRequest
+	UserPanes       *[]StartMPUTaskUserPanes `position:"Query" name:"UserPanes"  type:"Repeated"`
+	BackgroundColor requests.Integer         `position:"Query" name:"BackgroundColor"`
+	LayoutIds       *[]string                `position:"Query" name:"LayoutIds"  type:"Repeated"`
+	TaskId          string                   `position:"Query" name:"TaskId"`
+	StreamURL       string                   `position:"Query" name:"StreamURL"`
 	OwnerId         requests.Integer         `position:"Query" name:"OwnerId"`
 	AppId           string                   `position:"Query" name:"AppId"`
-	ChannelId       string                   `position:"Query" name:"ChannelId"`
-	TaskId          string                   `position:"Query" name:"TaskId"`
 	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

+ 10 - 9
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,25 +76,26 @@ 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
 type StartTaskResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int64  `json:"TaskId" xml:"TaskId"`
+	TaskId    int    `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateStartTaskRequest creates a request to invoke StartTask API

+ 0 - 104
services/rtc/stop_app.go

@@ -1,104 +0,0 @@
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-package rtc
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// StopApp invokes the rtc.StopApp API synchronously
-// api document: https://help.aliyun.com/api/rtc/stopapp.html
-func (client *Client) StopApp(request *StopAppRequest) (response *StopAppResponse, err error) {
-	response = CreateStopAppResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// StopAppWithChan invokes the rtc.StopApp API asynchronously
-// api document: https://help.aliyun.com/api/rtc/stopapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StopAppWithChan(request *StopAppRequest) (<-chan *StopAppResponse, <-chan error) {
-	responseChan := make(chan *StopAppResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.StopApp(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// StopAppWithCallback invokes the rtc.StopApp API asynchronously
-// api document: https://help.aliyun.com/api/rtc/stopapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StopAppWithCallback(request *StopAppRequest, callback func(response *StopAppResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *StopAppResponse
-		var err error
-		defer close(result)
-		response, err = client.StopApp(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// StopAppRequest is the request struct for api StopApp
-type StopAppRequest struct {
-	*requests.RpcRequest
-	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
-	AppId   string           `position:"Query" name:"AppId"`
-}
-
-// StopAppResponse is the response struct for api StopApp
-type StopAppResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateStopAppRequest creates a request to invoke StopApp API
-func CreateStopAppRequest() (request *StopAppRequest) {
-	request = &StopAppRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("rtc", "2018-01-11", "StopApp", "rtc", "openAPI")
-	return
-}
-
-// CreateStopAppResponse creates a response to parse from StopApp response
-func CreateStopAppResponse() (response *StopAppResponse) {
-	response = &StopAppResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/rtc/stopmpu_task.go → 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"

+ 27 - 0
services/rtc/struct_app.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.
+
+// App is a nested struct in rtc response
+type App 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 ServiceAreas `json:"ServiceAreas" xml:"ServiceAreas"`
+}

+ 21 - 0
services/rtc/struct_app_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.
+
+// AppList is a nested struct in rtc response
+type AppList struct {
+	App []App `json:"App" xml:"App"`
+}

+ 23 - 0
services/rtc/struct_auth_info.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.
+
+// AuthInfo is a nested struct in rtc response
+type AuthInfo struct {
+	Key       string `json:"Key" xml:"Key"`
+	Nonce     string `json:"Nonce" xml:"Nonce"`
+	Timestamp int    `json:"Timestamp" xml:"Timestamp"`
+}

+ 21 - 0
services/rtc/struct_call_areas_in_describe_real_time_record_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.
+
+// CallAreasInDescribeRealTimeRecordList is a nested struct in rtc response
+type CallAreasInDescribeRealTimeRecordList struct {
+	CallArea []string `json:"CallArea" xml:"CallArea"`
+}

+ 21 - 0
services/rtc/struct_call_areas_in_describe_record_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.
+
+// CallAreasInDescribeRecordList is a nested struct in rtc response
+type CallAreasInDescribeRecordList struct {
+	CallArea []string `json:"CallArea" xml:"CallArea"`
+}

+ 21 - 0
services/rtc/struct_channel_statis.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.
+
+// ChannelStatis is a nested struct in rtc response
+type ChannelStatis struct {
+	ChannelStatisItem []ChannelStatisItem `json:"ChannelStatisItem" xml:"ChannelStatisItem"`
+}

+ 23 - 0
services/rtc/struct_channel_statis_item.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.
+
+// ChannelStatisItem is a nested struct in rtc response
+type ChannelStatisItem struct {
+	AccChannelCnt      int    `json:"AccChannelCnt" xml:"AccChannelCnt"`
+	ConChannelPeak     int    `json:"ConChannelPeak" xml:"ConChannelPeak"`
+	ConChannelPeakTime string `json:"ConChannelPeakTime" xml:"ConChannelPeakTime"`
+}

+ 28 - 0
services/rtc/struct_communication_record_info.go

@@ -0,0 +1,28 @@
+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.
+
+// CommunicationRecordInfo is a nested struct in rtc response
+type CommunicationRecordInfo struct {
+	Status        bool                          `json:"Status" xml:"Status"`
+	StartTime     string                        `json:"StartTime" xml:"StartTime"`
+	EndTime       string                        `json:"EndTime" xml:"EndTime"`
+	ChannelId     string                        `json:"ChannelId" xml:"ChannelId"`
+	TotalUserCnt  int                           `json:"TotalUserCnt" xml:"TotalUserCnt"`
+	RecordId      string                        `json:"RecordId" xml:"RecordId"`
+	OnlineUserCnt int                           `json:"OnlineUserCnt" xml:"OnlineUserCnt"`
+	CallAreas     CallAreasInDescribeRecordList `json:"CallAreas" xml:"CallAreas"`
+}

+ 21 - 0
services/rtc/struct_communication_record_infos_in_describe_real_time_record_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.
+
+// CommunicationRecordInfosInDescribeRealTimeRecordList is a nested struct in rtc response
+type CommunicationRecordInfosInDescribeRealTimeRecordList struct {
+	CommunicationRecordInfo []CommunicationRecordInfo `json:"CommunicationRecordInfo" xml:"CommunicationRecordInfo"`
+}

+ 21 - 0
services/rtc/struct_communication_record_infos_in_describe_record_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.
+
+// CommunicationRecordInfosInDescribeRecordList is a nested struct in rtc response
+type CommunicationRecordInfosInDescribeRecordList struct {
+	CommunicationRecordInfo []CommunicationRecordInfo `json:"CommunicationRecordInfo" xml:"CommunicationRecordInfo"`
+}

+ 25 - 0
services/rtc/struct_duration.go

@@ -0,0 +1,25 @@
+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.
+
+// Duration is a nested struct in rtc response
+type Duration struct {
+	Sd    float64 `json:"Sd" xml:"Sd"`
+	All   float64 `json:"All" xml:"All"`
+	Fhd   float64 `json:"Fhd" xml:"Fhd"`
+	Audio float64 `json:"Audio" xml:"Audio"`
+	Hd    float64 `json:"Hd" xml:"Hd"`
+}

+ 21 - 0
services/rtc/struct_duration_in_describe_statis.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.
+
+// DurationInDescribeStatis is a nested struct in rtc response
+type DurationInDescribeStatis struct {
+	DurationItem []DurationItem `json:"DurationItem" xml:"DurationItem"`
+}

+ 25 - 0
services/rtc/struct_duration_item.go

@@ -0,0 +1,25 @@
+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.
+
+// DurationItem is a nested struct in rtc response
+type DurationItem struct {
+	TotalDuration float64 `json:"TotalDuration" xml:"TotalDuration"`
+	AudioDuration float64 `json:"AudioDuration" xml:"AudioDuration"`
+	SdDuration    float64 `json:"SdDuration" xml:"SdDuration"`
+	HdDuration    float64 `json:"HdDuration" xml:"HdDuration"`
+	FhdDuration   float64 `json:"FhdDuration" xml:"FhdDuration"`
+}

+ 23 - 0
services/rtc/struct_lay_out.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.
+
+// LayOut is a nested struct in rtc response
+type LayOut struct {
+	Color    string `json:"Color" xml:"Color"`
+	Cutmode  int    `json:"Cutmode" xml:"Cutmode"`
+	LayoutID int    `json:"LayoutID" xml:"LayoutID"`
+}

+ 22 - 0
services/rtc/struct_live_config.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.
+
+// LiveConfig is a nested struct in rtc response
+type LiveConfig struct {
+	DomainName string `json:"DomainName" xml:"DomainName"`
+	AppName    string `json:"AppName" xml:"AppName"`
+}

+ 21 - 0
services/rtc/struct_mix_pane.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.
+
+// MixPane is a nested struct in rtc response
+type MixPane struct {
+	MixPaneItem []MixPaneItem `json:"MixPaneItem" xml:"MixPaneItem"`
+}

+ 23 - 0
services/rtc/struct_mix_pane_item.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.
+
+// MixPaneItem is a nested struct in rtc response
+type MixPaneItem struct {
+	PaneId     int    `json:"PaneId" xml:"PaneId"`
+	UserId     string `json:"UserId" xml:"UserId"`
+	SourceType string `json:"SourceType" xml:"SourceType"`
+}

+ 23 - 0
services/rtc/struct_participant.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.
+
+// Participant is a nested struct in rtc response
+type Participant struct {
+	Message string `json:"Message" xml:"Message"`
+	Code    string `json:"Code" xml:"Code"`
+	Id      string `json:"Id" xml:"Id"`
+}

+ 21 - 0
services/rtc/struct_participants_in_mute_audio.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.
+
+// ParticipantsInMuteAudio is a nested struct in rtc response
+type ParticipantsInMuteAudio struct {
+	Participant []Participant `json:"Participant" xml:"Participant"`
+}

+ 21 - 0
services/rtc/struct_participants_in_mute_audio_all.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.
+
+// ParticipantsInMuteAudioAll is a nested struct in rtc response
+type ParticipantsInMuteAudioAll struct {
+	Participant []Participant `json:"Participant" xml:"Participant"`
+}

+ 21 - 0
services/rtc/struct_participants_in_remove_participants.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.
+
+// ParticipantsInRemoveParticipants is a nested struct in rtc response
+type ParticipantsInRemoveParticipants struct {
+	Participant []Participant `json:"Participant" xml:"Participant"`
+}

+ 21 - 0
services/rtc/struct_participants_in_unmute_audio.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.
+
+// ParticipantsInUnmuteAudio is a nested struct in rtc response
+type ParticipantsInUnmuteAudio struct {
+	Participant []Participant `json:"Participant" xml:"Participant"`
+}

+ 21 - 0
services/rtc/struct_participants_in_unmute_audio_all.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.
+
+// ParticipantsInUnmuteAudioAll is a nested struct in rtc response
+type ParticipantsInUnmuteAudioAll struct {
+	Participant []Participant `json:"Participant" xml:"Participant"`
+}

+ 25 - 0
services/rtc/struct_record_config.go

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

+ 25 - 0
services/rtc/struct_record_detail_info.go

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

+ 21 - 0
services/rtc/struct_record_detail_infos_in_describe_real_time_record_detail.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.
+
+// RecordDetailInfosInDescribeRealTimeRecordDetail is a nested struct in rtc response
+type RecordDetailInfosInDescribeRealTimeRecordDetail struct {
+	RecordDetailInfo []RecordDetailInfo `json:"RecordDetailInfo" xml:"RecordDetailInfo"`
+}

+ 21 - 0
services/rtc/struct_record_detail_infos_in_describe_record_detail.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.
+
+// RecordDetailInfosInDescribeRecordDetail is a nested struct in rtc response
+type RecordDetailInfosInDescribeRecordDetail struct {
+	RecordDetailInfo []RecordDetailInfo `json:"RecordDetailInfo" xml:"RecordDetailInfo"`
+}

+ 21 - 0
services/rtc/struct_service_areas.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.
+
+// ServiceAreas is a nested struct in rtc response
+type ServiceAreas struct {
+	ServiceArea []string `json:"ServiceArea" xml:"ServiceArea"`
+}

+ 24 - 0
services/rtc/struct_statis_info.go

@@ -0,0 +1,24 @@
+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.
+
+// StatisInfo is a nested struct in rtc response
+type StatisInfo struct {
+	Time          string                   `json:"Time" xml:"Time"`
+	Duration      DurationInDescribeStatis `json:"Duration" xml:"Duration"`
+	UserStatis    UserStatis               `json:"UserStatis" xml:"UserStatis"`
+	ChannelStatis ChannelStatis            `json:"ChannelStatis" xml:"ChannelStatis"`
+}

+ 21 - 0
services/rtc/struct_statis_infos.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.
+
+// StatisInfos is a nested struct in rtc response
+type StatisInfos struct {
+	StatisInfo []StatisInfo `json:"StatisInfo" xml:"StatisInfo"`
+}

+ 21 - 0
services/rtc/struct_template_ids.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.
+
+// TemplateIds is a nested struct in rtc response
+type TemplateIds struct {
+	TemplateId []string `json:"TemplateId" xml:"TemplateId"`
+}

+ 23 - 0
services/rtc/struct_terminal.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.
+
+// Terminal is a nested struct in rtc response
+type Terminal struct {
+	Id      string `json:"Id" xml:"Id"`
+	Code    int    `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
+}

+ 21 - 0
services/rtc/struct_terminals.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.
+
+// Terminals is a nested struct in rtc response
+type Terminals struct {
+	Terminal []Terminal `json:"Terminal" xml:"Terminal"`
+}

+ 21 - 0
services/rtc/struct_user_statis.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.
+
+// UserStatis is a nested struct in rtc response
+type UserStatis struct {
+	UserStatisItem []UserStatisItem `json:"UserStatisItem" xml:"UserStatisItem"`
+}

+ 23 - 0
services/rtc/struct_user_statis_item.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.
+
+// UserStatisItem is a nested struct in rtc response
+type UserStatisItem struct {
+	ActiveUserCnt      int    `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
+	ConSessionPeak     int    `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

+ 10 - 9
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,25 +76,26 @@ 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
 type UpdateTaskParamResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int64  `json:"TaskId" xml:"TaskId"`
+	TaskId    int    `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateUpdateTaskParamRequest creates a request to invoke UpdateTaskParam API