tencentcloud-sdk-trtc 3.0.1183 → 3.0.1189

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/v20190722/models.rb +21 -5
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec83e2b2c006c281a8167f8bd22a96787bd66655
4
- data.tar.gz: ff2a637852509d2ad68c5058fd393bc1070744f7
3
+ metadata.gz: b0905d2bb184f53d5d7df396b5bd6a35fac34692
4
+ data.tar.gz: 6a0525795bee558ee4d50024406e47eab606ec2c
5
5
  SHA512:
6
- metadata.gz: 85a85377a63053724b7a432eba610b7ef4e808482a24dc563c88d3a14363ce1623a4e6ca74de328b16eabef60071b6592e657396e445262db4b958f593f12880
7
- data.tar.gz: 8144918ba366dfd2d53ae2b6f43f99c000b9f84197abebfeea4404e7c6cdd8f36d2ca82c5aa00ca0d32a4a29cb70fe7163df3cd5d53c4274f4913d3357f87e75
6
+ metadata.gz: 510509ae8e7db2da7bb3f9a20bf188392c683318ce23be94b567f59045c0d80ba08e967dc22222b2b395a2e56c63ca4ca02fa06caacfc1eea7a436fe6345059d
7
+ data.tar.gz: b939f46f8add354ba487f2146899ca59791b775082c6a887f8c3a11a864c5d6b4d64119553ba84b9aac2ffa414f866033a965d059a37f6fa4d86335e95772e1d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1183
1
+ 3.0.1189
@@ -5913,8 +5913,12 @@ module TencentCloud
5913
5913
  # @type MaxDuration: Integer
5914
5914
  # @param Volume: 音量,取值范围[0, 100],默认100,表示原音量。
5915
5915
  # @type Volume: Integer
5916
+ # @param EnableProgress: 开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
5917
+ # @type EnableProgress: Boolean
5918
+ # @param Tempo: 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
5919
+ # @type Tempo: Float
5916
5920
 
5917
- attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
5921
+ attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume, :EnableProgress, :Tempo
5918
5922
  extend Gem::Deprecate
5919
5923
  deprecate :VideoEncodeParams, :none, 2025, 12
5920
5924
  deprecate :VideoEncodeParams=, :none, 2025, 12
@@ -5923,7 +5927,7 @@ module TencentCloud
5923
5927
  deprecate :SourceUrl, :none, 2025, 12
5924
5928
  deprecate :SourceUrl=, :none, 2025, 12
5925
5929
 
5926
- def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil)
5930
+ def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil, enableprogress=nil, tempo=nil)
5927
5931
  @SdkAppId = sdkappid
5928
5932
  @RoomId = roomid
5929
5933
  @RoomIdType = roomidtype
@@ -5939,6 +5943,8 @@ module TencentCloud
5939
5943
  @RepeatNum = repeatnum
5940
5944
  @MaxDuration = maxduration
5941
5945
  @Volume = volume
5946
+ @EnableProgress = enableprogress
5947
+ @Tempo = tempo
5942
5948
  end
5943
5949
 
5944
5950
  def deserialize(params)
@@ -5963,6 +5969,8 @@ module TencentCloud
5963
5969
  @RepeatNum = params['RepeatNum']
5964
5970
  @MaxDuration = params['MaxDuration']
5965
5971
  @Volume = params['Volume']
5972
+ @EnableProgress = params['EnableProgress']
5973
+ @Tempo = params['Tempo']
5966
5974
  end
5967
5975
  end
5968
5976
 
@@ -7082,15 +7090,21 @@ module TencentCloud
7082
7090
  # @type Volume: Integer
7083
7091
  # @param IsPause: 是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,暂停超过12小时会自动销毁任务, 建议主动调用停止任务接口。
7084
7092
  # @type IsPause: Boolean
7093
+ # @param EnableProgress: 是否开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
7094
+ # @type EnableProgress: Boolean
7095
+ # @param Tempo: 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
7096
+ # @type Tempo: Float
7085
7097
 
7086
- attr_accessor :SdkAppId, :TaskId, :StreamUrl, :Volume, :IsPause
7098
+ attr_accessor :SdkAppId, :TaskId, :StreamUrl, :Volume, :IsPause, :EnableProgress, :Tempo
7087
7099
 
7088
- def initialize(sdkappid=nil, taskid=nil, streamurl=nil, volume=nil, ispause=nil)
7100
+ def initialize(sdkappid=nil, taskid=nil, streamurl=nil, volume=nil, ispause=nil, enableprogress=nil, tempo=nil)
7089
7101
  @SdkAppId = sdkappid
7090
7102
  @TaskId = taskid
7091
7103
  @StreamUrl = streamurl
7092
7104
  @Volume = volume
7093
7105
  @IsPause = ispause
7106
+ @EnableProgress = enableprogress
7107
+ @Tempo = tempo
7094
7108
  end
7095
7109
 
7096
7110
  def deserialize(params)
@@ -7099,6 +7113,8 @@ module TencentCloud
7099
7113
  @StreamUrl = params['StreamUrl']
7100
7114
  @Volume = params['Volume']
7101
7115
  @IsPause = params['IsPause']
7116
+ @EnableProgress = params['EnableProgress']
7117
+ @Tempo = params['Tempo']
7102
7118
  end
7103
7119
  end
7104
7120
 
@@ -7367,7 +7383,7 @@ module TencentCloud
7367
7383
  # @type SdkAppId: Integer
7368
7384
  # @param VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
7369
7385
  # @type VoiceName: String
7370
- # @param PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
7386
+ # @param PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在10秒~180秒之间
7371
7387
  # @type PromptAudio: String
7372
7388
  # @param APIKey: TTS的API密钥
7373
7389
  # @type APIKey: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1183
4
+ version: 3.0.1189
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-17 00:00:00.000000000 Z
11
+ date: 2025-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-trtc.rb
37
- - lib/v20190722/models.rb
38
36
  - lib/v20190722/client.rb
37
+ - lib/v20190722/models.rb
38
+ - lib/tencentcloud-sdk-trtc.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: