tencentcloud-sdk-trtc 3.0.538 → 3.0.539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 379c7f1f757b4ed1eee9071d399d4488972b32c3
4
- data.tar.gz: dd9bceb83523ff4d0e7fafc0e07ce475b21e2b54
3
+ metadata.gz: 837318f1607659b6fec4e77ce2db9589f19b1757
4
+ data.tar.gz: 35cb21f13f0930354f3013f26cf59dfe9df9e822
5
5
  SHA512:
6
- metadata.gz: f01b4f3c9ae76040a273520c804e901984126bb91925a98518544bd7a539a01e861dfe6ab7c6081398b9920cbebf554efd6664d5e6aad8343964c18b3b76f380
7
- data.tar.gz: 3ee13e747a8c8a78dfc73b29d8d30a71b435a0805f22a6151f759801657696183799461b2c89caf9e792e88bcb26f0ed645eed22c6cebfba139ac35b2d1a6229
6
+ metadata.gz: 0ae4aab18ba4e0e263203d86a331517cd65b47bdffe1f0671ed62454404b7999f1c8de8cef4fe3444bb3b148e6e2e057586f10d058a7a13dcac7fb696c35f37f
7
+ data.tar.gz: 27b70a7450d08790001fef1f93d30f090e59daba69fa03d1b9fabbd16d9a04f8eb9b4faa7f424099bb77e51dc1f903bfb91fb848e6b795a0896073f662be0799
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.538
1
+ 3.0.539
@@ -937,7 +937,7 @@ module TencentCloud
937
937
  # 其他使用说明如下:
938
938
  # 1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。
939
939
  # 2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。
940
- # 3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐。
940
+ # 3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐,如您有转码/非转码切换,其余参数则必须全量带齐。
941
941
  # 4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。
942
942
  # 5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。
943
943
  # 6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。
@@ -1343,12 +1343,25 @@ module TencentCloud
1343
1343
 
1344
1344
  # DescribeTrtcRoomUsage请求参数结构体
1345
1345
  class DescribeTrtcRoomUsageRequest < TencentCloud::Common::AbstractModel
1346
+ # @param SdkAppid: TRTC的SdkAppId,和房间所对应的SdkAppId相同。
1347
+ # @type SdkAppid: Integer
1348
+ # @param StartTime: 查询开始时间,格式为YYYY-MM-DD HH:MM,精确到分钟级。
1349
+ # @type StartTime: String
1350
+ # @param EndTime: 查询结束时间,格式为YYYY-MM-DD HH:MM,单次查询不超过24h。
1351
+ # @type EndTime: String
1346
1352
 
1353
+ attr_accessor :SdkAppid, :StartTime, :EndTime
1347
1354
 
1348
- def initialize()
1355
+ def initialize(sdkappid=nil, starttime=nil, endtime=nil)
1356
+ @SdkAppid = sdkappid
1357
+ @StartTime = starttime
1358
+ @EndTime = endtime
1349
1359
  end
1350
1360
 
1351
1361
  def deserialize(params)
1362
+ @SdkAppid = params['SdkAppid']
1363
+ @StartTime = params['StartTime']
1364
+ @EndTime = params['EndTime']
1352
1365
  end
1353
1366
  end
1354
1367
 
@@ -2091,14 +2104,17 @@ module TencentCloud
2091
2104
  # @type MixLayoutList: Array
2092
2105
  # @param MaxVideoUser: 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
2093
2106
  # @type MaxVideoUser: :class:`Tencentcloud::Trtc.v20190722.models.MaxVideoUser`
2107
+ # @param RenderMode: 屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底
2108
+ # @type RenderMode: Integer
2094
2109
 
2095
- attr_accessor :MixLayoutMode, :PureAudioHoldPlaceMode, :MixLayoutList, :MaxVideoUser
2110
+ attr_accessor :MixLayoutMode, :PureAudioHoldPlaceMode, :MixLayoutList, :MaxVideoUser, :RenderMode
2096
2111
 
2097
- def initialize(mixlayoutmode=nil, pureaudioholdplacemode=nil, mixlayoutlist=nil, maxvideouser=nil)
2112
+ def initialize(mixlayoutmode=nil, pureaudioholdplacemode=nil, mixlayoutlist=nil, maxvideouser=nil, rendermode=nil)
2098
2113
  @MixLayoutMode = mixlayoutmode
2099
2114
  @PureAudioHoldPlaceMode = pureaudioholdplacemode
2100
2115
  @MixLayoutList = mixlayoutlist
2101
2116
  @MaxVideoUser = maxvideouser
2117
+ @RenderMode = rendermode
2102
2118
  end
2103
2119
 
2104
2120
  def deserialize(params)
@@ -2116,6 +2132,7 @@ module TencentCloud
2116
2132
  @MaxVideoUser = MaxVideoUser.new
2117
2133
  @MaxVideoUser.deserialize(params['MaxVideoUser'])
2118
2134
  end
2135
+ @RenderMode = params['RenderMode']
2119
2136
  end
2120
2137
  end
2121
2138
 
@@ -3465,19 +3482,19 @@ module TencentCloud
3465
3482
  # @type RoomIdType: Integer
3466
3483
  # @param AgentParams: 转推服务加入TRTC房间的机器人参数。
3467
3484
  # @type AgentParams: :class:`Tencentcloud::Trtc.v20190722.models.AgentParams`
3468
- # @param WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。
3485
+ # @param WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转吗费用。
3469
3486
  # @type WithTranscoding: Integer
3470
- # @param AudioParams: 转推流的音频编码参数。
3487
+ # @param AudioParams: 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
3471
3488
  # @type AudioParams: :class:`Tencentcloud::Trtc.v20190722.models.McuAudioParams`
3472
3489
  # @param VideoParams: 转推流的视频编码参数,不填表示纯音频转推。
3473
3490
  # @type VideoParams: :class:`Tencentcloud::Trtc.v20190722.models.McuVideoParams`
3474
3491
  # @param SingleSubscribeParams: 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
3475
3492
  # @type SingleSubscribeParams: :class:`Tencentcloud::Trtc.v20190722.models.SingleSubscribeParams`
3476
- # @param PublishCdnParams: 转推的CDN参数。
3493
+ # @param PublishCdnParams: 转推的CDN参数。和回推房间参数必须要有一个。
3477
3494
  # @type PublishCdnParams: Array
3478
3495
  # @param SeiParams: 混流SEI参数
3479
3496
  # @type SeiParams: :class:`Tencentcloud::Trtc.v20190722.models.McuSeiParams`
3480
- # @param FeedBackRoomParams: 回推房间信息
3497
+ # @param FeedBackRoomParams: 回推房间信息,和转推CDN参数必须要有一个。
3481
3498
  # @type FeedBackRoomParams: Array
3482
3499
 
3483
3500
  attr_accessor :SdkAppId, :RoomId, :RoomIdType, :AgentParams, :WithTranscoding, :AudioParams, :VideoParams, :SingleSubscribeParams, :PublishCdnParams, :SeiParams, :FeedBackRoomParams
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.538
4
+ version: 3.0.539
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common