tencentcloud-sdk-live 3.0.948 → 3.0.950
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +463 -0
- data/lib/v20180801/models.rb +1060 -9
- metadata +2 -2
data/lib/v20180801/models.rb
CHANGED
@@ -17,6 +17,135 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Live
|
19
19
|
module V20180801
|
20
|
+
# AddCasterInputInfo请求参数结构体
|
21
|
+
class AddCasterInputInfoRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param CasterId: 导播台ID。
|
23
|
+
# @type CasterId: Integer
|
24
|
+
# @param InputInfo: 导播台输入源详细信息。
|
25
|
+
# @type InputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterInputInfo`
|
26
|
+
|
27
|
+
attr_accessor :CasterId, :InputInfo
|
28
|
+
|
29
|
+
def initialize(casterid=nil, inputinfo=nil)
|
30
|
+
@CasterId = casterid
|
31
|
+
@InputInfo = inputinfo
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@CasterId = params['CasterId']
|
36
|
+
unless params['InputInfo'].nil?
|
37
|
+
@InputInfo = CasterInputInfo.new
|
38
|
+
@InputInfo.deserialize(params['InputInfo'])
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# AddCasterInputInfo返回参数结构体
|
44
|
+
class AddCasterInputInfoResponse < TencentCloud::Common::AbstractModel
|
45
|
+
# @param InputPlayUrl: rtmp协议输入源播放地址。
|
46
|
+
# 注:仅可作为预览使用,不可分发。
|
47
|
+
# @type InputPlayUrl: String
|
48
|
+
# @param InputWebRTCPlayUrl: webrtc协议播放地址。
|
49
|
+
# 注:
|
50
|
+
# 1. 需配合使用腾讯云快直播播放SDK使用才可正常播放。
|
51
|
+
# 2. 仅作为预览使用,不可分发。
|
52
|
+
# @type InputWebRTCPlayUrl: String
|
53
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
54
|
+
# @type RequestId: String
|
55
|
+
|
56
|
+
attr_accessor :InputPlayUrl, :InputWebRTCPlayUrl, :RequestId
|
57
|
+
|
58
|
+
def initialize(inputplayurl=nil, inputwebrtcplayurl=nil, requestid=nil)
|
59
|
+
@InputPlayUrl = inputplayurl
|
60
|
+
@InputWebRTCPlayUrl = inputwebrtcplayurl
|
61
|
+
@RequestId = requestid
|
62
|
+
end
|
63
|
+
|
64
|
+
def deserialize(params)
|
65
|
+
@InputPlayUrl = params['InputPlayUrl']
|
66
|
+
@InputWebRTCPlayUrl = params['InputWebRTCPlayUrl']
|
67
|
+
@RequestId = params['RequestId']
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# AddCasterLayoutInfo请求参数结构体
|
72
|
+
class AddCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
|
73
|
+
# @param CasterId: 导播台ID
|
74
|
+
# @type CasterId: Integer
|
75
|
+
# @param LayoutInfo: 导播台布局参数信息。
|
76
|
+
# @type LayoutInfo: :class:`Tencentcloud::Live.v20180801.models.CasterLayoutInfo`
|
77
|
+
|
78
|
+
attr_accessor :CasterId, :LayoutInfo
|
79
|
+
|
80
|
+
def initialize(casterid=nil, layoutinfo=nil)
|
81
|
+
@CasterId = casterid
|
82
|
+
@LayoutInfo = layoutinfo
|
83
|
+
end
|
84
|
+
|
85
|
+
def deserialize(params)
|
86
|
+
@CasterId = params['CasterId']
|
87
|
+
unless params['LayoutInfo'].nil?
|
88
|
+
@LayoutInfo = CasterLayoutInfo.new
|
89
|
+
@LayoutInfo.deserialize(params['LayoutInfo'])
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# AddCasterLayoutInfo返回参数结构体
|
95
|
+
class AddCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
|
96
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
97
|
+
# @type RequestId: String
|
98
|
+
|
99
|
+
attr_accessor :RequestId
|
100
|
+
|
101
|
+
def initialize(requestid=nil)
|
102
|
+
@RequestId = requestid
|
103
|
+
end
|
104
|
+
|
105
|
+
def deserialize(params)
|
106
|
+
@RequestId = params['RequestId']
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# AddCasterOutputInfo请求参数结构体
|
111
|
+
class AddCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
112
|
+
# @param CasterId: 导播台ID
|
113
|
+
# @type CasterId: Integer
|
114
|
+
# @param OutputInfo: 导播台推流参数信息。
|
115
|
+
# @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterOutputInfo`
|
116
|
+
|
117
|
+
attr_accessor :CasterId, :OutputInfo
|
118
|
+
|
119
|
+
def initialize(casterid=nil, outputinfo=nil)
|
120
|
+
@CasterId = casterid
|
121
|
+
@OutputInfo = outputinfo
|
122
|
+
end
|
123
|
+
|
124
|
+
def deserialize(params)
|
125
|
+
@CasterId = params['CasterId']
|
126
|
+
unless params['OutputInfo'].nil?
|
127
|
+
@OutputInfo = CasterOutputInfo.new
|
128
|
+
@OutputInfo.deserialize(params['OutputInfo'])
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# AddCasterOutputInfo返回参数结构体
|
134
|
+
class AddCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
|
135
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
136
|
+
# @type RequestId: String
|
137
|
+
|
138
|
+
attr_accessor :RequestId
|
139
|
+
|
140
|
+
def initialize(requestid=nil)
|
141
|
+
@RequestId = requestid
|
142
|
+
end
|
143
|
+
|
144
|
+
def deserialize(params)
|
145
|
+
@RequestId = params['RequestId']
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
20
149
|
# AddDelayLiveStream请求参数结构体
|
21
150
|
class AddDelayLiveStreamRequest < TencentCloud::Common::AbstractModel
|
22
151
|
# @param AppName: 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
|
@@ -879,6 +1008,244 @@ module TencentCloud
|
|
879
1008
|
end
|
880
1009
|
end
|
881
1010
|
|
1011
|
+
# 导播台输入信息参数
|
1012
|
+
class CasterInputInfo < TencentCloud::Common::AbstractModel
|
1013
|
+
# @param InputIndex: 输入源Index。
|
1014
|
+
# 范围[1, 20]
|
1015
|
+
# @type InputIndex: Integer
|
1016
|
+
# @param InputType: 输入源类型。
|
1017
|
+
# 范围[0,1,2,3,4]。
|
1018
|
+
# 0:推流地址。
|
1019
|
+
# 1:点播文件地址。
|
1020
|
+
# 2:直播拉流地址。
|
1021
|
+
# 3:图片地址。
|
1022
|
+
# 4:webrtc协议推流地址。
|
1023
|
+
# @type InputType: Integer
|
1024
|
+
# @param InputUrl: 输入源的源地址。
|
1025
|
+
# 最大允许长度512。
|
1026
|
+
# 当InputType为0(推流地址),2(直播拉流地址),3(图片地址),4(webrtc推流地址)这几种类型时,URL需填入该字段。
|
1027
|
+
|
1028
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1029
|
+
# @type InputUrl: String
|
1030
|
+
# @param Description: 输入源描述。
|
1031
|
+
# 最大允许长度256字符。
|
1032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1033
|
+
# @type Description: String
|
1034
|
+
# @param InputUrls: 点播地址列表。仅当input type为1(点播地址)时,将一个或多个点播地址,填入该字段。
|
1035
|
+
# 单个地址最大允许长度512字符。
|
1036
|
+
# 最多允许同时填入5个地址。
|
1037
|
+
# 注:此时需保持InputUrl字段为空。
|
1038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1039
|
+
# @type InputUrls: Array
|
1040
|
+
# @param LoopEnable: 是否启用点播无限循环播放。
|
1041
|
+
# 注:当前该字段未生效,默认为True。
|
1042
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1043
|
+
# @type LoopEnable: Boolean
|
1044
|
+
# @param LoopNumber: 点播循环次数。
|
1045
|
+
# 允许值-1或正整数。
|
1046
|
+
# 当值为-1时,表示无限循环。
|
1047
|
+
# 当值为其他正整数时,表示循环对应次数。
|
1048
|
+
# 注:该字段暂未生效。
|
1049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1050
|
+
# @type LoopNumber: Integer
|
1051
|
+
# @param PullPushEnable: 是否启用拉取到导播台。
|
1052
|
+
# 注:该字段默认强制为true。
|
1053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1054
|
+
# @type PullPushEnable: Boolean
|
1055
|
+
# @param Volume: 输入源音量百分比。
|
1056
|
+
# 默认为100。表示音量为原始大小。
|
1057
|
+
# 允许值[0,200]。
|
1058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1059
|
+
# @type Volume: Integer
|
1060
|
+
|
1061
|
+
attr_accessor :InputIndex, :InputType, :InputUrl, :Description, :InputUrls, :LoopEnable, :LoopNumber, :PullPushEnable, :Volume
|
1062
|
+
|
1063
|
+
def initialize(inputindex=nil, inputtype=nil, inputurl=nil, description=nil, inputurls=nil, loopenable=nil, loopnumber=nil, pullpushenable=nil, volume=nil)
|
1064
|
+
@InputIndex = inputindex
|
1065
|
+
@InputType = inputtype
|
1066
|
+
@InputUrl = inputurl
|
1067
|
+
@Description = description
|
1068
|
+
@InputUrls = inputurls
|
1069
|
+
@LoopEnable = loopenable
|
1070
|
+
@LoopNumber = loopnumber
|
1071
|
+
@PullPushEnable = pullpushenable
|
1072
|
+
@Volume = volume
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
def deserialize(params)
|
1076
|
+
@InputIndex = params['InputIndex']
|
1077
|
+
@InputType = params['InputType']
|
1078
|
+
@InputUrl = params['InputUrl']
|
1079
|
+
@Description = params['Description']
|
1080
|
+
@InputUrls = params['InputUrls']
|
1081
|
+
@LoopEnable = params['LoopEnable']
|
1082
|
+
@LoopNumber = params['LoopNumber']
|
1083
|
+
@PullPushEnable = params['PullPushEnable']
|
1084
|
+
@Volume = params['Volume']
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# 导播台布局参数。
|
1089
|
+
class CasterLayoutInfo < TencentCloud::Common::AbstractModel
|
1090
|
+
# @param LayoutIndex: 布局Index。
|
1091
|
+
# @type LayoutIndex: Integer
|
1092
|
+
# @param LayoutTemplateId: 布局模板Id。
|
1093
|
+
# 有效值[1,20,21,31,32,41]
|
1094
|
+
# 当使用布局模版时,无需LayoutParams参数,导播台将使用模版布局参数。
|
1095
|
+
# @type LayoutTemplateId: Integer
|
1096
|
+
# @param InputIndexList: 布局绑定的输入列表。按布局LayerId从小到大,按顺序排列。
|
1097
|
+
# 已有两个画面的布局为例,输入1对应LayerId为1,输入2对应的LayerId为2,该字段应该填入"1|2"。
|
1098
|
+
# @type InputIndexList: String
|
1099
|
+
# @param LayoutParams: 详细的布局参数列表。
|
1100
|
+
# @type LayoutParams: Array
|
1101
|
+
# @param LayoutWidth: 布局输出的宽度,单位为像素。
|
1102
|
+
# 默认为1280像素。
|
1103
|
+
# 注:该值仅在画中画布局,且未设置PgmWidth时生效。
|
1104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1105
|
+
# @type LayoutWidth: Integer
|
1106
|
+
# @param LayoutHeight: 布局输出的高度,单位为像素。
|
1107
|
+
# 注:该参数仅在画中画布局,且未设置PgmHeight时生效。
|
1108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1109
|
+
# @type LayoutHeight: Integer
|
1110
|
+
|
1111
|
+
attr_accessor :LayoutIndex, :LayoutTemplateId, :InputIndexList, :LayoutParams, :LayoutWidth, :LayoutHeight
|
1112
|
+
|
1113
|
+
def initialize(layoutindex=nil, layouttemplateid=nil, inputindexlist=nil, layoutparams=nil, layoutwidth=nil, layoutheight=nil)
|
1114
|
+
@LayoutIndex = layoutindex
|
1115
|
+
@LayoutTemplateId = layouttemplateid
|
1116
|
+
@InputIndexList = inputindexlist
|
1117
|
+
@LayoutParams = layoutparams
|
1118
|
+
@LayoutWidth = layoutwidth
|
1119
|
+
@LayoutHeight = layoutheight
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
def deserialize(params)
|
1123
|
+
@LayoutIndex = params['LayoutIndex']
|
1124
|
+
@LayoutTemplateId = params['LayoutTemplateId']
|
1125
|
+
@InputIndexList = params['InputIndexList']
|
1126
|
+
unless params['LayoutParams'].nil?
|
1127
|
+
@LayoutParams = []
|
1128
|
+
params['LayoutParams'].each do |i|
|
1129
|
+
casterlayoutparam_tmp = CasterLayoutParam.new
|
1130
|
+
casterlayoutparam_tmp.deserialize(i)
|
1131
|
+
@LayoutParams << casterlayoutparam_tmp
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
@LayoutWidth = params['LayoutWidth']
|
1135
|
+
@LayoutHeight = params['LayoutHeight']
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# 导播台布局详细参数。
|
1140
|
+
class CasterLayoutParam < TencentCloud::Common::AbstractModel
|
1141
|
+
# @param LayerId: 布局层ID。
|
1142
|
+
# 在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
|
1143
|
+
# @type LayerId: Integer
|
1144
|
+
# @param LayerWidth: 布局层宽度。
|
1145
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1146
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
1147
|
+
# @type LayerWidth: Float
|
1148
|
+
# @param LayerHeight: 布局层高度.
|
1149
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1150
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
1151
|
+
# @type LayerHeight: Float
|
1152
|
+
# @param LayerLocationX: 布局层位置x坐标。
|
1153
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1154
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上x坐标所占的比例值。
|
1155
|
+
# @type LayerLocationX: Float
|
1156
|
+
# @param LayerLocationY: 布局层位置Y坐标。
|
1157
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1158
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面Y坐标上所占的比例值。
|
1159
|
+
# @type LayerLocationY: Float
|
1160
|
+
# @param UsePortraitSegment: 是否启用抠图。
|
1161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1162
|
+
# @type UsePortraitSegment: Boolean
|
1163
|
+
|
1164
|
+
attr_accessor :LayerId, :LayerWidth, :LayerHeight, :LayerLocationX, :LayerLocationY, :UsePortraitSegment
|
1165
|
+
|
1166
|
+
def initialize(layerid=nil, layerwidth=nil, layerheight=nil, layerlocationx=nil, layerlocationy=nil, useportraitsegment=nil)
|
1167
|
+
@LayerId = layerid
|
1168
|
+
@LayerWidth = layerwidth
|
1169
|
+
@LayerHeight = layerheight
|
1170
|
+
@LayerLocationX = layerlocationx
|
1171
|
+
@LayerLocationY = layerlocationy
|
1172
|
+
@UsePortraitSegment = useportraitsegment
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
def deserialize(params)
|
1176
|
+
@LayerId = params['LayerId']
|
1177
|
+
@LayerWidth = params['LayerWidth']
|
1178
|
+
@LayerHeight = params['LayerHeight']
|
1179
|
+
@LayerLocationX = params['LayerLocationX']
|
1180
|
+
@LayerLocationY = params['LayerLocationY']
|
1181
|
+
@UsePortraitSegment = params['UsePortraitSegment']
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# 导播台推流信息。
|
1186
|
+
# 当导播台主监启动后,系统将自动将主监推流到腾讯云和其他第三方平台。
|
1187
|
+
class CasterOutputInfo < TencentCloud::Common::AbstractModel
|
1188
|
+
# @param OutputIndex: 推流信息Index。
|
1189
|
+
# 当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。
|
1190
|
+
# 范围[0,10]。
|
1191
|
+
# @type OutputIndex: Integer
|
1192
|
+
# @param OutputUrl: rtmp协议推流地址。
|
1193
|
+
# 最大允许长度512字符。
|
1194
|
+
# @type OutputUrl: String
|
1195
|
+
# @param Description: 描述信息。
|
1196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1197
|
+
# @type Description: String
|
1198
|
+
# @param OutputStreamId: 推流到腾讯云直播源站时,使用的流ID。
|
1199
|
+
# 仅当OutputType为1时生效。
|
1200
|
+
# 最大允许128字符。
|
1201
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1202
|
+
# @type OutputStreamId: String
|
1203
|
+
# @param OutputType: 推流类型。
|
1204
|
+
# 范围[1,2]
|
1205
|
+
# 1. 推送到腾讯云直播源站。
|
1206
|
+
# 2. 推送到第三方源站。
|
1207
|
+
# @type OutputType: Integer
|
1208
|
+
# @param OutputDomainName: 推到腾讯云直播源站时,使用的域名。
|
1209
|
+
# 最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。
|
1210
|
+
# 仅在OutputType为1时生效。
|
1211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1212
|
+
# @type OutputDomainName: String
|
1213
|
+
# @param OutputAppName: 推到腾讯云直播源站时,使用的AppName。
|
1214
|
+
# 最大允许64字符。
|
1215
|
+
# 仅在OutputType为1时生效。
|
1216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
# @type OutputAppName: String
|
1218
|
+
# @param OutputParam: 推到腾讯云直播源站时需要添加的推流参数。
|
1219
|
+
# 最大允许长度256字符。
|
1220
|
+
# 仅在OutputType为1时生效。
|
1221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1222
|
+
# @type OutputParam: String
|
1223
|
+
|
1224
|
+
attr_accessor :OutputIndex, :OutputUrl, :Description, :OutputStreamId, :OutputType, :OutputDomainName, :OutputAppName, :OutputParam
|
1225
|
+
|
1226
|
+
def initialize(outputindex=nil, outputurl=nil, description=nil, outputstreamid=nil, outputtype=nil, outputdomainname=nil, outputappname=nil, outputparam=nil)
|
1227
|
+
@OutputIndex = outputindex
|
1228
|
+
@OutputUrl = outputurl
|
1229
|
+
@Description = description
|
1230
|
+
@OutputStreamId = outputstreamid
|
1231
|
+
@OutputType = outputtype
|
1232
|
+
@OutputDomainName = outputdomainname
|
1233
|
+
@OutputAppName = outputappname
|
1234
|
+
@OutputParam = outputparam
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
def deserialize(params)
|
1238
|
+
@OutputIndex = params['OutputIndex']
|
1239
|
+
@OutputUrl = params['OutputUrl']
|
1240
|
+
@Description = params['Description']
|
1241
|
+
@OutputStreamId = params['OutputStreamId']
|
1242
|
+
@OutputType = params['OutputType']
|
1243
|
+
@OutputDomainName = params['OutputDomainName']
|
1244
|
+
@OutputAppName = params['OutputAppName']
|
1245
|
+
@OutputParam = params['OutputParam']
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
882
1249
|
# 下行播放统计指标
|
883
1250
|
class CdnPlayStatData < TencentCloud::Common::AbstractModel
|
884
1251
|
# @param Time: 时间点,
|
@@ -1299,6 +1666,220 @@ module TencentCloud
|
|
1299
1666
|
end
|
1300
1667
|
end
|
1301
1668
|
|
1669
|
+
# CreateCasterInputPushUrl请求参数结构体
|
1670
|
+
class CreateCasterInputPushUrlRequest < TencentCloud::Common::AbstractModel
|
1671
|
+
# @param CasterId: 导播台ID
|
1672
|
+
# @type CasterId: Integer
|
1673
|
+
# @param InputIndex: 请求生成推流地址的输入Index。
|
1674
|
+
# 允许范围[1,20]。
|
1675
|
+
# @type InputIndex: Integer
|
1676
|
+
# @param Protocol: 生成推流地址协议。
|
1677
|
+
# 范围[rtmp,webrtc]。
|
1678
|
+
# 注:获取webrtc推流地址时,需配合腾讯云快直播推流sdk才可成功推流。
|
1679
|
+
# @type Protocol: String
|
1680
|
+
|
1681
|
+
attr_accessor :CasterId, :InputIndex, :Protocol
|
1682
|
+
|
1683
|
+
def initialize(casterid=nil, inputindex=nil, protocol=nil)
|
1684
|
+
@CasterId = casterid
|
1685
|
+
@InputIndex = inputindex
|
1686
|
+
@Protocol = protocol
|
1687
|
+
end
|
1688
|
+
|
1689
|
+
def deserialize(params)
|
1690
|
+
@CasterId = params['CasterId']
|
1691
|
+
@InputIndex = params['InputIndex']
|
1692
|
+
@Protocol = params['Protocol']
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# CreateCasterInputPushUrl返回参数结构体
|
1697
|
+
class CreateCasterInputPushUrlResponse < TencentCloud::Common::AbstractModel
|
1698
|
+
# @param PushUrl: 生成可使用的推流地址。
|
1699
|
+
# @type PushUrl: String
|
1700
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1701
|
+
# @type RequestId: String
|
1702
|
+
|
1703
|
+
attr_accessor :PushUrl, :RequestId
|
1704
|
+
|
1705
|
+
def initialize(pushurl=nil, requestid=nil)
|
1706
|
+
@PushUrl = pushurl
|
1707
|
+
@RequestId = requestid
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
def deserialize(params)
|
1711
|
+
@PushUrl = params['PushUrl']
|
1712
|
+
@RequestId = params['RequestId']
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# CreateCasterPgmFromPvw请求参数结构体
|
1717
|
+
class CreateCasterPgmFromPvwRequest < TencentCloud::Common::AbstractModel
|
1718
|
+
# @param CasterId: 导播台ID。
|
1719
|
+
# @type CasterId: Integer
|
1720
|
+
|
1721
|
+
attr_accessor :CasterId
|
1722
|
+
|
1723
|
+
def initialize(casterid=nil)
|
1724
|
+
@CasterId = casterid
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
def deserialize(params)
|
1728
|
+
@CasterId = params['CasterId']
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
# CreateCasterPgmFromPvw返回参数结构体
|
1733
|
+
class CreateCasterPgmFromPvwResponse < TencentCloud::Common::AbstractModel
|
1734
|
+
# @param PgmPlayUrl: 主监任务的rtmp协议预览地址。
|
1735
|
+
# 注:该地址仅供预览,不可分发。
|
1736
|
+
# @type PgmPlayUrl: String
|
1737
|
+
# @param CdnPlayUrl: 注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址
|
1738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1739
|
+
# @type CdnPlayUrl: String
|
1740
|
+
# @param CdnStreamId: 主监任务在腾讯云直播侧的流ID。
|
1741
|
+
# @type CdnStreamId: String
|
1742
|
+
# @param PgmWebRTCPlayUrl: 主监任务的webrtc协议播放地址。
|
1743
|
+
# 注:
|
1744
|
+
# 1.该预览地址仅作为预览,不可分发。
|
1745
|
+
# 2.webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
1746
|
+
# @type PgmWebRTCPlayUrl: String
|
1747
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1748
|
+
# @type RequestId: String
|
1749
|
+
|
1750
|
+
attr_accessor :PgmPlayUrl, :CdnPlayUrl, :CdnStreamId, :PgmWebRTCPlayUrl, :RequestId
|
1751
|
+
|
1752
|
+
def initialize(pgmplayurl=nil, cdnplayurl=nil, cdnstreamid=nil, pgmwebrtcplayurl=nil, requestid=nil)
|
1753
|
+
@PgmPlayUrl = pgmplayurl
|
1754
|
+
@CdnPlayUrl = cdnplayurl
|
1755
|
+
@CdnStreamId = cdnstreamid
|
1756
|
+
@PgmWebRTCPlayUrl = pgmwebrtcplayurl
|
1757
|
+
@RequestId = requestid
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
def deserialize(params)
|
1761
|
+
@PgmPlayUrl = params['PgmPlayUrl']
|
1762
|
+
@CdnPlayUrl = params['CdnPlayUrl']
|
1763
|
+
@CdnStreamId = params['CdnStreamId']
|
1764
|
+
@PgmWebRTCPlayUrl = params['PgmWebRTCPlayUrl']
|
1765
|
+
@RequestId = params['RequestId']
|
1766
|
+
end
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
# CreateCasterPgm请求参数结构体
|
1770
|
+
class CreateCasterPgmRequest < TencentCloud::Common::AbstractModel
|
1771
|
+
# @param PgmDisplayInfo: 导播台展示信息参数。
|
1772
|
+
# @type PgmDisplayInfo: :class:`Tencentcloud::Live.v20180801.models.CasterDisplayInfo`
|
1773
|
+
# @param CasterId: 导播台ID。
|
1774
|
+
# @type CasterId: Integer
|
1775
|
+
|
1776
|
+
attr_accessor :PgmDisplayInfo, :CasterId
|
1777
|
+
|
1778
|
+
def initialize(pgmdisplayinfo=nil, casterid=nil)
|
1779
|
+
@PgmDisplayInfo = pgmdisplayinfo
|
1780
|
+
@CasterId = casterid
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
def deserialize(params)
|
1784
|
+
unless params['PgmDisplayInfo'].nil?
|
1785
|
+
@PgmDisplayInfo = CasterDisplayInfo.new
|
1786
|
+
@PgmDisplayInfo.deserialize(params['PgmDisplayInfo'])
|
1787
|
+
end
|
1788
|
+
@CasterId = params['CasterId']
|
1789
|
+
end
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# CreateCasterPgm返回参数结构体
|
1793
|
+
class CreateCasterPgmResponse < TencentCloud::Common::AbstractModel
|
1794
|
+
# @param PgmPlayUrl: 主监任务的rtmp协议预览地址。
|
1795
|
+
# 注:该地址仅供预览,不可分发。
|
1796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1797
|
+
# @type PgmPlayUrl: String
|
1798
|
+
# @param CdnPlayUrl: 注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址。
|
1799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1800
|
+
# @type CdnPlayUrl: String
|
1801
|
+
# @param CdnStreamId: 主监任务在腾讯云直播侧的流ID。
|
1802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1803
|
+
# @type CdnStreamId: String
|
1804
|
+
# @param PgmWebRTCPlayUrl: 主监任务的webrtc协议播放地址。
|
1805
|
+
# 注:
|
1806
|
+
# 1. 该预览地址仅作为预览,不可分发。
|
1807
|
+
# 2. webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
1808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1809
|
+
# @type PgmWebRTCPlayUrl: String
|
1810
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1811
|
+
# @type RequestId: String
|
1812
|
+
|
1813
|
+
attr_accessor :PgmPlayUrl, :CdnPlayUrl, :CdnStreamId, :PgmWebRTCPlayUrl, :RequestId
|
1814
|
+
|
1815
|
+
def initialize(pgmplayurl=nil, cdnplayurl=nil, cdnstreamid=nil, pgmwebrtcplayurl=nil, requestid=nil)
|
1816
|
+
@PgmPlayUrl = pgmplayurl
|
1817
|
+
@CdnPlayUrl = cdnplayurl
|
1818
|
+
@CdnStreamId = cdnstreamid
|
1819
|
+
@PgmWebRTCPlayUrl = pgmwebrtcplayurl
|
1820
|
+
@RequestId = requestid
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
def deserialize(params)
|
1824
|
+
@PgmPlayUrl = params['PgmPlayUrl']
|
1825
|
+
@CdnPlayUrl = params['CdnPlayUrl']
|
1826
|
+
@CdnStreamId = params['CdnStreamId']
|
1827
|
+
@PgmWebRTCPlayUrl = params['PgmWebRTCPlayUrl']
|
1828
|
+
@RequestId = params['RequestId']
|
1829
|
+
end
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# CreateCasterPvw请求参数结构体
|
1833
|
+
class CreateCasterPvwRequest < TencentCloud::Common::AbstractModel
|
1834
|
+
# @param PvwDisplayInfo: 导播台预监展示信息参数
|
1835
|
+
# @type PvwDisplayInfo: :class:`Tencentcloud::Live.v20180801.models.CasterDisplayInfo`
|
1836
|
+
# @param CasterId: 导播台ID。
|
1837
|
+
# @type CasterId: Integer
|
1838
|
+
|
1839
|
+
attr_accessor :PvwDisplayInfo, :CasterId
|
1840
|
+
|
1841
|
+
def initialize(pvwdisplayinfo=nil, casterid=nil)
|
1842
|
+
@PvwDisplayInfo = pvwdisplayinfo
|
1843
|
+
@CasterId = casterid
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
def deserialize(params)
|
1847
|
+
unless params['PvwDisplayInfo'].nil?
|
1848
|
+
@PvwDisplayInfo = CasterDisplayInfo.new
|
1849
|
+
@PvwDisplayInfo.deserialize(params['PvwDisplayInfo'])
|
1850
|
+
end
|
1851
|
+
@CasterId = params['CasterId']
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# CreateCasterPvw返回参数结构体
|
1856
|
+
class CreateCasterPvwResponse < TencentCloud::Common::AbstractModel
|
1857
|
+
# @param PvwPlayUrl: 预监任务的画面rtmp协议预览地址。
|
1858
|
+
# 注:该预览地址仅供画面预览,不可分发。
|
1859
|
+
# @type PvwPlayUrl: String
|
1860
|
+
# @param PvwWebRTCPlayUrl: 预监任务的webrtc协议预览画面。
|
1861
|
+
# 注:
|
1862
|
+
# 1. 该预览地址仅供预览,不可分发。
|
1863
|
+
# 2. webrtc播放地址,需配合腾讯云快直播播放sdk使用
|
1864
|
+
# @type PvwWebRTCPlayUrl: String
|
1865
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1866
|
+
# @type RequestId: String
|
1867
|
+
|
1868
|
+
attr_accessor :PvwPlayUrl, :PvwWebRTCPlayUrl, :RequestId
|
1869
|
+
|
1870
|
+
def initialize(pvwplayurl=nil, pvwwebrtcplayurl=nil, requestid=nil)
|
1871
|
+
@PvwPlayUrl = pvwplayurl
|
1872
|
+
@PvwWebRTCPlayUrl = pvwwebrtcplayurl
|
1873
|
+
@RequestId = requestid
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
def deserialize(params)
|
1877
|
+
@PvwPlayUrl = params['PvwPlayUrl']
|
1878
|
+
@PvwWebRTCPlayUrl = params['PvwWebRTCPlayUrl']
|
1879
|
+
@RequestId = params['RequestId']
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1302
1883
|
# CreateCaster请求参数结构体
|
1303
1884
|
class CreateCasterRequest < TencentCloud::Common::AbstractModel
|
1304
1885
|
# @param CasterName: 导播台名称
|
@@ -3034,13 +3615,125 @@ module TencentCloud
|
|
3034
3615
|
end
|
3035
3616
|
|
3036
3617
|
def deserialize(params)
|
3037
|
-
@DomainName = params['DomainName']
|
3038
|
-
@AppName = params['AppName']
|
3039
|
-
@StreamName = params['StreamName']
|
3040
|
-
@DelayInterval = params['DelayInterval']
|
3041
|
-
@CreateTime = params['CreateTime']
|
3042
|
-
@ExpireTime = params['ExpireTime']
|
3043
|
-
@Status = params['Status']
|
3618
|
+
@DomainName = params['DomainName']
|
3619
|
+
@AppName = params['AppName']
|
3620
|
+
@StreamName = params['StreamName']
|
3621
|
+
@DelayInterval = params['DelayInterval']
|
3622
|
+
@CreateTime = params['CreateTime']
|
3623
|
+
@ExpireTime = params['ExpireTime']
|
3624
|
+
@Status = params['Status']
|
3625
|
+
end
|
3626
|
+
end
|
3627
|
+
|
3628
|
+
# DeleteCasterInputInfo请求参数结构体
|
3629
|
+
class DeleteCasterInputInfoRequest < TencentCloud::Common::AbstractModel
|
3630
|
+
# @param CasterId: 导播台ID
|
3631
|
+
# @type CasterId: Integer
|
3632
|
+
# @param InputIndex: 导播台输入Index。
|
3633
|
+
# 范围[0,20]
|
3634
|
+
# 注:该Index对应的输入源需存在。
|
3635
|
+
# @type InputIndex: Integer
|
3636
|
+
|
3637
|
+
attr_accessor :CasterId, :InputIndex
|
3638
|
+
|
3639
|
+
def initialize(casterid=nil, inputindex=nil)
|
3640
|
+
@CasterId = casterid
|
3641
|
+
@InputIndex = inputindex
|
3642
|
+
end
|
3643
|
+
|
3644
|
+
def deserialize(params)
|
3645
|
+
@CasterId = params['CasterId']
|
3646
|
+
@InputIndex = params['InputIndex']
|
3647
|
+
end
|
3648
|
+
end
|
3649
|
+
|
3650
|
+
# DeleteCasterInputInfo返回参数结构体
|
3651
|
+
class DeleteCasterInputInfoResponse < TencentCloud::Common::AbstractModel
|
3652
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3653
|
+
# @type RequestId: String
|
3654
|
+
|
3655
|
+
attr_accessor :RequestId
|
3656
|
+
|
3657
|
+
def initialize(requestid=nil)
|
3658
|
+
@RequestId = requestid
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
def deserialize(params)
|
3662
|
+
@RequestId = params['RequestId']
|
3663
|
+
end
|
3664
|
+
end
|
3665
|
+
|
3666
|
+
# DeleteCasterLayoutInfo请求参数结构体
|
3667
|
+
class DeleteCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
|
3668
|
+
# @param CasterId: 导播台ID。
|
3669
|
+
# @type CasterId: Integer
|
3670
|
+
# @param LayoutIndex: 要删除的布局Index。
|
3671
|
+
# 注:待删除的Index对应的布局需存在。
|
3672
|
+
# @type LayoutIndex: Integer
|
3673
|
+
|
3674
|
+
attr_accessor :CasterId, :LayoutIndex
|
3675
|
+
|
3676
|
+
def initialize(casterid=nil, layoutindex=nil)
|
3677
|
+
@CasterId = casterid
|
3678
|
+
@LayoutIndex = layoutindex
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
def deserialize(params)
|
3682
|
+
@CasterId = params['CasterId']
|
3683
|
+
@LayoutIndex = params['LayoutIndex']
|
3684
|
+
end
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
# DeleteCasterLayoutInfo返回参数结构体
|
3688
|
+
class DeleteCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
|
3689
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3690
|
+
# @type RequestId: String
|
3691
|
+
|
3692
|
+
attr_accessor :RequestId
|
3693
|
+
|
3694
|
+
def initialize(requestid=nil)
|
3695
|
+
@RequestId = requestid
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
def deserialize(params)
|
3699
|
+
@RequestId = params['RequestId']
|
3700
|
+
end
|
3701
|
+
end
|
3702
|
+
|
3703
|
+
# DeleteCasterOutputInfo请求参数结构体
|
3704
|
+
class DeleteCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
3705
|
+
# @param CasterId: 导播台ID。
|
3706
|
+
# @type CasterId: Integer
|
3707
|
+
# @param OutputIndex: 待删除的推流信息Index。
|
3708
|
+
# 注:删除时,该Index对应的配置需要存在。
|
3709
|
+
# @type OutputIndex: Integer
|
3710
|
+
|
3711
|
+
attr_accessor :CasterId, :OutputIndex
|
3712
|
+
|
3713
|
+
def initialize(casterid=nil, outputindex=nil)
|
3714
|
+
@CasterId = casterid
|
3715
|
+
@OutputIndex = outputindex
|
3716
|
+
end
|
3717
|
+
|
3718
|
+
def deserialize(params)
|
3719
|
+
@CasterId = params['CasterId']
|
3720
|
+
@OutputIndex = params['OutputIndex']
|
3721
|
+
end
|
3722
|
+
end
|
3723
|
+
|
3724
|
+
# DeleteCasterOutputInfo返回参数结构体
|
3725
|
+
class DeleteCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
|
3726
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3727
|
+
# @type RequestId: String
|
3728
|
+
|
3729
|
+
attr_accessor :RequestId
|
3730
|
+
|
3731
|
+
def initialize(requestid=nil)
|
3732
|
+
@RequestId = requestid
|
3733
|
+
end
|
3734
|
+
|
3735
|
+
def deserialize(params)
|
3736
|
+
@RequestId = params['RequestId']
|
3044
3737
|
end
|
3045
3738
|
end
|
3046
3739
|
|
@@ -3267,17 +3960,21 @@ module TencentCloud
|
|
3267
3960
|
# @type TaskId: String
|
3268
3961
|
# @param Operator: 操作人姓名。
|
3269
3962
|
# @type Operator: String
|
3963
|
+
# @param SpecifyTaskId: 指定任务 ID。注意:用于删除使用自定义任务 ID 创建的任务。
|
3964
|
+
# @type SpecifyTaskId: String
|
3270
3965
|
|
3271
|
-
attr_accessor :TaskId, :Operator
|
3966
|
+
attr_accessor :TaskId, :Operator, :SpecifyTaskId
|
3272
3967
|
|
3273
|
-
def initialize(taskid=nil, operator=nil)
|
3968
|
+
def initialize(taskid=nil, operator=nil, specifytaskid=nil)
|
3274
3969
|
@TaskId = taskid
|
3275
3970
|
@Operator = operator
|
3971
|
+
@SpecifyTaskId = specifytaskid
|
3276
3972
|
end
|
3277
3973
|
|
3278
3974
|
def deserialize(params)
|
3279
3975
|
@TaskId = params['TaskId']
|
3280
3976
|
@Operator = params['Operator']
|
3977
|
+
@SpecifyTaskId = params['SpecifyTaskId']
|
3281
3978
|
end
|
3282
3979
|
end
|
3283
3980
|
|
@@ -4257,6 +4954,92 @@ module TencentCloud
|
|
4257
4954
|
end
|
4258
4955
|
end
|
4259
4956
|
|
4957
|
+
# DescribeCasterInputInfos请求参数结构体
|
4958
|
+
class DescribeCasterInputInfosRequest < TencentCloud::Common::AbstractModel
|
4959
|
+
# @param CasterId: 导播台ID
|
4960
|
+
# @type CasterId: Integer
|
4961
|
+
|
4962
|
+
attr_accessor :CasterId
|
4963
|
+
|
4964
|
+
def initialize(casterid=nil)
|
4965
|
+
@CasterId = casterid
|
4966
|
+
end
|
4967
|
+
|
4968
|
+
def deserialize(params)
|
4969
|
+
@CasterId = params['CasterId']
|
4970
|
+
end
|
4971
|
+
end
|
4972
|
+
|
4973
|
+
# DescribeCasterInputInfos返回参数结构体
|
4974
|
+
class DescribeCasterInputInfosResponse < TencentCloud::Common::AbstractModel
|
4975
|
+
# @param InputInfos: 导播台输入源信息列表。
|
4976
|
+
# @type InputInfos: Array
|
4977
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4978
|
+
# @type RequestId: String
|
4979
|
+
|
4980
|
+
attr_accessor :InputInfos, :RequestId
|
4981
|
+
|
4982
|
+
def initialize(inputinfos=nil, requestid=nil)
|
4983
|
+
@InputInfos = inputinfos
|
4984
|
+
@RequestId = requestid
|
4985
|
+
end
|
4986
|
+
|
4987
|
+
def deserialize(params)
|
4988
|
+
unless params['InputInfos'].nil?
|
4989
|
+
@InputInfos = []
|
4990
|
+
params['InputInfos'].each do |i|
|
4991
|
+
casterinputinfo_tmp = CasterInputInfo.new
|
4992
|
+
casterinputinfo_tmp.deserialize(i)
|
4993
|
+
@InputInfos << casterinputinfo_tmp
|
4994
|
+
end
|
4995
|
+
end
|
4996
|
+
@RequestId = params['RequestId']
|
4997
|
+
end
|
4998
|
+
end
|
4999
|
+
|
5000
|
+
# DescribeCasterLayoutInfos请求参数结构体
|
5001
|
+
class DescribeCasterLayoutInfosRequest < TencentCloud::Common::AbstractModel
|
5002
|
+
# @param CasterId: 导播台ID。
|
5003
|
+
# @type CasterId: Integer
|
5004
|
+
|
5005
|
+
attr_accessor :CasterId
|
5006
|
+
|
5007
|
+
def initialize(casterid=nil)
|
5008
|
+
@CasterId = casterid
|
5009
|
+
end
|
5010
|
+
|
5011
|
+
def deserialize(params)
|
5012
|
+
@CasterId = params['CasterId']
|
5013
|
+
end
|
5014
|
+
end
|
5015
|
+
|
5016
|
+
# DescribeCasterLayoutInfos返回参数结构体
|
5017
|
+
class DescribeCasterLayoutInfosResponse < TencentCloud::Common::AbstractModel
|
5018
|
+
# @param LayoutInfos: 导播台的布局列表。
|
5019
|
+
# @type LayoutInfos: Array
|
5020
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5021
|
+
# @type RequestId: String
|
5022
|
+
|
5023
|
+
attr_accessor :LayoutInfos, :RequestId
|
5024
|
+
|
5025
|
+
def initialize(layoutinfos=nil, requestid=nil)
|
5026
|
+
@LayoutInfos = layoutinfos
|
5027
|
+
@RequestId = requestid
|
5028
|
+
end
|
5029
|
+
|
5030
|
+
def deserialize(params)
|
5031
|
+
unless params['LayoutInfos'].nil?
|
5032
|
+
@LayoutInfos = []
|
5033
|
+
params['LayoutInfos'].each do |i|
|
5034
|
+
casterlayoutinfo_tmp = CasterLayoutInfo.new
|
5035
|
+
casterlayoutinfo_tmp.deserialize(i)
|
5036
|
+
@LayoutInfos << casterlayoutinfo_tmp
|
5037
|
+
end
|
5038
|
+
end
|
5039
|
+
@RequestId = params['RequestId']
|
5040
|
+
end
|
5041
|
+
end
|
5042
|
+
|
4260
5043
|
# DescribeCasterList请求参数结构体
|
4261
5044
|
class DescribeCasterListRequest < TencentCloud::Common::AbstractModel
|
4262
5045
|
|
@@ -4296,6 +5079,50 @@ module TencentCloud
|
|
4296
5079
|
end
|
4297
5080
|
end
|
4298
5081
|
|
5082
|
+
# DescribeCasterOutputInfos请求参数结构体
|
5083
|
+
class DescribeCasterOutputInfosRequest < TencentCloud::Common::AbstractModel
|
5084
|
+
# @param CasterId: 导播台ID。
|
5085
|
+
# @type CasterId: Integer
|
5086
|
+
|
5087
|
+
attr_accessor :CasterId
|
5088
|
+
|
5089
|
+
def initialize(casterid=nil)
|
5090
|
+
@CasterId = casterid
|
5091
|
+
end
|
5092
|
+
|
5093
|
+
def deserialize(params)
|
5094
|
+
@CasterId = params['CasterId']
|
5095
|
+
end
|
5096
|
+
end
|
5097
|
+
|
5098
|
+
# DescribeCasterOutputInfos返回参数结构体
|
5099
|
+
class DescribeCasterOutputInfosResponse < TencentCloud::Common::AbstractModel
|
5100
|
+
# @param OutputInfos: 导播台的推流信息列表。
|
5101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5102
|
+
# @type OutputInfos: Array
|
5103
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5104
|
+
# @type RequestId: String
|
5105
|
+
|
5106
|
+
attr_accessor :OutputInfos, :RequestId
|
5107
|
+
|
5108
|
+
def initialize(outputinfos=nil, requestid=nil)
|
5109
|
+
@OutputInfos = outputinfos
|
5110
|
+
@RequestId = requestid
|
5111
|
+
end
|
5112
|
+
|
5113
|
+
def deserialize(params)
|
5114
|
+
unless params['OutputInfos'].nil?
|
5115
|
+
@OutputInfos = []
|
5116
|
+
params['OutputInfos'].each do |i|
|
5117
|
+
casteroutputinfo_tmp = CasterOutputInfo.new
|
5118
|
+
casteroutputinfo_tmp.deserialize(i)
|
5119
|
+
@OutputInfos << casteroutputinfo_tmp
|
5120
|
+
end
|
5121
|
+
end
|
5122
|
+
@RequestId = params['RequestId']
|
5123
|
+
end
|
5124
|
+
end
|
5125
|
+
|
4299
5126
|
# DescribeCasterPlayUrl请求参数结构体
|
4300
5127
|
class DescribeCasterPlayUrlRequest < TencentCloud::Common::AbstractModel
|
4301
5128
|
# @param CasterId: 导播台ID
|
@@ -9959,6 +10786,134 @@ module TencentCloud
|
|
9959
10786
|
end
|
9960
10787
|
end
|
9961
10788
|
|
10789
|
+
# ModifyCasterInputInfo请求参数结构体
|
10790
|
+
class ModifyCasterInputInfoRequest < TencentCloud::Common::AbstractModel
|
10791
|
+
# @param CasterId: 导播台ID。
|
10792
|
+
# @type CasterId: Integer
|
10793
|
+
# @param InputInfo: 修改的导播台输入源信息
|
10794
|
+
# @type InputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterInputInfo`
|
10795
|
+
|
10796
|
+
attr_accessor :CasterId, :InputInfo
|
10797
|
+
|
10798
|
+
def initialize(casterid=nil, inputinfo=nil)
|
10799
|
+
@CasterId = casterid
|
10800
|
+
@InputInfo = inputinfo
|
10801
|
+
end
|
10802
|
+
|
10803
|
+
def deserialize(params)
|
10804
|
+
@CasterId = params['CasterId']
|
10805
|
+
unless params['InputInfo'].nil?
|
10806
|
+
@InputInfo = CasterInputInfo.new
|
10807
|
+
@InputInfo.deserialize(params['InputInfo'])
|
10808
|
+
end
|
10809
|
+
end
|
10810
|
+
end
|
10811
|
+
|
10812
|
+
# ModifyCasterInputInfo返回参数结构体
|
10813
|
+
class ModifyCasterInputInfoResponse < TencentCloud::Common::AbstractModel
|
10814
|
+
# @param InputPlayUrl: 修改输入源后的预览地址。
|
10815
|
+
# 注:该地址仅作为预览使用,不可分发。
|
10816
|
+
# @type InputPlayUrl: String
|
10817
|
+
# @param InputWebRTCPlayUrl: 修改后的输入源webrtc预览地址。
|
10818
|
+
# 该地址需配合腾讯云快直播播放SDK使用。
|
10819
|
+
# 注:该地址仅做预览使用,不可分发。
|
10820
|
+
# @type InputWebRTCPlayUrl: String
|
10821
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10822
|
+
# @type RequestId: String
|
10823
|
+
|
10824
|
+
attr_accessor :InputPlayUrl, :InputWebRTCPlayUrl, :RequestId
|
10825
|
+
|
10826
|
+
def initialize(inputplayurl=nil, inputwebrtcplayurl=nil, requestid=nil)
|
10827
|
+
@InputPlayUrl = inputplayurl
|
10828
|
+
@InputWebRTCPlayUrl = inputwebrtcplayurl
|
10829
|
+
@RequestId = requestid
|
10830
|
+
end
|
10831
|
+
|
10832
|
+
def deserialize(params)
|
10833
|
+
@InputPlayUrl = params['InputPlayUrl']
|
10834
|
+
@InputWebRTCPlayUrl = params['InputWebRTCPlayUrl']
|
10835
|
+
@RequestId = params['RequestId']
|
10836
|
+
end
|
10837
|
+
end
|
10838
|
+
|
10839
|
+
# ModifyCasterLayoutInfo请求参数结构体
|
10840
|
+
class ModifyCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
|
10841
|
+
# @param CasterId: 导播台ID。
|
10842
|
+
# @type CasterId: Integer
|
10843
|
+
# @param LayoutInfo: 导播台布局参数信息。
|
10844
|
+
# @type LayoutInfo: :class:`Tencentcloud::Live.v20180801.models.CasterLayoutInfo`
|
10845
|
+
|
10846
|
+
attr_accessor :CasterId, :LayoutInfo
|
10847
|
+
|
10848
|
+
def initialize(casterid=nil, layoutinfo=nil)
|
10849
|
+
@CasterId = casterid
|
10850
|
+
@LayoutInfo = layoutinfo
|
10851
|
+
end
|
10852
|
+
|
10853
|
+
def deserialize(params)
|
10854
|
+
@CasterId = params['CasterId']
|
10855
|
+
unless params['LayoutInfo'].nil?
|
10856
|
+
@LayoutInfo = CasterLayoutInfo.new
|
10857
|
+
@LayoutInfo.deserialize(params['LayoutInfo'])
|
10858
|
+
end
|
10859
|
+
end
|
10860
|
+
end
|
10861
|
+
|
10862
|
+
# ModifyCasterLayoutInfo返回参数结构体
|
10863
|
+
class ModifyCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
|
10864
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10865
|
+
# @type RequestId: String
|
10866
|
+
|
10867
|
+
attr_accessor :RequestId
|
10868
|
+
|
10869
|
+
def initialize(requestid=nil)
|
10870
|
+
@RequestId = requestid
|
10871
|
+
end
|
10872
|
+
|
10873
|
+
def deserialize(params)
|
10874
|
+
@RequestId = params['RequestId']
|
10875
|
+
end
|
10876
|
+
end
|
10877
|
+
|
10878
|
+
# ModifyCasterOutputInfo请求参数结构体
|
10879
|
+
class ModifyCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
10880
|
+
# @param CasterId: 导播台ID。
|
10881
|
+
# @type CasterId: Integer
|
10882
|
+
# @param OutputInfo: 导播台推流参数信息。
|
10883
|
+
# @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterOutputInfo`
|
10884
|
+
|
10885
|
+
attr_accessor :CasterId, :OutputInfo
|
10886
|
+
|
10887
|
+
def initialize(casterid=nil, outputinfo=nil)
|
10888
|
+
@CasterId = casterid
|
10889
|
+
@OutputInfo = outputinfo
|
10890
|
+
end
|
10891
|
+
|
10892
|
+
def deserialize(params)
|
10893
|
+
@CasterId = params['CasterId']
|
10894
|
+
unless params['OutputInfo'].nil?
|
10895
|
+
@OutputInfo = CasterOutputInfo.new
|
10896
|
+
@OutputInfo.deserialize(params['OutputInfo'])
|
10897
|
+
end
|
10898
|
+
end
|
10899
|
+
end
|
10900
|
+
|
10901
|
+
# ModifyCasterOutputInfo返回参数结构体
|
10902
|
+
class ModifyCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
|
10903
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10904
|
+
# @type RequestId: String
|
10905
|
+
|
10906
|
+
attr_accessor :RequestId
|
10907
|
+
|
10908
|
+
def initialize(requestid=nil)
|
10909
|
+
@RequestId = requestid
|
10910
|
+
end
|
10911
|
+
|
10912
|
+
def deserialize(params)
|
10913
|
+
@RequestId = params['RequestId']
|
10914
|
+
end
|
10915
|
+
end
|
10916
|
+
|
9962
10917
|
# ModifyCaster请求参数结构体
|
9963
10918
|
class ModifyCasterRequest < TencentCloud::Common::AbstractModel
|
9964
10919
|
# @param CasterId: 导播台ID
|
@@ -12394,6 +13349,38 @@ module TencentCloud
|
|
12394
13349
|
end
|
12395
13350
|
end
|
12396
13351
|
|
13352
|
+
# ReleaseCaster请求参数结构体
|
13353
|
+
class ReleaseCasterRequest < TencentCloud::Common::AbstractModel
|
13354
|
+
# @param CasterId: 导播台ID。
|
13355
|
+
# @type CasterId: Integer
|
13356
|
+
|
13357
|
+
attr_accessor :CasterId
|
13358
|
+
|
13359
|
+
def initialize(casterid=nil)
|
13360
|
+
@CasterId = casterid
|
13361
|
+
end
|
13362
|
+
|
13363
|
+
def deserialize(params)
|
13364
|
+
@CasterId = params['CasterId']
|
13365
|
+
end
|
13366
|
+
end
|
13367
|
+
|
13368
|
+
# ReleaseCaster返回参数结构体
|
13369
|
+
class ReleaseCasterResponse < TencentCloud::Common::AbstractModel
|
13370
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13371
|
+
# @type RequestId: String
|
13372
|
+
|
13373
|
+
attr_accessor :RequestId
|
13374
|
+
|
13375
|
+
def initialize(requestid=nil)
|
13376
|
+
@RequestId = requestid
|
13377
|
+
end
|
13378
|
+
|
13379
|
+
def deserialize(params)
|
13380
|
+
@RequestId = params['RequestId']
|
13381
|
+
end
|
13382
|
+
end
|
13383
|
+
|
12397
13384
|
# RestartLivePullStreamTask请求参数结构体
|
12398
13385
|
class RestartLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
|
12399
13386
|
# @param TaskId: 任务 Id。
|
@@ -12694,6 +13681,70 @@ module TencentCloud
|
|
12694
13681
|
end
|
12695
13682
|
end
|
12696
13683
|
|
13684
|
+
# StopCasterPgm请求参数结构体
|
13685
|
+
class StopCasterPgmRequest < TencentCloud::Common::AbstractModel
|
13686
|
+
# @param CasterId: 导播台ID。
|
13687
|
+
# @type CasterId: Integer
|
13688
|
+
|
13689
|
+
attr_accessor :CasterId
|
13690
|
+
|
13691
|
+
def initialize(casterid=nil)
|
13692
|
+
@CasterId = casterid
|
13693
|
+
end
|
13694
|
+
|
13695
|
+
def deserialize(params)
|
13696
|
+
@CasterId = params['CasterId']
|
13697
|
+
end
|
13698
|
+
end
|
13699
|
+
|
13700
|
+
# StopCasterPgm返回参数结构体
|
13701
|
+
class StopCasterPgmResponse < TencentCloud::Common::AbstractModel
|
13702
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13703
|
+
# @type RequestId: String
|
13704
|
+
|
13705
|
+
attr_accessor :RequestId
|
13706
|
+
|
13707
|
+
def initialize(requestid=nil)
|
13708
|
+
@RequestId = requestid
|
13709
|
+
end
|
13710
|
+
|
13711
|
+
def deserialize(params)
|
13712
|
+
@RequestId = params['RequestId']
|
13713
|
+
end
|
13714
|
+
end
|
13715
|
+
|
13716
|
+
# StopCasterPvw请求参数结构体
|
13717
|
+
class StopCasterPvwRequest < TencentCloud::Common::AbstractModel
|
13718
|
+
# @param CasterId: 导播台ID。
|
13719
|
+
# @type CasterId: Integer
|
13720
|
+
|
13721
|
+
attr_accessor :CasterId
|
13722
|
+
|
13723
|
+
def initialize(casterid=nil)
|
13724
|
+
@CasterId = casterid
|
13725
|
+
end
|
13726
|
+
|
13727
|
+
def deserialize(params)
|
13728
|
+
@CasterId = params['CasterId']
|
13729
|
+
end
|
13730
|
+
end
|
13731
|
+
|
13732
|
+
# StopCasterPvw返回参数结构体
|
13733
|
+
class StopCasterPvwResponse < TencentCloud::Common::AbstractModel
|
13734
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13735
|
+
# @type RequestId: String
|
13736
|
+
|
13737
|
+
attr_accessor :RequestId
|
13738
|
+
|
13739
|
+
def initialize(requestid=nil)
|
13740
|
+
@RequestId = requestid
|
13741
|
+
end
|
13742
|
+
|
13743
|
+
def deserialize(params)
|
13744
|
+
@RequestId = params['RequestId']
|
13745
|
+
end
|
13746
|
+
end
|
13747
|
+
|
12697
13748
|
# StopLivePadProcessor请求参数结构体
|
12698
13749
|
class StopLivePadProcessorRequest < TencentCloud::Common::AbstractModel
|
12699
13750
|
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|