tencentcloud-sdk-mps 3.0.443 → 3.0.445

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.
@@ -4165,6 +4165,414 @@ module TencentCloud
4165
4165
  end
4166
4166
  end
4167
4167
 
4168
+ # 创建输入的配置信息。
4169
+ class CreateInput < TencentCloud::Common::AbstractModel
4170
+ # @param InputName: 输入名称,可填大小写、数字和下划线,长度为[1, 32]。
4171
+ # @type InputName: String
4172
+ # @param Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
4173
+ # @type Protocol: String
4174
+ # @param Description: 输入描述,长度为[0, 255]。
4175
+ # @type Description: String
4176
+ # @param AllowIpList: 输入的IP白名单,格式为CIDR。
4177
+ # @type AllowIpList: Array
4178
+ # @param SRTSettings: 输入的SRT配置信息。
4179
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputSRTSettings`
4180
+ # @param RTPSettings: 输入的RTP配置信息。
4181
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTPSettings`
4182
+ # @param FailOver: 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。
4183
+ # @type FailOver: String
4184
+ # @param RTMPPullSettings: 输入的RTMP_PULL配置信息。
4185
+ # @type RTMPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTMPPullSettings`
4186
+ # @param RTSPPullSettings: 输入的RTSP_PULL配置信息。
4187
+ # @type RTSPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTSPPullSettings`
4188
+
4189
+ attr_accessor :InputName, :Protocol, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :FailOver, :RTMPPullSettings, :RTSPPullSettings
4190
+
4191
+ def initialize(inputname=nil, protocol=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil)
4192
+ @InputName = inputname
4193
+ @Protocol = protocol
4194
+ @Description = description
4195
+ @AllowIpList = allowiplist
4196
+ @SRTSettings = srtsettings
4197
+ @RTPSettings = rtpsettings
4198
+ @FailOver = failover
4199
+ @RTMPPullSettings = rtmppullsettings
4200
+ @RTSPPullSettings = rtsppullsettings
4201
+ end
4202
+
4203
+ def deserialize(params)
4204
+ @InputName = params['InputName']
4205
+ @Protocol = params['Protocol']
4206
+ @Description = params['Description']
4207
+ @AllowIpList = params['AllowIpList']
4208
+ unless params['SRTSettings'].nil?
4209
+ @SRTSettings = CreateInputSRTSettings.new
4210
+ @SRTSettings.deserialize(params['SRTSettings'])
4211
+ end
4212
+ unless params['RTPSettings'].nil?
4213
+ @RTPSettings = CreateInputRTPSettings.new
4214
+ @RTPSettings.deserialize(params['RTPSettings'])
4215
+ end
4216
+ @FailOver = params['FailOver']
4217
+ unless params['RTMPPullSettings'].nil?
4218
+ @RTMPPullSettings = CreateInputRTMPPullSettings.new
4219
+ @RTMPPullSettings.deserialize(params['RTMPPullSettings'])
4220
+ end
4221
+ unless params['RTSPPullSettings'].nil?
4222
+ @RTSPPullSettings = CreateInputRTSPPullSettings.new
4223
+ @RTSPPullSettings.deserialize(params['RTSPPullSettings'])
4224
+ end
4225
+ end
4226
+ end
4227
+
4228
+ # 创建的输入RTMP拉流的配置信息。
4229
+ class CreateInputRTMPPullSettings < TencentCloud::Common::AbstractModel
4230
+ # @param SourceAddresses: RTMP源站的源站地址,有且只能有一个。
4231
+ # @type SourceAddresses: Array
4232
+
4233
+ attr_accessor :SourceAddresses
4234
+
4235
+ def initialize(sourceaddresses=nil)
4236
+ @SourceAddresses = sourceaddresses
4237
+ end
4238
+
4239
+ def deserialize(params)
4240
+ unless params['SourceAddresses'].nil?
4241
+ @SourceAddresses = []
4242
+ params['SourceAddresses'].each do |i|
4243
+ rtmppullsourceaddress_tmp = RTMPPullSourceAddress.new
4244
+ rtmppullsourceaddress_tmp.deserialize(i)
4245
+ @SourceAddresses << rtmppullsourceaddress_tmp
4246
+ end
4247
+ end
4248
+ end
4249
+ end
4250
+
4251
+ # 创建输入的RTP配置信息。
4252
+ class CreateInputRTPSettings < TencentCloud::Common::AbstractModel
4253
+ # @param FEC: 默认为“none”,可选值['none']。
4254
+ # @type FEC: String
4255
+ # @param IdleTimeout: 空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
4256
+ # @type IdleTimeout: Integer
4257
+
4258
+ attr_accessor :FEC, :IdleTimeout
4259
+
4260
+ def initialize(fec=nil, idletimeout=nil)
4261
+ @FEC = fec
4262
+ @IdleTimeout = idletimeout
4263
+ end
4264
+
4265
+ def deserialize(params)
4266
+ @FEC = params['FEC']
4267
+ @IdleTimeout = params['IdleTimeout']
4268
+ end
4269
+ end
4270
+
4271
+ # 创建的输入RTSP拉流的配置信息。
4272
+ class CreateInputRTSPPullSettings < TencentCloud::Common::AbstractModel
4273
+ # @param SourceAddresses: RTSP源站的源站地址,有且只能有一个。
4274
+ # @type SourceAddresses: Array
4275
+
4276
+ attr_accessor :SourceAddresses
4277
+
4278
+ def initialize(sourceaddresses=nil)
4279
+ @SourceAddresses = sourceaddresses
4280
+ end
4281
+
4282
+ def deserialize(params)
4283
+ unless params['SourceAddresses'].nil?
4284
+ @SourceAddresses = []
4285
+ params['SourceAddresses'].each do |i|
4286
+ rtsppullsourceaddress_tmp = RTSPPullSourceAddress.new
4287
+ rtsppullsourceaddress_tmp.deserialize(i)
4288
+ @SourceAddresses << rtsppullsourceaddress_tmp
4289
+ end
4290
+ end
4291
+ end
4292
+ end
4293
+
4294
+ # 创建的输入SRT的配置信息。
4295
+ class CreateInputSRTSettings < TencentCloud::Common::AbstractModel
4296
+ # @param Mode: SRT模式,可选[LISTENER|CALLER],默认为LISTENER。
4297
+ # @type Mode: String
4298
+ # @param StreamId: 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
4299
+ # @type StreamId: String
4300
+ # @param Latency: 延迟,默认0,单位ms,范围为[0, 3000]。
4301
+ # @type Latency: Integer
4302
+ # @param RecvLatency: 接收延迟,默认120,单位ms,范围为[0, 3000]。
4303
+ # @type RecvLatency: Integer
4304
+ # @param PeerLatency: 对端延迟,默认0,单位ms,范围为[0, 3000]。
4305
+ # @type PeerLatency: Integer
4306
+ # @param PeerIdleTimeout: 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。
4307
+ # @type PeerIdleTimeout: Integer
4308
+ # @param Passphrase: 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
4309
+ # @type Passphrase: String
4310
+ # @param PbKeyLen: 密钥长度,默认为0,可选[0|16|24|32]。
4311
+ # @type PbKeyLen: Integer
4312
+ # @param SourceAddresses: SRT对端地址,当Mode为CALLER时必填,且只能填1组。
4313
+ # @type SourceAddresses: Array
4314
+
4315
+ attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses
4316
+
4317
+ def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil)
4318
+ @Mode = mode
4319
+ @StreamId = streamid
4320
+ @Latency = latency
4321
+ @RecvLatency = recvlatency
4322
+ @PeerLatency = peerlatency
4323
+ @PeerIdleTimeout = peeridletimeout
4324
+ @Passphrase = passphrase
4325
+ @PbKeyLen = pbkeylen
4326
+ @SourceAddresses = sourceaddresses
4327
+ end
4328
+
4329
+ def deserialize(params)
4330
+ @Mode = params['Mode']
4331
+ @StreamId = params['StreamId']
4332
+ @Latency = params['Latency']
4333
+ @RecvLatency = params['RecvLatency']
4334
+ @PeerLatency = params['PeerLatency']
4335
+ @PeerIdleTimeout = params['PeerIdleTimeout']
4336
+ @Passphrase = params['Passphrase']
4337
+ @PbKeyLen = params['PbKeyLen']
4338
+ unless params['SourceAddresses'].nil?
4339
+ @SourceAddresses = []
4340
+ params['SourceAddresses'].each do |i|
4341
+ srtsourceaddressreq_tmp = SRTSourceAddressReq.new
4342
+ srtsourceaddressreq_tmp.deserialize(i)
4343
+ @SourceAddresses << srtsourceaddressreq_tmp
4344
+ end
4345
+ end
4346
+ end
4347
+ end
4348
+
4349
+ # 创建输出的配置信息。
4350
+ class CreateOutputInfo < TencentCloud::Common::AbstractModel
4351
+ # @param OutputName: 输出的名称。
4352
+ # @type OutputName: String
4353
+ # @param Description: 输出描述。
4354
+ # @type Description: String
4355
+ # @param Protocol: 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
4356
+ # @type Protocol: String
4357
+ # @param OutputRegion: 输出地区。
4358
+ # @type OutputRegion: String
4359
+ # @param SRTSettings: 输出的SRT的配置。
4360
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputSRTSettings`
4361
+ # @param RTMPSettings: 输出的RTMP的配置。
4362
+ # @type RTMPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputRTMPSettings`
4363
+ # @param RTPSettings: 输出的RTP的配置。
4364
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputInfoRTPSettings`
4365
+ # @param AllowIpList: IP白名单列表,格式为CIDR,如0.0.0.0/0。
4366
+ # 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
4367
+ # @type AllowIpList: Array
4368
+
4369
+ attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList
4370
+
4371
+ def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil)
4372
+ @OutputName = outputname
4373
+ @Description = description
4374
+ @Protocol = protocol
4375
+ @OutputRegion = outputregion
4376
+ @SRTSettings = srtsettings
4377
+ @RTMPSettings = rtmpsettings
4378
+ @RTPSettings = rtpsettings
4379
+ @AllowIpList = allowiplist
4380
+ end
4381
+
4382
+ def deserialize(params)
4383
+ @OutputName = params['OutputName']
4384
+ @Description = params['Description']
4385
+ @Protocol = params['Protocol']
4386
+ @OutputRegion = params['OutputRegion']
4387
+ unless params['SRTSettings'].nil?
4388
+ @SRTSettings = CreateOutputSRTSettings.new
4389
+ @SRTSettings.deserialize(params['SRTSettings'])
4390
+ end
4391
+ unless params['RTMPSettings'].nil?
4392
+ @RTMPSettings = CreateOutputRTMPSettings.new
4393
+ @RTMPSettings.deserialize(params['RTMPSettings'])
4394
+ end
4395
+ unless params['RTPSettings'].nil?
4396
+ @RTPSettings = CreateOutputInfoRTPSettings.new
4397
+ @RTPSettings.deserialize(params['RTPSettings'])
4398
+ end
4399
+ @AllowIpList = params['AllowIpList']
4400
+ end
4401
+ end
4402
+
4403
+ # 创建媒体传输流的输出的RTP配置。
4404
+ class CreateOutputInfoRTPSettings < TencentCloud::Common::AbstractModel
4405
+ # @param Destinations: 转推的目标地址,可填1~2个。
4406
+ # @type Destinations: Array
4407
+ # @param FEC: 只能填none。
4408
+ # @type FEC: String
4409
+ # @param IdleTimeout: 空闲超时时间,单位ms。
4410
+ # @type IdleTimeout: Integer
4411
+
4412
+ attr_accessor :Destinations, :FEC, :IdleTimeout
4413
+
4414
+ def initialize(destinations=nil, fec=nil, idletimeout=nil)
4415
+ @Destinations = destinations
4416
+ @FEC = fec
4417
+ @IdleTimeout = idletimeout
4418
+ end
4419
+
4420
+ def deserialize(params)
4421
+ unless params['Destinations'].nil?
4422
+ @Destinations = []
4423
+ params['Destinations'].each do |i|
4424
+ createoutputrtpsettingsdestinations_tmp = CreateOutputRTPSettingsDestinations.new
4425
+ createoutputrtpsettingsdestinations_tmp.deserialize(i)
4426
+ @Destinations << createoutputrtpsettingsdestinations_tmp
4427
+ end
4428
+ end
4429
+ @FEC = params['FEC']
4430
+ @IdleTimeout = params['IdleTimeout']
4431
+ end
4432
+ end
4433
+
4434
+ # 创建媒体传输流的输出的RTMP配置。
4435
+ class CreateOutputRTMPSettings < TencentCloud::Common::AbstractModel
4436
+ # @param Destinations: 转推的目标地址,可填1~2个。
4437
+ # @type Destinations: Array
4438
+ # @param ChunkSize: RTMP的Chunk大小,范围为[4096, 40960]。
4439
+ # @type ChunkSize: Integer
4440
+
4441
+ attr_accessor :Destinations, :ChunkSize
4442
+
4443
+ def initialize(destinations=nil, chunksize=nil)
4444
+ @Destinations = destinations
4445
+ @ChunkSize = chunksize
4446
+ end
4447
+
4448
+ def deserialize(params)
4449
+ unless params['Destinations'].nil?
4450
+ @Destinations = []
4451
+ params['Destinations'].each do |i|
4452
+ createoutputrtmpsettingsdestinations_tmp = CreateOutputRtmpSettingsDestinations.new
4453
+ createoutputrtmpsettingsdestinations_tmp.deserialize(i)
4454
+ @Destinations << createoutputrtmpsettingsdestinations_tmp
4455
+ end
4456
+ end
4457
+ @ChunkSize = params['ChunkSize']
4458
+ end
4459
+ end
4460
+
4461
+ # 创建媒体传输流的输出的RTP的目标地址。
4462
+ class CreateOutputRTPSettingsDestinations < TencentCloud::Common::AbstractModel
4463
+ # @param Ip: 转推的目标IP。
4464
+ # @type Ip: String
4465
+ # @param Port: 转推的目标端口。
4466
+ # @type Port: Integer
4467
+
4468
+ attr_accessor :Ip, :Port
4469
+
4470
+ def initialize(ip=nil, port=nil)
4471
+ @Ip = ip
4472
+ @Port = port
4473
+ end
4474
+
4475
+ def deserialize(params)
4476
+ @Ip = params['Ip']
4477
+ @Port = params['Port']
4478
+ end
4479
+ end
4480
+
4481
+ # 创建媒体传输流的输出的RTMP的目标地址。
4482
+ class CreateOutputRtmpSettingsDestinations < TencentCloud::Common::AbstractModel
4483
+ # @param Url: 转推的URL,格式如:rtmp://domain/live。
4484
+ # @type Url: String
4485
+ # @param StreamKey: 转推的StreamKey,格式如:stream?key=value。
4486
+ # @type StreamKey: String
4487
+
4488
+ attr_accessor :Url, :StreamKey
4489
+
4490
+ def initialize(url=nil, streamkey=nil)
4491
+ @Url = url
4492
+ @StreamKey = streamkey
4493
+ end
4494
+
4495
+ def deserialize(params)
4496
+ @Url = params['Url']
4497
+ @StreamKey = params['StreamKey']
4498
+ end
4499
+ end
4500
+
4501
+ # 创建媒体传输流的输出的SRT配置。
4502
+ class CreateOutputSRTSettings < TencentCloud::Common::AbstractModel
4503
+ # @param Destinations: 转推的目标地址,当Mode为CALLER时必填,且只能填1组。
4504
+ # @type Destinations: Array
4505
+ # @param StreamId: 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
4506
+ # @type StreamId: String
4507
+ # @param Latency: 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。
4508
+ # @type Latency: Integer
4509
+ # @param RecvLatency: 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
4510
+ # @type RecvLatency: Integer
4511
+ # @param PeerLatency: 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
4512
+ # @type PeerLatency: Integer
4513
+ # @param PeerIdleTimeout: 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
4514
+ # @type PeerIdleTimeout: Integer
4515
+ # @param Passphrase: 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
4516
+ # @type Passphrase: String
4517
+ # @param PbKeyLen: 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。
4518
+ # @type PbKeyLen: Integer
4519
+ # @param Mode: SRT模式,可选[LISTENER|CALLER],默认为CALLER。
4520
+ # @type Mode: String
4521
+
4522
+ attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode
4523
+
4524
+ def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil)
4525
+ @Destinations = destinations
4526
+ @StreamId = streamid
4527
+ @Latency = latency
4528
+ @RecvLatency = recvlatency
4529
+ @PeerLatency = peerlatency
4530
+ @PeerIdleTimeout = peeridletimeout
4531
+ @Passphrase = passphrase
4532
+ @PbKeyLen = pbkeylen
4533
+ @Mode = mode
4534
+ end
4535
+
4536
+ def deserialize(params)
4537
+ unless params['Destinations'].nil?
4538
+ @Destinations = []
4539
+ params['Destinations'].each do |i|
4540
+ createoutputsrtsettingsdestinations_tmp = CreateOutputSRTSettingsDestinations.new
4541
+ createoutputsrtsettingsdestinations_tmp.deserialize(i)
4542
+ @Destinations << createoutputsrtsettingsdestinations_tmp
4543
+ end
4544
+ end
4545
+ @StreamId = params['StreamId']
4546
+ @Latency = params['Latency']
4547
+ @RecvLatency = params['RecvLatency']
4548
+ @PeerLatency = params['PeerLatency']
4549
+ @PeerIdleTimeout = params['PeerIdleTimeout']
4550
+ @Passphrase = params['Passphrase']
4551
+ @PbKeyLen = params['PbKeyLen']
4552
+ @Mode = params['Mode']
4553
+ end
4554
+ end
4555
+
4556
+ # 创建媒体传输流的输出SRT的目标地址。
4557
+ class CreateOutputSRTSettingsDestinations < TencentCloud::Common::AbstractModel
4558
+ # @param Ip: 输出的IP。
4559
+ # @type Ip: String
4560
+ # @param Port: 输出的端口。
4561
+ # @type Port: Integer
4562
+
4563
+ attr_accessor :Ip, :Port
4564
+
4565
+ def initialize(ip=nil, port=nil)
4566
+ @Ip = ip
4567
+ @Port = port
4568
+ end
4569
+
4570
+ def deserialize(params)
4571
+ @Ip = params['Ip']
4572
+ @Port = params['Port']
4573
+ end
4574
+ end
4575
+
4168
4576
  # CreatePersonSample请求参数结构体
4169
4577
  class CreatePersonSampleRequest < TencentCloud::Common::AbstractModel
4170
4578
  # @param Name: 素材名称,长度限制:20 个字符。
@@ -4405,6 +4813,106 @@ module TencentCloud
4405
4813
  end
4406
4814
  end
4407
4815
 
4816
+ # CreateStreamLinkFlow请求参数结构体
4817
+ class CreateStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
4818
+ # @param FlowName: 流名称。
4819
+ # @type FlowName: String
4820
+ # @param MaxBandwidth: 最大带宽,单位bps,可选[10000000, 20000000, 50000000]。
4821
+ # @type MaxBandwidth: Integer
4822
+ # @param InputGroup: 流的输入组。
4823
+ # @type InputGroup: Array
4824
+
4825
+ attr_accessor :FlowName, :MaxBandwidth, :InputGroup
4826
+
4827
+ def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil)
4828
+ @FlowName = flowname
4829
+ @MaxBandwidth = maxbandwidth
4830
+ @InputGroup = inputgroup
4831
+ end
4832
+
4833
+ def deserialize(params)
4834
+ @FlowName = params['FlowName']
4835
+ @MaxBandwidth = params['MaxBandwidth']
4836
+ unless params['InputGroup'].nil?
4837
+ @InputGroup = []
4838
+ params['InputGroup'].each do |i|
4839
+ createinput_tmp = CreateInput.new
4840
+ createinput_tmp.deserialize(i)
4841
+ @InputGroup << createinput_tmp
4842
+ end
4843
+ end
4844
+ end
4845
+ end
4846
+
4847
+ # CreateStreamLinkFlow返回参数结构体
4848
+ class CreateStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
4849
+ # @param Info: 创建的Flow信息。
4850
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeFlow`
4851
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4852
+ # @type RequestId: String
4853
+
4854
+ attr_accessor :Info, :RequestId
4855
+
4856
+ def initialize(info=nil, requestid=nil)
4857
+ @Info = info
4858
+ @RequestId = requestid
4859
+ end
4860
+
4861
+ def deserialize(params)
4862
+ unless params['Info'].nil?
4863
+ @Info = DescribeFlow.new
4864
+ @Info.deserialize(params['Info'])
4865
+ end
4866
+ @RequestId = params['RequestId']
4867
+ end
4868
+ end
4869
+
4870
+ # CreateStreamLinkOutputInfo请求参数结构体
4871
+ class CreateStreamLinkOutputInfoRequest < TencentCloud::Common::AbstractModel
4872
+ # @param FlowId: 传输流Id。
4873
+ # @type FlowId: String
4874
+ # @param Output: 传输流的Output配置。
4875
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputInfo`
4876
+
4877
+ attr_accessor :FlowId, :Output
4878
+
4879
+ def initialize(flowid=nil, output=nil)
4880
+ @FlowId = flowid
4881
+ @Output = output
4882
+ end
4883
+
4884
+ def deserialize(params)
4885
+ @FlowId = params['FlowId']
4886
+ unless params['Output'].nil?
4887
+ @Output = CreateOutputInfo.new
4888
+ @Output.deserialize(params['Output'])
4889
+ end
4890
+ end
4891
+ end
4892
+
4893
+ # CreateStreamLinkOutputInfo返回参数结构体
4894
+ class CreateStreamLinkOutputInfoResponse < TencentCloud::Common::AbstractModel
4895
+ # @param Info: 创建后的Output信息。
4896
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutput`
4897
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4898
+ # @type RequestId: String
4899
+
4900
+ attr_accessor :Info, :RequestId
4901
+
4902
+ def initialize(info=nil, requestid=nil)
4903
+ @Info = info
4904
+ @RequestId = requestid
4905
+ end
4906
+
4907
+ def deserialize(params)
4908
+ unless params['Info'].nil?
4909
+ @Info = DescribeOutput.new
4910
+ @Info.deserialize(params['Info'])
4911
+ end
4912
+ @RequestId = params['RequestId']
4913
+ end
4914
+ end
4915
+
4408
4916
  # CreateTranscodeTemplate请求参数结构体
4409
4917
  class CreateTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
4410
4918
  # @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
@@ -5018,6 +5526,74 @@ module TencentCloud
5018
5526
  end
5019
5527
  end
5020
5528
 
5529
+ # DeleteStreamLinkFlow请求参数结构体
5530
+ class DeleteStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
5531
+ # @param FlowId: 传输流Id。
5532
+ # @type FlowId: String
5533
+
5534
+ attr_accessor :FlowId
5535
+
5536
+ def initialize(flowid=nil)
5537
+ @FlowId = flowid
5538
+ end
5539
+
5540
+ def deserialize(params)
5541
+ @FlowId = params['FlowId']
5542
+ end
5543
+ end
5544
+
5545
+ # DeleteStreamLinkFlow返回参数结构体
5546
+ class DeleteStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
5547
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5548
+ # @type RequestId: String
5549
+
5550
+ attr_accessor :RequestId
5551
+
5552
+ def initialize(requestid=nil)
5553
+ @RequestId = requestid
5554
+ end
5555
+
5556
+ def deserialize(params)
5557
+ @RequestId = params['RequestId']
5558
+ end
5559
+ end
5560
+
5561
+ # DeleteStreamLinkOutput请求参数结构体
5562
+ class DeleteStreamLinkOutputRequest < TencentCloud::Common::AbstractModel
5563
+ # @param FlowId: 流Id。
5564
+ # @type FlowId: String
5565
+ # @param OutputId: 输出Id。
5566
+ # @type OutputId: String
5567
+
5568
+ attr_accessor :FlowId, :OutputId
5569
+
5570
+ def initialize(flowid=nil, outputid=nil)
5571
+ @FlowId = flowid
5572
+ @OutputId = outputid
5573
+ end
5574
+
5575
+ def deserialize(params)
5576
+ @FlowId = params['FlowId']
5577
+ @OutputId = params['OutputId']
5578
+ end
5579
+ end
5580
+
5581
+ # DeleteStreamLinkOutput返回参数结构体
5582
+ class DeleteStreamLinkOutputResponse < TencentCloud::Common::AbstractModel
5583
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5584
+ # @type RequestId: String
5585
+
5586
+ attr_accessor :RequestId
5587
+
5588
+ def initialize(requestid=nil)
5589
+ @RequestId = requestid
5590
+ end
5591
+
5592
+ def deserialize(params)
5593
+ @RequestId = params['RequestId']
5594
+ end
5595
+ end
5596
+
5021
5597
  # DeleteTranscodeTemplate请求参数结构体
5022
5598
  class DeleteTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
5023
5599
  # @param Definition: 转码模板唯一标识。
@@ -5451,6 +6027,57 @@ module TencentCloud
5451
6027
  end
5452
6028
  end
5453
6029
 
6030
+ # 查询Flow的配置信息。
6031
+ class DescribeFlow < TencentCloud::Common::AbstractModel
6032
+ # @param FlowId: 流Id。
6033
+ # @type FlowId: String
6034
+ # @param FlowName: 流名称。
6035
+ # @type FlowName: String
6036
+ # @param State: 流状态,目前有IDLE/RUNNING。
6037
+ # @type State: String
6038
+ # @param MaxBandwidth: 最大带宽值。
6039
+ # @type MaxBandwidth: Integer
6040
+ # @param InputGroup: 输入组。
6041
+ # @type InputGroup: Array
6042
+ # @param OutputGroup: 输出组。
6043
+ # 注意:此字段可能返回 null,表示取不到有效值。
6044
+ # @type OutputGroup: Array
6045
+
6046
+ attr_accessor :FlowId, :FlowName, :State, :MaxBandwidth, :InputGroup, :OutputGroup
6047
+
6048
+ def initialize(flowid=nil, flowname=nil, state=nil, maxbandwidth=nil, inputgroup=nil, outputgroup=nil)
6049
+ @FlowId = flowid
6050
+ @FlowName = flowname
6051
+ @State = state
6052
+ @MaxBandwidth = maxbandwidth
6053
+ @InputGroup = inputgroup
6054
+ @OutputGroup = outputgroup
6055
+ end
6056
+
6057
+ def deserialize(params)
6058
+ @FlowId = params['FlowId']
6059
+ @FlowName = params['FlowName']
6060
+ @State = params['State']
6061
+ @MaxBandwidth = params['MaxBandwidth']
6062
+ unless params['InputGroup'].nil?
6063
+ @InputGroup = []
6064
+ params['InputGroup'].each do |i|
6065
+ describeinput_tmp = DescribeInput.new
6066
+ describeinput_tmp.deserialize(i)
6067
+ @InputGroup << describeinput_tmp
6068
+ end
6069
+ end
6070
+ unless params['OutputGroup'].nil?
6071
+ @OutputGroup = []
6072
+ params['OutputGroup'].each do |i|
6073
+ describeoutput_tmp = DescribeOutput.new
6074
+ describeoutput_tmp.deserialize(i)
6075
+ @OutputGroup << describeoutput_tmp
6076
+ end
6077
+ end
6078
+ end
6079
+ end
6080
+
5454
6081
  # DescribeImageSpriteTemplates请求参数结构体
5455
6082
  class DescribeImageSpriteTemplatesRequest < TencentCloud::Common::AbstractModel
5456
6083
  # @param Definitions: 雪碧图模板唯一标识过滤条件,数组长度限制:100。
@@ -5512,58 +6139,618 @@ module TencentCloud
5512
6139
  end
5513
6140
  end
5514
6141
 
5515
- # DescribeMediaMetaData请求参数结构体
5516
- class DescribeMediaMetaDataRequest < TencentCloud::Common::AbstractModel
5517
- # @param InputInfo: 需要获取元信息的文件输入信息。
5518
- # @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
6142
+ # 查询输入配置信息。
6143
+ class DescribeInput < TencentCloud::Common::AbstractModel
6144
+ # @param InputId: 输入Id。
6145
+ # @type InputId: String
6146
+ # @param InputName: 输入名称。
6147
+ # @type InputName: String
6148
+ # @param Description: 输入描述。
6149
+ # 注意:此字段可能返回 null,表示取不到有效值。
6150
+ # @type Description: String
6151
+ # @param Protocol: 输入协议。
6152
+ # @type Protocol: String
6153
+ # @param InputAddressList: 输入地址列表。
6154
+ # @type InputAddressList: Array
6155
+ # @param AllowIpList: 输入IP白名单列表。
6156
+ # @type AllowIpList: Array
6157
+ # @param SRTSettings: 输入的SRT配置信息。
6158
+ # 注意:此字段可能返回 null,表示取不到有效值。
6159
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeInputSRTSettings`
6160
+ # @param RTPSettings: 输入的RTP配置信息。
6161
+ # 注意:此字段可能返回 null,表示取不到有效值。
6162
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeInputRTPSettings`
6163
+ # @param InputRegion: 输入的地区。
6164
+ # @type InputRegion: String
6165
+ # @param RTMPSettings: 输入的RTMP配置信息。
6166
+ # @type RTMPSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeInputRTMPSettings`
6167
+ # @param FailOver: 输入的主备开关。
6168
+ # 注意:此字段可能返回 null,表示取不到有效值。
6169
+ # @type FailOver: String
6170
+ # @param RTMPPullSettings: 输入的RTMP_PULL配置信息。
6171
+ # 注意:此字段可能返回 null,表示取不到有效值。
6172
+ # @type RTMPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeInputRTMPPullSettings`
6173
+ # @param RTSPPullSettings: 输入的RTSP_PULL配置信息。
6174
+ # 注意:此字段可能返回 null,表示取不到有效值。
6175
+ # @type RTSPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeInputRTSPPullSettings`
5519
6176
 
5520
- attr_accessor :InputInfo
6177
+ attr_accessor :InputId, :InputName, :Description, :Protocol, :InputAddressList, :AllowIpList, :SRTSettings, :RTPSettings, :InputRegion, :RTMPSettings, :FailOver, :RTMPPullSettings, :RTSPPullSettings
5521
6178
 
5522
- def initialize(inputinfo=nil)
5523
- @InputInfo = inputinfo
6179
+ def initialize(inputid=nil, inputname=nil, description=nil, protocol=nil, inputaddresslist=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, inputregion=nil, rtmpsettings=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil)
6180
+ @InputId = inputid
6181
+ @InputName = inputname
6182
+ @Description = description
6183
+ @Protocol = protocol
6184
+ @InputAddressList = inputaddresslist
6185
+ @AllowIpList = allowiplist
6186
+ @SRTSettings = srtsettings
6187
+ @RTPSettings = rtpsettings
6188
+ @InputRegion = inputregion
6189
+ @RTMPSettings = rtmpsettings
6190
+ @FailOver = failover
6191
+ @RTMPPullSettings = rtmppullsettings
6192
+ @RTSPPullSettings = rtsppullsettings
5524
6193
  end
5525
6194
 
5526
6195
  def deserialize(params)
5527
- unless params['InputInfo'].nil?
5528
- @InputInfo = MediaInputInfo.new
5529
- @InputInfo.deserialize(params['InputInfo'])
6196
+ @InputId = params['InputId']
6197
+ @InputName = params['InputName']
6198
+ @Description = params['Description']
6199
+ @Protocol = params['Protocol']
6200
+ unless params['InputAddressList'].nil?
6201
+ @InputAddressList = []
6202
+ params['InputAddressList'].each do |i|
6203
+ inputaddress_tmp = InputAddress.new
6204
+ inputaddress_tmp.deserialize(i)
6205
+ @InputAddressList << inputaddress_tmp
6206
+ end
6207
+ end
6208
+ @AllowIpList = params['AllowIpList']
6209
+ unless params['SRTSettings'].nil?
6210
+ @SRTSettings = DescribeInputSRTSettings.new
6211
+ @SRTSettings.deserialize(params['SRTSettings'])
6212
+ end
6213
+ unless params['RTPSettings'].nil?
6214
+ @RTPSettings = DescribeInputRTPSettings.new
6215
+ @RTPSettings.deserialize(params['RTPSettings'])
6216
+ end
6217
+ @InputRegion = params['InputRegion']
6218
+ unless params['RTMPSettings'].nil?
6219
+ @RTMPSettings = DescribeInputRTMPSettings.new
6220
+ @RTMPSettings.deserialize(params['RTMPSettings'])
6221
+ end
6222
+ @FailOver = params['FailOver']
6223
+ unless params['RTMPPullSettings'].nil?
6224
+ @RTMPPullSettings = DescribeInputRTMPPullSettings.new
6225
+ @RTMPPullSettings.deserialize(params['RTMPPullSettings'])
6226
+ end
6227
+ unless params['RTSPPullSettings'].nil?
6228
+ @RTSPPullSettings = DescribeInputRTSPPullSettings.new
6229
+ @RTSPPullSettings.deserialize(params['RTSPPullSettings'])
5530
6230
  end
5531
6231
  end
5532
6232
  end
5533
6233
 
5534
- # DescribeMediaMetaData返回参数结构体
5535
- class DescribeMediaMetaDataResponse < TencentCloud::Common::AbstractModel
5536
- # @param MetaData: 媒体元信息。
5537
- # @type MetaData: :class:`Tencentcloud::Mps.v20190612.models.MediaMetaData`
5538
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5539
- # @type RequestId: String
6234
+ # 查询输入的RTMP配置信息。
6235
+ class DescribeInputRTMPPullSettings < TencentCloud::Common::AbstractModel
6236
+ # @param SourceAddresses: RTMP源站地址信息。
6237
+ # @type SourceAddresses: Array
5540
6238
 
5541
- attr_accessor :MetaData, :RequestId
6239
+ attr_accessor :SourceAddresses
5542
6240
 
5543
- def initialize(metadata=nil, requestid=nil)
5544
- @MetaData = metadata
5545
- @RequestId = requestid
6241
+ def initialize(sourceaddresses=nil)
6242
+ @SourceAddresses = sourceaddresses
5546
6243
  end
5547
6244
 
5548
6245
  def deserialize(params)
5549
- unless params['MetaData'].nil?
5550
- @MetaData = MediaMetaData.new
5551
- @MetaData.deserialize(params['MetaData'])
6246
+ unless params['SourceAddresses'].nil?
6247
+ @SourceAddresses = []
6248
+ params['SourceAddresses'].each do |i|
6249
+ describertmppullsourceaddress_tmp = DescribeRTMPPullSourceAddress.new
6250
+ describertmppullsourceaddress_tmp.deserialize(i)
6251
+ @SourceAddresses << describertmppullsourceaddress_tmp
6252
+ end
5552
6253
  end
5553
- @RequestId = params['RequestId']
5554
6254
  end
5555
6255
  end
5556
6256
 
5557
- # DescribePersonSamples请求参数结构体
5558
- class DescribePersonSamplesRequest < TencentCloud::Common::AbstractModel
5559
- # @param Type: 拉取的素材类型,可选值:
5560
- # <li>UserDefine:用户自定义素材库;</li>
5561
- # <li>Default:系统默认素材库。</li>
6257
+ # 查询输入的RTMP配置信息。
6258
+ class DescribeInputRTMPSettings < TencentCloud::Common::AbstractModel
6259
+ # @param AppName: RTMP的推流路径。
6260
+ # 注意:此字段可能返回 null,表示取不到有效值。
6261
+ # @type AppName: String
6262
+ # @param StreamKey: RTMP的推流StreamKey。
6263
+ # RTMP的推流地址拼接规则为:rtmp://Ip:1935/AppName/StreamKey
6264
+ # @type StreamKey: String
5562
6265
 
5563
- # 默认值:UserDefine,拉取用户自定义素材库素材。
5564
- # 说明:如果是拉取系统默认素材库,只能使用素材名字或者素材 ID + 素材名字的方式进行拉取,且人脸图片只返回一张。
5565
- # @type Type: String
5566
- # @param PersonIds: 素材 ID,数组长度限制:100。
6266
+ attr_accessor :AppName, :StreamKey
6267
+
6268
+ def initialize(appname=nil, streamkey=nil)
6269
+ @AppName = appname
6270
+ @StreamKey = streamkey
6271
+ end
6272
+
6273
+ def deserialize(params)
6274
+ @AppName = params['AppName']
6275
+ @StreamKey = params['StreamKey']
6276
+ end
6277
+ end
6278
+
6279
+ # 查询输入的RTP配置信息。
6280
+ class DescribeInputRTPSettings < TencentCloud::Common::AbstractModel
6281
+ # @param FEC: 是否FEC。
6282
+ # @type FEC: String
6283
+ # @param IdleTimeout: 空闲超时时间。
6284
+ # @type IdleTimeout: Integer
6285
+
6286
+ attr_accessor :FEC, :IdleTimeout
6287
+
6288
+ def initialize(fec=nil, idletimeout=nil)
6289
+ @FEC = fec
6290
+ @IdleTimeout = idletimeout
6291
+ end
6292
+
6293
+ def deserialize(params)
6294
+ @FEC = params['FEC']
6295
+ @IdleTimeout = params['IdleTimeout']
6296
+ end
6297
+ end
6298
+
6299
+ # 查询输入的RTSP配置信息。
6300
+ class DescribeInputRTSPPullSettings < TencentCloud::Common::AbstractModel
6301
+ # @param SourceAddresses: RTSP源站地址信息。
6302
+ # @type SourceAddresses: Array
6303
+
6304
+ attr_accessor :SourceAddresses
6305
+
6306
+ def initialize(sourceaddresses=nil)
6307
+ @SourceAddresses = sourceaddresses
6308
+ end
6309
+
6310
+ def deserialize(params)
6311
+ unless params['SourceAddresses'].nil?
6312
+ @SourceAddresses = []
6313
+ params['SourceAddresses'].each do |i|
6314
+ describertsppullsourceaddress_tmp = DescribeRTSPPullSourceAddress.new
6315
+ describertsppullsourceaddress_tmp.deserialize(i)
6316
+ @SourceAddresses << describertsppullsourceaddress_tmp
6317
+ end
6318
+ end
6319
+ end
6320
+ end
6321
+
6322
+ # 查询输入的SRT配置信息。
6323
+ class DescribeInputSRTSettings < TencentCloud::Common::AbstractModel
6324
+ # @param Mode: SRT模式。
6325
+ # 注意:此字段可能返回 null,表示取不到有效值。
6326
+ # @type Mode: String
6327
+ # @param StreamId: 流Id。
6328
+ # @type StreamId: String
6329
+ # @param Latency: 延迟。
6330
+ # @type Latency: Integer
6331
+ # @param RecvLatency: 接收延迟。
6332
+ # @type RecvLatency: Integer
6333
+ # @param PeerLatency: 对端延迟。
6334
+ # @type PeerLatency: Integer
6335
+ # @param PeerIdleTimeout: 对端空闲超时时间。
6336
+ # @type PeerIdleTimeout: Integer
6337
+ # @param Passphrase: 解密密钥。
6338
+ # @type Passphrase: String
6339
+ # @param PbKeyLen: 密钥长度。
6340
+ # @type PbKeyLen: Integer
6341
+ # @param SourceAddresses: SRT对端地址。
6342
+ # 注意:此字段可能返回 null,表示取不到有效值。
6343
+ # @type SourceAddresses: Array
6344
+
6345
+ attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses
6346
+
6347
+ def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil)
6348
+ @Mode = mode
6349
+ @StreamId = streamid
6350
+ @Latency = latency
6351
+ @RecvLatency = recvlatency
6352
+ @PeerLatency = peerlatency
6353
+ @PeerIdleTimeout = peeridletimeout
6354
+ @Passphrase = passphrase
6355
+ @PbKeyLen = pbkeylen
6356
+ @SourceAddresses = sourceaddresses
6357
+ end
6358
+
6359
+ def deserialize(params)
6360
+ @Mode = params['Mode']
6361
+ @StreamId = params['StreamId']
6362
+ @Latency = params['Latency']
6363
+ @RecvLatency = params['RecvLatency']
6364
+ @PeerLatency = params['PeerLatency']
6365
+ @PeerIdleTimeout = params['PeerIdleTimeout']
6366
+ @Passphrase = params['Passphrase']
6367
+ @PbKeyLen = params['PbKeyLen']
6368
+ unless params['SourceAddresses'].nil?
6369
+ @SourceAddresses = []
6370
+ params['SourceAddresses'].each do |i|
6371
+ srtsourceaddressresp_tmp = SRTSourceAddressResp.new
6372
+ srtsourceaddressresp_tmp.deserialize(i)
6373
+ @SourceAddresses << srtsourceaddressresp_tmp
6374
+ end
6375
+ end
6376
+ end
6377
+ end
6378
+
6379
+ # DescribeMediaMetaData请求参数结构体
6380
+ class DescribeMediaMetaDataRequest < TencentCloud::Common::AbstractModel
6381
+ # @param InputInfo: 需要获取元信息的文件输入信息。
6382
+ # @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
6383
+
6384
+ attr_accessor :InputInfo
6385
+
6386
+ def initialize(inputinfo=nil)
6387
+ @InputInfo = inputinfo
6388
+ end
6389
+
6390
+ def deserialize(params)
6391
+ unless params['InputInfo'].nil?
6392
+ @InputInfo = MediaInputInfo.new
6393
+ @InputInfo.deserialize(params['InputInfo'])
6394
+ end
6395
+ end
6396
+ end
6397
+
6398
+ # DescribeMediaMetaData返回参数结构体
6399
+ class DescribeMediaMetaDataResponse < TencentCloud::Common::AbstractModel
6400
+ # @param MetaData: 媒体元信息。
6401
+ # @type MetaData: :class:`Tencentcloud::Mps.v20190612.models.MediaMetaData`
6402
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6403
+ # @type RequestId: String
6404
+
6405
+ attr_accessor :MetaData, :RequestId
6406
+
6407
+ def initialize(metadata=nil, requestid=nil)
6408
+ @MetaData = metadata
6409
+ @RequestId = requestid
6410
+ end
6411
+
6412
+ def deserialize(params)
6413
+ unless params['MetaData'].nil?
6414
+ @MetaData = MediaMetaData.new
6415
+ @MetaData.deserialize(params['MetaData'])
6416
+ end
6417
+ @RequestId = params['RequestId']
6418
+ end
6419
+ end
6420
+
6421
+ # 查询输出的配置信息。
6422
+ class DescribeOutput < TencentCloud::Common::AbstractModel
6423
+ # @param OutputId: 输出Id。
6424
+ # @type OutputId: String
6425
+ # @param OutputName: 输出名称。
6426
+ # @type OutputName: String
6427
+ # @param OutputType: 输出类型。
6428
+ # @type OutputType: String
6429
+ # @param Description: 输出描述。
6430
+ # 注意:此字段可能返回 null,表示取不到有效值。
6431
+ # @type Description: String
6432
+ # @param Protocol: 输出协议。
6433
+ # @type Protocol: String
6434
+ # @param OutputAddressList: 输出的出口地址信息列表。
6435
+ # @type OutputAddressList: Array
6436
+ # @param OutputRegion: 输出的地区。
6437
+ # 注意:此字段可能返回 null,表示取不到有效值。
6438
+ # @type OutputRegion: String
6439
+ # @param SRTSettings: 输出的SRT配置信息。
6440
+ # 注意:此字段可能返回 null,表示取不到有效值。
6441
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutputSRTSettings`
6442
+ # @param RTPSettings: 输出的RTP配置信息。
6443
+ # 注意:此字段可能返回 null,表示取不到有效值。
6444
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutputRTPSettings`
6445
+ # @param RTMPSettings: 输出的RTMP配置信息。
6446
+ # 注意:此字段可能返回 null,表示取不到有效值。
6447
+ # @type RTMPSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutputRTMPSettings`
6448
+ # @param RTMPPullSettings: 输出的RTMP拉流配置信息。
6449
+ # 注意:此字段可能返回 null,表示取不到有效值。
6450
+ # @type RTMPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutputRTMPPullSettings`
6451
+ # @param AllowIpList: CIDR白名单列表。
6452
+ # 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
6453
+ # 注意:此字段可能返回 null,表示取不到有效值。
6454
+ # @type AllowIpList: Array
6455
+ # @param RTSPPullSettings: 输出的RTSP拉流配置信息。
6456
+ # 注意:此字段可能返回 null,表示取不到有效值。
6457
+ # @type RTSPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutputRTSPPullSettings`
6458
+
6459
+ attr_accessor :OutputId, :OutputName, :OutputType, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings
6460
+
6461
+ def initialize(outputid=nil, outputname=nil, outputtype=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil)
6462
+ @OutputId = outputid
6463
+ @OutputName = outputname
6464
+ @OutputType = outputtype
6465
+ @Description = description
6466
+ @Protocol = protocol
6467
+ @OutputAddressList = outputaddresslist
6468
+ @OutputRegion = outputregion
6469
+ @SRTSettings = srtsettings
6470
+ @RTPSettings = rtpsettings
6471
+ @RTMPSettings = rtmpsettings
6472
+ @RTMPPullSettings = rtmppullsettings
6473
+ @AllowIpList = allowiplist
6474
+ @RTSPPullSettings = rtsppullsettings
6475
+ end
6476
+
6477
+ def deserialize(params)
6478
+ @OutputId = params['OutputId']
6479
+ @OutputName = params['OutputName']
6480
+ @OutputType = params['OutputType']
6481
+ @Description = params['Description']
6482
+ @Protocol = params['Protocol']
6483
+ unless params['OutputAddressList'].nil?
6484
+ @OutputAddressList = []
6485
+ params['OutputAddressList'].each do |i|
6486
+ outputaddress_tmp = OutputAddress.new
6487
+ outputaddress_tmp.deserialize(i)
6488
+ @OutputAddressList << outputaddress_tmp
6489
+ end
6490
+ end
6491
+ @OutputRegion = params['OutputRegion']
6492
+ unless params['SRTSettings'].nil?
6493
+ @SRTSettings = DescribeOutputSRTSettings.new
6494
+ @SRTSettings.deserialize(params['SRTSettings'])
6495
+ end
6496
+ unless params['RTPSettings'].nil?
6497
+ @RTPSettings = DescribeOutputRTPSettings.new
6498
+ @RTPSettings.deserialize(params['RTPSettings'])
6499
+ end
6500
+ unless params['RTMPSettings'].nil?
6501
+ @RTMPSettings = DescribeOutputRTMPSettings.new
6502
+ @RTMPSettings.deserialize(params['RTMPSettings'])
6503
+ end
6504
+ unless params['RTMPPullSettings'].nil?
6505
+ @RTMPPullSettings = DescribeOutputRTMPPullSettings.new
6506
+ @RTMPPullSettings.deserialize(params['RTMPPullSettings'])
6507
+ end
6508
+ @AllowIpList = params['AllowIpList']
6509
+ unless params['RTSPPullSettings'].nil?
6510
+ @RTSPPullSettings = DescribeOutputRTSPPullSettings.new
6511
+ @RTSPPullSettings.deserialize(params['RTSPPullSettings'])
6512
+ end
6513
+ end
6514
+ end
6515
+
6516
+ # 查询输出的RTMP拉流URL信息。
6517
+ class DescribeOutputRTMPPullServerUrl < TencentCloud::Common::AbstractModel
6518
+ # @param TcUrl: RTMP拉流地址的tcUrl。
6519
+ # @type TcUrl: String
6520
+ # @param StreamKey: RTMP拉流地址的流key。
6521
+ # @type StreamKey: String
6522
+
6523
+ attr_accessor :TcUrl, :StreamKey
6524
+
6525
+ def initialize(tcurl=nil, streamkey=nil)
6526
+ @TcUrl = tcurl
6527
+ @StreamKey = streamkey
6528
+ end
6529
+
6530
+ def deserialize(params)
6531
+ @TcUrl = params['TcUrl']
6532
+ @StreamKey = params['StreamKey']
6533
+ end
6534
+ end
6535
+
6536
+ # 查询输出的RTMP拉流配置信息。
6537
+ class DescribeOutputRTMPPullSettings < TencentCloud::Common::AbstractModel
6538
+ # @param ServerUrls: 拉流地址列表。
6539
+ # 注意:此字段可能返回 null,表示取不到有效值。
6540
+ # @type ServerUrls: Array
6541
+
6542
+ attr_accessor :ServerUrls
6543
+
6544
+ def initialize(serverurls=nil)
6545
+ @ServerUrls = serverurls
6546
+ end
6547
+
6548
+ def deserialize(params)
6549
+ unless params['ServerUrls'].nil?
6550
+ @ServerUrls = []
6551
+ params['ServerUrls'].each do |i|
6552
+ describeoutputrtmppullserverurl_tmp = DescribeOutputRTMPPullServerUrl.new
6553
+ describeoutputrtmppullserverurl_tmp.deserialize(i)
6554
+ @ServerUrls << describeoutputrtmppullserverurl_tmp
6555
+ end
6556
+ end
6557
+ end
6558
+ end
6559
+
6560
+ # 查询输出的RTMP配置信息。
6561
+ class DescribeOutputRTMPSettings < TencentCloud::Common::AbstractModel
6562
+ # @param IdleTimeout: 空闲超时时间。
6563
+ # 注意:此字段可能返回 null,表示取不到有效值。
6564
+ # @type IdleTimeout: Integer
6565
+ # @param ChunkSize: Chunk大小。
6566
+ # 注意:此字段可能返回 null,表示取不到有效值。
6567
+ # @type ChunkSize: Integer
6568
+ # @param Destinations: 转推RTMP的目标地址信息列表。
6569
+ # 注意:此字段可能返回 null,表示取不到有效值。
6570
+ # @type Destinations: Array
6571
+
6572
+ attr_accessor :IdleTimeout, :ChunkSize, :Destinations
6573
+
6574
+ def initialize(idletimeout=nil, chunksize=nil, destinations=nil)
6575
+ @IdleTimeout = idletimeout
6576
+ @ChunkSize = chunksize
6577
+ @Destinations = destinations
6578
+ end
6579
+
6580
+ def deserialize(params)
6581
+ @IdleTimeout = params['IdleTimeout']
6582
+ @ChunkSize = params['ChunkSize']
6583
+ unless params['Destinations'].nil?
6584
+ @Destinations = []
6585
+ params['Destinations'].each do |i|
6586
+ rtmpaddressdestination_tmp = RTMPAddressDestination.new
6587
+ rtmpaddressdestination_tmp.deserialize(i)
6588
+ @Destinations << rtmpaddressdestination_tmp
6589
+ end
6590
+ end
6591
+ end
6592
+ end
6593
+
6594
+ # 查询输出的RTP配置信息。
6595
+ class DescribeOutputRTPSettings < TencentCloud::Common::AbstractModel
6596
+ # @param Destinations: 转推RTP的目标地址信息列表。
6597
+ # 注意:此字段可能返回 null,表示取不到有效值。
6598
+ # @type Destinations: Array
6599
+ # @param FEC: 是否FEC。
6600
+ # 注意:此字段可能返回 null,表示取不到有效值。
6601
+ # @type FEC: String
6602
+ # @param IdleTimeout: 空闲超时时间。
6603
+ # 注意:此字段可能返回 null,表示取不到有效值。
6604
+ # @type IdleTimeout: Integer
6605
+
6606
+ attr_accessor :Destinations, :FEC, :IdleTimeout
6607
+
6608
+ def initialize(destinations=nil, fec=nil, idletimeout=nil)
6609
+ @Destinations = destinations
6610
+ @FEC = fec
6611
+ @IdleTimeout = idletimeout
6612
+ end
6613
+
6614
+ def deserialize(params)
6615
+ unless params['Destinations'].nil?
6616
+ @Destinations = []
6617
+ params['Destinations'].each do |i|
6618
+ rtpaddressdestination_tmp = RTPAddressDestination.new
6619
+ rtpaddressdestination_tmp.deserialize(i)
6620
+ @Destinations << rtpaddressdestination_tmp
6621
+ end
6622
+ end
6623
+ @FEC = params['FEC']
6624
+ @IdleTimeout = params['IdleTimeout']
6625
+ end
6626
+ end
6627
+
6628
+ # 查询输出的RTSP拉流URL信息。
6629
+ class DescribeOutputRTSPPullServerUrl < TencentCloud::Common::AbstractModel
6630
+ # @param Url: RTSP拉流地址的Url。
6631
+ # @type Url: String
6632
+
6633
+ attr_accessor :Url
6634
+
6635
+ def initialize(url=nil)
6636
+ @Url = url
6637
+ end
6638
+
6639
+ def deserialize(params)
6640
+ @Url = params['Url']
6641
+ end
6642
+ end
6643
+
6644
+ # 查询输出的RTSP拉流配置信息。
6645
+ class DescribeOutputRTSPPullSettings < TencentCloud::Common::AbstractModel
6646
+ # @param ServerUrls: RTSP拉流地址列表。
6647
+ # 注意:此字段可能返回 null,表示取不到有效值。
6648
+ # @type ServerUrls: Array
6649
+
6650
+ attr_accessor :ServerUrls
6651
+
6652
+ def initialize(serverurls=nil)
6653
+ @ServerUrls = serverurls
6654
+ end
6655
+
6656
+ def deserialize(params)
6657
+ unless params['ServerUrls'].nil?
6658
+ @ServerUrls = []
6659
+ params['ServerUrls'].each do |i|
6660
+ describeoutputrtsppullserverurl_tmp = DescribeOutputRTSPPullServerUrl.new
6661
+ describeoutputrtsppullserverurl_tmp.deserialize(i)
6662
+ @ServerUrls << describeoutputrtsppullserverurl_tmp
6663
+ end
6664
+ end
6665
+ end
6666
+ end
6667
+
6668
+ # 查询输出的SRT配置信息。
6669
+ class DescribeOutputSRTSettings < TencentCloud::Common::AbstractModel
6670
+ # @param Destinations: 转推的目标的地址信息列表,SRT模式为CALLER时使用。
6671
+ # 注意:此字段可能返回 null,表示取不到有效值。
6672
+ # @type Destinations: Array
6673
+ # @param StreamId: 流Id。
6674
+ # 注意:此字段可能返回 null,表示取不到有效值。
6675
+ # @type StreamId: String
6676
+ # @param Latency: 延迟。
6677
+ # 注意:此字段可能返回 null,表示取不到有效值。
6678
+ # @type Latency: Integer
6679
+ # @param RecvLatency: 接收延迟。
6680
+ # 注意:此字段可能返回 null,表示取不到有效值。
6681
+ # @type RecvLatency: Integer
6682
+ # @param PeerLatency: 对端延迟。
6683
+ # 注意:此字段可能返回 null,表示取不到有效值。
6684
+ # @type PeerLatency: Integer
6685
+ # @param PeerIdleTimeout: 对端空闲超时时间。
6686
+ # 注意:此字段可能返回 null,表示取不到有效值。
6687
+ # @type PeerIdleTimeout: Integer
6688
+ # @param Passphrase: 加密密钥。
6689
+ # 注意:此字段可能返回 null,表示取不到有效值。
6690
+ # @type Passphrase: String
6691
+ # @param PbKeyLen: 加密密钥长度。
6692
+ # 注意:此字段可能返回 null,表示取不到有效值。
6693
+ # @type PbKeyLen: Integer
6694
+ # @param Mode: SRT模式。
6695
+ # 注意:此字段可能返回 null,表示取不到有效值。
6696
+ # @type Mode: String
6697
+ # @param SourceAddresses: 服务器监听地址,SRT模式为LISTENER时使用。
6698
+ # 注意:此字段可能返回 null,表示取不到有效值。
6699
+ # @type SourceAddresses: Array
6700
+
6701
+ attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode, :SourceAddresses
6702
+
6703
+ def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil, sourceaddresses=nil)
6704
+ @Destinations = destinations
6705
+ @StreamId = streamid
6706
+ @Latency = latency
6707
+ @RecvLatency = recvlatency
6708
+ @PeerLatency = peerlatency
6709
+ @PeerIdleTimeout = peeridletimeout
6710
+ @Passphrase = passphrase
6711
+ @PbKeyLen = pbkeylen
6712
+ @Mode = mode
6713
+ @SourceAddresses = sourceaddresses
6714
+ end
6715
+
6716
+ def deserialize(params)
6717
+ unless params['Destinations'].nil?
6718
+ @Destinations = []
6719
+ params['Destinations'].each do |i|
6720
+ srtaddressdestination_tmp = SRTAddressDestination.new
6721
+ srtaddressdestination_tmp.deserialize(i)
6722
+ @Destinations << srtaddressdestination_tmp
6723
+ end
6724
+ end
6725
+ @StreamId = params['StreamId']
6726
+ @Latency = params['Latency']
6727
+ @RecvLatency = params['RecvLatency']
6728
+ @PeerLatency = params['PeerLatency']
6729
+ @PeerIdleTimeout = params['PeerIdleTimeout']
6730
+ @Passphrase = params['Passphrase']
6731
+ @PbKeyLen = params['PbKeyLen']
6732
+ @Mode = params['Mode']
6733
+ unless params['SourceAddresses'].nil?
6734
+ @SourceAddresses = []
6735
+ params['SourceAddresses'].each do |i|
6736
+ outputsrtsourceaddressresp_tmp = OutputSRTSourceAddressResp.new
6737
+ outputsrtsourceaddressresp_tmp.deserialize(i)
6738
+ @SourceAddresses << outputsrtsourceaddressresp_tmp
6739
+ end
6740
+ end
6741
+ end
6742
+ end
6743
+
6744
+ # DescribePersonSamples请求参数结构体
6745
+ class DescribePersonSamplesRequest < TencentCloud::Common::AbstractModel
6746
+ # @param Type: 拉取的素材类型,可选值:
6747
+ # <li>UserDefine:用户自定义素材库;</li>
6748
+ # <li>Default:系统默认素材库。</li>
6749
+
6750
+ # 默认值:UserDefine,拉取用户自定义素材库素材。
6751
+ # 说明:如果是拉取系统默认素材库,只能使用素材名字或者素材 ID + 素材名字的方式进行拉取,且人脸图片只返回一张。
6752
+ # @type Type: String
6753
+ # @param PersonIds: 素材 ID,数组长度限制:100。
5567
6754
  # @type PersonIds: Array
5568
6755
  # @param Names: 素材名称,数组长度限制:20。
5569
6756
  # @type Names: Array
@@ -5604,145 +6791,702 @@ module TencentCloud
5604
6791
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5605
6792
  # @type RequestId: String
5606
6793
 
5607
- attr_accessor :TotalCount, :PersonSet, :RequestId
6794
+ attr_accessor :TotalCount, :PersonSet, :RequestId
6795
+
6796
+ def initialize(totalcount=nil, personset=nil, requestid=nil)
6797
+ @TotalCount = totalcount
6798
+ @PersonSet = personset
6799
+ @RequestId = requestid
6800
+ end
6801
+
6802
+ def deserialize(params)
6803
+ @TotalCount = params['TotalCount']
6804
+ unless params['PersonSet'].nil?
6805
+ @PersonSet = []
6806
+ params['PersonSet'].each do |i|
6807
+ aisampleperson_tmp = AiSamplePerson.new
6808
+ aisampleperson_tmp.deserialize(i)
6809
+ @PersonSet << aisampleperson_tmp
6810
+ end
6811
+ end
6812
+ @RequestId = params['RequestId']
6813
+ end
6814
+ end
6815
+
6816
+ # 查询输入的RTMP配置信息。
6817
+ class DescribeRTMPPullSourceAddress < TencentCloud::Common::AbstractModel
6818
+ # @param TcUrl: RTMP源站的TcUrl地址。
6819
+ # 注意:此字段可能返回 null,表示取不到有效值。
6820
+ # @type TcUrl: String
6821
+ # @param StreamKey: RTMP源站的StreamKey。
6822
+ # RTMP源站地址拼接规则为:$TcUrl/$StreamKey。
6823
+ # @type StreamKey: String
6824
+
6825
+ attr_accessor :TcUrl, :StreamKey
6826
+
6827
+ def initialize(tcurl=nil, streamkey=nil)
6828
+ @TcUrl = tcurl
6829
+ @StreamKey = streamkey
6830
+ end
6831
+
6832
+ def deserialize(params)
6833
+ @TcUrl = params['TcUrl']
6834
+ @StreamKey = params['StreamKey']
6835
+ end
6836
+ end
6837
+
6838
+ # 查询输入的RTSP配置信息。
6839
+ class DescribeRTSPPullSourceAddress < TencentCloud::Common::AbstractModel
6840
+ # @param Url: RTSP源站的Url地址。
6841
+ # 注意:此字段可能返回 null,表示取不到有效值。
6842
+ # @type Url: String
6843
+
6844
+ attr_accessor :Url
6845
+
6846
+ def initialize(url=nil)
6847
+ @Url = url
6848
+ end
6849
+
6850
+ def deserialize(params)
6851
+ @Url = params['Url']
6852
+ end
6853
+ end
6854
+
6855
+ # DescribeSampleSnapshotTemplates请求参数结构体
6856
+ class DescribeSampleSnapshotTemplatesRequest < TencentCloud::Common::AbstractModel
6857
+ # @param Definitions: 采样截图模板唯一标识过滤条件,数组长度限制:100。
6858
+ # @type Definitions: Array
6859
+ # @param Offset: 分页偏移量,默认值:0。
6860
+ # @type Offset: Integer
6861
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
6862
+ # @type Limit: Integer
6863
+ # @param Type: 模板类型过滤条件,可选值:
6864
+ # <li>Preset:系统预置模板;</li>
6865
+ # <li>Custom:用户自定义模板。</li>
6866
+ # @type Type: String
6867
+
6868
+ attr_accessor :Definitions, :Offset, :Limit, :Type
6869
+
6870
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
6871
+ @Definitions = definitions
6872
+ @Offset = offset
6873
+ @Limit = limit
6874
+ @Type = type
6875
+ end
6876
+
6877
+ def deserialize(params)
6878
+ @Definitions = params['Definitions']
6879
+ @Offset = params['Offset']
6880
+ @Limit = params['Limit']
6881
+ @Type = params['Type']
6882
+ end
6883
+ end
6884
+
6885
+ # DescribeSampleSnapshotTemplates返回参数结构体
6886
+ class DescribeSampleSnapshotTemplatesResponse < TencentCloud::Common::AbstractModel
6887
+ # @param TotalCount: 符合过滤条件的记录总数。
6888
+ # @type TotalCount: Integer
6889
+ # @param SampleSnapshotTemplateSet: 采样截图模板详情列表。
6890
+ # @type SampleSnapshotTemplateSet: Array
6891
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6892
+ # @type RequestId: String
6893
+
6894
+ attr_accessor :TotalCount, :SampleSnapshotTemplateSet, :RequestId
6895
+
6896
+ def initialize(totalcount=nil, samplesnapshottemplateset=nil, requestid=nil)
6897
+ @TotalCount = totalcount
6898
+ @SampleSnapshotTemplateSet = samplesnapshottemplateset
6899
+ @RequestId = requestid
6900
+ end
6901
+
6902
+ def deserialize(params)
6903
+ @TotalCount = params['TotalCount']
6904
+ unless params['SampleSnapshotTemplateSet'].nil?
6905
+ @SampleSnapshotTemplateSet = []
6906
+ params['SampleSnapshotTemplateSet'].each do |i|
6907
+ samplesnapshottemplate_tmp = SampleSnapshotTemplate.new
6908
+ samplesnapshottemplate_tmp.deserialize(i)
6909
+ @SampleSnapshotTemplateSet << samplesnapshottemplate_tmp
6910
+ end
6911
+ end
6912
+ @RequestId = params['RequestId']
6913
+ end
6914
+ end
6915
+
6916
+ # DescribeSnapshotByTimeOffsetTemplates请求参数结构体
6917
+ class DescribeSnapshotByTimeOffsetTemplatesRequest < TencentCloud::Common::AbstractModel
6918
+ # @param Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
6919
+ # @type Definitions: Array
6920
+ # @param Offset: 分页偏移量,默认值:0。
6921
+ # @type Offset: Integer
6922
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
6923
+ # @type Limit: Integer
6924
+ # @param Type: 模板类型过滤条件,可选值:
6925
+ # <li>Preset:系统预置模板;</li>
6926
+ # <li>Custom:用户自定义模板。</li>
6927
+ # @type Type: String
6928
+
6929
+ attr_accessor :Definitions, :Offset, :Limit, :Type
6930
+
6931
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
6932
+ @Definitions = definitions
6933
+ @Offset = offset
6934
+ @Limit = limit
6935
+ @Type = type
6936
+ end
6937
+
6938
+ def deserialize(params)
6939
+ @Definitions = params['Definitions']
6940
+ @Offset = params['Offset']
6941
+ @Limit = params['Limit']
6942
+ @Type = params['Type']
6943
+ end
6944
+ end
6945
+
6946
+ # DescribeSnapshotByTimeOffsetTemplates返回参数结构体
6947
+ class DescribeSnapshotByTimeOffsetTemplatesResponse < TencentCloud::Common::AbstractModel
6948
+ # @param TotalCount: 符合过滤条件的记录总数。
6949
+ # @type TotalCount: Integer
6950
+ # @param SnapshotByTimeOffsetTemplateSet: 指定时间点截图模板详情列表。
6951
+ # @type SnapshotByTimeOffsetTemplateSet: Array
6952
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6953
+ # @type RequestId: String
6954
+
6955
+ attr_accessor :TotalCount, :SnapshotByTimeOffsetTemplateSet, :RequestId
6956
+
6957
+ def initialize(totalcount=nil, snapshotbytimeoffsettemplateset=nil, requestid=nil)
6958
+ @TotalCount = totalcount
6959
+ @SnapshotByTimeOffsetTemplateSet = snapshotbytimeoffsettemplateset
6960
+ @RequestId = requestid
6961
+ end
6962
+
6963
+ def deserialize(params)
6964
+ @TotalCount = params['TotalCount']
6965
+ unless params['SnapshotByTimeOffsetTemplateSet'].nil?
6966
+ @SnapshotByTimeOffsetTemplateSet = []
6967
+ params['SnapshotByTimeOffsetTemplateSet'].each do |i|
6968
+ snapshotbytimeoffsettemplate_tmp = SnapshotByTimeOffsetTemplate.new
6969
+ snapshotbytimeoffsettemplate_tmp.deserialize(i)
6970
+ @SnapshotByTimeOffsetTemplateSet << snapshotbytimeoffsettemplate_tmp
6971
+ end
6972
+ end
6973
+ @RequestId = params['RequestId']
6974
+ end
6975
+ end
6976
+
6977
+ # DescribeStreamLinkActivateState请求参数结构体
6978
+ class DescribeStreamLinkActivateStateRequest < TencentCloud::Common::AbstractModel
6979
+
6980
+
6981
+ def initialize()
6982
+ end
6983
+
6984
+ def deserialize(params)
6985
+ end
6986
+ end
6987
+
6988
+ # DescribeStreamLinkActivateState返回参数结构体
6989
+ class DescribeStreamLinkActivateStateResponse < TencentCloud::Common::AbstractModel
6990
+ # @param Status: 用户已激活为0,否则为非0。
6991
+ # @type Status: Integer
6992
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6993
+ # @type RequestId: String
6994
+
6995
+ attr_accessor :Status, :RequestId
6996
+
6997
+ def initialize(status=nil, requestid=nil)
6998
+ @Status = status
6999
+ @RequestId = requestid
7000
+ end
7001
+
7002
+ def deserialize(params)
7003
+ @Status = params['Status']
7004
+ @RequestId = params['RequestId']
7005
+ end
7006
+ end
7007
+
7008
+ # DescribeStreamLinkFlowLogs请求参数结构体
7009
+ class DescribeStreamLinkFlowLogsRequest < TencentCloud::Common::AbstractModel
7010
+ # @param FlowId: 传输流Id。
7011
+ # @type FlowId: String
7012
+ # @param StartTime: 统计的开始时间,默认为前一小时,最多支持查询近7天。
7013
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7014
+ # @type StartTime: String
7015
+ # @param EndTime: 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
7016
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7017
+ # @type EndTime: String
7018
+ # @param Type: 输入或输出类型,可选[input|output]。
7019
+ # @type Type: Array
7020
+ # @param Pipeline: 主通道或备通道,可选[0|1]。
7021
+ # @type Pipeline: Array
7022
+ # @param PageSize: 每页大小,默认100,范围为[1, 1000]。
7023
+ # @type PageSize: Integer
7024
+ # @param SortType: 按Timestamp升序或降序排序,默认降序,可选[desc|asc]。
7025
+ # @type SortType: String
7026
+ # @param PageNum: 页码,默认1,范围为[1, 1000]。
7027
+ # @type PageNum: Integer
7028
+
7029
+ attr_accessor :FlowId, :StartTime, :EndTime, :Type, :Pipeline, :PageSize, :SortType, :PageNum
7030
+
7031
+ def initialize(flowid=nil, starttime=nil, endtime=nil, type=nil, pipeline=nil, pagesize=nil, sorttype=nil, pagenum=nil)
7032
+ @FlowId = flowid
7033
+ @StartTime = starttime
7034
+ @EndTime = endtime
7035
+ @Type = type
7036
+ @Pipeline = pipeline
7037
+ @PageSize = pagesize
7038
+ @SortType = sorttype
7039
+ @PageNum = pagenum
7040
+ end
7041
+
7042
+ def deserialize(params)
7043
+ @FlowId = params['FlowId']
7044
+ @StartTime = params['StartTime']
7045
+ @EndTime = params['EndTime']
7046
+ @Type = params['Type']
7047
+ @Pipeline = params['Pipeline']
7048
+ @PageSize = params['PageSize']
7049
+ @SortType = params['SortType']
7050
+ @PageNum = params['PageNum']
7051
+ end
7052
+ end
7053
+
7054
+ # DescribeStreamLinkFlowLogs返回参数结构体
7055
+ class DescribeStreamLinkFlowLogsResponse < TencentCloud::Common::AbstractModel
7056
+ # @param Infos: 日志信息列表。
7057
+ # @type Infos: Array
7058
+ # @param PageNum: 当前页码。
7059
+ # @type PageNum: Integer
7060
+ # @param PageSize: 每页大小。
7061
+ # @type PageSize: Integer
7062
+ # @param TotalNum: 总数量。
7063
+ # @type TotalNum: Integer
7064
+ # @param TotalPage: 总页数。
7065
+ # @type TotalPage: Integer
7066
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7067
+ # @type RequestId: String
7068
+
7069
+ attr_accessor :Infos, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
7070
+
7071
+ def initialize(infos=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
7072
+ @Infos = infos
7073
+ @PageNum = pagenum
7074
+ @PageSize = pagesize
7075
+ @TotalNum = totalnum
7076
+ @TotalPage = totalpage
7077
+ @RequestId = requestid
7078
+ end
7079
+
7080
+ def deserialize(params)
7081
+ unless params['Infos'].nil?
7082
+ @Infos = []
7083
+ params['Infos'].each do |i|
7084
+ flowloginfo_tmp = FlowLogInfo.new
7085
+ flowloginfo_tmp.deserialize(i)
7086
+ @Infos << flowloginfo_tmp
7087
+ end
7088
+ end
7089
+ @PageNum = params['PageNum']
7090
+ @PageSize = params['PageSize']
7091
+ @TotalNum = params['TotalNum']
7092
+ @TotalPage = params['TotalPage']
7093
+ @RequestId = params['RequestId']
7094
+ end
7095
+ end
7096
+
7097
+ # DescribeStreamLinkFlowMediaStatistics请求参数结构体
7098
+ class DescribeStreamLinkFlowMediaStatisticsRequest < TencentCloud::Common::AbstractModel
7099
+ # @param FlowId: 传输流ID。
7100
+ # @type FlowId: String
7101
+ # @param Type: 输入或输出类型,可选[input|output]。
7102
+ # @type Type: String
7103
+ # @param InputOutputId: 输入或输出Id。
7104
+ # @type InputOutputId: String
7105
+ # @param Pipeline: 主通道或备通道,可选[0|1]。
7106
+ # @type Pipeline: String
7107
+ # @param Period: 查询间隔,可选[5s|1min|5min|15min]。
7108
+ # @type Period: String
7109
+ # @param StartTime: 统计的开始时间,默认为前一小时,最多支持查询近7天。
7110
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7111
+ # @type StartTime: String
7112
+ # @param EndTime: 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
7113
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7114
+ # @type EndTime: String
7115
+
7116
+ attr_accessor :FlowId, :Type, :InputOutputId, :Pipeline, :Period, :StartTime, :EndTime
7117
+
7118
+ def initialize(flowid=nil, type=nil, inputoutputid=nil, pipeline=nil, period=nil, starttime=nil, endtime=nil)
7119
+ @FlowId = flowid
7120
+ @Type = type
7121
+ @InputOutputId = inputoutputid
7122
+ @Pipeline = pipeline
7123
+ @Period = period
7124
+ @StartTime = starttime
7125
+ @EndTime = endtime
7126
+ end
7127
+
7128
+ def deserialize(params)
7129
+ @FlowId = params['FlowId']
7130
+ @Type = params['Type']
7131
+ @InputOutputId = params['InputOutputId']
7132
+ @Pipeline = params['Pipeline']
7133
+ @Period = params['Period']
7134
+ @StartTime = params['StartTime']
7135
+ @EndTime = params['EndTime']
7136
+ end
7137
+ end
7138
+
7139
+ # DescribeStreamLinkFlowMediaStatistics返回参数结构体
7140
+ class DescribeStreamLinkFlowMediaStatisticsResponse < TencentCloud::Common::AbstractModel
7141
+ # @param Infos: 传输流的媒体数据列表。
7142
+ # @type Infos: Array
7143
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7144
+ # @type RequestId: String
7145
+
7146
+ attr_accessor :Infos, :RequestId
7147
+
7148
+ def initialize(infos=nil, requestid=nil)
7149
+ @Infos = infos
7150
+ @RequestId = requestid
7151
+ end
7152
+
7153
+ def deserialize(params)
7154
+ unless params['Infos'].nil?
7155
+ @Infos = []
7156
+ params['Infos'].each do |i|
7157
+ flowmediainfo_tmp = FlowMediaInfo.new
7158
+ flowmediainfo_tmp.deserialize(i)
7159
+ @Infos << flowmediainfo_tmp
7160
+ end
7161
+ end
7162
+ @RequestId = params['RequestId']
7163
+ end
7164
+ end
7165
+
7166
+ # DescribeStreamLinkFlowRealtimeStatus请求参数结构体
7167
+ class DescribeStreamLinkFlowRealtimeStatusRequest < TencentCloud::Common::AbstractModel
7168
+ # @param FlowId: 流ID。
7169
+ # @type FlowId: String
7170
+ # @param InputIds: 输入id数组,如果输入输出数组都为空,则代表全量查询。
7171
+ # @type InputIds: Array
7172
+ # @param OutputIds: 输出id数组,如果输入输出数组都为空,则代表全量查询。
7173
+ # @type OutputIds: Array
7174
+
7175
+ attr_accessor :FlowId, :InputIds, :OutputIds
7176
+
7177
+ def initialize(flowid=nil, inputids=nil, outputids=nil)
7178
+ @FlowId = flowid
7179
+ @InputIds = inputids
7180
+ @OutputIds = outputids
7181
+ end
7182
+
7183
+ def deserialize(params)
7184
+ @FlowId = params['FlowId']
7185
+ @InputIds = params['InputIds']
7186
+ @OutputIds = params['OutputIds']
7187
+ end
7188
+ end
7189
+
7190
+ # DescribeStreamLinkFlowRealtimeStatus返回参数结构体
7191
+ class DescribeStreamLinkFlowRealtimeStatusResponse < TencentCloud::Common::AbstractModel
7192
+ # @param Timestamp: 查询时间,单位s。
7193
+ # @type Timestamp: Integer
7194
+ # @param Datas: 实时数据信息列表。
7195
+ # @type Datas: Array
7196
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7197
+ # @type RequestId: String
7198
+
7199
+ attr_accessor :Timestamp, :Datas, :RequestId
7200
+
7201
+ def initialize(timestamp=nil, datas=nil, requestid=nil)
7202
+ @Timestamp = timestamp
7203
+ @Datas = datas
7204
+ @RequestId = requestid
7205
+ end
7206
+
7207
+ def deserialize(params)
7208
+ @Timestamp = params['Timestamp']
7209
+ unless params['Datas'].nil?
7210
+ @Datas = []
7211
+ params['Datas'].each do |i|
7212
+ flowrealtimestatusitem_tmp = FlowRealtimeStatusItem.new
7213
+ flowrealtimestatusitem_tmp.deserialize(i)
7214
+ @Datas << flowrealtimestatusitem_tmp
7215
+ end
7216
+ end
7217
+ @RequestId = params['RequestId']
7218
+ end
7219
+ end
7220
+
7221
+ # DescribeStreamLinkFlow请求参数结构体
7222
+ class DescribeStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
7223
+ # @param FlowId: 流Id。
7224
+ # @type FlowId: String
7225
+
7226
+ attr_accessor :FlowId
7227
+
7228
+ def initialize(flowid=nil)
7229
+ @FlowId = flowid
7230
+ end
7231
+
7232
+ def deserialize(params)
7233
+ @FlowId = params['FlowId']
7234
+ end
7235
+ end
7236
+
7237
+ # DescribeStreamLinkFlow返回参数结构体
7238
+ class DescribeStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
7239
+ # @param Info: 流的配置信息。
7240
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeFlow`
7241
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7242
+ # @type RequestId: String
7243
+
7244
+ attr_accessor :Info, :RequestId
7245
+
7246
+ def initialize(info=nil, requestid=nil)
7247
+ @Info = info
7248
+ @RequestId = requestid
7249
+ end
7250
+
7251
+ def deserialize(params)
7252
+ unless params['Info'].nil?
7253
+ @Info = DescribeFlow.new
7254
+ @Info.deserialize(params['Info'])
7255
+ end
7256
+ @RequestId = params['RequestId']
7257
+ end
7258
+ end
7259
+
7260
+ # DescribeStreamLinkFlowSRTStatistics请求参数结构体
7261
+ class DescribeStreamLinkFlowSRTStatisticsRequest < TencentCloud::Common::AbstractModel
7262
+ # @param FlowId: 传输流ID。
7263
+ # @type FlowId: String
7264
+ # @param Type: 输入或输出类型,可选[input|output]。
7265
+ # @type Type: String
7266
+ # @param InputOutputId: 输入或输出Id。
7267
+ # @type InputOutputId: String
7268
+ # @param Pipeline: 主通道或备通道,可选[0|1]。
7269
+ # @type Pipeline: String
7270
+ # @param StartTime: 统计的开始时间,默认为前一小时,最多支持查询近7天。
7271
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7272
+ # @type StartTime: String
7273
+ # @param EndTime: 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
7274
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7275
+ # @type EndTime: String
7276
+ # @param Period: 查询间隔,可选[5s|1min|5min|15min]。
7277
+ # @type Period: String
7278
+
7279
+ attr_accessor :FlowId, :Type, :InputOutputId, :Pipeline, :StartTime, :EndTime, :Period
7280
+
7281
+ def initialize(flowid=nil, type=nil, inputoutputid=nil, pipeline=nil, starttime=nil, endtime=nil, period=nil)
7282
+ @FlowId = flowid
7283
+ @Type = type
7284
+ @InputOutputId = inputoutputid
7285
+ @Pipeline = pipeline
7286
+ @StartTime = starttime
7287
+ @EndTime = endtime
7288
+ @Period = period
7289
+ end
7290
+
7291
+ def deserialize(params)
7292
+ @FlowId = params['FlowId']
7293
+ @Type = params['Type']
7294
+ @InputOutputId = params['InputOutputId']
7295
+ @Pipeline = params['Pipeline']
7296
+ @StartTime = params['StartTime']
7297
+ @EndTime = params['EndTime']
7298
+ @Period = params['Period']
7299
+ end
7300
+ end
7301
+
7302
+ # DescribeStreamLinkFlowSRTStatistics返回参数结构体
7303
+ class DescribeStreamLinkFlowSRTStatisticsResponse < TencentCloud::Common::AbstractModel
7304
+ # @param Infos: 传输流的SRT质量数据列表。
7305
+ # @type Infos: Array
7306
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7307
+ # @type RequestId: String
7308
+
7309
+ attr_accessor :Infos, :RequestId
7310
+
7311
+ def initialize(infos=nil, requestid=nil)
7312
+ @Infos = infos
7313
+ @RequestId = requestid
7314
+ end
7315
+
7316
+ def deserialize(params)
7317
+ unless params['Infos'].nil?
7318
+ @Infos = []
7319
+ params['Infos'].each do |i|
7320
+ flowsrtinfo_tmp = FlowSRTInfo.new
7321
+ flowsrtinfo_tmp.deserialize(i)
7322
+ @Infos << flowsrtinfo_tmp
7323
+ end
7324
+ end
7325
+ @RequestId = params['RequestId']
7326
+ end
7327
+ end
7328
+
7329
+ # DescribeStreamLinkFlowStatistics请求参数结构体
7330
+ class DescribeStreamLinkFlowStatisticsRequest < TencentCloud::Common::AbstractModel
7331
+ # @param FlowId: 传输流ID。
7332
+ # @type FlowId: String
7333
+ # @param Type: 输入或输出类型,可选[input|output]。
7334
+ # @type Type: String
7335
+ # @param InputOutputId: 输入或输出Id。
7336
+ # @type InputOutputId: String
7337
+ # @param Pipeline: 主通道或备通道,可选[0|1]。
7338
+ # @type Pipeline: String
7339
+ # @param Period: 查询间隔,可选[5s|1min|5min|15min]。
7340
+ # @type Period: String
7341
+ # @param StartTime: 统计的开始时间,默认为前一小时,最多支持查询近7天。
7342
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7343
+ # @type StartTime: String
7344
+ # @param EndTime: 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
7345
+ # UTC时间,如'2020-01-01T12:00:00Z'。
7346
+ # @type EndTime: String
7347
+
7348
+ attr_accessor :FlowId, :Type, :InputOutputId, :Pipeline, :Period, :StartTime, :EndTime
7349
+
7350
+ def initialize(flowid=nil, type=nil, inputoutputid=nil, pipeline=nil, period=nil, starttime=nil, endtime=nil)
7351
+ @FlowId = flowid
7352
+ @Type = type
7353
+ @InputOutputId = inputoutputid
7354
+ @Pipeline = pipeline
7355
+ @Period = period
7356
+ @StartTime = starttime
7357
+ @EndTime = endtime
7358
+ end
7359
+
7360
+ def deserialize(params)
7361
+ @FlowId = params['FlowId']
7362
+ @Type = params['Type']
7363
+ @InputOutputId = params['InputOutputId']
7364
+ @Pipeline = params['Pipeline']
7365
+ @Period = params['Period']
7366
+ @StartTime = params['StartTime']
7367
+ @EndTime = params['EndTime']
7368
+ end
7369
+ end
7370
+
7371
+ # DescribeStreamLinkFlowStatistics返回参数结构体
7372
+ class DescribeStreamLinkFlowStatisticsResponse < TencentCloud::Common::AbstractModel
7373
+ # @param Infos: 传输流的媒体数据列表。
7374
+ # @type Infos: Array
7375
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7376
+ # @type RequestId: String
7377
+
7378
+ attr_accessor :Infos, :RequestId
5608
7379
 
5609
- def initialize(totalcount=nil, personset=nil, requestid=nil)
5610
- @TotalCount = totalcount
5611
- @PersonSet = personset
7380
+ def initialize(infos=nil, requestid=nil)
7381
+ @Infos = infos
5612
7382
  @RequestId = requestid
5613
7383
  end
5614
7384
 
5615
7385
  def deserialize(params)
5616
- @TotalCount = params['TotalCount']
5617
- unless params['PersonSet'].nil?
5618
- @PersonSet = []
5619
- params['PersonSet'].each do |i|
5620
- aisampleperson_tmp = AiSamplePerson.new
5621
- aisampleperson_tmp.deserialize(i)
5622
- @PersonSet << aisampleperson_tmp
7386
+ unless params['Infos'].nil?
7387
+ @Infos = []
7388
+ params['Infos'].each do |i|
7389
+ flowstatisticsarray_tmp = FlowStatisticsArray.new
7390
+ flowstatisticsarray_tmp.deserialize(i)
7391
+ @Infos << flowstatisticsarray_tmp
5623
7392
  end
5624
7393
  end
5625
7394
  @RequestId = params['RequestId']
5626
7395
  end
5627
7396
  end
5628
7397
 
5629
- # DescribeSampleSnapshotTemplates请求参数结构体
5630
- class DescribeSampleSnapshotTemplatesRequest < TencentCloud::Common::AbstractModel
5631
- # @param Definitions: 采样截图模板唯一标识过滤条件,数组长度限制:100
5632
- # @type Definitions: Array
5633
- # @param Offset: 分页偏移量,默认值:0
5634
- # @type Offset: Integer
5635
- # @param Limit: 返回记录条数,默认值:10,最大值:100。
5636
- # @type Limit: Integer
5637
- # @param Type: 模板类型过滤条件,可选值:
5638
- # <li>Preset:系统预置模板;</li>
5639
- # <li>Custom:用户自定义模板。</li>
5640
- # @type Type: String
7398
+ # DescribeStreamLinkFlows请求参数结构体
7399
+ class DescribeStreamLinkFlowsRequest < TencentCloud::Common::AbstractModel
7400
+ # @param PageNum: 当前页数,默认1
7401
+ # @type PageNum: Integer
7402
+ # @param PageSize: 每页大小,默认10
7403
+ # @type PageSize: Integer
5641
7404
 
5642
- attr_accessor :Definitions, :Offset, :Limit, :Type
7405
+ attr_accessor :PageNum, :PageSize
5643
7406
 
5644
- def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
5645
- @Definitions = definitions
5646
- @Offset = offset
5647
- @Limit = limit
5648
- @Type = type
7407
+ def initialize(pagenum=nil, pagesize=nil)
7408
+ @PageNum = pagenum
7409
+ @PageSize = pagesize
5649
7410
  end
5650
7411
 
5651
7412
  def deserialize(params)
5652
- @Definitions = params['Definitions']
5653
- @Offset = params['Offset']
5654
- @Limit = params['Limit']
5655
- @Type = params['Type']
7413
+ @PageNum = params['PageNum']
7414
+ @PageSize = params['PageSize']
5656
7415
  end
5657
7416
  end
5658
7417
 
5659
- # DescribeSampleSnapshotTemplates返回参数结构体
5660
- class DescribeSampleSnapshotTemplatesResponse < TencentCloud::Common::AbstractModel
5661
- # @param TotalCount: 符合过滤条件的记录总数。
5662
- # @type TotalCount: Integer
5663
- # @param SampleSnapshotTemplateSet: 采样截图模板详情列表。
5664
- # @type SampleSnapshotTemplateSet: Array
7418
+ # DescribeStreamLinkFlows返回参数结构体
7419
+ class DescribeStreamLinkFlowsResponse < TencentCloud::Common::AbstractModel
7420
+ # @param Infos: 流的配置信息列表。
7421
+ # @type Infos: Array
7422
+ # @param PageNum: 当前页数。
7423
+ # @type PageNum: Integer
7424
+ # @param PageSize: 每页大小。
7425
+ # @type PageSize: Integer
7426
+ # @param TotalNum: 总数量。
7427
+ # @type TotalNum: Integer
7428
+ # @param TotalPage: 总页数。
7429
+ # @type TotalPage: Integer
5665
7430
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5666
7431
  # @type RequestId: String
5667
7432
 
5668
- attr_accessor :TotalCount, :SampleSnapshotTemplateSet, :RequestId
7433
+ attr_accessor :Infos, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
5669
7434
 
5670
- def initialize(totalcount=nil, samplesnapshottemplateset=nil, requestid=nil)
5671
- @TotalCount = totalcount
5672
- @SampleSnapshotTemplateSet = samplesnapshottemplateset
7435
+ def initialize(infos=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
7436
+ @Infos = infos
7437
+ @PageNum = pagenum
7438
+ @PageSize = pagesize
7439
+ @TotalNum = totalnum
7440
+ @TotalPage = totalpage
5673
7441
  @RequestId = requestid
5674
7442
  end
5675
7443
 
5676
7444
  def deserialize(params)
5677
- @TotalCount = params['TotalCount']
5678
- unless params['SampleSnapshotTemplateSet'].nil?
5679
- @SampleSnapshotTemplateSet = []
5680
- params['SampleSnapshotTemplateSet'].each do |i|
5681
- samplesnapshottemplate_tmp = SampleSnapshotTemplate.new
5682
- samplesnapshottemplate_tmp.deserialize(i)
5683
- @SampleSnapshotTemplateSet << samplesnapshottemplate_tmp
7445
+ unless params['Infos'].nil?
7446
+ @Infos = []
7447
+ params['Infos'].each do |i|
7448
+ describeflow_tmp = DescribeFlow.new
7449
+ describeflow_tmp.deserialize(i)
7450
+ @Infos << describeflow_tmp
5684
7451
  end
5685
7452
  end
7453
+ @PageNum = params['PageNum']
7454
+ @PageSize = params['PageSize']
7455
+ @TotalNum = params['TotalNum']
7456
+ @TotalPage = params['TotalPage']
5686
7457
  @RequestId = params['RequestId']
5687
7458
  end
5688
7459
  end
5689
7460
 
5690
- # DescribeSnapshotByTimeOffsetTemplates请求参数结构体
5691
- class DescribeSnapshotByTimeOffsetTemplatesRequest < TencentCloud::Common::AbstractModel
5692
- # @param Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
5693
- # @type Definitions: Array
5694
- # @param Offset: 分页偏移量,默认值:0。
5695
- # @type Offset: Integer
5696
- # @param Limit: 返回记录条数,默认值:10,最大值:100。
5697
- # @type Limit: Integer
5698
- # @param Type: 模板类型过滤条件,可选值:
5699
- # <li>Preset:系统预置模板;</li>
5700
- # <li>Custom:用户自定义模板。</li>
5701
- # @type Type: String
7461
+ # DescribeStreamLinkRegions请求参数结构体
7462
+ class DescribeStreamLinkRegionsRequest < TencentCloud::Common::AbstractModel
5702
7463
 
5703
- attr_accessor :Definitions, :Offset, :Limit, :Type
5704
7464
 
5705
- def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
5706
- @Definitions = definitions
5707
- @Offset = offset
5708
- @Limit = limit
5709
- @Type = type
7465
+ def initialize()
5710
7466
  end
5711
7467
 
5712
7468
  def deserialize(params)
5713
- @Definitions = params['Definitions']
5714
- @Offset = params['Offset']
5715
- @Limit = params['Limit']
5716
- @Type = params['Type']
5717
7469
  end
5718
7470
  end
5719
7471
 
5720
- # DescribeSnapshotByTimeOffsetTemplates返回参数结构体
5721
- class DescribeSnapshotByTimeOffsetTemplatesResponse < TencentCloud::Common::AbstractModel
5722
- # @param TotalCount: 符合过滤条件的记录总数。
5723
- # @type TotalCount: Integer
5724
- # @param SnapshotByTimeOffsetTemplateSet: 指定时间点截图模板详情列表。
5725
- # @type SnapshotByTimeOffsetTemplateSet: Array
7472
+ # DescribeStreamLinkRegions返回参数结构体
7473
+ class DescribeStreamLinkRegionsResponse < TencentCloud::Common::AbstractModel
7474
+ # @param Info: 媒体传输地区信息。
7475
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.StreamLinkRegionInfo`
5726
7476
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5727
7477
  # @type RequestId: String
5728
7478
 
5729
- attr_accessor :TotalCount, :SnapshotByTimeOffsetTemplateSet, :RequestId
7479
+ attr_accessor :Info, :RequestId
5730
7480
 
5731
- def initialize(totalcount=nil, snapshotbytimeoffsettemplateset=nil, requestid=nil)
5732
- @TotalCount = totalcount
5733
- @SnapshotByTimeOffsetTemplateSet = snapshotbytimeoffsettemplateset
7481
+ def initialize(info=nil, requestid=nil)
7482
+ @Info = info
5734
7483
  @RequestId = requestid
5735
7484
  end
5736
7485
 
5737
7486
  def deserialize(params)
5738
- @TotalCount = params['TotalCount']
5739
- unless params['SnapshotByTimeOffsetTemplateSet'].nil?
5740
- @SnapshotByTimeOffsetTemplateSet = []
5741
- params['SnapshotByTimeOffsetTemplateSet'].each do |i|
5742
- snapshotbytimeoffsettemplate_tmp = SnapshotByTimeOffsetTemplate.new
5743
- snapshotbytimeoffsettemplate_tmp.deserialize(i)
5744
- @SnapshotByTimeOffsetTemplateSet << snapshotbytimeoffsettemplate_tmp
5745
- end
7487
+ unless params['Info'].nil?
7488
+ @Info = StreamLinkRegionInfo.new
7489
+ @Info.deserialize(params['Info'])
5746
7490
  end
5747
7491
  @RequestId = params['RequestId']
5748
7492
  end
@@ -6666,8 +8410,510 @@ module TencentCloud
6666
8410
  end
6667
8411
 
6668
8412
  def deserialize(params)
6669
- @Switch = params['Switch']
6670
- @Intensity = params['Intensity']
8413
+ @Switch = params['Switch']
8414
+ @Intensity = params['Intensity']
8415
+ end
8416
+ end
8417
+
8418
+ # 流的音频数据。
8419
+ class FlowAudio < TencentCloud::Common::AbstractModel
8420
+ # @param Fps: 帧率。
8421
+ # @type Fps: Integer
8422
+ # @param Rate: 码率,单位是bps。
8423
+ # @type Rate: Integer
8424
+ # @param Pid: 音频Pid。
8425
+ # @type Pid: Integer
8426
+
8427
+ attr_accessor :Fps, :Rate, :Pid
8428
+
8429
+ def initialize(fps=nil, rate=nil, pid=nil)
8430
+ @Fps = fps
8431
+ @Rate = rate
8432
+ @Pid = pid
8433
+ end
8434
+
8435
+ def deserialize(params)
8436
+ @Fps = params['Fps']
8437
+ @Rate = params['Rate']
8438
+ @Pid = params['Pid']
8439
+ end
8440
+ end
8441
+
8442
+ # 传输流日志信息。
8443
+ class FlowLogInfo < TencentCloud::Common::AbstractModel
8444
+ # @param Timestamp: 时间戳,单位为秒。
8445
+ # @type Timestamp: Integer
8446
+ # @param Type: 输入输出类型(input/output)。
8447
+ # @type Type: String
8448
+ # @param InputOutputId: 输入或输出Id。
8449
+ # @type InputOutputId: String
8450
+ # @param Protocol: 协议。
8451
+ # @type Protocol: String
8452
+ # @param EventCode: 事件代码。
8453
+ # @type EventCode: String
8454
+ # @param EventMessage: 事件信息。
8455
+ # @type EventMessage: String
8456
+ # @param RemoteIp: 对端IP。
8457
+ # @type RemoteIp: String
8458
+ # @param RemotePort: 对端端口。
8459
+ # @type RemotePort: String
8460
+ # @param Pipeline: 主备通道,0为主通道,1为备通道。
8461
+ # @type Pipeline: String
8462
+ # @param InputOutputName: 输入或输出的名称。
8463
+ # @type InputOutputName: String
8464
+
8465
+ attr_accessor :Timestamp, :Type, :InputOutputId, :Protocol, :EventCode, :EventMessage, :RemoteIp, :RemotePort, :Pipeline, :InputOutputName
8466
+
8467
+ def initialize(timestamp=nil, type=nil, inputoutputid=nil, protocol=nil, eventcode=nil, eventmessage=nil, remoteip=nil, remoteport=nil, pipeline=nil, inputoutputname=nil)
8468
+ @Timestamp = timestamp
8469
+ @Type = type
8470
+ @InputOutputId = inputoutputid
8471
+ @Protocol = protocol
8472
+ @EventCode = eventcode
8473
+ @EventMessage = eventmessage
8474
+ @RemoteIp = remoteip
8475
+ @RemotePort = remoteport
8476
+ @Pipeline = pipeline
8477
+ @InputOutputName = inputoutputname
8478
+ end
8479
+
8480
+ def deserialize(params)
8481
+ @Timestamp = params['Timestamp']
8482
+ @Type = params['Type']
8483
+ @InputOutputId = params['InputOutputId']
8484
+ @Protocol = params['Protocol']
8485
+ @EventCode = params['EventCode']
8486
+ @EventMessage = params['EventMessage']
8487
+ @RemoteIp = params['RemoteIp']
8488
+ @RemotePort = params['RemotePort']
8489
+ @Pipeline = params['Pipeline']
8490
+ @InputOutputName = params['InputOutputName']
8491
+ end
8492
+ end
8493
+
8494
+ # 传输流媒体的音频数据。
8495
+ class FlowMediaAudio < TencentCloud::Common::AbstractModel
8496
+ # @param Fps: 帧率。
8497
+ # @type Fps: Integer
8498
+ # @param Rate: 码率,单位是bps。
8499
+ # @type Rate: Integer
8500
+ # @param Pid: 音频Pid。
8501
+ # @type Pid: Integer
8502
+ # @param SessionId: 标志同一次推流。
8503
+ # @type SessionId: String
8504
+
8505
+ attr_accessor :Fps, :Rate, :Pid, :SessionId
8506
+
8507
+ def initialize(fps=nil, rate=nil, pid=nil, sessionid=nil)
8508
+ @Fps = fps
8509
+ @Rate = rate
8510
+ @Pid = pid
8511
+ @SessionId = sessionid
8512
+ end
8513
+
8514
+ def deserialize(params)
8515
+ @Fps = params['Fps']
8516
+ @Rate = params['Rate']
8517
+ @Pid = params['Pid']
8518
+ @SessionId = params['SessionId']
8519
+ end
8520
+ end
8521
+
8522
+ # 传输流的媒体数据。
8523
+ class FlowMediaInfo < TencentCloud::Common::AbstractModel
8524
+ # @param Timestamp: 时间戳,单位是秒。
8525
+ # @type Timestamp: Integer
8526
+ # @param Network: 总带宽。
8527
+ # @type Network: Integer
8528
+ # @param Video: 传输流的视频数据。
8529
+ # @type Video: Array
8530
+ # @param Audio: 传输流的音频数据。
8531
+ # @type Audio: Array
8532
+ # @param SessionId: 标志同一次推流。
8533
+ # @type SessionId: String
8534
+ # @param ClientIp: 客户端IP。
8535
+ # @type ClientIp: String
8536
+
8537
+ attr_accessor :Timestamp, :Network, :Video, :Audio, :SessionId, :ClientIp
8538
+
8539
+ def initialize(timestamp=nil, network=nil, video=nil, audio=nil, sessionid=nil, clientip=nil)
8540
+ @Timestamp = timestamp
8541
+ @Network = network
8542
+ @Video = video
8543
+ @Audio = audio
8544
+ @SessionId = sessionid
8545
+ @ClientIp = clientip
8546
+ end
8547
+
8548
+ def deserialize(params)
8549
+ @Timestamp = params['Timestamp']
8550
+ @Network = params['Network']
8551
+ unless params['Video'].nil?
8552
+ @Video = []
8553
+ params['Video'].each do |i|
8554
+ flowmediavideo_tmp = FlowMediaVideo.new
8555
+ flowmediavideo_tmp.deserialize(i)
8556
+ @Video << flowmediavideo_tmp
8557
+ end
8558
+ end
8559
+ unless params['Audio'].nil?
8560
+ @Audio = []
8561
+ params['Audio'].each do |i|
8562
+ flowmediaaudio_tmp = FlowMediaAudio.new
8563
+ flowmediaaudio_tmp.deserialize(i)
8564
+ @Audio << flowmediaaudio_tmp
8565
+ end
8566
+ end
8567
+ @SessionId = params['SessionId']
8568
+ @ClientIp = params['ClientIp']
8569
+ end
8570
+ end
8571
+
8572
+ # 传输流媒体的视频数据。
8573
+ class FlowMediaVideo < TencentCloud::Common::AbstractModel
8574
+ # @param Fps: 帧率。
8575
+ # @type Fps: Integer
8576
+ # @param Rate: 码率,单位是bps。
8577
+ # @type Rate: Integer
8578
+ # @param Pid: 视频Pid。
8579
+ # @type Pid: Integer
8580
+ # @param SessionId: 标志同一次推流。
8581
+ # @type SessionId: String
8582
+
8583
+ attr_accessor :Fps, :Rate, :Pid, :SessionId
8584
+
8585
+ def initialize(fps=nil, rate=nil, pid=nil, sessionid=nil)
8586
+ @Fps = fps
8587
+ @Rate = rate
8588
+ @Pid = pid
8589
+ @SessionId = sessionid
8590
+ end
8591
+
8592
+ def deserialize(params)
8593
+ @Fps = params['Fps']
8594
+ @Rate = params['Rate']
8595
+ @Pid = params['Pid']
8596
+ @SessionId = params['SessionId']
8597
+ end
8598
+ end
8599
+
8600
+ # 实时流状态查询的通用状态信息。
8601
+ class FlowRealtimeStatusCommon < TencentCloud::Common::AbstractModel
8602
+ # @param State: 当前连接状态,Connected|Waiting|Idle。
8603
+ # @type State: String
8604
+ # @param Mode: 连接模式,Listener|Caller。
8605
+ # @type Mode: String
8606
+ # @param ConnectedTime: 已连接时长,单位为ms。
8607
+ # @type ConnectedTime: Integer
8608
+ # @param Bitrate: 实时码率,单位为bps。
8609
+ # @type Bitrate: Integer
8610
+ # @param Reconnections: 重试次数。
8611
+ # @type Reconnections: Integer
8612
+
8613
+ attr_accessor :State, :Mode, :ConnectedTime, :Bitrate, :Reconnections
8614
+
8615
+ def initialize(state=nil, mode=nil, connectedtime=nil, bitrate=nil, reconnections=nil)
8616
+ @State = state
8617
+ @Mode = mode
8618
+ @ConnectedTime = connectedtime
8619
+ @Bitrate = bitrate
8620
+ @Reconnections = reconnections
8621
+ end
8622
+
8623
+ def deserialize(params)
8624
+ @State = params['State']
8625
+ @Mode = params['Mode']
8626
+ @ConnectedTime = params['ConnectedTime']
8627
+ @Bitrate = params['Bitrate']
8628
+ @Reconnections = params['Reconnections']
8629
+ end
8630
+ end
8631
+
8632
+ # 流状态实时查询接口的流状态信息
8633
+ class FlowRealtimeStatusItem < TencentCloud::Common::AbstractModel
8634
+ # @param Type: 类型,Input|Output。
8635
+ # @type Type: String
8636
+ # @param InputId: 输入Id,如果Type为Input,此字段不为空。
8637
+ # @type InputId: String
8638
+ # @param OutputId: 输出Id,如果Type为Output,此字段不为空。
8639
+ # @type OutputId: String
8640
+ # @param FlowId: 流Id。
8641
+ # @type FlowId: String
8642
+ # @param Protocol: 协议, SRT | RTMP。
8643
+ # @type Protocol: String
8644
+ # @param CommonStatus: 共同状态信息。
8645
+ # @type CommonStatus: :class:`Tencentcloud::Mps.v20190612.models.FlowRealtimeStatusCommon`
8646
+ # @param SRTStatus: 如果是SRT协议则有此字段。
8647
+ # 注意:此字段可能返回 null,表示取不到有效值。
8648
+ # @type SRTStatus: :class:`Tencentcloud::Mps.v20190612.models.FlowRealtimeStatusSRT`
8649
+ # @param RTMPStatus: 如果是RTMP协议则有此字段。
8650
+ # 注意:此字段可能返回 null,表示取不到有效值。
8651
+ # @type RTMPStatus: :class:`Tencentcloud::Mps.v20190612.models.FlowRealtimeStatusRTMP`
8652
+ # @param ConnectServerIP: 服务器IP。
8653
+ # @type ConnectServerIP: String
8654
+ # @param RTPStatus: 如果是RTP协议则有此字段。
8655
+ # 注意:此字段可能返回 null,表示取不到有效值。
8656
+ # @type RTPStatus: :class:`Tencentcloud::Mps.v20190612.models.FlowRealtimeStatusRTP`
8657
+
8658
+ attr_accessor :Type, :InputId, :OutputId, :FlowId, :Protocol, :CommonStatus, :SRTStatus, :RTMPStatus, :ConnectServerIP, :RTPStatus
8659
+
8660
+ def initialize(type=nil, inputid=nil, outputid=nil, flowid=nil, protocol=nil, commonstatus=nil, srtstatus=nil, rtmpstatus=nil, connectserverip=nil, rtpstatus=nil)
8661
+ @Type = type
8662
+ @InputId = inputid
8663
+ @OutputId = outputid
8664
+ @FlowId = flowid
8665
+ @Protocol = protocol
8666
+ @CommonStatus = commonstatus
8667
+ @SRTStatus = srtstatus
8668
+ @RTMPStatus = rtmpstatus
8669
+ @ConnectServerIP = connectserverip
8670
+ @RTPStatus = rtpstatus
8671
+ end
8672
+
8673
+ def deserialize(params)
8674
+ @Type = params['Type']
8675
+ @InputId = params['InputId']
8676
+ @OutputId = params['OutputId']
8677
+ @FlowId = params['FlowId']
8678
+ @Protocol = params['Protocol']
8679
+ unless params['CommonStatus'].nil?
8680
+ @CommonStatus = FlowRealtimeStatusCommon.new
8681
+ @CommonStatus.deserialize(params['CommonStatus'])
8682
+ end
8683
+ unless params['SRTStatus'].nil?
8684
+ @SRTStatus = FlowRealtimeStatusSRT.new
8685
+ @SRTStatus.deserialize(params['SRTStatus'])
8686
+ end
8687
+ unless params['RTMPStatus'].nil?
8688
+ @RTMPStatus = FlowRealtimeStatusRTMP.new
8689
+ @RTMPStatus.deserialize(params['RTMPStatus'])
8690
+ end
8691
+ @ConnectServerIP = params['ConnectServerIP']
8692
+ unless params['RTPStatus'].nil?
8693
+ @RTPStatus = FlowRealtimeStatusRTP.new
8694
+ @RTPStatus.deserialize(params['RTPStatus'])
8695
+ end
8696
+ end
8697
+ end
8698
+
8699
+ # 流状态实时查询接口的RTMP信息。
8700
+ class FlowRealtimeStatusRTMP < TencentCloud::Common::AbstractModel
8701
+ # @param VideoFPS: 视频帧率。
8702
+ # @type VideoFPS: Integer
8703
+ # @param AudioFPS: 音频帧率。
8704
+ # @type AudioFPS: Integer
8705
+
8706
+ attr_accessor :VideoFPS, :AudioFPS
8707
+
8708
+ def initialize(videofps=nil, audiofps=nil)
8709
+ @VideoFPS = videofps
8710
+ @AudioFPS = audiofps
8711
+ end
8712
+
8713
+ def deserialize(params)
8714
+ @VideoFPS = params['VideoFPS']
8715
+ @AudioFPS = params['AudioFPS']
8716
+ end
8717
+ end
8718
+
8719
+ # 流状态实时查询接口的RTP流状态信息
8720
+ class FlowRealtimeStatusRTP < TencentCloud::Common::AbstractModel
8721
+ # @param Packets: 传输的包个数
8722
+ # @type Packets: Integer
8723
+
8724
+ attr_accessor :Packets
8725
+
8726
+ def initialize(packets=nil)
8727
+ @Packets = packets
8728
+ end
8729
+
8730
+ def deserialize(params)
8731
+ @Packets = params['Packets']
8732
+ end
8733
+ end
8734
+
8735
+ # 流状态实时查询接口的SRT信息。
8736
+ class FlowRealtimeStatusSRT < TencentCloud::Common::AbstractModel
8737
+ # @param Latency: 延迟,单位为ms。
8738
+ # @type Latency: Integer
8739
+ # @param RTT: RTT,单位为ms。
8740
+ # @type RTT: Integer
8741
+ # @param Packets: 实时发包数或者收包数。
8742
+ # @type Packets: Integer
8743
+ # @param PacketLossRate: 丢包率。
8744
+ # @type PacketLossRate: Float
8745
+ # @param RetransmitRate: 重传率。
8746
+ # @type RetransmitRate: Float
8747
+ # @param DroppedPackets: 实时丢包数。
8748
+ # @type DroppedPackets: Integer
8749
+ # @param Encryption: 是否加密,On|Off。
8750
+ # @type Encryption: String
8751
+
8752
+ attr_accessor :Latency, :RTT, :Packets, :PacketLossRate, :RetransmitRate, :DroppedPackets, :Encryption
8753
+
8754
+ def initialize(latency=nil, rtt=nil, packets=nil, packetlossrate=nil, retransmitrate=nil, droppedpackets=nil, encryption=nil)
8755
+ @Latency = latency
8756
+ @RTT = rtt
8757
+ @Packets = packets
8758
+ @PacketLossRate = packetlossrate
8759
+ @RetransmitRate = retransmitrate
8760
+ @DroppedPackets = droppedpackets
8761
+ @Encryption = encryption
8762
+ end
8763
+
8764
+ def deserialize(params)
8765
+ @Latency = params['Latency']
8766
+ @RTT = params['RTT']
8767
+ @Packets = params['Packets']
8768
+ @PacketLossRate = params['PacketLossRate']
8769
+ @RetransmitRate = params['RetransmitRate']
8770
+ @DroppedPackets = params['DroppedPackets']
8771
+ @Encryption = params['Encryption']
8772
+ end
8773
+ end
8774
+
8775
+ # 传输流的SRT质量数据。
8776
+ class FlowSRTInfo < TencentCloud::Common::AbstractModel
8777
+ # @param Timestamp: 时间戳,单位是秒。
8778
+ # @type Timestamp: Integer
8779
+ # @param SendPacketLossRate: 发送丢包率。
8780
+ # @type SendPacketLossRate: Integer
8781
+ # @param SendRetransmissionRate: 发送重传率。
8782
+ # @type SendRetransmissionRate: Integer
8783
+ # @param RecvPacketLossRate: 接收丢包率。
8784
+ # @type RecvPacketLossRate: Integer
8785
+ # @param RecvRetransmissionRate: 接收重传率。
8786
+ # @type RecvRetransmissionRate: Integer
8787
+ # @param RTT: 与对端的RTT时延。
8788
+ # @type RTT: Integer
8789
+ # @param SessionId: 标志同一次推流。
8790
+ # @type SessionId: String
8791
+ # @param SendPacketDropNumber: 发送弃包数。
8792
+ # @type SendPacketDropNumber: Integer
8793
+ # @param RecvPacketDropNumber: 接收弃包数。
8794
+ # @type RecvPacketDropNumber: Integer
8795
+
8796
+ attr_accessor :Timestamp, :SendPacketLossRate, :SendRetransmissionRate, :RecvPacketLossRate, :RecvRetransmissionRate, :RTT, :SessionId, :SendPacketDropNumber, :RecvPacketDropNumber
8797
+
8798
+ def initialize(timestamp=nil, sendpacketlossrate=nil, sendretransmissionrate=nil, recvpacketlossrate=nil, recvretransmissionrate=nil, rtt=nil, sessionid=nil, sendpacketdropnumber=nil, recvpacketdropnumber=nil)
8799
+ @Timestamp = timestamp
8800
+ @SendPacketLossRate = sendpacketlossrate
8801
+ @SendRetransmissionRate = sendretransmissionrate
8802
+ @RecvPacketLossRate = recvpacketlossrate
8803
+ @RecvRetransmissionRate = recvretransmissionrate
8804
+ @RTT = rtt
8805
+ @SessionId = sessionid
8806
+ @SendPacketDropNumber = sendpacketdropnumber
8807
+ @RecvPacketDropNumber = recvpacketdropnumber
8808
+ end
8809
+
8810
+ def deserialize(params)
8811
+ @Timestamp = params['Timestamp']
8812
+ @SendPacketLossRate = params['SendPacketLossRate']
8813
+ @SendRetransmissionRate = params['SendRetransmissionRate']
8814
+ @RecvPacketLossRate = params['RecvPacketLossRate']
8815
+ @RecvRetransmissionRate = params['RecvRetransmissionRate']
8816
+ @RTT = params['RTT']
8817
+ @SessionId = params['SessionId']
8818
+ @SendPacketDropNumber = params['SendPacketDropNumber']
8819
+ @RecvPacketDropNumber = params['RecvPacketDropNumber']
8820
+ end
8821
+ end
8822
+
8823
+ # 流的统计数据。
8824
+ class FlowStatistics < TencentCloud::Common::AbstractModel
8825
+ # @param SessionId: 会话Id。
8826
+ # @type SessionId: String
8827
+ # @param ClientIp: 对端IP。
8828
+ # @type ClientIp: String
8829
+ # @param Network: 总带宽。
8830
+ # @type Network: Integer
8831
+ # @param Video: 视频数据。
8832
+ # @type Video: Array
8833
+ # @param Audio: 音频数据。
8834
+ # @type Audio: Array
8835
+
8836
+ attr_accessor :SessionId, :ClientIp, :Network, :Video, :Audio
8837
+
8838
+ def initialize(sessionid=nil, clientip=nil, network=nil, video=nil, audio=nil)
8839
+ @SessionId = sessionid
8840
+ @ClientIp = clientip
8841
+ @Network = network
8842
+ @Video = video
8843
+ @Audio = audio
8844
+ end
8845
+
8846
+ def deserialize(params)
8847
+ @SessionId = params['SessionId']
8848
+ @ClientIp = params['ClientIp']
8849
+ @Network = params['Network']
8850
+ unless params['Video'].nil?
8851
+ @Video = []
8852
+ params['Video'].each do |i|
8853
+ flowvideo_tmp = FlowVideo.new
8854
+ flowvideo_tmp.deserialize(i)
8855
+ @Video << flowvideo_tmp
8856
+ end
8857
+ end
8858
+ unless params['Audio'].nil?
8859
+ @Audio = []
8860
+ params['Audio'].each do |i|
8861
+ flowaudio_tmp = FlowAudio.new
8862
+ flowaudio_tmp.deserialize(i)
8863
+ @Audio << flowaudio_tmp
8864
+ end
8865
+ end
8866
+ end
8867
+ end
8868
+
8869
+ # 流的统计数据列表。
8870
+ class FlowStatisticsArray < TencentCloud::Common::AbstractModel
8871
+ # @param Timestamp: 时间戳。
8872
+ # @type Timestamp: Integer
8873
+ # @param FlowStatistics: 每个会话的统计数据。
8874
+ # @type FlowStatistics: Array
8875
+
8876
+ attr_accessor :Timestamp, :FlowStatistics
8877
+
8878
+ def initialize(timestamp=nil, flowstatistics=nil)
8879
+ @Timestamp = timestamp
8880
+ @FlowStatistics = flowstatistics
8881
+ end
8882
+
8883
+ def deserialize(params)
8884
+ @Timestamp = params['Timestamp']
8885
+ unless params['FlowStatistics'].nil?
8886
+ @FlowStatistics = []
8887
+ params['FlowStatistics'].each do |i|
8888
+ flowstatistics_tmp = FlowStatistics.new
8889
+ flowstatistics_tmp.deserialize(i)
8890
+ @FlowStatistics << flowstatistics_tmp
8891
+ end
8892
+ end
8893
+ end
8894
+ end
8895
+
8896
+ # 流的视频数据。
8897
+ class FlowVideo < TencentCloud::Common::AbstractModel
8898
+ # @param Fps: 帧率。
8899
+ # @type Fps: Integer
8900
+ # @param Rate: 码率,单位是bps。
8901
+ # @type Rate: Integer
8902
+ # @param Pid: 音频Pid。
8903
+ # @type Pid: Integer
8904
+
8905
+ attr_accessor :Fps, :Rate, :Pid
8906
+
8907
+ def initialize(fps=nil, rate=nil, pid=nil)
8908
+ @Fps = fps
8909
+ @Rate = rate
8910
+ @Pid = pid
8911
+ end
8912
+
8913
+ def deserialize(params)
8914
+ @Fps = params['Fps']
8915
+ @Rate = params['Rate']
8916
+ @Pid = params['Pid']
6671
8917
  end
6672
8918
  end
6673
8919
 
@@ -7063,6 +9309,26 @@ module TencentCloud
7063
9309
  end
7064
9310
  end
7065
9311
 
9312
+ # 输入地址信息。
9313
+ class InputAddress < TencentCloud::Common::AbstractModel
9314
+ # @param Ip: 输入地址的IP。
9315
+ # @type Ip: String
9316
+ # @param Port: 输入地址的端口。
9317
+ # @type Port: Integer
9318
+
9319
+ attr_accessor :Ip, :Port
9320
+
9321
+ def initialize(ip=nil, port=nil)
9322
+ @Ip = ip
9323
+ @Port = port
9324
+ end
9325
+
9326
+ def deserialize(params)
9327
+ @Ip = params['Ip']
9328
+ @Port = params['Port']
9329
+ end
9330
+ end
9331
+
7066
9332
  # 直播流 AI 识别结果
7067
9333
  class LiveStreamAiRecognitionResultInfo < TencentCloud::Common::AbstractModel
7068
9334
  # @param ResultSet: 内容识别结果列表。
@@ -9464,6 +11730,127 @@ module TencentCloud
9464
11730
  end
9465
11731
  end
9466
11732
 
11733
+ # 修改输入信息的参数。
11734
+ class ModifyInput < TencentCloud::Common::AbstractModel
11735
+ # @param InputId: 输入Id。
11736
+ # @type InputId: String
11737
+ # @param InputName: 输入名称。
11738
+ # @type InputName: String
11739
+ # @param Description: 输入描述。
11740
+ # @type Description: String
11741
+ # @param AllowIpList: 允许的推流的IP,CIDR格式。
11742
+ # @type AllowIpList: Array
11743
+ # @param SRTSettings: SRT的配置信息。
11744
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputSRTSettings`
11745
+ # @param RTPSettings: RTP的配置信息。
11746
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTPSettings`
11747
+ # @param Protocol: 输入的协议,可选[SRT|RTP|RTMP]。
11748
+ # 当输出包含RTP时,输入只能是RTP。
11749
+ # 当输出包含RTMP时,输入可以是SRT/RTMP。
11750
+ # 当输出包含SRT时,输入只能是SRT。
11751
+ # @type Protocol: String
11752
+ # @param FailOver: 输入的主备开关,可选[OPEN|CLOSE]。
11753
+ # @type FailOver: String
11754
+ # @param RTMPPullSettings: RTMP_PULL的配置信息。
11755
+ # @type RTMPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTMPPullSettings`
11756
+ # @param RTSPPullSettings: RTSP_PULL的配置信息。
11757
+ # @type RTSPPullSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRTSPPullSettings`
11758
+
11759
+ attr_accessor :InputId, :InputName, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :Protocol, :FailOver, :RTMPPullSettings, :RTSPPullSettings
11760
+
11761
+ def initialize(inputid=nil, inputname=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, protocol=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil)
11762
+ @InputId = inputid
11763
+ @InputName = inputname
11764
+ @Description = description
11765
+ @AllowIpList = allowiplist
11766
+ @SRTSettings = srtsettings
11767
+ @RTPSettings = rtpsettings
11768
+ @Protocol = protocol
11769
+ @FailOver = failover
11770
+ @RTMPPullSettings = rtmppullsettings
11771
+ @RTSPPullSettings = rtsppullsettings
11772
+ end
11773
+
11774
+ def deserialize(params)
11775
+ @InputId = params['InputId']
11776
+ @InputName = params['InputName']
11777
+ @Description = params['Description']
11778
+ @AllowIpList = params['AllowIpList']
11779
+ unless params['SRTSettings'].nil?
11780
+ @SRTSettings = CreateInputSRTSettings.new
11781
+ @SRTSettings.deserialize(params['SRTSettings'])
11782
+ end
11783
+ unless params['RTPSettings'].nil?
11784
+ @RTPSettings = CreateInputRTPSettings.new
11785
+ @RTPSettings.deserialize(params['RTPSettings'])
11786
+ end
11787
+ @Protocol = params['Protocol']
11788
+ @FailOver = params['FailOver']
11789
+ unless params['RTMPPullSettings'].nil?
11790
+ @RTMPPullSettings = CreateInputRTMPPullSettings.new
11791
+ @RTMPPullSettings.deserialize(params['RTMPPullSettings'])
11792
+ end
11793
+ unless params['RTSPPullSettings'].nil?
11794
+ @RTSPPullSettings = CreateInputRTSPPullSettings.new
11795
+ @RTSPPullSettings.deserialize(params['RTSPPullSettings'])
11796
+ end
11797
+ end
11798
+ end
11799
+
11800
+ # 修改Output配置。
11801
+ class ModifyOutputInfo < TencentCloud::Common::AbstractModel
11802
+ # @param OutputId: 需要修改的Output的Id。
11803
+ # @type OutputId: String
11804
+ # @param OutputName: 输出的名称。
11805
+ # @type OutputName: String
11806
+ # @param Description: 输出的描述。
11807
+ # @type Description: String
11808
+ # @param Protocol: 输出的转推协议,支持SRT|RTP|RTMP。
11809
+ # @type Protocol: String
11810
+ # @param SRTSettings: 转推SRT的配置。
11811
+ # @type SRTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputSRTSettings`
11812
+ # @param RTPSettings: 转推RTP的配置。
11813
+ # @type RTPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputInfoRTPSettings`
11814
+ # @param RTMPSettings: 转推RTMP的配置。
11815
+ # @type RTMPSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputRTMPSettings`
11816
+ # @param AllowIpList: IP白名单列表,格式为CIDR,如0.0.0.0/0。
11817
+ # 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
11818
+ # @type AllowIpList: Array
11819
+
11820
+ attr_accessor :OutputId, :OutputName, :Description, :Protocol, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList
11821
+
11822
+ def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil)
11823
+ @OutputId = outputid
11824
+ @OutputName = outputname
11825
+ @Description = description
11826
+ @Protocol = protocol
11827
+ @SRTSettings = srtsettings
11828
+ @RTPSettings = rtpsettings
11829
+ @RTMPSettings = rtmpsettings
11830
+ @AllowIpList = allowiplist
11831
+ end
11832
+
11833
+ def deserialize(params)
11834
+ @OutputId = params['OutputId']
11835
+ @OutputName = params['OutputName']
11836
+ @Description = params['Description']
11837
+ @Protocol = params['Protocol']
11838
+ unless params['SRTSettings'].nil?
11839
+ @SRTSettings = CreateOutputSRTSettings.new
11840
+ @SRTSettings.deserialize(params['SRTSettings'])
11841
+ end
11842
+ unless params['RTPSettings'].nil?
11843
+ @RTPSettings = CreateOutputInfoRTPSettings.new
11844
+ @RTPSettings.deserialize(params['RTPSettings'])
11845
+ end
11846
+ unless params['RTMPSettings'].nil?
11847
+ @RTMPSettings = CreateOutputRTMPSettings.new
11848
+ @RTMPSettings.deserialize(params['RTMPSettings'])
11849
+ end
11850
+ @AllowIpList = params['AllowIpList']
11851
+ end
11852
+ end
11853
+
9467
11854
  # ModifyPersonSample请求参数结构体
9468
11855
  class ModifyPersonSampleRequest < TencentCloud::Common::AbstractModel
9469
11856
  # @param PersonId: 素材 ID。
@@ -9712,6 +12099,134 @@ module TencentCloud
9712
12099
  end
9713
12100
  end
9714
12101
 
12102
+ # ModifyStreamLinkFlow请求参数结构体
12103
+ class ModifyStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
12104
+ # @param FlowId: 流Id。
12105
+ # @type FlowId: String
12106
+ # @param FlowName: 需要修改的流名称。
12107
+ # @type FlowName: String
12108
+
12109
+ attr_accessor :FlowId, :FlowName
12110
+
12111
+ def initialize(flowid=nil, flowname=nil)
12112
+ @FlowId = flowid
12113
+ @FlowName = flowname
12114
+ end
12115
+
12116
+ def deserialize(params)
12117
+ @FlowId = params['FlowId']
12118
+ @FlowName = params['FlowName']
12119
+ end
12120
+ end
12121
+
12122
+ # ModifyStreamLinkFlow返回参数结构体
12123
+ class ModifyStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
12124
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12125
+ # @type RequestId: String
12126
+
12127
+ attr_accessor :RequestId
12128
+
12129
+ def initialize(requestid=nil)
12130
+ @RequestId = requestid
12131
+ end
12132
+
12133
+ def deserialize(params)
12134
+ @RequestId = params['RequestId']
12135
+ end
12136
+ end
12137
+
12138
+ # ModifyStreamLinkInput请求参数结构体
12139
+ class ModifyStreamLinkInputRequest < TencentCloud::Common::AbstractModel
12140
+ # @param FlowId: 流Id。
12141
+ # @type FlowId: String
12142
+ # @param Input: 需要修改的Input信息。
12143
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.ModifyInput`
12144
+
12145
+ attr_accessor :FlowId, :Input
12146
+
12147
+ def initialize(flowid=nil, input=nil)
12148
+ @FlowId = flowid
12149
+ @Input = input
12150
+ end
12151
+
12152
+ def deserialize(params)
12153
+ @FlowId = params['FlowId']
12154
+ unless params['Input'].nil?
12155
+ @Input = ModifyInput.new
12156
+ @Input.deserialize(params['Input'])
12157
+ end
12158
+ end
12159
+ end
12160
+
12161
+ # ModifyStreamLinkInput返回参数结构体
12162
+ class ModifyStreamLinkInputResponse < TencentCloud::Common::AbstractModel
12163
+ # @param Info: 修改后的Input信息。
12164
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeInput`
12165
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12166
+ # @type RequestId: String
12167
+
12168
+ attr_accessor :Info, :RequestId
12169
+
12170
+ def initialize(info=nil, requestid=nil)
12171
+ @Info = info
12172
+ @RequestId = requestid
12173
+ end
12174
+
12175
+ def deserialize(params)
12176
+ unless params['Info'].nil?
12177
+ @Info = DescribeInput.new
12178
+ @Info.deserialize(params['Info'])
12179
+ end
12180
+ @RequestId = params['RequestId']
12181
+ end
12182
+ end
12183
+
12184
+ # ModifyStreamLinkOutputInfo请求参数结构体
12185
+ class ModifyStreamLinkOutputInfoRequest < TencentCloud::Common::AbstractModel
12186
+ # @param FlowId: 流Id。
12187
+ # @type FlowId: String
12188
+ # @param Output: 需要修改的Output配置。
12189
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.ModifyOutputInfo`
12190
+
12191
+ attr_accessor :FlowId, :Output
12192
+
12193
+ def initialize(flowid=nil, output=nil)
12194
+ @FlowId = flowid
12195
+ @Output = output
12196
+ end
12197
+
12198
+ def deserialize(params)
12199
+ @FlowId = params['FlowId']
12200
+ unless params['Output'].nil?
12201
+ @Output = ModifyOutputInfo.new
12202
+ @Output.deserialize(params['Output'])
12203
+ end
12204
+ end
12205
+ end
12206
+
12207
+ # ModifyStreamLinkOutputInfo返回参数结构体
12208
+ class ModifyStreamLinkOutputInfoResponse < TencentCloud::Common::AbstractModel
12209
+ # @param Info: 修改后的Output配置。
12210
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeOutput`
12211
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12212
+ # @type RequestId: String
12213
+
12214
+ attr_accessor :Info, :RequestId
12215
+
12216
+ def initialize(info=nil, requestid=nil)
12217
+ @Info = info
12218
+ @RequestId = requestid
12219
+ end
12220
+
12221
+ def deserialize(params)
12222
+ unless params['Info'].nil?
12223
+ @Info = DescribeOutput.new
12224
+ @Info.deserialize(params['Info'])
12225
+ end
12226
+ @RequestId = params['RequestId']
12227
+ end
12228
+ end
12229
+
9715
12230
  # ModifyTranscodeTemplate请求参数结构体
9716
12231
  class ModifyTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
9717
12232
  # @param Definition: 转码模板唯一标识。
@@ -10102,6 +12617,42 @@ module TencentCloud
10102
12617
  end
10103
12618
  end
10104
12619
 
12620
+ # 输出的出口的地址。
12621
+ class OutputAddress < TencentCloud::Common::AbstractModel
12622
+ # @param Ip: 出口IP。
12623
+ # @type Ip: String
12624
+
12625
+ attr_accessor :Ip
12626
+
12627
+ def initialize(ip=nil)
12628
+ @Ip = ip
12629
+ end
12630
+
12631
+ def deserialize(params)
12632
+ @Ip = params['Ip']
12633
+ end
12634
+ end
12635
+
12636
+ # SRT输出的监听地址。
12637
+ class OutputSRTSourceAddressResp < TencentCloud::Common::AbstractModel
12638
+ # @param Ip: 监听IP。
12639
+ # @type Ip: String
12640
+ # @param Port: 监听端口。
12641
+ # @type Port: Integer
12642
+
12643
+ attr_accessor :Ip, :Port
12644
+
12645
+ def initialize(ip=nil, port=nil)
12646
+ @Ip = ip
12647
+ @Port = port
12648
+ end
12649
+
12650
+ def deserialize(params)
12651
+ @Ip = params['Ip']
12652
+ @Port = params['Port']
12653
+ end
12654
+ end
12655
+
10105
12656
  # 自定义转码的规格参数。用于覆盖模板中对应参数值。
10106
12657
  class OverrideTranscodeParameter < TencentCloud::Common::AbstractModel
10107
12658
  # @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
@@ -11129,6 +13680,82 @@ module TencentCloud
11129
13680
  end
11130
13681
  end
11131
13682
 
13683
+ # RTMP转推的目标地址信息。
13684
+ class RTMPAddressDestination < TencentCloud::Common::AbstractModel
13685
+ # @param Url: 转推RTMP的目标Url,格式如'rtmp://domain/live'。
13686
+ # @type Url: String
13687
+ # @param StreamKey: 转推RTMP的目标StreamKey,格式如'steamid?key=value'。
13688
+ # @type StreamKey: String
13689
+
13690
+ attr_accessor :Url, :StreamKey
13691
+
13692
+ def initialize(url=nil, streamkey=nil)
13693
+ @Url = url
13694
+ @StreamKey = streamkey
13695
+ end
13696
+
13697
+ def deserialize(params)
13698
+ @Url = params['Url']
13699
+ @StreamKey = params['StreamKey']
13700
+ end
13701
+ end
13702
+
13703
+ # 创建的输入RTMP拉流源站配置信息。
13704
+ class RTMPPullSourceAddress < TencentCloud::Common::AbstractModel
13705
+ # @param TcUrl: RTMP源站的TcUrl地址。
13706
+ # @type TcUrl: String
13707
+ # @param StreamKey: RTMP源站的StreamKey信息。
13708
+ # @type StreamKey: String
13709
+
13710
+ attr_accessor :TcUrl, :StreamKey
13711
+
13712
+ def initialize(tcurl=nil, streamkey=nil)
13713
+ @TcUrl = tcurl
13714
+ @StreamKey = streamkey
13715
+ end
13716
+
13717
+ def deserialize(params)
13718
+ @TcUrl = params['TcUrl']
13719
+ @StreamKey = params['StreamKey']
13720
+ end
13721
+ end
13722
+
13723
+ # 转推的RTP目标地址信息。
13724
+ class RTPAddressDestination < TencentCloud::Common::AbstractModel
13725
+ # @param Ip: 转推的目标地址的IP。
13726
+ # @type Ip: String
13727
+ # @param Port: 转推的目标地址的端口。
13728
+ # @type Port: Integer
13729
+
13730
+ attr_accessor :Ip, :Port
13731
+
13732
+ def initialize(ip=nil, port=nil)
13733
+ @Ip = ip
13734
+ @Port = port
13735
+ end
13736
+
13737
+ def deserialize(params)
13738
+ @Ip = params['Ip']
13739
+ @Port = params['Port']
13740
+ end
13741
+ end
13742
+
13743
+ # 创建的输入RTSP拉流源站配置信息。
13744
+ class RTSPPullSourceAddress < TencentCloud::Common::AbstractModel
13745
+ # @param Url: RTSP源站的Url地址。
13746
+ # @type Url: String
13747
+
13748
+ attr_accessor :Url
13749
+
13750
+ def initialize(url=nil)
13751
+ @Url = url
13752
+ end
13753
+
13754
+ def deserialize(params)
13755
+ @Url = params['Url']
13756
+ end
13757
+ end
13758
+
11132
13759
  # 图片水印模板输入参数
11133
13760
  class RawImageWatermarkInput < TencentCloud::Common::AbstractModel
11134
13761
  # @param ImageContent: 水印图片的输入内容。支持 jpeg、png 图片格式。
@@ -11317,6 +13944,22 @@ module TencentCloud
11317
13944
  end
11318
13945
  end
11319
13946
 
13947
+ # 地区信息。
13948
+ class RegionInfo < TencentCloud::Common::AbstractModel
13949
+ # @param Name: 地区名称。
13950
+ # @type Name: String
13951
+
13952
+ attr_accessor :Name
13953
+
13954
+ def initialize(name=nil)
13955
+ @Name = name
13956
+ end
13957
+
13958
+ def deserialize(params)
13959
+ @Name = params['Name']
13960
+ end
13961
+ end
13962
+
11320
13963
  # ResetWorkflow请求参数结构体
11321
13964
  class ResetWorkflowRequest < TencentCloud::Common::AbstractModel
11322
13965
  # @param WorkflowId: 工作流 ID。
@@ -11410,6 +14053,66 @@ module TencentCloud
11410
14053
  end
11411
14054
  end
11412
14055
 
14056
+ # 转推的目标地址信息。
14057
+ class SRTAddressDestination < TencentCloud::Common::AbstractModel
14058
+ # @param Ip: 目标地址的IP。
14059
+ # @type Ip: String
14060
+ # @param Port: 目标地址的端口。
14061
+ # @type Port: Integer
14062
+
14063
+ attr_accessor :Ip, :Port
14064
+
14065
+ def initialize(ip=nil, port=nil)
14066
+ @Ip = ip
14067
+ @Port = port
14068
+ end
14069
+
14070
+ def deserialize(params)
14071
+ @Ip = params['Ip']
14072
+ @Port = params['Port']
14073
+ end
14074
+ end
14075
+
14076
+ # SRT输入源地址。
14077
+ class SRTSourceAddressReq < TencentCloud::Common::AbstractModel
14078
+ # @param Ip: 对端IP。
14079
+ # @type Ip: String
14080
+ # @param Port: 对端端口。
14081
+ # @type Port: Integer
14082
+
14083
+ attr_accessor :Ip, :Port
14084
+
14085
+ def initialize(ip=nil, port=nil)
14086
+ @Ip = ip
14087
+ @Port = port
14088
+ end
14089
+
14090
+ def deserialize(params)
14091
+ @Ip = params['Ip']
14092
+ @Port = params['Port']
14093
+ end
14094
+ end
14095
+
14096
+ # SRT输入源地址。
14097
+ class SRTSourceAddressResp < TencentCloud::Common::AbstractModel
14098
+ # @param Ip: 对端IP。
14099
+ # @type Ip: String
14100
+ # @param Port: 对端端口。
14101
+ # @type Port: Integer
14102
+
14103
+ attr_accessor :Ip, :Port
14104
+
14105
+ def initialize(ip=nil, port=nil)
14106
+ @Ip = ip
14107
+ @Port = port
14108
+ end
14109
+
14110
+ def deserialize(params)
14111
+ @Ip = params['Ip']
14112
+ @Port = params['Port']
14113
+ end
14114
+ end
14115
+
11413
14116
  # 对视频做采样截图任务输入参数类型。
11414
14117
  class SampleSnapshotTaskInput < TencentCloud::Common::AbstractModel
11415
14118
  # @param Definition: 采样截图模板 ID。
@@ -11915,6 +14618,93 @@ module TencentCloud
11915
14618
  end
11916
14619
  end
11917
14620
 
14621
+ # StartStreamLinkFlow请求参数结构体
14622
+ class StartStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
14623
+ # @param FlowId: 流Id。
14624
+ # @type FlowId: String
14625
+
14626
+ attr_accessor :FlowId
14627
+
14628
+ def initialize(flowid=nil)
14629
+ @FlowId = flowid
14630
+ end
14631
+
14632
+ def deserialize(params)
14633
+ @FlowId = params['FlowId']
14634
+ end
14635
+ end
14636
+
14637
+ # StartStreamLinkFlow返回参数结构体
14638
+ class StartStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
14639
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14640
+ # @type RequestId: String
14641
+
14642
+ attr_accessor :RequestId
14643
+
14644
+ def initialize(requestid=nil)
14645
+ @RequestId = requestid
14646
+ end
14647
+
14648
+ def deserialize(params)
14649
+ @RequestId = params['RequestId']
14650
+ end
14651
+ end
14652
+
14653
+ # StopStreamLinkFlow请求参数结构体
14654
+ class StopStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
14655
+ # @param FlowId: 流Id。
14656
+ # @type FlowId: String
14657
+
14658
+ attr_accessor :FlowId
14659
+
14660
+ def initialize(flowid=nil)
14661
+ @FlowId = flowid
14662
+ end
14663
+
14664
+ def deserialize(params)
14665
+ @FlowId = params['FlowId']
14666
+ end
14667
+ end
14668
+
14669
+ # StopStreamLinkFlow返回参数结构体
14670
+ class StopStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
14671
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14672
+ # @type RequestId: String
14673
+
14674
+ attr_accessor :RequestId
14675
+
14676
+ def initialize(requestid=nil)
14677
+ @RequestId = requestid
14678
+ end
14679
+
14680
+ def deserialize(params)
14681
+ @RequestId = params['RequestId']
14682
+ end
14683
+ end
14684
+
14685
+ # 媒体传输的地区信息。
14686
+ class StreamLinkRegionInfo < TencentCloud::Common::AbstractModel
14687
+ # @param Regions: 媒体直传输的地区信息列表。
14688
+ # @type Regions: Array
14689
+
14690
+ attr_accessor :Regions
14691
+
14692
+ def initialize(regions=nil)
14693
+ @Regions = regions
14694
+ end
14695
+
14696
+ def deserialize(params)
14697
+ unless params['Regions'].nil?
14698
+ @Regions = []
14699
+ params['Regions'].each do |i|
14700
+ regioninfo_tmp = RegionInfo.new
14701
+ regioninfo_tmp.deserialize(i)
14702
+ @Regions << regioninfo_tmp
14703
+ end
14704
+ end
14705
+ end
14706
+ end
14707
+
11918
14708
  # 字幕流配置参数。
11919
14709
  class SubtitleTemplate < TencentCloud::Common::AbstractModel
11920
14710