tencentcloud-sdk-live 3.0.591 → 3.0.593

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.
@@ -1122,6 +1122,117 @@ module TencentCloud
1122
1122
  end
1123
1123
  end
1124
1124
 
1125
+ # CreateLivePadRule请求参数结构体
1126
+ class CreateLivePadRuleRequest < TencentCloud::Common::AbstractModel
1127
+ # @param DomainName: 推流域名。
1128
+ # @type DomainName: String
1129
+ # @param TemplateId: 模板 ID。
1130
+ # @type TemplateId: Integer
1131
+ # @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
1132
+ # @type AppName: String
1133
+ # @param StreamName: 流名称。
1134
+ # 注:如果本参数设置为非空字符串,规则将只对此推流起作用。
1135
+ # @type StreamName: String
1136
+
1137
+ attr_accessor :DomainName, :TemplateId, :AppName, :StreamName
1138
+
1139
+ def initialize(domainname=nil, templateid=nil, appname=nil, streamname=nil)
1140
+ @DomainName = domainname
1141
+ @TemplateId = templateid
1142
+ @AppName = appname
1143
+ @StreamName = streamname
1144
+ end
1145
+
1146
+ def deserialize(params)
1147
+ @DomainName = params['DomainName']
1148
+ @TemplateId = params['TemplateId']
1149
+ @AppName = params['AppName']
1150
+ @StreamName = params['StreamName']
1151
+ end
1152
+ end
1153
+
1154
+ # CreateLivePadRule返回参数结构体
1155
+ class CreateLivePadRuleResponse < TencentCloud::Common::AbstractModel
1156
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1157
+ # @type RequestId: String
1158
+
1159
+ attr_accessor :RequestId
1160
+
1161
+ def initialize(requestid=nil)
1162
+ @RequestId = requestid
1163
+ end
1164
+
1165
+ def deserialize(params)
1166
+ @RequestId = params['RequestId']
1167
+ end
1168
+ end
1169
+
1170
+ # CreateLivePadTemplate请求参数结构体
1171
+ class CreateLivePadTemplateRequest < TencentCloud::Common::AbstractModel
1172
+ # @param TemplateName: 模板名称。
1173
+ # 长度上限:255字节。
1174
+ # 仅支持中文、英文、数字、_、-。
1175
+ # @type TemplateName: String
1176
+ # @param Url: 垫片内容。
1177
+ # @type Url: String
1178
+ # @param Description: 描述信息。
1179
+ # 长度上限:1024字节。
1180
+ # 仅支持中文、英文、数字、_、-。
1181
+ # @type Description: String
1182
+ # @param WaitDuration: 断流等待时间。
1183
+ # 取值范围:0-30000。
1184
+ # 单位:ms。
1185
+ # @type WaitDuration: Integer
1186
+ # @param MaxDuration: 最大垫片时长。
1187
+ # 取值范围:0 - 正无穷。
1188
+ # 单位:ms。
1189
+ # @type MaxDuration: Integer
1190
+ # @param Type: 垫片内容类型:
1191
+ # 1:图片,2:视频。
1192
+ # 默认值:1。
1193
+ # @type Type: Integer
1194
+
1195
+ attr_accessor :TemplateName, :Url, :Description, :WaitDuration, :MaxDuration, :Type
1196
+
1197
+ def initialize(templatename=nil, url=nil, description=nil, waitduration=nil, maxduration=nil, type=nil)
1198
+ @TemplateName = templatename
1199
+ @Url = url
1200
+ @Description = description
1201
+ @WaitDuration = waitduration
1202
+ @MaxDuration = maxduration
1203
+ @Type = type
1204
+ end
1205
+
1206
+ def deserialize(params)
1207
+ @TemplateName = params['TemplateName']
1208
+ @Url = params['Url']
1209
+ @Description = params['Description']
1210
+ @WaitDuration = params['WaitDuration']
1211
+ @MaxDuration = params['MaxDuration']
1212
+ @Type = params['Type']
1213
+ end
1214
+ end
1215
+
1216
+ # CreateLivePadTemplate返回参数结构体
1217
+ class CreateLivePadTemplateResponse < TencentCloud::Common::AbstractModel
1218
+ # @param TemplateId: 模板Id。
1219
+ # @type TemplateId: Integer
1220
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1221
+ # @type RequestId: String
1222
+
1223
+ attr_accessor :TemplateId, :RequestId
1224
+
1225
+ def initialize(templateid=nil, requestid=nil)
1226
+ @TemplateId = templateid
1227
+ @RequestId = requestid
1228
+ end
1229
+
1230
+ def deserialize(params)
1231
+ @TemplateId = params['TemplateId']
1232
+ @RequestId = params['RequestId']
1233
+ end
1234
+ end
1235
+
1125
1236
  # CreateLivePullStreamTask请求参数结构体
1126
1237
  class CreateLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
1127
1238
  # @param SourceType: 拉流源的类型:
@@ -1682,6 +1793,101 @@ module TencentCloud
1682
1793
  end
1683
1794
  end
1684
1795
 
1796
+ # CreateLiveStreamMonitor请求参数结构体
1797
+ class CreateLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
1798
+ # @param OutputInfo: 监播任务的输出信息。
1799
+ # @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorOutputInfo`
1800
+ # @param InputList: 待监播的输入流信息列表。
1801
+ # @type InputList: Array
1802
+ # @param MonitorName: 监播任务名称。字段长度小于128字节(一个汉字两个字节)。
1803
+ # @type MonitorName: String
1804
+ # @param NotifyPolicy: 监播事件通知策略。
1805
+ # 不填默认为没有任何通知。
1806
+ # @type NotifyPolicy: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorNotifyPolicy`
1807
+ # @param AsrLanguage: 智能语音识别语种设置:
1808
+ # 0 关闭 1 中文 2 英文 3 日文 4 韩文。
1809
+ # @type AsrLanguage: Integer
1810
+ # @param OcrLanguage: 智能文字识别语种设置:
1811
+ # 0 关闭 1 中、英文。
1812
+ # @type OcrLanguage: Integer
1813
+ # @param AiAsrInputIndexList: 智能语音识别的输入列表,若开启语音识别则必填。
1814
+ # (第1条输入流index为1)
1815
+ # @type AiAsrInputIndexList: Array
1816
+ # @param AiOcrInputIndexList: 智能文字识别的输入列表,若开启文字识别则必填。
1817
+ # (第1条输入流index为1)
1818
+ # @type AiOcrInputIndexList: Array
1819
+ # @param CheckStreamBroken: 是否开启断流检测。
1820
+ # @type CheckStreamBroken: Integer
1821
+ # @param CheckStreamLowFrameRate: 是否开启低帧率检测。
1822
+ # @type CheckStreamLowFrameRate: Integer
1823
+ # @param AllowMonitorReport: 是否存储监播事件到监播报告,以及是否允许查询监播报告。
1824
+ # @type AllowMonitorReport: Integer
1825
+
1826
+ attr_accessor :OutputInfo, :InputList, :MonitorName, :NotifyPolicy, :AsrLanguage, :OcrLanguage, :AiAsrInputIndexList, :AiOcrInputIndexList, :CheckStreamBroken, :CheckStreamLowFrameRate, :AllowMonitorReport
1827
+
1828
+ def initialize(outputinfo=nil, inputlist=nil, monitorname=nil, notifypolicy=nil, asrlanguage=nil, ocrlanguage=nil, aiasrinputindexlist=nil, aiocrinputindexlist=nil, checkstreambroken=nil, checkstreamlowframerate=nil, allowmonitorreport=nil)
1829
+ @OutputInfo = outputinfo
1830
+ @InputList = inputlist
1831
+ @MonitorName = monitorname
1832
+ @NotifyPolicy = notifypolicy
1833
+ @AsrLanguage = asrlanguage
1834
+ @OcrLanguage = ocrlanguage
1835
+ @AiAsrInputIndexList = aiasrinputindexlist
1836
+ @AiOcrInputIndexList = aiocrinputindexlist
1837
+ @CheckStreamBroken = checkstreambroken
1838
+ @CheckStreamLowFrameRate = checkstreamlowframerate
1839
+ @AllowMonitorReport = allowmonitorreport
1840
+ end
1841
+
1842
+ def deserialize(params)
1843
+ unless params['OutputInfo'].nil?
1844
+ @OutputInfo = LiveStreamMonitorOutputInfo.new
1845
+ @OutputInfo.deserialize(params['OutputInfo'])
1846
+ end
1847
+ unless params['InputList'].nil?
1848
+ @InputList = []
1849
+ params['InputList'].each do |i|
1850
+ livestreammonitorinputinfo_tmp = LiveStreamMonitorInputInfo.new
1851
+ livestreammonitorinputinfo_tmp.deserialize(i)
1852
+ @InputList << livestreammonitorinputinfo_tmp
1853
+ end
1854
+ end
1855
+ @MonitorName = params['MonitorName']
1856
+ unless params['NotifyPolicy'].nil?
1857
+ @NotifyPolicy = LiveStreamMonitorNotifyPolicy.new
1858
+ @NotifyPolicy.deserialize(params['NotifyPolicy'])
1859
+ end
1860
+ @AsrLanguage = params['AsrLanguage']
1861
+ @OcrLanguage = params['OcrLanguage']
1862
+ @AiAsrInputIndexList = params['AiAsrInputIndexList']
1863
+ @AiOcrInputIndexList = params['AiOcrInputIndexList']
1864
+ @CheckStreamBroken = params['CheckStreamBroken']
1865
+ @CheckStreamLowFrameRate = params['CheckStreamLowFrameRate']
1866
+ @AllowMonitorReport = params['AllowMonitorReport']
1867
+ end
1868
+ end
1869
+
1870
+ # CreateLiveStreamMonitor返回参数结构体
1871
+ class CreateLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
1872
+ # @param MonitorId: 监播任务ID。
1873
+ # 注意:此字段可能返回 null,表示取不到有效值。
1874
+ # @type MonitorId: String
1875
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1876
+ # @type RequestId: String
1877
+
1878
+ attr_accessor :MonitorId, :RequestId
1879
+
1880
+ def initialize(monitorid=nil, requestid=nil)
1881
+ @MonitorId = monitorid
1882
+ @RequestId = requestid
1883
+ end
1884
+
1885
+ def deserialize(params)
1886
+ @MonitorId = params['MonitorId']
1887
+ @RequestId = params['RequestId']
1888
+ end
1889
+ end
1890
+
1685
1891
  # CreateLiveTimeShiftRule请求参数结构体
1686
1892
  class CreateLiveTimeShiftRuleRequest < TencentCloud::Common::AbstractModel
1687
1893
  # @param DomainName: 推流域名。
@@ -2438,6 +2644,85 @@ module TencentCloud
2438
2644
  end
2439
2645
  end
2440
2646
 
2647
+ # DeleteLivePadRule请求参数结构体
2648
+ class DeleteLivePadRuleRequest < TencentCloud::Common::AbstractModel
2649
+ # @param DomainName: 推流域名。
2650
+ # 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2651
+ # @type DomainName: String
2652
+ # @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
2653
+ # 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2654
+ # @type AppName: String
2655
+ # @param StreamName: 流名称。
2656
+ # 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2657
+ # @type StreamName: String
2658
+ # @param TemplateId: 直播垫片模板id。
2659
+ # @type TemplateId: Integer
2660
+
2661
+ attr_accessor :DomainName, :AppName, :StreamName, :TemplateId
2662
+
2663
+ def initialize(domainname=nil, appname=nil, streamname=nil, templateid=nil)
2664
+ @DomainName = domainname
2665
+ @AppName = appname
2666
+ @StreamName = streamname
2667
+ @TemplateId = templateid
2668
+ end
2669
+
2670
+ def deserialize(params)
2671
+ @DomainName = params['DomainName']
2672
+ @AppName = params['AppName']
2673
+ @StreamName = params['StreamName']
2674
+ @TemplateId = params['TemplateId']
2675
+ end
2676
+ end
2677
+
2678
+ # DeleteLivePadRule返回参数结构体
2679
+ class DeleteLivePadRuleResponse < TencentCloud::Common::AbstractModel
2680
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2681
+ # @type RequestId: String
2682
+
2683
+ attr_accessor :RequestId
2684
+
2685
+ def initialize(requestid=nil)
2686
+ @RequestId = requestid
2687
+ end
2688
+
2689
+ def deserialize(params)
2690
+ @RequestId = params['RequestId']
2691
+ end
2692
+ end
2693
+
2694
+ # DeleteLivePadTemplate请求参数结构体
2695
+ class DeleteLivePadTemplateRequest < TencentCloud::Common::AbstractModel
2696
+ # @param TemplateId: 模板 ID。
2697
+ # @type TemplateId: Integer
2698
+
2699
+ attr_accessor :TemplateId
2700
+
2701
+ def initialize(templateid=nil)
2702
+ @TemplateId = templateid
2703
+ end
2704
+
2705
+ def deserialize(params)
2706
+ @TemplateId = params['TemplateId']
2707
+ end
2708
+ end
2709
+
2710
+ # DeleteLivePadTemplate返回参数结构体
2711
+ class DeleteLivePadTemplateResponse < TencentCloud::Common::AbstractModel
2712
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2713
+ # @type RequestId: String
2714
+
2715
+ attr_accessor :RequestId
2716
+
2717
+ def initialize(requestid=nil)
2718
+ @RequestId = requestid
2719
+ end
2720
+
2721
+ def deserialize(params)
2722
+ @RequestId = params['RequestId']
2723
+ end
2724
+ end
2725
+
2441
2726
  # DeleteLivePullStreamTask请求参数结构体
2442
2727
  class DeleteLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
2443
2728
  # @param TaskId: 任务 Id。
@@ -2659,6 +2944,38 @@ module TencentCloud
2659
2944
  end
2660
2945
  end
2661
2946
 
2947
+ # DeleteLiveStreamMonitor请求参数结构体
2948
+ class DeleteLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
2949
+ # @param MonitorId: 监播任务ID
2950
+ # @type MonitorId: String
2951
+
2952
+ attr_accessor :MonitorId
2953
+
2954
+ def initialize(monitorid=nil)
2955
+ @MonitorId = monitorid
2956
+ end
2957
+
2958
+ def deserialize(params)
2959
+ @MonitorId = params['MonitorId']
2960
+ end
2961
+ end
2962
+
2963
+ # DeleteLiveStreamMonitor返回参数结构体
2964
+ class DeleteLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
2965
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2966
+ # @type RequestId: String
2967
+
2968
+ attr_accessor :RequestId
2969
+
2970
+ def initialize(requestid=nil)
2971
+ @RequestId = requestid
2972
+ end
2973
+
2974
+ def deserialize(params)
2975
+ @RequestId = params['RequestId']
2976
+ end
2977
+ end
2978
+
2662
2979
  # DeleteLiveTimeShiftRule请求参数结构体
2663
2980
  class DeleteLiveTimeShiftRuleRequest < TencentCloud::Common::AbstractModel
2664
2981
  # @param DomainName: 推流域名。
@@ -4271,77 +4588,192 @@ module TencentCloud
4271
4588
  end
4272
4589
  end
4273
4590
 
4274
- # DescribeLivePlayAuthKey请求参数结构体
4275
- class DescribeLivePlayAuthKeyRequest < TencentCloud::Common::AbstractModel
4276
- # @param DomainName: 域名。
4277
- # @type DomainName: String
4591
+ # DescribeLivePadRules请求参数结构体
4592
+ class DescribeLivePadRulesRequest < TencentCloud::Common::AbstractModel
4278
4593
 
4279
- attr_accessor :DomainName
4280
4594
 
4281
- def initialize(domainname=nil)
4282
- @DomainName = domainname
4595
+ def initialize()
4283
4596
  end
4284
4597
 
4285
4598
  def deserialize(params)
4286
- @DomainName = params['DomainName']
4287
4599
  end
4288
4600
  end
4289
4601
 
4290
- # DescribeLivePlayAuthKey返回参数结构体
4291
- class DescribeLivePlayAuthKeyResponse < TencentCloud::Common::AbstractModel
4292
- # @param PlayAuthKeyInfo: 播放鉴权key信息。
4293
- # @type PlayAuthKeyInfo: :class:`Tencentcloud::Live.v20180801.models.PlayAuthKeyInfo`
4602
+ # DescribeLivePadRules返回参数结构体
4603
+ class DescribeLivePadRulesResponse < TencentCloud::Common::AbstractModel
4604
+ # @param Rules: 规则信息列表。
4605
+ # @type Rules: Array
4294
4606
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4295
4607
  # @type RequestId: String
4296
4608
 
4297
- attr_accessor :PlayAuthKeyInfo, :RequestId
4609
+ attr_accessor :Rules, :RequestId
4298
4610
 
4299
- def initialize(playauthkeyinfo=nil, requestid=nil)
4300
- @PlayAuthKeyInfo = playauthkeyinfo
4611
+ def initialize(rules=nil, requestid=nil)
4612
+ @Rules = rules
4301
4613
  @RequestId = requestid
4302
4614
  end
4303
4615
 
4304
4616
  def deserialize(params)
4305
- unless params['PlayAuthKeyInfo'].nil?
4306
- @PlayAuthKeyInfo = PlayAuthKeyInfo.new
4307
- @PlayAuthKeyInfo.deserialize(params['PlayAuthKeyInfo'])
4617
+ unless params['Rules'].nil?
4618
+ @Rules = []
4619
+ params['Rules'].each do |i|
4620
+ ruleinfo_tmp = RuleInfo.new
4621
+ ruleinfo_tmp.deserialize(i)
4622
+ @Rules << ruleinfo_tmp
4623
+ end
4308
4624
  end
4309
4625
  @RequestId = params['RequestId']
4310
4626
  end
4311
4627
  end
4312
4628
 
4313
- # DescribeLivePullStreamTasks请求参数结构体
4314
- class DescribeLivePullStreamTasksRequest < TencentCloud::Common::AbstractModel
4315
- # @param TaskId: 任务 ID
4316
- # 来源:调用 CreateLivePullStreamTask 接口时返回。
4317
- # 不填默认查询所有任务,按更新时间倒序排序。
4318
- # @type TaskId: String
4319
- # @param PageNum: 取得第几页,默认值:1。
4320
- # @type PageNum: Integer
4321
- # @param PageSize: 分页大小,默认值:10。
4322
- # 取值范围:1~20 之前的任意整数。
4323
- # @type PageSize: Integer
4629
+ # DescribeLivePadTemplate请求参数结构体
4630
+ class DescribeLivePadTemplateRequest < TencentCloud::Common::AbstractModel
4631
+ # @param TemplateId: 模板id
4632
+ # @type TemplateId: Integer
4324
4633
 
4325
- attr_accessor :TaskId, :PageNum, :PageSize
4634
+ attr_accessor :TemplateId
4326
4635
 
4327
- def initialize(taskid=nil, pagenum=nil, pagesize=nil)
4328
- @TaskId = taskid
4329
- @PageNum = pagenum
4330
- @PageSize = pagesize
4636
+ def initialize(templateid=nil)
4637
+ @TemplateId = templateid
4331
4638
  end
4332
4639
 
4333
4640
  def deserialize(params)
4334
- @TaskId = params['TaskId']
4335
- @PageNum = params['PageNum']
4336
- @PageSize = params['PageSize']
4641
+ @TemplateId = params['TemplateId']
4337
4642
  end
4338
4643
  end
4339
4644
 
4340
- # DescribeLivePullStreamTasks返回参数结构体
4341
- class DescribeLivePullStreamTasksResponse < TencentCloud::Common::AbstractModel
4342
- # @param TaskInfos: 直播拉流任务信息列表。
4343
- # @type TaskInfos: Array
4344
- # @param PageNum: 分页的页码。
4645
+ # DescribeLivePadTemplate返回参数结构体
4646
+ class DescribeLivePadTemplateResponse < TencentCloud::Common::AbstractModel
4647
+ # @param Template: 直播垫片模板信息。
4648
+ # @type Template: :class:`Tencentcloud::Live.v20180801.models.PadTemplate`
4649
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4650
+ # @type RequestId: String
4651
+
4652
+ attr_accessor :Template, :RequestId
4653
+
4654
+ def initialize(template=nil, requestid=nil)
4655
+ @Template = template
4656
+ @RequestId = requestid
4657
+ end
4658
+
4659
+ def deserialize(params)
4660
+ unless params['Template'].nil?
4661
+ @Template = PadTemplate.new
4662
+ @Template.deserialize(params['Template'])
4663
+ end
4664
+ @RequestId = params['RequestId']
4665
+ end
4666
+ end
4667
+
4668
+ # DescribeLivePadTemplates请求参数结构体
4669
+ class DescribeLivePadTemplatesRequest < TencentCloud::Common::AbstractModel
4670
+
4671
+
4672
+ def initialize()
4673
+ end
4674
+
4675
+ def deserialize(params)
4676
+ end
4677
+ end
4678
+
4679
+ # DescribeLivePadTemplates返回参数结构体
4680
+ class DescribeLivePadTemplatesResponse < TencentCloud::Common::AbstractModel
4681
+ # @param Templates: 直播垫片模板信息。
4682
+ # @type Templates: Array
4683
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4684
+ # @type RequestId: String
4685
+
4686
+ attr_accessor :Templates, :RequestId
4687
+
4688
+ def initialize(templates=nil, requestid=nil)
4689
+ @Templates = templates
4690
+ @RequestId = requestid
4691
+ end
4692
+
4693
+ def deserialize(params)
4694
+ unless params['Templates'].nil?
4695
+ @Templates = []
4696
+ params['Templates'].each do |i|
4697
+ padtemplate_tmp = PadTemplate.new
4698
+ padtemplate_tmp.deserialize(i)
4699
+ @Templates << padtemplate_tmp
4700
+ end
4701
+ end
4702
+ @RequestId = params['RequestId']
4703
+ end
4704
+ end
4705
+
4706
+ # DescribeLivePlayAuthKey请求参数结构体
4707
+ class DescribeLivePlayAuthKeyRequest < TencentCloud::Common::AbstractModel
4708
+ # @param DomainName: 域名。
4709
+ # @type DomainName: String
4710
+
4711
+ attr_accessor :DomainName
4712
+
4713
+ def initialize(domainname=nil)
4714
+ @DomainName = domainname
4715
+ end
4716
+
4717
+ def deserialize(params)
4718
+ @DomainName = params['DomainName']
4719
+ end
4720
+ end
4721
+
4722
+ # DescribeLivePlayAuthKey返回参数结构体
4723
+ class DescribeLivePlayAuthKeyResponse < TencentCloud::Common::AbstractModel
4724
+ # @param PlayAuthKeyInfo: 播放鉴权key信息。
4725
+ # @type PlayAuthKeyInfo: :class:`Tencentcloud::Live.v20180801.models.PlayAuthKeyInfo`
4726
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4727
+ # @type RequestId: String
4728
+
4729
+ attr_accessor :PlayAuthKeyInfo, :RequestId
4730
+
4731
+ def initialize(playauthkeyinfo=nil, requestid=nil)
4732
+ @PlayAuthKeyInfo = playauthkeyinfo
4733
+ @RequestId = requestid
4734
+ end
4735
+
4736
+ def deserialize(params)
4737
+ unless params['PlayAuthKeyInfo'].nil?
4738
+ @PlayAuthKeyInfo = PlayAuthKeyInfo.new
4739
+ @PlayAuthKeyInfo.deserialize(params['PlayAuthKeyInfo'])
4740
+ end
4741
+ @RequestId = params['RequestId']
4742
+ end
4743
+ end
4744
+
4745
+ # DescribeLivePullStreamTasks请求参数结构体
4746
+ class DescribeLivePullStreamTasksRequest < TencentCloud::Common::AbstractModel
4747
+ # @param TaskId: 任务 ID。
4748
+ # 来源:调用 CreateLivePullStreamTask 接口时返回。
4749
+ # 不填默认查询所有任务,按更新时间倒序排序。
4750
+ # @type TaskId: String
4751
+ # @param PageNum: 取得第几页,默认值:1。
4752
+ # @type PageNum: Integer
4753
+ # @param PageSize: 分页大小,默认值:10。
4754
+ # 取值范围:1~20 之前的任意整数。
4755
+ # @type PageSize: Integer
4756
+
4757
+ attr_accessor :TaskId, :PageNum, :PageSize
4758
+
4759
+ def initialize(taskid=nil, pagenum=nil, pagesize=nil)
4760
+ @TaskId = taskid
4761
+ @PageNum = pagenum
4762
+ @PageSize = pagesize
4763
+ end
4764
+
4765
+ def deserialize(params)
4766
+ @TaskId = params['TaskId']
4767
+ @PageNum = params['PageNum']
4768
+ @PageSize = params['PageSize']
4769
+ end
4770
+ end
4771
+
4772
+ # DescribeLivePullStreamTasks返回参数结构体
4773
+ class DescribeLivePullStreamTasksResponse < TencentCloud::Common::AbstractModel
4774
+ # @param TaskInfos: 直播拉流任务信息列表。
4775
+ # @type TaskInfos: Array
4776
+ # @param PageNum: 分页的页码。
4345
4777
  # @type PageNum: Integer
4346
4778
  # @param PageSize: 每页大小。
4347
4779
  # @type PageSize: Integer
@@ -4774,6 +5206,99 @@ module TencentCloud
4774
5206
  end
4775
5207
  end
4776
5208
 
5209
+ # DescribeLiveStreamMonitorList请求参数结构体
5210
+ class DescribeLiveStreamMonitorListRequest < TencentCloud::Common::AbstractModel
5211
+ # @param Index: 查询列表时的起始偏移。
5212
+ # @type Index: Integer
5213
+ # @param Count: 本次查询的记录个数。最小值为1。
5214
+ # @type Count: Integer
5215
+
5216
+ attr_accessor :Index, :Count
5217
+
5218
+ def initialize(index=nil, count=nil)
5219
+ @Index = index
5220
+ @Count = count
5221
+ end
5222
+
5223
+ def deserialize(params)
5224
+ @Index = params['Index']
5225
+ @Count = params['Count']
5226
+ end
5227
+ end
5228
+
5229
+ # DescribeLiveStreamMonitorList返回参数结构体
5230
+ class DescribeLiveStreamMonitorListResponse < TencentCloud::Common::AbstractModel
5231
+ # @param TotalNum: 账号下的直播流监播任务个数。
5232
+ # 注意:此字段可能返回 null,表示取不到有效值。
5233
+ # @type TotalNum: Integer
5234
+ # @param LiveStreamMonitors: 直播流监播任务列表
5235
+ # 注意:此字段可能返回 null,表示取不到有效值。
5236
+ # @type LiveStreamMonitors: Array
5237
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5238
+ # @type RequestId: String
5239
+
5240
+ attr_accessor :TotalNum, :LiveStreamMonitors, :RequestId
5241
+
5242
+ def initialize(totalnum=nil, livestreammonitors=nil, requestid=nil)
5243
+ @TotalNum = totalnum
5244
+ @LiveStreamMonitors = livestreammonitors
5245
+ @RequestId = requestid
5246
+ end
5247
+
5248
+ def deserialize(params)
5249
+ @TotalNum = params['TotalNum']
5250
+ unless params['LiveStreamMonitors'].nil?
5251
+ @LiveStreamMonitors = []
5252
+ params['LiveStreamMonitors'].each do |i|
5253
+ livestreammonitorinfo_tmp = LiveStreamMonitorInfo.new
5254
+ livestreammonitorinfo_tmp.deserialize(i)
5255
+ @LiveStreamMonitors << livestreammonitorinfo_tmp
5256
+ end
5257
+ end
5258
+ @RequestId = params['RequestId']
5259
+ end
5260
+ end
5261
+
5262
+ # DescribeLiveStreamMonitor请求参数结构体
5263
+ class DescribeLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
5264
+ # @param MonitorId: 监播任务ID。
5265
+ # @type MonitorId: String
5266
+
5267
+ attr_accessor :MonitorId
5268
+
5269
+ def initialize(monitorid=nil)
5270
+ @MonitorId = monitorid
5271
+ end
5272
+
5273
+ def deserialize(params)
5274
+ @MonitorId = params['MonitorId']
5275
+ end
5276
+ end
5277
+
5278
+ # DescribeLiveStreamMonitor返回参数结构体
5279
+ class DescribeLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
5280
+ # @param LiveStreamMonitor: 直播监播任务相关信息。
5281
+ # 注意:此字段可能返回 null,表示取不到有效值。
5282
+ # @type LiveStreamMonitor: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorInfo`
5283
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5284
+ # @type RequestId: String
5285
+
5286
+ attr_accessor :LiveStreamMonitor, :RequestId
5287
+
5288
+ def initialize(livestreammonitor=nil, requestid=nil)
5289
+ @LiveStreamMonitor = livestreammonitor
5290
+ @RequestId = requestid
5291
+ end
5292
+
5293
+ def deserialize(params)
5294
+ unless params['LiveStreamMonitor'].nil?
5295
+ @LiveStreamMonitor = LiveStreamMonitorInfo.new
5296
+ @LiveStreamMonitor.deserialize(params['LiveStreamMonitor'])
5297
+ end
5298
+ @RequestId = params['RequestId']
5299
+ end
5300
+ end
5301
+
4777
5302
  # DescribeLiveStreamOnlineList请求参数结构体
4778
5303
  class DescribeLiveStreamOnlineListRequest < TencentCloud::Common::AbstractModel
4779
5304
  # @param DomainName: 推流域名。多域名用户需要填写 DomainName。
@@ -5722,6 +6247,54 @@ module TencentCloud
5722
6247
  end
5723
6248
  end
5724
6249
 
6250
+ # DescribeMonitorReport请求参数结构体
6251
+ class DescribeMonitorReportRequest < TencentCloud::Common::AbstractModel
6252
+ # @param MonitorId: 监播任务ID。
6253
+ # @type MonitorId: String
6254
+
6255
+ attr_accessor :MonitorId
6256
+
6257
+ def initialize(monitorid=nil)
6258
+ @MonitorId = monitorid
6259
+ end
6260
+
6261
+ def deserialize(params)
6262
+ @MonitorId = params['MonitorId']
6263
+ end
6264
+ end
6265
+
6266
+ # DescribeMonitorReport返回参数结构体
6267
+ class DescribeMonitorReportResponse < TencentCloud::Common::AbstractModel
6268
+ # @param MPSResult: 媒体处理结果信息。
6269
+ # 注意:此字段可能返回 null,表示取不到有效值。
6270
+ # @type MPSResult: :class:`Tencentcloud::Live.v20180801.models.MPSResult`
6271
+ # @param DiagnoseResult: 媒体诊断结果信息。
6272
+ # 注意:此字段可能返回 null,表示取不到有效值。
6273
+ # @type DiagnoseResult: :class:`Tencentcloud::Live.v20180801.models.DiagnoseResult`
6274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6275
+ # @type RequestId: String
6276
+
6277
+ attr_accessor :MPSResult, :DiagnoseResult, :RequestId
6278
+
6279
+ def initialize(mpsresult=nil, diagnoseresult=nil, requestid=nil)
6280
+ @MPSResult = mpsresult
6281
+ @DiagnoseResult = diagnoseresult
6282
+ @RequestId = requestid
6283
+ end
6284
+
6285
+ def deserialize(params)
6286
+ unless params['MPSResult'].nil?
6287
+ @MPSResult = MPSResult.new
6288
+ @MPSResult.deserialize(params['MPSResult'])
6289
+ end
6290
+ unless params['DiagnoseResult'].nil?
6291
+ @DiagnoseResult = DiagnoseResult.new
6292
+ @DiagnoseResult.deserialize(params['DiagnoseResult'])
6293
+ end
6294
+ @RequestId = params['RequestId']
6295
+ end
6296
+ end
6297
+
5725
6298
  # DescribePlayErrorCodeDetailInfoList请求参数结构体
5726
6299
  class DescribePlayErrorCodeDetailInfoListRequest < TencentCloud::Common::AbstractModel
5727
6300
  # @param StartTime: 起始时间,北京时间,
@@ -7115,6 +7688,28 @@ module TencentCloud
7115
7688
  end
7116
7689
  end
7117
7690
 
7691
+ # 媒体诊断结果,包含断流信息、低帧率信息等
7692
+ class DiagnoseResult < TencentCloud::Common::AbstractModel
7693
+ # @param StreamBrokenResults: 断流信息
7694
+ # 注意:此字段可能返回 null,表示取不到有效值。
7695
+ # @type StreamBrokenResults: Array
7696
+ # @param LowFrameRateResults: 低帧率信息
7697
+ # 注意:此字段可能返回 null,表示取不到有效值。
7698
+ # @type LowFrameRateResults: Array
7699
+
7700
+ attr_accessor :StreamBrokenResults, :LowFrameRateResults
7701
+
7702
+ def initialize(streambrokenresults=nil, lowframerateresults=nil)
7703
+ @StreamBrokenResults = streambrokenresults
7704
+ @LowFrameRateResults = lowframerateresults
7705
+ end
7706
+
7707
+ def deserialize(params)
7708
+ @StreamBrokenResults = params['StreamBrokenResults']
7709
+ @LowFrameRateResults = params['LowFrameRateResults']
7710
+ end
7711
+ end
7712
+
7118
7713
  # 域名证书信息
7119
7714
  class DomainCertInfo < TencentCloud::Common::AbstractModel
7120
7715
  # @param CertId: 证书Id。
@@ -7822,6 +8417,226 @@ module TencentCloud
7822
8417
  end
7823
8418
  end
7824
8419
 
8420
+ # 直播监播任务信息。
8421
+ class LiveStreamMonitorInfo < TencentCloud::Common::AbstractModel
8422
+ # @param MonitorId: 监播任务ID。
8423
+ # 注意:此字段可能返回 null,表示取不到有效值。
8424
+ # @type MonitorId: String
8425
+ # @param MonitorName: 监播任务名称。128字节以内。
8426
+ # 注意:此字段可能返回 null,表示取不到有效值。
8427
+ # @type MonitorName: String
8428
+ # @param OutputInfo: 监播任务输出信息。
8429
+ # 注意:此字段可能返回 null,表示取不到有效值。
8430
+ # @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorOutputInfo`
8431
+ # @param InputList: 待监播的输入流信息。
8432
+ # 注意:此字段可能返回 null,表示取不到有效值。
8433
+ # @type InputList: Array
8434
+ # @param Status: 监播任务状态。
8435
+ # 0: 代表空闲
8436
+ # 1: 代表监播中。
8437
+ # 注意:此字段可能返回 null,表示取不到有效值。
8438
+ # @type Status: Integer
8439
+ # @param StartTime: 上一次的启动时间,unix时间戳。
8440
+ # 注意:此字段可能返回 null,表示取不到有效值。
8441
+ # @type StartTime: Integer
8442
+ # @param StopTime: 上一次的停止时间,unix时间戳。
8443
+ # 注意:此字段可能返回 null,表示取不到有效值。
8444
+ # @type StopTime: Integer
8445
+ # @param CreateTime: 监播任务创建时间,unix时间戳
8446
+ # 注意:此字段可能返回 null,表示取不到有效值。
8447
+ # @type CreateTime: Integer
8448
+ # @param UpdateTime: 监播任务更新时间,unix时间戳
8449
+ # 注意:此字段可能返回 null,表示取不到有效值。
8450
+ # @type UpdateTime: Integer
8451
+ # @param NotifyPolicy: 监播事件通知策略。
8452
+ # 注意:此字段可能返回 null,表示取不到有效值。
8453
+ # @type NotifyPolicy: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorNotifyPolicy`
8454
+ # @param AudibleInputIndexList: 输出音频的输入Index列表。
8455
+ # 注意:此字段可能返回 null,表示取不到有效值。
8456
+ # @type AudibleInputIndexList: Array
8457
+ # @param AiAsrInputIndexList: 开启智能语音识别的输入Index列表
8458
+ # 注意:此字段可能返回 null,表示取不到有效值。
8459
+ # @type AiAsrInputIndexList: Array
8460
+ # @param CheckStreamBroken: 是否开启断流检测
8461
+ # 注意:此字段可能返回 null,表示取不到有效值。
8462
+ # @type CheckStreamBroken: Integer
8463
+ # @param CheckStreamLowFrameRate: 是否开启低帧率检测
8464
+ # 注意:此字段可能返回 null,表示取不到有效值。
8465
+ # @type CheckStreamLowFrameRate: Integer
8466
+ # @param AsrLanguage: 智能语音识别语种:
8467
+ # 0 关闭 1 中文 2 英文 3日文 4 韩文
8468
+ # 注意:此字段可能返回 null,表示取不到有效值。
8469
+ # @type AsrLanguage: Integer
8470
+ # @param OcrLanguage: 智能文字识别语种:
8471
+ # 0 关闭 1 中、英文
8472
+ # 注意:此字段可能返回 null,表示取不到有效值。
8473
+ # @type OcrLanguage: Integer
8474
+ # @param AiOcrInputIndexList: 开启智能文字识别的输入Index列表
8475
+ # 注意:此字段可能返回 null,表示取不到有效值。
8476
+ # @type AiOcrInputIndexList: Array
8477
+ # @param AllowMonitorReport: 是否存储监播事件到监播报告,以及是否允许查询监播报告
8478
+ # 注意:此字段可能返回 null,表示取不到有效值。
8479
+ # @type AllowMonitorReport: Integer
8480
+
8481
+ attr_accessor :MonitorId, :MonitorName, :OutputInfo, :InputList, :Status, :StartTime, :StopTime, :CreateTime, :UpdateTime, :NotifyPolicy, :AudibleInputIndexList, :AiAsrInputIndexList, :CheckStreamBroken, :CheckStreamLowFrameRate, :AsrLanguage, :OcrLanguage, :AiOcrInputIndexList, :AllowMonitorReport
8482
+
8483
+ def initialize(monitorid=nil, monitorname=nil, outputinfo=nil, inputlist=nil, status=nil, starttime=nil, stoptime=nil, createtime=nil, updatetime=nil, notifypolicy=nil, audibleinputindexlist=nil, aiasrinputindexlist=nil, checkstreambroken=nil, checkstreamlowframerate=nil, asrlanguage=nil, ocrlanguage=nil, aiocrinputindexlist=nil, allowmonitorreport=nil)
8484
+ @MonitorId = monitorid
8485
+ @MonitorName = monitorname
8486
+ @OutputInfo = outputinfo
8487
+ @InputList = inputlist
8488
+ @Status = status
8489
+ @StartTime = starttime
8490
+ @StopTime = stoptime
8491
+ @CreateTime = createtime
8492
+ @UpdateTime = updatetime
8493
+ @NotifyPolicy = notifypolicy
8494
+ @AudibleInputIndexList = audibleinputindexlist
8495
+ @AiAsrInputIndexList = aiasrinputindexlist
8496
+ @CheckStreamBroken = checkstreambroken
8497
+ @CheckStreamLowFrameRate = checkstreamlowframerate
8498
+ @AsrLanguage = asrlanguage
8499
+ @OcrLanguage = ocrlanguage
8500
+ @AiOcrInputIndexList = aiocrinputindexlist
8501
+ @AllowMonitorReport = allowmonitorreport
8502
+ end
8503
+
8504
+ def deserialize(params)
8505
+ @MonitorId = params['MonitorId']
8506
+ @MonitorName = params['MonitorName']
8507
+ unless params['OutputInfo'].nil?
8508
+ @OutputInfo = LiveStreamMonitorOutputInfo.new
8509
+ @OutputInfo.deserialize(params['OutputInfo'])
8510
+ end
8511
+ unless params['InputList'].nil?
8512
+ @InputList = []
8513
+ params['InputList'].each do |i|
8514
+ livestreammonitorinputinfo_tmp = LiveStreamMonitorInputInfo.new
8515
+ livestreammonitorinputinfo_tmp.deserialize(i)
8516
+ @InputList << livestreammonitorinputinfo_tmp
8517
+ end
8518
+ end
8519
+ @Status = params['Status']
8520
+ @StartTime = params['StartTime']
8521
+ @StopTime = params['StopTime']
8522
+ @CreateTime = params['CreateTime']
8523
+ @UpdateTime = params['UpdateTime']
8524
+ unless params['NotifyPolicy'].nil?
8525
+ @NotifyPolicy = LiveStreamMonitorNotifyPolicy.new
8526
+ @NotifyPolicy.deserialize(params['NotifyPolicy'])
8527
+ end
8528
+ @AudibleInputIndexList = params['AudibleInputIndexList']
8529
+ @AiAsrInputIndexList = params['AiAsrInputIndexList']
8530
+ @CheckStreamBroken = params['CheckStreamBroken']
8531
+ @CheckStreamLowFrameRate = params['CheckStreamLowFrameRate']
8532
+ @AsrLanguage = params['AsrLanguage']
8533
+ @OcrLanguage = params['OcrLanguage']
8534
+ @AiOcrInputIndexList = params['AiOcrInputIndexList']
8535
+ @AllowMonitorReport = params['AllowMonitorReport']
8536
+ end
8537
+ end
8538
+
8539
+ # 直播监播功能输入流信息
8540
+ class LiveStreamMonitorInputInfo < TencentCloud::Common::AbstractModel
8541
+ # @param InputStreamName: 待监播的输入流名称。256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。
8542
+ # 注意:此字段可能返回 null,表示取不到有效值。
8543
+ # @type InputStreamName: String
8544
+ # @param InputDomain: 待监播的输入流推流域名。128字节以内,只允许填处于启用状态的推流域名。
8545
+ # 注意:此字段可能返回 null,表示取不到有效值。
8546
+ # @type InputDomain: String
8547
+ # @param InputApp: 待监播的输入流推流路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。
8548
+ # 注意:此字段可能返回 null,表示取不到有效值。
8549
+ # @type InputApp: String
8550
+ # @param InputUrl: 待监播的输入流推流url。一般场景下,无需该参数。
8551
+ # 注意:此字段可能返回 null,表示取不到有效值。
8552
+ # @type InputUrl: String
8553
+ # @param Description: 描述。256字节以内。
8554
+ # 注意:此字段可能返回 null,表示取不到有效值。
8555
+ # @type Description: String
8556
+
8557
+ attr_accessor :InputStreamName, :InputDomain, :InputApp, :InputUrl, :Description
8558
+
8559
+ def initialize(inputstreamname=nil, inputdomain=nil, inputapp=nil, inputurl=nil, description=nil)
8560
+ @InputStreamName = inputstreamname
8561
+ @InputDomain = inputdomain
8562
+ @InputApp = inputapp
8563
+ @InputUrl = inputurl
8564
+ @Description = description
8565
+ end
8566
+
8567
+ def deserialize(params)
8568
+ @InputStreamName = params['InputStreamName']
8569
+ @InputDomain = params['InputDomain']
8570
+ @InputApp = params['InputApp']
8571
+ @InputUrl = params['InputUrl']
8572
+ @Description = params['Description']
8573
+ end
8574
+ end
8575
+
8576
+ # 直播流监播通知策略
8577
+ class LiveStreamMonitorNotifyPolicy < TencentCloud::Common::AbstractModel
8578
+ # @param NotifyPolicyType: 通知策略类型:范围[0,1]
8579
+ # 0:代表不使用任何通知策略
8580
+ # 1:代表使用全局回调策略,所有事件通知到CallbackUrl。
8581
+ # 注意:此字段可能返回 null,表示取不到有效值。
8582
+ # @type NotifyPolicyType: Integer
8583
+ # @param CallbackUrl: 回调URL:长度[0,512]
8584
+ # 只支持http和https类型的url。
8585
+ # 注意:此字段可能返回 null,表示取不到有效值。
8586
+ # @type CallbackUrl: String
8587
+
8588
+ attr_accessor :NotifyPolicyType, :CallbackUrl
8589
+
8590
+ def initialize(notifypolicytype=nil, callbackurl=nil)
8591
+ @NotifyPolicyType = notifypolicytype
8592
+ @CallbackUrl = callbackurl
8593
+ end
8594
+
8595
+ def deserialize(params)
8596
+ @NotifyPolicyType = params['NotifyPolicyType']
8597
+ @CallbackUrl = params['CallbackUrl']
8598
+ end
8599
+ end
8600
+
8601
+ # 直播流监播输出流信息
8602
+ class LiveStreamMonitorOutputInfo < TencentCloud::Common::AbstractModel
8603
+ # @param OutputStreamWidth: 监播任务输出流宽度像素。范围[1,1920]。建议至少大于100像素。
8604
+ # 注意:此字段可能返回 null,表示取不到有效值。
8605
+ # @type OutputStreamWidth: Integer
8606
+ # @param OutputStreamHeight: 监播任务输出流长度像素。范围[1,1080],建议至少大于100像素。
8607
+ # 注意:此字段可能返回 null,表示取不到有效值。
8608
+ # @type OutputStreamHeight: Integer
8609
+ # @param OutputStreamName: 监播任务输出流名称。
8610
+ # 不填时,系统会自动生成。
8611
+ # 256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。
8612
+ # 注意:此字段可能返回 null,表示取不到有效值。
8613
+ # @type OutputStreamName: String
8614
+ # @param OutputDomain: 监播任务播放域名。128字节以内,只允许填处于启用状态的播放域名。
8615
+ # 注意:此字段可能返回 null,表示取不到有效值。
8616
+ # @type OutputDomain: String
8617
+ # @param OutputApp: 监播任务播放路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。
8618
+ # 注意:此字段可能返回 null,表示取不到有效值。
8619
+ # @type OutputApp: String
8620
+
8621
+ attr_accessor :OutputStreamWidth, :OutputStreamHeight, :OutputStreamName, :OutputDomain, :OutputApp
8622
+
8623
+ def initialize(outputstreamwidth=nil, outputstreamheight=nil, outputstreamname=nil, outputdomain=nil, outputapp=nil)
8624
+ @OutputStreamWidth = outputstreamwidth
8625
+ @OutputStreamHeight = outputstreamheight
8626
+ @OutputStreamName = outputstreamname
8627
+ @OutputDomain = outputdomain
8628
+ @OutputApp = outputapp
8629
+ end
8630
+
8631
+ def deserialize(params)
8632
+ @OutputStreamWidth = params['OutputStreamWidth']
8633
+ @OutputStreamHeight = params['OutputStreamHeight']
8634
+ @OutputStreamName = params['OutputStreamName']
8635
+ @OutputDomain = params['OutputDomain']
8636
+ @OutputApp = params['OutputApp']
8637
+ end
8638
+ end
8639
+
7825
8640
  # 日志url信息。
7826
8641
  class LogInfo < TencentCloud::Common::AbstractModel
7827
8642
  # @param LogName: 日志名称。
@@ -7851,6 +8666,28 @@ module TencentCloud
7851
8666
  end
7852
8667
  end
7853
8668
 
8669
+ # 媒体处理结果,包含智能语音识别、智能文字识别结果
8670
+ class MPSResult < TencentCloud::Common::AbstractModel
8671
+ # @param AiAsrResults: 智能语音识别结果
8672
+ # 注意:此字段可能返回 null,表示取不到有效值。
8673
+ # @type AiAsrResults: Array
8674
+ # @param AiOcrResults: 智能文字识别结果
8675
+ # 注意:此字段可能返回 null,表示取不到有效值。
8676
+ # @type AiOcrResults: Array
8677
+
8678
+ attr_accessor :AiAsrResults, :AiOcrResults
8679
+
8680
+ def initialize(aiasrresults=nil, aiocrresults=nil)
8681
+ @AiAsrResults = aiasrresults
8682
+ @AiOcrResults = aiocrresults
8683
+ end
8684
+
8685
+ def deserialize(params)
8686
+ @AiAsrResults = params['AiAsrResults']
8687
+ @AiOcrResults = params['AiOcrResults']
8688
+ end
8689
+ end
8690
+
7854
8691
  # ModifyLiveCallbackTemplate请求参数结构体
7855
8692
  class ModifyLiveCallbackTemplateRequest < TencentCloud::Common::AbstractModel
7856
8693
  # @param TemplateId: DescribeLiveCallbackTemplates接口返回的模板 ID。
@@ -8047,6 +8884,70 @@ module TencentCloud
8047
8884
  end
8048
8885
  end
8049
8886
 
8887
+ # ModifyLivePadTemplate请求参数结构体
8888
+ class ModifyLivePadTemplateRequest < TencentCloud::Common::AbstractModel
8889
+ # @param TemplateId: 模板id。
8890
+ # @type TemplateId: Integer
8891
+ # @param Url: 垫片内容。
8892
+ # @type Url: String
8893
+ # @param WaitDuration: 断流等待时间。
8894
+ # 取值范围:0-30000。
8895
+ # 单位:ms。
8896
+ # @type WaitDuration: Integer
8897
+ # @param MaxDuration: 最大垫片时长。
8898
+ # 取值范围:0 - 正无穷。
8899
+ # 单位:ms。
8900
+ # @type MaxDuration: Integer
8901
+ # @param TemplateName: 模板名称。
8902
+ # 长度上限:255字节。
8903
+ # 仅支持中文、英文、数字、_、-。
8904
+ # @type TemplateName: String
8905
+ # @param Description: 描述信息。
8906
+ # 长度上限:1024字节。
8907
+ # 仅支持中文、英文、数字、_、-。
8908
+ # @type Description: String
8909
+ # @param Type: 垫片内容类型: 1:图片,2:视频。 默认值:1。
8910
+ # @type Type: Integer
8911
+
8912
+ attr_accessor :TemplateId, :Url, :WaitDuration, :MaxDuration, :TemplateName, :Description, :Type
8913
+
8914
+ def initialize(templateid=nil, url=nil, waitduration=nil, maxduration=nil, templatename=nil, description=nil, type=nil)
8915
+ @TemplateId = templateid
8916
+ @Url = url
8917
+ @WaitDuration = waitduration
8918
+ @MaxDuration = maxduration
8919
+ @TemplateName = templatename
8920
+ @Description = description
8921
+ @Type = type
8922
+ end
8923
+
8924
+ def deserialize(params)
8925
+ @TemplateId = params['TemplateId']
8926
+ @Url = params['Url']
8927
+ @WaitDuration = params['WaitDuration']
8928
+ @MaxDuration = params['MaxDuration']
8929
+ @TemplateName = params['TemplateName']
8930
+ @Description = params['Description']
8931
+ @Type = params['Type']
8932
+ end
8933
+ end
8934
+
8935
+ # ModifyLivePadTemplate返回参数结构体
8936
+ class ModifyLivePadTemplateResponse < TencentCloud::Common::AbstractModel
8937
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8938
+ # @type RequestId: String
8939
+
8940
+ attr_accessor :RequestId
8941
+
8942
+ def initialize(requestid=nil)
8943
+ @RequestId = requestid
8944
+ end
8945
+
8946
+ def deserialize(params)
8947
+ @RequestId = params['RequestId']
8948
+ end
8949
+ end
8950
+
8050
8951
  # ModifyLivePlayAuthKey请求参数结构体
8051
8952
  class ModifyLivePlayAuthKeyRequest < TencentCloud::Common::AbstractModel
8052
8953
  # @param DomainName: 播放域名。
@@ -8515,6 +9416,97 @@ module TencentCloud
8515
9416
  end
8516
9417
  end
8517
9418
 
9419
+ # ModifyLiveStreamMonitor请求参数结构体
9420
+ class ModifyLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
9421
+ # @param MonitorId: 监播任务ID。
9422
+ # @type MonitorId: String
9423
+ # @param MonitorName: 监播任务的名称。长度128字节以内(一个汉字两个字节)。
9424
+ # @type MonitorName: String
9425
+ # @param OutputInfo: 监播任务输出信息。
9426
+ # @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorOutputInfo`
9427
+ # @param InputList: 待监播的输入流信息。
9428
+ # @type InputList: Array
9429
+ # @param NotifyPolicy: 监播事件通知策略。
9430
+ # @type NotifyPolicy: :class:`Tencentcloud::Live.v20180801.models.LiveStreamMonitorNotifyPolicy`
9431
+ # @param AsrLanguage: 智能语音识别语种:
9432
+ # 0 关闭 1 中文 2 英文 3 日文 4 韩文。
9433
+ # @type AsrLanguage: Integer
9434
+ # @param OcrLanguage: 智能文字识别语种:
9435
+ # 0 关闭 1 中、英文。
9436
+ # @type OcrLanguage: Integer
9437
+ # @param AiAsrInputIndexList: 语音识别输入流列表,1代表第一条输入流。
9438
+ # @type AiAsrInputIndexList: Array
9439
+ # @param AiOcrInputIndexList: 文字识别输入流列表,1代表第一条输入流。
9440
+ # @type AiOcrInputIndexList: Array
9441
+ # @param CheckStreamBroken: 是否开启断流检测。
9442
+ # @type CheckStreamBroken: Integer
9443
+ # @param CheckStreamLowFrameRate: 是否开启低帧率检测。
9444
+ # @type CheckStreamLowFrameRate: Integer
9445
+ # @param AllowMonitorReport: 是否存储监播事件到监播报告,以及是否允许查询监播报告。
9446
+ # @type AllowMonitorReport: Integer
9447
+
9448
+ attr_accessor :MonitorId, :MonitorName, :OutputInfo, :InputList, :NotifyPolicy, :AsrLanguage, :OcrLanguage, :AiAsrInputIndexList, :AiOcrInputIndexList, :CheckStreamBroken, :CheckStreamLowFrameRate, :AllowMonitorReport
9449
+
9450
+ def initialize(monitorid=nil, monitorname=nil, outputinfo=nil, inputlist=nil, notifypolicy=nil, asrlanguage=nil, ocrlanguage=nil, aiasrinputindexlist=nil, aiocrinputindexlist=nil, checkstreambroken=nil, checkstreamlowframerate=nil, allowmonitorreport=nil)
9451
+ @MonitorId = monitorid
9452
+ @MonitorName = monitorname
9453
+ @OutputInfo = outputinfo
9454
+ @InputList = inputlist
9455
+ @NotifyPolicy = notifypolicy
9456
+ @AsrLanguage = asrlanguage
9457
+ @OcrLanguage = ocrlanguage
9458
+ @AiAsrInputIndexList = aiasrinputindexlist
9459
+ @AiOcrInputIndexList = aiocrinputindexlist
9460
+ @CheckStreamBroken = checkstreambroken
9461
+ @CheckStreamLowFrameRate = checkstreamlowframerate
9462
+ @AllowMonitorReport = allowmonitorreport
9463
+ end
9464
+
9465
+ def deserialize(params)
9466
+ @MonitorId = params['MonitorId']
9467
+ @MonitorName = params['MonitorName']
9468
+ unless params['OutputInfo'].nil?
9469
+ @OutputInfo = LiveStreamMonitorOutputInfo.new
9470
+ @OutputInfo.deserialize(params['OutputInfo'])
9471
+ end
9472
+ unless params['InputList'].nil?
9473
+ @InputList = []
9474
+ params['InputList'].each do |i|
9475
+ livestreammonitorinputinfo_tmp = LiveStreamMonitorInputInfo.new
9476
+ livestreammonitorinputinfo_tmp.deserialize(i)
9477
+ @InputList << livestreammonitorinputinfo_tmp
9478
+ end
9479
+ end
9480
+ unless params['NotifyPolicy'].nil?
9481
+ @NotifyPolicy = LiveStreamMonitorNotifyPolicy.new
9482
+ @NotifyPolicy.deserialize(params['NotifyPolicy'])
9483
+ end
9484
+ @AsrLanguage = params['AsrLanguage']
9485
+ @OcrLanguage = params['OcrLanguage']
9486
+ @AiAsrInputIndexList = params['AiAsrInputIndexList']
9487
+ @AiOcrInputIndexList = params['AiOcrInputIndexList']
9488
+ @CheckStreamBroken = params['CheckStreamBroken']
9489
+ @CheckStreamLowFrameRate = params['CheckStreamLowFrameRate']
9490
+ @AllowMonitorReport = params['AllowMonitorReport']
9491
+ end
9492
+ end
9493
+
9494
+ # ModifyLiveStreamMonitor返回参数结构体
9495
+ class ModifyLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
9496
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9497
+ # @type RequestId: String
9498
+
9499
+ attr_accessor :RequestId
9500
+
9501
+ def initialize(requestid=nil)
9502
+ @RequestId = requestid
9503
+ end
9504
+
9505
+ def deserialize(params)
9506
+ @RequestId = params['RequestId']
9507
+ end
9508
+ end
9509
+
8518
9510
  # ModifyLiveTimeShiftTemplate请求参数结构体
8519
9511
  class ModifyLiveTimeShiftTemplateRequest < TencentCloud::Common::AbstractModel
8520
9512
  # @param TemplateId: 时移模板id。
@@ -8885,6 +9877,58 @@ module TencentCloud
8885
9877
  end
8886
9878
  end
8887
9879
 
9880
+ # 直播垫片模板。
9881
+ class PadTemplate < TencentCloud::Common::AbstractModel
9882
+ # @param TemplateId: 模板id。
9883
+ # @type TemplateId: Integer
9884
+ # @param TemplateName: 模板名称。
9885
+ # @type TemplateName: String
9886
+ # @param Url: 垫片内容。
9887
+ # @type Url: String
9888
+ # @param CreateTime: 模板创建时间。
9889
+ # @type CreateTime: String
9890
+ # @param UpdateTime: 模板修改时间。
9891
+ # @type UpdateTime: String
9892
+ # @param Description: 模板描述。
9893
+ # @type Description: String
9894
+ # @param WaitDuration: 断流等待时间。
9895
+ # 取值范围:0-30000。
9896
+ # 单位:ms。
9897
+ # @type WaitDuration: Integer
9898
+ # @param MaxDuration: 最大垫片时长。
9899
+ # 取值范围:0 - 正无穷。
9900
+ # 单位:ms。
9901
+ # @type MaxDuration: Integer
9902
+ # @param Type: 垫片内容类型: 1:图片,2:视频。 默认值:1。
9903
+ # @type Type: Integer
9904
+
9905
+ attr_accessor :TemplateId, :TemplateName, :Url, :CreateTime, :UpdateTime, :Description, :WaitDuration, :MaxDuration, :Type
9906
+
9907
+ def initialize(templateid=nil, templatename=nil, url=nil, createtime=nil, updatetime=nil, description=nil, waitduration=nil, maxduration=nil, type=nil)
9908
+ @TemplateId = templateid
9909
+ @TemplateName = templatename
9910
+ @Url = url
9911
+ @CreateTime = createtime
9912
+ @UpdateTime = updatetime
9913
+ @Description = description
9914
+ @WaitDuration = waitduration
9915
+ @MaxDuration = maxduration
9916
+ @Type = type
9917
+ end
9918
+
9919
+ def deserialize(params)
9920
+ @TemplateId = params['TemplateId']
9921
+ @TemplateName = params['TemplateName']
9922
+ @Url = params['Url']
9923
+ @CreateTime = params['CreateTime']
9924
+ @UpdateTime = params['UpdateTime']
9925
+ @Description = params['Description']
9926
+ @WaitDuration = params['WaitDuration']
9927
+ @MaxDuration = params['MaxDuration']
9928
+ @Type = params['Type']
9929
+ end
9930
+ end
9931
+
8888
9932
  # 播放鉴权key信息。
8889
9933
  class PlayAuthKeyInfo < TencentCloud::Common::AbstractModel
8890
9934
  # @param DomainName: 域名。
@@ -9871,6 +10915,42 @@ module TencentCloud
9871
10915
  end
9872
10916
  end
9873
10917
 
10918
+ # RestartLivePullStreamTask请求参数结构体
10919
+ class RestartLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
10920
+ # @param TaskId: 任务 Id。
10921
+ # @type TaskId: String
10922
+ # @param Operator: 操作人备注名称。
10923
+ # @type Operator: String
10924
+
10925
+ attr_accessor :TaskId, :Operator
10926
+
10927
+ def initialize(taskid=nil, operator=nil)
10928
+ @TaskId = taskid
10929
+ @Operator = operator
10930
+ end
10931
+
10932
+ def deserialize(params)
10933
+ @TaskId = params['TaskId']
10934
+ @Operator = params['Operator']
10935
+ end
10936
+ end
10937
+
10938
+ # RestartLivePullStreamTask返回参数结构体
10939
+ class RestartLivePullStreamTaskResponse < TencentCloud::Common::AbstractModel
10940
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10941
+ # @type RequestId: String
10942
+
10943
+ attr_accessor :RequestId
10944
+
10945
+ def initialize(requestid=nil)
10946
+ @RequestId = requestid
10947
+ end
10948
+
10949
+ def deserialize(params)
10950
+ @RequestId = params['RequestId']
10951
+ end
10952
+ end
10953
+
9874
10954
  # ResumeDelayLiveStream请求参数结构体
9875
10955
  class ResumeDelayLiveStreamRequest < TencentCloud::Common::AbstractModel
9876
10956
  # @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为live。
@@ -10097,6 +11177,44 @@ module TencentCloud
10097
11177
  end
10098
11178
  end
10099
11179
 
11180
+ # StartLiveStreamMonitor请求参数结构体
11181
+ class StartLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
11182
+ # @param MonitorId: 监播ID。
11183
+ # @type MonitorId: String
11184
+ # @param AudibleInputIndexList: 监播画面声音InputIndex,支持多个输入声音。
11185
+ # 取值范围 InputIndex必须已经存在。
11186
+ # 不填默认无声音输出。
11187
+ # @type AudibleInputIndexList: Array
11188
+
11189
+ attr_accessor :MonitorId, :AudibleInputIndexList
11190
+
11191
+ def initialize(monitorid=nil, audibleinputindexlist=nil)
11192
+ @MonitorId = monitorid
11193
+ @AudibleInputIndexList = audibleinputindexlist
11194
+ end
11195
+
11196
+ def deserialize(params)
11197
+ @MonitorId = params['MonitorId']
11198
+ @AudibleInputIndexList = params['AudibleInputIndexList']
11199
+ end
11200
+ end
11201
+
11202
+ # StartLiveStreamMonitor返回参数结构体
11203
+ class StartLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
11204
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11205
+ # @type RequestId: String
11206
+
11207
+ attr_accessor :RequestId
11208
+
11209
+ def initialize(requestid=nil)
11210
+ @RequestId = requestid
11211
+ end
11212
+
11213
+ def deserialize(params)
11214
+ @RequestId = params['RequestId']
11215
+ end
11216
+ end
11217
+
10100
11218
  # StopLiveRecord请求参数结构体
10101
11219
  class StopLiveRecordRequest < TencentCloud::Common::AbstractModel
10102
11220
  # @param StreamName: 流名称。
@@ -10133,6 +11251,38 @@ module TencentCloud
10133
11251
  end
10134
11252
  end
10135
11253
 
11254
+ # StopLiveStreamMonitor请求参数结构体
11255
+ class StopLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
11256
+ # @param MonitorId: 监播ID
11257
+ # @type MonitorId: String
11258
+
11259
+ attr_accessor :MonitorId
11260
+
11261
+ def initialize(monitorid=nil)
11262
+ @MonitorId = monitorid
11263
+ end
11264
+
11265
+ def deserialize(params)
11266
+ @MonitorId = params['MonitorId']
11267
+ end
11268
+ end
11269
+
11270
+ # StopLiveStreamMonitor返回参数结构体
11271
+ class StopLiveStreamMonitorResponse < TencentCloud::Common::AbstractModel
11272
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11273
+ # @type RequestId: String
11274
+
11275
+ attr_accessor :RequestId
11276
+
11277
+ def initialize(requestid=nil)
11278
+ @RequestId = requestid
11279
+ end
11280
+
11281
+ def deserialize(params)
11282
+ @RequestId = params['RequestId']
11283
+ end
11284
+ end
11285
+
10136
11286
  # StopRecordTask请求参数结构体
10137
11287
  class StopRecordTaskRequest < TencentCloud::Common::AbstractModel
10138
11288
  # @param TaskId: 录制任务ID。