tencentcloud-sdk-mps 3.0.743 → 3.0.744

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +36 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3a440fe8d98327ff3ca5998ed144e8ae1ebdbab
4
- data.tar.gz: 46ab8c5ff3296fc8b20553ffc2b7f879c074dac7
3
+ metadata.gz: 24148b24d1f20bb8dae769ac51ae2c0dec6d2e44
4
+ data.tar.gz: d5232c00c052b84331624cfdcfa3effe323a8060
5
5
  SHA512:
6
- metadata.gz: ae350b426b3ec4dbeb751f167ccb6ba137c6e370c375021c0376d0ea4a1761f8624299472e90993dcea526aed78a8c401acd9976aa165f299a208370a8e535b3
7
- data.tar.gz: 5a1c30ca355ed50204bdc09d70dc9aa4acadc1c1d0359cee71c9cde19f6c36ecba82fa55862ee83db68ff59181c38caa80ef0b7569e7a55ea34420f575d251f9
6
+ metadata.gz: b09355eaa7098a72b7197a530e6feaabcb52599f97a335bc4e06b54f63d86e34c0c03c7a08f0ca70ee7dec53f7f166ceeb6bd1870b1df518d66cae380a398514
7
+ data.tar.gz: b43d8680cc8aeb99ea7d7a0a83b16660ccae24fe561ab8872914d47989ff975131b719202df1015dc90ebc171e7b97bf46efd0a2c4191c336aa5ddf2301d9aed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.743
1
+ 3.0.744
@@ -1619,16 +1619,20 @@ module TencentCloud
1619
1619
  # @param Output: 语音全文识别任务输出信息。
1620
1620
  # 注意:此字段可能返回 null,表示取不到有效值。
1621
1621
  # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskAsrFullTextResultOutput`
1622
+ # @param Progress: 任务进度。
1623
+ # 注意:此字段可能返回 null,表示取不到有效值。
1624
+ # @type Progress: Integer
1622
1625
 
1623
- attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
1626
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
1624
1627
 
1625
- def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
1628
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
1626
1629
  @Status = status
1627
1630
  @ErrCodeExt = errcodeext
1628
1631
  @ErrCode = errcode
1629
1632
  @Message = message
1630
1633
  @Input = input
1631
1634
  @Output = output
1635
+ @Progress = progress
1632
1636
  end
1633
1637
 
1634
1638
  def deserialize(params)
@@ -1644,6 +1648,7 @@ module TencentCloud
1644
1648
  @Output = AiRecognitionTaskAsrFullTextResultOutput.new
1645
1649
  @Output.deserialize(params['Output'])
1646
1650
  end
1651
+ @Progress = params['Progress']
1647
1652
  end
1648
1653
  end
1649
1654
 
@@ -2497,16 +2502,20 @@ module TencentCloud
2497
2502
  # @param Output: 翻译任务输出信息。
2498
2503
  # 注意:此字段可能返回 null,表示取不到有效值。
2499
2504
  # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskTransTextResultOutput`
2505
+ # @param Progress: 任务进度。
2506
+ # 注意:此字段可能返回 null,表示取不到有效值。
2507
+ # @type Progress: Integer
2500
2508
 
2501
- attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
2509
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
2502
2510
 
2503
- def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
2511
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
2504
2512
  @Status = status
2505
2513
  @ErrCodeExt = errcodeext
2506
2514
  @ErrCode = errcode
2507
2515
  @Message = message
2508
2516
  @Input = input
2509
2517
  @Output = output
2518
+ @Progress = progress
2510
2519
  end
2511
2520
 
2512
2521
  def deserialize(params)
@@ -2522,6 +2531,7 @@ module TencentCloud
2522
2531
  @Output = AiRecognitionTaskTransTextResultOutput.new
2523
2532
  @Output.deserialize(params['Output'])
2524
2533
  end
2534
+ @Progress = params['Progress']
2525
2535
  end
2526
2536
  end
2527
2537
 
@@ -4124,6 +4134,8 @@ module TencentCloud
4124
4134
  # 音频流配置参数
4125
4135
  class AudioTemplateInfo < TencentCloud::Common::AbstractModel
4126
4136
  # @param Codec: 音频流的编码格式。
4137
+ # 当不需要对音频进行转码时,可选值为:
4138
+ # <li>copy。</li>
4127
4139
  # 当外层参数 Container 为 mp3 时,可选值为:
4128
4140
  # <li>libmp3lame。</li>
4129
4141
  # 当外层参数 Container 为 ogg 或 flac 时,可选值为:
@@ -4134,7 +4146,8 @@ module TencentCloud
4134
4146
  # <li>ac3。</li>
4135
4147
  # 当外层参数 Container 为 mp4 或 flv 时,可选值为:
4136
4148
  # <li>libfdk_aac:更适合 mp4;</li>
4137
- # <li>libmp3lame:更适合 flv。</li>
4149
+ # <li>libmp3lame:更适合 flv;</li>
4150
+ # <li>mp2。</li>
4138
4151
  # 当外层参数 Container 为 hls 时,可选值为:
4139
4152
  # <li>libfdk_aac;</li>
4140
4153
  # <li>libmp3lame。</li>
@@ -4176,6 +4189,8 @@ module TencentCloud
4176
4189
  # 音频流配置参数
4177
4190
  class AudioTemplateInfoForUpdate < TencentCloud::Common::AbstractModel
4178
4191
  # @param Codec: 音频流的编码格式。
4192
+ # 当不需要对音频进行转码时,可选值为:
4193
+ # <li>copy。</li>
4179
4194
  # 当外层参数 Container 为 mp3 时,可选值为:
4180
4195
  # <li>libmp3lame。</li>
4181
4196
  # 当外层参数 Container 为 ogg 或 flac 时,可选值为:
@@ -4564,19 +4579,25 @@ module TencentCloud
4564
4579
  # <li>1:单声道 。</li>
4565
4580
  # <li>2:双声道(默认)。</li>
4566
4581
  # @type AudioChannel: Integer
4582
+ # @param Bitrate: 参考码率,单位 kbps,范围:26~10000。
4583
+ # 如果设置,编码时会尽量按该码率进行编码。
4584
+ # 如果不设置,服务将根据音频参数自动采用合适的码率。
4585
+ # @type Bitrate: Integer
4567
4586
 
4568
- attr_accessor :Codec, :SampleRate, :AudioChannel
4587
+ attr_accessor :Codec, :SampleRate, :AudioChannel, :Bitrate
4569
4588
 
4570
- def initialize(codec=nil, samplerate=nil, audiochannel=nil)
4589
+ def initialize(codec=nil, samplerate=nil, audiochannel=nil, bitrate=nil)
4571
4590
  @Codec = codec
4572
4591
  @SampleRate = samplerate
4573
4592
  @AudioChannel = audiochannel
4593
+ @Bitrate = bitrate
4574
4594
  end
4575
4595
 
4576
4596
  def deserialize(params)
4577
4597
  @Codec = params['Codec']
4578
4598
  @SampleRate = params['SampleRate']
4579
4599
  @AudioChannel = params['AudioChannel']
4600
+ @Bitrate = params['Bitrate']
4580
4601
  end
4581
4602
  end
4582
4603
 
@@ -5291,17 +5312,23 @@ module TencentCloud
5291
5312
  # @param Fps: 视频帧率,取值范围:[0, 60],单位:Hz。
5292
5313
  # 默认值:0,表示和第一个视频帧率一致。
5293
5314
  # @type Fps: Integer
5315
+ # @param Bitrate: 参考码率,单位 kbps,范围:50~35000。
5316
+ # 如果设置,编码时会尽量按该码率进行编码。
5317
+ # 如果不设置,服务将通过画面复杂度自动采用合适的码率。
5318
+ # @type Bitrate: Integer
5294
5319
 
5295
- attr_accessor :Codec, :Fps
5320
+ attr_accessor :Codec, :Fps, :Bitrate
5296
5321
 
5297
- def initialize(codec=nil, fps=nil)
5322
+ def initialize(codec=nil, fps=nil, bitrate=nil)
5298
5323
  @Codec = codec
5299
5324
  @Fps = fps
5325
+ @Bitrate = bitrate
5300
5326
  end
5301
5327
 
5302
5328
  def deserialize(params)
5303
5329
  @Codec = params['Codec']
5304
5330
  @Fps = params['Fps']
5331
+ @Bitrate = params['Bitrate']
5305
5332
  end
5306
5333
  end
5307
5334
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.743
4
+ version: 3.0.744
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common