tencentcloud-sdk-live 3.0.944 → 3.0.946

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: 6bde14f5e86b4594aa6433cd4298511baae33463
4
- data.tar.gz: 36f55c9aa28e05f5dd5cba12218282645e4af733
3
+ metadata.gz: 6cfa41072287442286e01a06e171d4ee2858bf1d
4
+ data.tar.gz: 90e6e95b43e04536a6eff33f02da5f12e016263b
5
5
  SHA512:
6
- metadata.gz: 9eb637ee2e810cb826a7c68c5f30c3dc24957863e697a2d7b4276e2a2ee7677351e4a6d485385b7bffb90979d2da25c0ab3d1c6a33c071f961ddd61483dd9c1d
7
- data.tar.gz: 0406e2217449f6c7dcee0b2d55da1986595430d808d70e32b1af3f15a0b855a32233a2744aeeb82cf802f885b983574e3e5e8ddf988acd6c733556e35e5d8c28
6
+ metadata.gz: 0703a6fe085aba73c2fccce51bf024f0c8311fa38968c2f9c3581f04a14f46101a8da50486f2f74ccef73e73219d39a9c02bb2baf9ebe00a2869a7e7f1fd45da
7
+ data.tar.gz: 6d477eeba1021772e4b28d83c0475ccccaef06534c2132bcba7a5b2e2553f4ff8242617bf9c1d6a1ae8e906060fb55ec73a692632c3468774aaca8add2ea4e97
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.944
1
+ 3.0.946
@@ -151,6 +151,54 @@ module TencentCloud
151
151
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
152
152
  end
153
153
 
154
+ # 该接口用来复制导播台配置
155
+
156
+ # @param request: Request instance for CopyCaster.
157
+ # @type request: :class:`Tencentcloud::live::V20180801::CopyCasterRequest`
158
+ # @rtype: :class:`Tencentcloud::live::V20180801::CopyCasterResponse`
159
+ def CopyCaster(request)
160
+ body = send_request('CopyCaster', request.serialize)
161
+ response = JSON.parse(body)
162
+ if response['Response'].key?('Error') == false
163
+ model = CopyCasterResponse.new
164
+ model.deserialize(response['Response'])
165
+ model
166
+ else
167
+ code = response['Response']['Error']['Code']
168
+ message = response['Response']['Error']['Message']
169
+ reqid = response['Response']['RequestId']
170
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
171
+ end
172
+ rescue TencentCloud::Common::TencentCloudSDKException => e
173
+ raise e
174
+ rescue StandardError => e
175
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
+ end
177
+
178
+ # 该接口用来创建新的导播台
179
+
180
+ # @param request: Request instance for CreateCaster.
181
+ # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterRequest`
182
+ # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterResponse`
183
+ def CreateCaster(request)
184
+ body = send_request('CreateCaster', request.serialize)
185
+ response = JSON.parse(body)
186
+ if response['Response'].key?('Error') == false
187
+ model = CreateCasterResponse.new
188
+ model.deserialize(response['Response'])
189
+ model
190
+ else
191
+ code = response['Response']['Error']['Code']
192
+ message = response['Response']['Error']['Message']
193
+ reqid = response['Response']['RequestId']
194
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
195
+ end
196
+ rescue TencentCloud::Common::TencentCloudSDKException => e
197
+ raise e
198
+ rescue StandardError => e
199
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
+ end
201
+
154
202
  # 该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
155
203
  # 注意:当前最多支持16路混流。
156
204
  # 最佳实践:https://cloud.tencent.com/document/product/267/45566
@@ -686,6 +734,31 @@ module TencentCloud
686
734
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
687
735
  end
688
736
 
737
+ # 该接口用来删除一个导播台的所有信息。
738
+ # 注意,调用该接口后,所有的导播台信息将被清除,包括正在直播的内容也将直接中断。
739
+
740
+ # @param request: Request instance for DeleteCaster.
741
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterRequest`
742
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterResponse`
743
+ def DeleteCaster(request)
744
+ body = send_request('DeleteCaster', request.serialize)
745
+ response = JSON.parse(body)
746
+ if response['Response'].key?('Error') == false
747
+ model = DeleteCasterResponse.new
748
+ model.deserialize(response['Response'])
749
+ model
750
+ else
751
+ code = response['Response']['Error']['Code']
752
+ message = response['Response']['Error']['Message']
753
+ reqid = response['Response']['RequestId']
754
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
755
+ end
756
+ rescue TencentCloud::Common::TencentCloudSDKException => e
757
+ raise e
758
+ rescue StandardError => e
759
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
760
+ end
761
+
689
762
  # 删除回调规则。
690
763
 
691
764
  # @param request: Request instance for DeleteLiveCallbackRule.
@@ -1320,6 +1393,54 @@ module TencentCloud
1320
1393
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1321
1394
  end
1322
1395
 
1396
+ # 查询导播台信息接口,用来查询导播台状态、描述、输出长、宽等信息
1397
+
1398
+ # @param request: Request instance for DescribeCaster.
1399
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterRequest`
1400
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterResponse`
1401
+ def DescribeCaster(request)
1402
+ body = send_request('DescribeCaster', request.serialize)
1403
+ response = JSON.parse(body)
1404
+ if response['Response'].key?('Error') == false
1405
+ model = DescribeCasterResponse.new
1406
+ model.deserialize(response['Response'])
1407
+ model
1408
+ else
1409
+ code = response['Response']['Error']['Code']
1410
+ message = response['Response']['Error']['Message']
1411
+ reqid = response['Response']['RequestId']
1412
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1413
+ end
1414
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1415
+ raise e
1416
+ rescue StandardError => e
1417
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1418
+ end
1419
+
1420
+ # 查询导播台PVW任务和PGM任务的展示信息,包括使用的布局、水印、字幕等信息。
1421
+
1422
+ # @param request: Request instance for DescribeCasterDisplayInfo.
1423
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterDisplayInfoRequest`
1424
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterDisplayInfoResponse`
1425
+ def DescribeCasterDisplayInfo(request)
1426
+ body = send_request('DescribeCasterDisplayInfo', request.serialize)
1427
+ response = JSON.parse(body)
1428
+ if response['Response'].key?('Error') == false
1429
+ model = DescribeCasterDisplayInfoResponse.new
1430
+ model.deserialize(response['Response'])
1431
+ model
1432
+ else
1433
+ code = response['Response']['Error']['Code']
1434
+ message = response['Response']['Error']['Message']
1435
+ reqid = response['Response']['RequestId']
1436
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1437
+ end
1438
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1439
+ raise e
1440
+ rescue StandardError => e
1441
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1442
+ end
1443
+
1323
1444
  # 该接口用来查询账号下所有的导播台列表
1324
1445
 
1325
1446
  # @param request: Request instance for DescribeCasterList.
@@ -1344,6 +1465,30 @@ module TencentCloud
1344
1465
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1345
1466
  end
1346
1467
 
1468
+ # 该接口用来获取导播台视频流的播放url,用来在页面上拉流展示。
1469
+
1470
+ # @param request: Request instance for DescribeCasterPlayUrl.
1471
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterPlayUrlRequest`
1472
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterPlayUrlResponse`
1473
+ def DescribeCasterPlayUrl(request)
1474
+ body = send_request('DescribeCasterPlayUrl', request.serialize)
1475
+ response = JSON.parse(body)
1476
+ if response['Response'].key?('Error') == false
1477
+ model = DescribeCasterPlayUrlResponse.new
1478
+ model.deserialize(response['Response'])
1479
+ model
1480
+ else
1481
+ code = response['Response']['Error']['Code']
1482
+ message = response['Response']['Error']['Message']
1483
+ reqid = response['Response']['RequestId']
1484
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1485
+ end
1486
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1487
+ raise e
1488
+ rescue StandardError => e
1489
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1490
+ end
1491
+
1347
1492
  # 该接口用来获取所有的转场名称及其对应的素材url。
1348
1493
 
1349
1494
  # @param request: Request instance for DescribeCasterTransitionTypes.
@@ -2451,6 +2596,30 @@ module TencentCloud
2451
2596
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2452
2597
  end
2453
2598
 
2599
+ # 支持直播时移写入量数据查询。
2600
+
2601
+ # @param request: Request instance for DescribeLiveTimeShiftWriteSizeInfoList.
2602
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveTimeShiftWriteSizeInfoListRequest`
2603
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveTimeShiftWriteSizeInfoListResponse`
2604
+ def DescribeLiveTimeShiftWriteSizeInfoList(request)
2605
+ body = send_request('DescribeLiveTimeShiftWriteSizeInfoList', request.serialize)
2606
+ response = JSON.parse(body)
2607
+ if response['Response'].key?('Error') == false
2608
+ model = DescribeLiveTimeShiftWriteSizeInfoListResponse.new
2609
+ model.deserialize(response['Response'])
2610
+ model
2611
+ else
2612
+ code = response['Response']['Error']['Code']
2613
+ message = response['Response']['Error']['Message']
2614
+ reqid = response['Response']['RequestId']
2615
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2616
+ end
2617
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2618
+ raise e
2619
+ rescue StandardError => e
2620
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2621
+ end
2622
+
2454
2623
  # 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
2455
2624
  # 支持查询某天或某段时间的转码详细信息。由于转码数据量较大,如果查询时间跨度太长可能会拉不到数据,可以尝试将查询时间范围缩小些再重试。
2456
2625
 
@@ -3316,6 +3485,30 @@ module TencentCloud
3316
3485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3317
3486
  end
3318
3487
 
3488
+ # 该接口用来设置导播台的描述、名称、录制模板id等参数。
3489
+
3490
+ # @param request: Request instance for ModifyCaster.
3491
+ # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterRequest`
3492
+ # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterResponse`
3493
+ def ModifyCaster(request)
3494
+ body = send_request('ModifyCaster', request.serialize)
3495
+ response = JSON.parse(body)
3496
+ if response['Response'].key?('Error') == false
3497
+ model = ModifyCasterResponse.new
3498
+ model.deserialize(response['Response'])
3499
+ model
3500
+ else
3501
+ code = response['Response']['Error']['Code']
3502
+ message = response['Response']['Error']['Message']
3503
+ reqid = response['Response']['RequestId']
3504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3505
+ end
3506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3507
+ raise e
3508
+ rescue StandardError => e
3509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3510
+ end
3511
+
3319
3512
  # 修改回调模板。
3320
3513
 
3321
3514
  # @param request: Request instance for ModifyLiveCallbackTemplate.
@@ -684,10 +684,10 @@ module TencentCloud
684
684
  # 注意:此字段可能返回 null,表示取不到有效值。
685
685
  # @type CreateTime: Integer
686
686
  # @param Status: 导播台状态
687
- # 0:停止状态,无预监,无输出
688
- # 1:无预监,有输出状态(非法状态)
689
- # 2:有预监,无输出状态
690
- # 3:有预监,有输出状态
687
+ # 0:停止状态,无预监,无主监
688
+ # 1:无预监,有主监
689
+ # 2:有预监,无主监
690
+ # 3:有预监,有主监
691
691
  # 注意:此字段可能返回 null,表示取不到有效值。
692
692
  # @type Status: Integer
693
693
  # @param ExpireTime: 导播台的过期时间,值为-1或unix时间戳。
@@ -726,6 +726,159 @@ module TencentCloud
726
726
  end
727
727
  end
728
728
 
729
+ # 导播台展示信息,包括使用的布局、水印、字幕、转场、音频等信息
730
+ class CasterDisplayInfo < TencentCloud::Common::AbstractModel
731
+ # @param LayoutIndex: 布局Index。
732
+ # 如果使用自定义布局,为自定义布局下标。
733
+ # 如果使用单输入布局,如使用输入1,则LayoutIndexType=1, 且LayoutIndex=1,以此类推。
734
+ # 注意:此字段可能返回 null,表示取不到有效值。
735
+ # @type LayoutIndex: Integer
736
+ # @param MarkPicIndexList: 使用的水印Index列表。
737
+ # 注:当作为入参使用时,列表中的水印Index需要已经存在。
738
+ # 注意:此字段可能返回 null,表示取不到有效值。
739
+ # @type MarkPicIndexList: Array
740
+ # @param MarkWordIndexList: 使用的文字水印Index列表。
741
+ # 注:作为入参使用时,列表中的Index需要已经存在。
742
+ # 注意:此字段可能返回 null,表示取不到有效值。
743
+ # @type MarkWordIndexList: Array
744
+ # @param TransitionType: 使用的转场类型。
745
+ # 注:支持的转场类型可通过DescribeCasterTransitionTypes接口获取。
746
+ # 注意:此字段可能返回 null,表示取不到有效值。
747
+ # @type TransitionType: String
748
+ # @param AudioIndexList: 使用的音频输入Index列表。
749
+ # 注:当该字段非空时,表示使用布局中对应的输入源的视频,AudioIndexList中对应的输入源的音频。且这些输入源需已存在。
750
+ # 注意:此字段可能返回 null,表示取不到有效值。
751
+ # @type AudioIndexList: Array
752
+ # @param InputStartType: 作为入参时,表示使用点播输入源,单画面输入时,点播文件是否从头开始播放。
753
+ # 默认为0。
754
+ # 有效值,0,1。
755
+ # 0代表不从头播放
756
+ # 1代表从头播放
757
+ # 注意:此字段可能返回 null,表示取不到有效值。
758
+ # @type InputStartType: Integer
759
+ # @param LayoutIndexType: LayoutIndex类型,
760
+ # 默认值:0
761
+ # 可选值[0,1]
762
+ # 0:默认类型,代表普通布局
763
+ # 1:单输入类型,代表单输入布局
764
+ # 注意:此字段可能返回 null,表示取不到有效值。
765
+ # @type LayoutIndexType: Integer
766
+
767
+ attr_accessor :LayoutIndex, :MarkPicIndexList, :MarkWordIndexList, :TransitionType, :AudioIndexList, :InputStartType, :LayoutIndexType
768
+
769
+ def initialize(layoutindex=nil, markpicindexlist=nil, markwordindexlist=nil, transitiontype=nil, audioindexlist=nil, inputstarttype=nil, layoutindextype=nil)
770
+ @LayoutIndex = layoutindex
771
+ @MarkPicIndexList = markpicindexlist
772
+ @MarkWordIndexList = markwordindexlist
773
+ @TransitionType = transitiontype
774
+ @AudioIndexList = audioindexlist
775
+ @InputStartType = inputstarttype
776
+ @LayoutIndexType = layoutindextype
777
+ end
778
+
779
+ def deserialize(params)
780
+ @LayoutIndex = params['LayoutIndex']
781
+ @MarkPicIndexList = params['MarkPicIndexList']
782
+ @MarkWordIndexList = params['MarkWordIndexList']
783
+ @TransitionType = params['TransitionType']
784
+ @AudioIndexList = params['AudioIndexList']
785
+ @InputStartType = params['InputStartType']
786
+ @LayoutIndexType = params['LayoutIndexType']
787
+ end
788
+ end
789
+
790
+ # 导播台信息
791
+ class CasterInfo < TencentCloud::Common::AbstractModel
792
+ # @param CasterId: 导播台ID
793
+ # @type CasterId: Integer
794
+ # @param CasterName: 导播台名称
795
+ # @type CasterName: String
796
+ # @param StartLiveTime: 导播台上一次启动pgm的时间,值为unix时间戳。
797
+ # @type StartLiveTime: Integer
798
+ # @param Description: 导播台的描述
799
+ # @type Description: String
800
+ # @param CreateTime: 导播台创建时间,值为unix时间戳。
801
+ # @type CreateTime: Integer
802
+ # @param Status: 导播台状态
803
+ # 0:停止状态,无预监,无主监
804
+ # 1:无预监,有主监
805
+ # 2:有预监,无主监
806
+ # 3:有预监,有主监
807
+ # @type Status: Integer
808
+ # @param ExpireTime: 导播台的过期时间戳。值为-1或unix时间戳。
809
+ # 默认值为-1。 当值为-1时,表示该导播台永不过期。
810
+ # 当值为正常unix时间戳时,导播台将在该时间过期。
811
+ # 导播台过期后,预监与主监画面将自动停止,转推自动停止。
812
+ # 点播、直播url将停止转拉,推流url需自行停止推流。
813
+ # @type ExpireTime: Integer
814
+ # @param DelayTime: 导播台延时播放时间,单位为秒。
815
+ # @type DelayTime: Integer
816
+ # @param PgmWidth: 导播台主监输出的宽度,单位为像素。
817
+ # @type PgmWidth: Integer
818
+ # @param PgmHeight: 导播台主监输出的高度,单位为像素。
819
+ # @type PgmHeight: Integer
820
+ # @param PgmFps: 导播台主监输出的帧率。
821
+ # @type PgmFps: Integer
822
+ # @param PgmBitRate: 导播台主监输出的码率,单位为kbps
823
+ # @type PgmBitRate: Integer
824
+ # @param PgmAudioBitRate: 导播台主监输出的音频码率,单位为kbps。
825
+ # @type PgmAudioBitRate: Integer
826
+ # @param FeeType: 导播台的计费类型。
827
+ # 0 通用型 1 播单型。
828
+ # 注: 本参数暂无作用。
829
+ # @type FeeType: Integer
830
+ # @param RecordTemplateId: 录制模板id。
831
+ # @type RecordTemplateId: Integer
832
+ # @param RecordStatus: 录制状态。
833
+ # 0:未录制
834
+ # 1:录制中
835
+ # @type RecordStatus: Integer
836
+ # @param RecordTaskId: 录制接口返回的taskid
837
+ # @type RecordTaskId: String
838
+
839
+ attr_accessor :CasterId, :CasterName, :StartLiveTime, :Description, :CreateTime, :Status, :ExpireTime, :DelayTime, :PgmWidth, :PgmHeight, :PgmFps, :PgmBitRate, :PgmAudioBitRate, :FeeType, :RecordTemplateId, :RecordStatus, :RecordTaskId
840
+
841
+ def initialize(casterid=nil, castername=nil, startlivetime=nil, description=nil, createtime=nil, status=nil, expiretime=nil, delaytime=nil, pgmwidth=nil, pgmheight=nil, pgmfps=nil, pgmbitrate=nil, pgmaudiobitrate=nil, feetype=nil, recordtemplateid=nil, recordstatus=nil, recordtaskid=nil)
842
+ @CasterId = casterid
843
+ @CasterName = castername
844
+ @StartLiveTime = startlivetime
845
+ @Description = description
846
+ @CreateTime = createtime
847
+ @Status = status
848
+ @ExpireTime = expiretime
849
+ @DelayTime = delaytime
850
+ @PgmWidth = pgmwidth
851
+ @PgmHeight = pgmheight
852
+ @PgmFps = pgmfps
853
+ @PgmBitRate = pgmbitrate
854
+ @PgmAudioBitRate = pgmaudiobitrate
855
+ @FeeType = feetype
856
+ @RecordTemplateId = recordtemplateid
857
+ @RecordStatus = recordstatus
858
+ @RecordTaskId = recordtaskid
859
+ end
860
+
861
+ def deserialize(params)
862
+ @CasterId = params['CasterId']
863
+ @CasterName = params['CasterName']
864
+ @StartLiveTime = params['StartLiveTime']
865
+ @Description = params['Description']
866
+ @CreateTime = params['CreateTime']
867
+ @Status = params['Status']
868
+ @ExpireTime = params['ExpireTime']
869
+ @DelayTime = params['DelayTime']
870
+ @PgmWidth = params['PgmWidth']
871
+ @PgmHeight = params['PgmHeight']
872
+ @PgmFps = params['PgmFps']
873
+ @PgmBitRate = params['PgmBitRate']
874
+ @PgmAudioBitRate = params['PgmAudioBitRate']
875
+ @FeeType = params['FeeType']
876
+ @RecordTemplateId = params['RecordTemplateId']
877
+ @RecordStatus = params['RecordStatus']
878
+ @RecordTaskId = params['RecordTaskId']
879
+ end
880
+ end
881
+
729
882
  # 下行播放统计指标
730
883
  class CdnPlayStatData < TencentCloud::Common::AbstractModel
731
884
  # @param Time: 时间点,
@@ -1101,6 +1254,147 @@ module TencentCloud
1101
1254
  end
1102
1255
  end
1103
1256
 
1257
+ # CopyCaster请求参数结构体
1258
+ class CopyCasterRequest < TencentCloud::Common::AbstractModel
1259
+ # @param CasterId: 源导播台的ID
1260
+ # @type CasterId: Integer
1261
+ # @param CasterName: 复制产生的新导播台名称
1262
+ # @type CasterName: String
1263
+ # @param OutputStreamId: 复制产生的导播台推送到云直播的流id
1264
+ # 注意:该流id不能与云直播中的流id重复
1265
+ # @type OutputStreamId: String
1266
+
1267
+ attr_accessor :CasterId, :CasterName, :OutputStreamId
1268
+
1269
+ def initialize(casterid=nil, castername=nil, outputstreamid=nil)
1270
+ @CasterId = casterid
1271
+ @CasterName = castername
1272
+ @OutputStreamId = outputstreamid
1273
+ end
1274
+
1275
+ def deserialize(params)
1276
+ @CasterId = params['CasterId']
1277
+ @CasterName = params['CasterName']
1278
+ @OutputStreamId = params['OutputStreamId']
1279
+ end
1280
+ end
1281
+
1282
+ # CopyCaster返回参数结构体
1283
+ class CopyCasterResponse < TencentCloud::Common::AbstractModel
1284
+ # @param CasterId: 复制生成的导播台ID
1285
+ # @type CasterId: Integer
1286
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1287
+ # @type RequestId: String
1288
+
1289
+ attr_accessor :CasterId, :RequestId
1290
+
1291
+ def initialize(casterid=nil, requestid=nil)
1292
+ @CasterId = casterid
1293
+ @RequestId = requestid
1294
+ end
1295
+
1296
+ def deserialize(params)
1297
+ @CasterId = params['CasterId']
1298
+ @RequestId = params['RequestId']
1299
+ end
1300
+ end
1301
+
1302
+ # CreateCaster请求参数结构体
1303
+ class CreateCasterRequest < TencentCloud::Common::AbstractModel
1304
+ # @param CasterName: 导播台名称
1305
+ # @type CasterName: String
1306
+ # @param Description: 导播台的描述
1307
+ # 最大允许长度256
1308
+ # @type Description: String
1309
+ # @param ExpireTime: 导播台的过期时间戳。值为-1或unix时间戳。
1310
+ # 默认值为-1。
1311
+ # 当值为-1时,表示该导播台永不过期。
1312
+ # 当值为正常unix时间戳时,导播台将在该时间过期。
1313
+ # 导播台过期后,预监与主监画面将自动停止,转推自动停止。
1314
+ # 点播、直播url将停止转拉,推流url需自行停止推流。
1315
+ # @type ExpireTime: Integer
1316
+ # @param DelayTime: 导播台延时播放时间,单位为秒。
1317
+ # 默认为0,最大支持300秒
1318
+ # @type DelayTime: Integer
1319
+ # @param TransitionType: 导播台转场类型。
1320
+ # 默认为空。
1321
+ # 允许使用通过DescribeCasterTransitionTypes接口中查询到的转场类型。
1322
+ # @type TransitionType: String
1323
+ # @param PgmWidth: 导播台主监输出的宽度,单位为像素。
1324
+ # 默认为1280,最大允许4096。
1325
+ # @type PgmWidth: Integer
1326
+ # @param PgmHeight: 导播台主监输出的高度,单位为像素。
1327
+ # 默认为720,最大允许2160。
1328
+ # @type PgmHeight: Integer
1329
+ # @param PgmFps: 导播台主监输出的帧率。
1330
+ # 默认为0,表示随源输出。
1331
+ # 最大支持60。
1332
+ # @type PgmFps: Integer
1333
+ # @param PgmBitRate: 导播台主监输出的码率,单位为kbps。
1334
+ # 默认为0,表示随源的码率输出。
1335
+ # 最大允许10000kbps。
1336
+ # @type PgmBitRate: Integer
1337
+ # @param FeeType: 导播台的计费类型。
1338
+ # 0 通用型
1339
+ # 1 播单型。
1340
+ # 注: 本参数暂无作用。
1341
+ # @type FeeType: Integer
1342
+ # @param PgmAudioBitRate: 导播台主监输出的音频码率,单位为kbps。
1343
+ # 可选项:[0, 128, 192, 256]
1344
+ # 默认值为0,表示随源的音频码率输出。
1345
+ # @type PgmAudioBitRate: Integer
1346
+
1347
+ attr_accessor :CasterName, :Description, :ExpireTime, :DelayTime, :TransitionType, :PgmWidth, :PgmHeight, :PgmFps, :PgmBitRate, :FeeType, :PgmAudioBitRate
1348
+
1349
+ def initialize(castername=nil, description=nil, expiretime=nil, delaytime=nil, transitiontype=nil, pgmwidth=nil, pgmheight=nil, pgmfps=nil, pgmbitrate=nil, feetype=nil, pgmaudiobitrate=nil)
1350
+ @CasterName = castername
1351
+ @Description = description
1352
+ @ExpireTime = expiretime
1353
+ @DelayTime = delaytime
1354
+ @TransitionType = transitiontype
1355
+ @PgmWidth = pgmwidth
1356
+ @PgmHeight = pgmheight
1357
+ @PgmFps = pgmfps
1358
+ @PgmBitRate = pgmbitrate
1359
+ @FeeType = feetype
1360
+ @PgmAudioBitRate = pgmaudiobitrate
1361
+ end
1362
+
1363
+ def deserialize(params)
1364
+ @CasterName = params['CasterName']
1365
+ @Description = params['Description']
1366
+ @ExpireTime = params['ExpireTime']
1367
+ @DelayTime = params['DelayTime']
1368
+ @TransitionType = params['TransitionType']
1369
+ @PgmWidth = params['PgmWidth']
1370
+ @PgmHeight = params['PgmHeight']
1371
+ @PgmFps = params['PgmFps']
1372
+ @PgmBitRate = params['PgmBitRate']
1373
+ @FeeType = params['FeeType']
1374
+ @PgmAudioBitRate = params['PgmAudioBitRate']
1375
+ end
1376
+ end
1377
+
1378
+ # CreateCaster返回参数结构体
1379
+ class CreateCasterResponse < TencentCloud::Common::AbstractModel
1380
+ # @param CasterId: 导播台ID
1381
+ # @type CasterId: Integer
1382
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1383
+ # @type RequestId: String
1384
+
1385
+ attr_accessor :CasterId, :RequestId
1386
+
1387
+ def initialize(casterid=nil, requestid=nil)
1388
+ @CasterId = casterid
1389
+ @RequestId = requestid
1390
+ end
1391
+
1392
+ def deserialize(params)
1393
+ @CasterId = params['CasterId']
1394
+ @RequestId = params['RequestId']
1395
+ end
1396
+ end
1397
+
1104
1398
  # CreateCommonMixStream请求参数结构体
1105
1399
  class CreateCommonMixStreamRequest < TencentCloud::Common::AbstractModel
1106
1400
  # @param MixStreamSessionId: 混流会话(申请混流开始到取消混流结束)标识 ID。80字节以内,仅含字母、数字以及下划线的字符串。
@@ -2750,6 +3044,38 @@ module TencentCloud
2750
3044
  end
2751
3045
  end
2752
3046
 
3047
+ # DeleteCaster请求参数结构体
3048
+ class DeleteCasterRequest < TencentCloud::Common::AbstractModel
3049
+ # @param CasterId: 待删除的导播台ID
3050
+ # @type CasterId: Integer
3051
+
3052
+ attr_accessor :CasterId
3053
+
3054
+ def initialize(casterid=nil)
3055
+ @CasterId = casterid
3056
+ end
3057
+
3058
+ def deserialize(params)
3059
+ @CasterId = params['CasterId']
3060
+ end
3061
+ end
3062
+
3063
+ # DeleteCaster返回参数结构体
3064
+ class DeleteCasterResponse < TencentCloud::Common::AbstractModel
3065
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3066
+ # @type RequestId: String
3067
+
3068
+ attr_accessor :RequestId
3069
+
3070
+ def initialize(requestid=nil)
3071
+ @RequestId = requestid
3072
+ end
3073
+
3074
+ def deserialize(params)
3075
+ @RequestId = params['RequestId']
3076
+ end
3077
+ end
3078
+
2753
3079
  # DeleteLiveCallbackRule请求参数结构体
2754
3080
  class DeleteLiveCallbackRuleRequest < TencentCloud::Common::AbstractModel
2755
3081
  # @param DomainName: 推流域名。
@@ -3869,6 +4195,68 @@ module TencentCloud
3869
4195
  end
3870
4196
  end
3871
4197
 
4198
+ # DescribeCasterDisplayInfo请求参数结构体
4199
+ class DescribeCasterDisplayInfoRequest < TencentCloud::Common::AbstractModel
4200
+ # @param CasterId: 导播台ID
4201
+ # @type CasterId: Integer
4202
+
4203
+ attr_accessor :CasterId
4204
+
4205
+ def initialize(casterid=nil)
4206
+ @CasterId = casterid
4207
+ end
4208
+
4209
+ def deserialize(params)
4210
+ @CasterId = params['CasterId']
4211
+ end
4212
+ end
4213
+
4214
+ # DescribeCasterDisplayInfo返回参数结构体
4215
+ class DescribeCasterDisplayInfoResponse < TencentCloud::Common::AbstractModel
4216
+ # @param Status: 导播台状态
4217
+ # 0:停止状态,无预监,无主监
4218
+ # 1:无预监,有主监
4219
+ # 2:有预监,无主监
4220
+ # 3:有预监,有主监
4221
+ # 注意:此字段可能返回 null,表示取不到有效值。
4222
+ # @type Status: Integer
4223
+ # @param PvwDisplayInfo: 预监使用的展示参数。
4224
+ # 注意:此字段可能返回 null,表示取不到有效值。
4225
+ # @type PvwDisplayInfo: :class:`Tencentcloud::Live.v20180801.models.CasterDisplayInfo`
4226
+ # @param PgmDisplayInfo: 主监使用的展示参数。
4227
+ # 注意:此字段可能返回 null,表示取不到有效值。
4228
+ # @type PgmDisplayInfo: :class:`Tencentcloud::Live.v20180801.models.CasterDisplayInfo`
4229
+ # @param StartLiveTime: 启动直播的时间,值为unix时间戳。
4230
+ # 注意:此字段可能返回 null,表示取不到有效值。
4231
+ # @type StartLiveTime: Integer
4232
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4233
+ # @type RequestId: String
4234
+
4235
+ attr_accessor :Status, :PvwDisplayInfo, :PgmDisplayInfo, :StartLiveTime, :RequestId
4236
+
4237
+ def initialize(status=nil, pvwdisplayinfo=nil, pgmdisplayinfo=nil, startlivetime=nil, requestid=nil)
4238
+ @Status = status
4239
+ @PvwDisplayInfo = pvwdisplayinfo
4240
+ @PgmDisplayInfo = pgmdisplayinfo
4241
+ @StartLiveTime = startlivetime
4242
+ @RequestId = requestid
4243
+ end
4244
+
4245
+ def deserialize(params)
4246
+ @Status = params['Status']
4247
+ unless params['PvwDisplayInfo'].nil?
4248
+ @PvwDisplayInfo = CasterDisplayInfo.new
4249
+ @PvwDisplayInfo.deserialize(params['PvwDisplayInfo'])
4250
+ end
4251
+ unless params['PgmDisplayInfo'].nil?
4252
+ @PgmDisplayInfo = CasterDisplayInfo.new
4253
+ @PgmDisplayInfo.deserialize(params['PgmDisplayInfo'])
4254
+ end
4255
+ @StartLiveTime = params['StartLiveTime']
4256
+ @RequestId = params['RequestId']
4257
+ end
4258
+ end
4259
+
3872
4260
  # DescribeCasterList请求参数结构体
3873
4261
  class DescribeCasterListRequest < TencentCloud::Common::AbstractModel
3874
4262
 
@@ -3908,6 +4296,103 @@ module TencentCloud
3908
4296
  end
3909
4297
  end
3910
4298
 
4299
+ # DescribeCasterPlayUrl请求参数结构体
4300
+ class DescribeCasterPlayUrlRequest < TencentCloud::Common::AbstractModel
4301
+ # @param CasterId: 导播台ID
4302
+ # @type CasterId: Integer
4303
+ # @param PlayUrlType: 请求播放url的类型。
4304
+ # 取值范围[1,2,3]
4305
+ # 1:获取输入源的播放url
4306
+ # 2:获取pvw的播放url
4307
+ # 3:获取pgm的播放url
4308
+ # @type PlayUrlType: Integer
4309
+ # @param PlayUrlIndex: 仅在PlayUrlType为1时生效,此时该参数表示请求的输入源Index。
4310
+ # 注:对应的输入源必须存在。
4311
+ # @type PlayUrlIndex: Integer
4312
+
4313
+ attr_accessor :CasterId, :PlayUrlType, :PlayUrlIndex
4314
+
4315
+ def initialize(casterid=nil, playurltype=nil, playurlindex=nil)
4316
+ @CasterId = casterid
4317
+ @PlayUrlType = playurltype
4318
+ @PlayUrlIndex = playurlindex
4319
+ end
4320
+
4321
+ def deserialize(params)
4322
+ @CasterId = params['CasterId']
4323
+ @PlayUrlType = params['PlayUrlType']
4324
+ @PlayUrlIndex = params['PlayUrlIndex']
4325
+ end
4326
+ end
4327
+
4328
+ # DescribeCasterPlayUrl返回参数结构体
4329
+ class DescribeCasterPlayUrlResponse < TencentCloud::Common::AbstractModel
4330
+ # @param PlayUrl: 播放url。
4331
+ # 当导播台不存在预监或主监时,若请求预监或主监的播放地址,该字段为空。
4332
+ # 注意:此字段可能返回 null,表示取不到有效值。
4333
+ # @type PlayUrl: String
4334
+ # @param WebRTCPlayUrl: webrtc协议播放地址。
4335
+ # 当导播台不存在预监或主监时,若请求预监或主监的webrtc播放地址,该字段为空。
4336
+ # 注:webrtc协议播放地址需配合腾讯云快直播播放sdk方可使用。
4337
+ # 注意:此字段可能返回 null,表示取不到有效值。
4338
+ # @type WebRTCPlayUrl: String
4339
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4340
+ # @type RequestId: String
4341
+
4342
+ attr_accessor :PlayUrl, :WebRTCPlayUrl, :RequestId
4343
+
4344
+ def initialize(playurl=nil, webrtcplayurl=nil, requestid=nil)
4345
+ @PlayUrl = playurl
4346
+ @WebRTCPlayUrl = webrtcplayurl
4347
+ @RequestId = requestid
4348
+ end
4349
+
4350
+ def deserialize(params)
4351
+ @PlayUrl = params['PlayUrl']
4352
+ @WebRTCPlayUrl = params['WebRTCPlayUrl']
4353
+ @RequestId = params['RequestId']
4354
+ end
4355
+ end
4356
+
4357
+ # DescribeCaster请求参数结构体
4358
+ class DescribeCasterRequest < TencentCloud::Common::AbstractModel
4359
+ # @param CasterId: 需查询的导播台ID
4360
+ # @type CasterId: Integer
4361
+
4362
+ attr_accessor :CasterId
4363
+
4364
+ def initialize(casterid=nil)
4365
+ @CasterId = casterid
4366
+ end
4367
+
4368
+ def deserialize(params)
4369
+ @CasterId = params['CasterId']
4370
+ end
4371
+ end
4372
+
4373
+ # DescribeCaster返回参数结构体
4374
+ class DescribeCasterResponse < TencentCloud::Common::AbstractModel
4375
+ # @param CasterInfo: 导播台信息
4376
+ # @type CasterInfo: :class:`Tencentcloud::Live.v20180801.models.CasterInfo`
4377
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4378
+ # @type RequestId: String
4379
+
4380
+ attr_accessor :CasterInfo, :RequestId
4381
+
4382
+ def initialize(casterinfo=nil, requestid=nil)
4383
+ @CasterInfo = casterinfo
4384
+ @RequestId = requestid
4385
+ end
4386
+
4387
+ def deserialize(params)
4388
+ unless params['CasterInfo'].nil?
4389
+ @CasterInfo = CasterInfo.new
4390
+ @CasterInfo.deserialize(params['CasterInfo'])
4391
+ end
4392
+ @RequestId = params['RequestId']
4393
+ end
4394
+ end
4395
+
3911
4396
  # DescribeCasterTransitionTypes请求参数结构体
3912
4397
  class DescribeCasterTransitionTypesRequest < TencentCloud::Common::AbstractModel
3913
4398
  # @param CasterId: 导播台ID
@@ -5260,19 +5745,24 @@ module TencentCloud
5260
5745
  # @param PageSize: 分页大小,默认值:10。
5261
5746
  # 取值范围:1~20 之前的任意整数。
5262
5747
  # @type PageSize: Integer
5748
+ # @param SpecifyTaskId: 使用指定任务 ID 查询任务信息。
5749
+ # 注意:仅供使用指定 ID 创建的任务查询。
5750
+ # @type SpecifyTaskId: String
5263
5751
 
5264
- attr_accessor :TaskId, :PageNum, :PageSize
5752
+ attr_accessor :TaskId, :PageNum, :PageSize, :SpecifyTaskId
5265
5753
 
5266
- def initialize(taskid=nil, pagenum=nil, pagesize=nil)
5754
+ def initialize(taskid=nil, pagenum=nil, pagesize=nil, specifytaskid=nil)
5267
5755
  @TaskId = taskid
5268
5756
  @PageNum = pagenum
5269
5757
  @PageSize = pagesize
5758
+ @SpecifyTaskId = specifytaskid
5270
5759
  end
5271
5760
 
5272
5761
  def deserialize(params)
5273
5762
  @TaskId = params['TaskId']
5274
5763
  @PageNum = params['PageNum']
5275
5764
  @PageSize = params['PageSize']
5765
+ @SpecifyTaskId = params['SpecifyTaskId']
5276
5766
  end
5277
5767
  end
5278
5768
 
@@ -6224,6 +6714,82 @@ module TencentCloud
6224
6714
  end
6225
6715
  end
6226
6716
 
6717
+ # DescribeLiveTimeShiftWriteSizeInfoList请求参数结构体
6718
+ class DescribeLiveTimeShiftWriteSizeInfoListRequest < TencentCloud::Common::AbstractModel
6719
+ # @param StartTime: 起始时间点,
6720
+ # 使用UTC格式时间,
6721
+ # 例如:2019-01-08T10:00:00Z。
6722
+ # 支持最近六个月的查询,查询开始和结束时间跨度不支持超过31天。
6723
+ # @type StartTime: String
6724
+ # @param EndTime: 结束时间点,
6725
+ # 使用UTC格式时间,
6726
+ # 例如:2019-01-08T10:00:00Z。
6727
+ # 支持最近六个月的查询,查询开始和结束时间跨度不支持超过31天。
6728
+ # @type EndTime: String
6729
+ # @param DomainNames: 域名。
6730
+ # @type DomainNames: Array
6731
+ # @param Dimensions: 维度
6732
+ # Area地区、Domain 域名、StorageDays 时移天数
6733
+ # @type Dimensions: Array
6734
+ # @param StorageDays: 时移天数。
6735
+ # @type StorageDays: Array
6736
+ # @param Granularity: 时间跨度(分钟)
6737
+ # 默认5,可选 5、60或者1440。
6738
+ # @type Granularity: Integer
6739
+ # @param MainlandOrOversea: 区域
6740
+ # 可选Mainland、Oversea。
6741
+ # @type MainlandOrOversea: String
6742
+
6743
+ attr_accessor :StartTime, :EndTime, :DomainNames, :Dimensions, :StorageDays, :Granularity, :MainlandOrOversea
6744
+
6745
+ def initialize(starttime=nil, endtime=nil, domainnames=nil, dimensions=nil, storagedays=nil, granularity=nil, mainlandoroversea=nil)
6746
+ @StartTime = starttime
6747
+ @EndTime = endtime
6748
+ @DomainNames = domainnames
6749
+ @Dimensions = dimensions
6750
+ @StorageDays = storagedays
6751
+ @Granularity = granularity
6752
+ @MainlandOrOversea = mainlandoroversea
6753
+ end
6754
+
6755
+ def deserialize(params)
6756
+ @StartTime = params['StartTime']
6757
+ @EndTime = params['EndTime']
6758
+ @DomainNames = params['DomainNames']
6759
+ @Dimensions = params['Dimensions']
6760
+ @StorageDays = params['StorageDays']
6761
+ @Granularity = params['Granularity']
6762
+ @MainlandOrOversea = params['MainlandOrOversea']
6763
+ end
6764
+ end
6765
+
6766
+ # DescribeLiveTimeShiftWriteSizeInfoList返回参数结构体
6767
+ class DescribeLiveTimeShiftWriteSizeInfoListResponse < TencentCloud::Common::AbstractModel
6768
+ # @param DataInfoList: 直播时移写入量数据明细。
6769
+ # @type DataInfoList: Array
6770
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6771
+ # @type RequestId: String
6772
+
6773
+ attr_accessor :DataInfoList, :RequestId
6774
+
6775
+ def initialize(datainfolist=nil, requestid=nil)
6776
+ @DataInfoList = datainfolist
6777
+ @RequestId = requestid
6778
+ end
6779
+
6780
+ def deserialize(params)
6781
+ unless params['DataInfoList'].nil?
6782
+ @DataInfoList = []
6783
+ params['DataInfoList'].each do |i|
6784
+ timeshiftwritesizedata_tmp = TimeShiftWriteSizeData.new
6785
+ timeshiftwritesizedata_tmp.deserialize(i)
6786
+ @DataInfoList << timeshiftwritesizedata_tmp
6787
+ end
6788
+ end
6789
+ @RequestId = params['RequestId']
6790
+ end
6791
+ end
6792
+
6227
6793
  # DescribeLiveTranscodeDetailInfo请求参数结构体
6228
6794
  class DescribeLiveTranscodeDetailInfoRequest < TencentCloud::Common::AbstractModel
6229
6795
  # @param PushDomain: 推流域名。
@@ -9393,6 +9959,120 @@ module TencentCloud
9393
9959
  end
9394
9960
  end
9395
9961
 
9962
+ # ModifyCaster请求参数结构体
9963
+ class ModifyCasterRequest < TencentCloud::Common::AbstractModel
9964
+ # @param CasterId: 导播台ID
9965
+ # @type CasterId: Integer
9966
+ # @param CasterName: 导播台名称
9967
+ # @type CasterName: String
9968
+ # @param Description: 导播台的描述
9969
+ # 最大允许长度256
9970
+ # @type Description: String
9971
+ # @param RecordTemplateId: 录制模板id。
9972
+ # 默认为0。
9973
+ # 当使用直播录制功能时,可将使用的录制模版填入。
9974
+ # 该接口仅保存字段,不涉及任何录制功能。
9975
+ # @type RecordTemplateId: Integer
9976
+ # @param RecordStatus: 录制状态,当调用录制接口后,可通过该字段保存录制状态。
9977
+ # 0:未录制
9978
+ # 1:录制中
9979
+ # 该接口仅保存字段,不涉及任何录制处理。
9980
+ # @type RecordStatus: Integer
9981
+ # @param ExpireTime: 导播台的过期时间戳。值为-1或unix时间戳。
9982
+ # 默认值为-1。
9983
+ # 当值为-1时,表示该导播台永不过期。
9984
+ # 当值为正常unix时间戳时,导播台将在该时间过期。
9985
+ # 导播台过期后,预监与主监画面将自动停止,转推自动停止。
9986
+ # 点播、直播url将停止转拉,推流url需自行停止推流。
9987
+ # @type ExpireTime: Integer
9988
+ # @param DelayTime: 导播台延时播放时间,单位为秒。
9989
+ # 默认为0,最大支持300秒
9990
+ # @type DelayTime: Integer
9991
+ # @param TransitionType: 导播台转场类型。
9992
+ # 默认为空。
9993
+ # 允许使用通过DescribeCasterTransitionTypes接口中查询到的转场类型。
9994
+ # @type TransitionType: String
9995
+ # @param PgmWidth: 导播台主监输出的宽度,单位为像素。
9996
+ # 默认为1280,最大允许4096。
9997
+ # @type PgmWidth: Integer
9998
+ # @param PgmHeight: 导播台主监输出的高度,单位为像素。
9999
+ # 默认为720,最大允许2160。
10000
+ # @type PgmHeight: Integer
10001
+ # @param PgmFps: 导播台主监输出的帧率。
10002
+ # 默认为0,表示随源输出。 最大支持60。
10003
+ # @type PgmFps: Integer
10004
+ # @param PgmBitRate: 导播台主监输出的码率,单位为kbps。
10005
+ # 默认为0,表示随源的码率输出。
10006
+ # 最大允许10000kbps。
10007
+ # @type PgmBitRate: Integer
10008
+ # @param FeeType: 导播台的计费类型。
10009
+ # 0 通用型
10010
+ # 1 播单型。
10011
+ # 注: 本参数暂无作用。
10012
+ # @type FeeType: Integer
10013
+ # @param RecordTaskId: 录制接口返回的taskid
10014
+ # 注:该接口只做字段保存,不涉及录制操作。
10015
+ # @type RecordTaskId: String
10016
+ # @param PgmAudioBitRate: 导播台主监输出的音频码率,单位为kbps。
10017
+ # 可选项:[0, 128, 192, 256]
10018
+ # 默认值为0,表示随源的音频码率输出。
10019
+ # @type PgmAudioBitRate: Integer
10020
+
10021
+ attr_accessor :CasterId, :CasterName, :Description, :RecordTemplateId, :RecordStatus, :ExpireTime, :DelayTime, :TransitionType, :PgmWidth, :PgmHeight, :PgmFps, :PgmBitRate, :FeeType, :RecordTaskId, :PgmAudioBitRate
10022
+
10023
+ def initialize(casterid=nil, castername=nil, description=nil, recordtemplateid=nil, recordstatus=nil, expiretime=nil, delaytime=nil, transitiontype=nil, pgmwidth=nil, pgmheight=nil, pgmfps=nil, pgmbitrate=nil, feetype=nil, recordtaskid=nil, pgmaudiobitrate=nil)
10024
+ @CasterId = casterid
10025
+ @CasterName = castername
10026
+ @Description = description
10027
+ @RecordTemplateId = recordtemplateid
10028
+ @RecordStatus = recordstatus
10029
+ @ExpireTime = expiretime
10030
+ @DelayTime = delaytime
10031
+ @TransitionType = transitiontype
10032
+ @PgmWidth = pgmwidth
10033
+ @PgmHeight = pgmheight
10034
+ @PgmFps = pgmfps
10035
+ @PgmBitRate = pgmbitrate
10036
+ @FeeType = feetype
10037
+ @RecordTaskId = recordtaskid
10038
+ @PgmAudioBitRate = pgmaudiobitrate
10039
+ end
10040
+
10041
+ def deserialize(params)
10042
+ @CasterId = params['CasterId']
10043
+ @CasterName = params['CasterName']
10044
+ @Description = params['Description']
10045
+ @RecordTemplateId = params['RecordTemplateId']
10046
+ @RecordStatus = params['RecordStatus']
10047
+ @ExpireTime = params['ExpireTime']
10048
+ @DelayTime = params['DelayTime']
10049
+ @TransitionType = params['TransitionType']
10050
+ @PgmWidth = params['PgmWidth']
10051
+ @PgmHeight = params['PgmHeight']
10052
+ @PgmFps = params['PgmFps']
10053
+ @PgmBitRate = params['PgmBitRate']
10054
+ @FeeType = params['FeeType']
10055
+ @RecordTaskId = params['RecordTaskId']
10056
+ @PgmAudioBitRate = params['PgmAudioBitRate']
10057
+ end
10058
+ end
10059
+
10060
+ # ModifyCaster返回参数结构体
10061
+ class ModifyCasterResponse < TencentCloud::Common::AbstractModel
10062
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10063
+ # @type RequestId: String
10064
+
10065
+ attr_accessor :RequestId
10066
+
10067
+ def initialize(requestid=nil)
10068
+ @RequestId = requestid
10069
+ end
10070
+
10071
+ def deserialize(params)
10072
+ @RequestId = params['RequestId']
10073
+ end
10074
+ end
10075
+
9396
10076
  # ModifyLiveCallbackTemplate请求参数结构体
9397
10077
  class ModifyLiveCallbackTemplateRequest < TencentCloud::Common::AbstractModel
9398
10078
  # @param TemplateId: DescribeLiveCallbackTemplates接口返回的模板 ID。
@@ -12766,6 +13446,38 @@ module TencentCloud
12766
13446
  end
12767
13447
  end
12768
13448
 
13449
+ # 直播时移写入量数据。
13450
+ class TimeShiftWriteSizeData < TencentCloud::Common::AbstractModel
13451
+ # @param Area: 区域。
13452
+ # @type Area: String
13453
+ # @param Time: 时间,格式为:yyyy-mm-ddTHH:MM:SSZ。
13454
+ # @type Time: String
13455
+ # @param WriteSize: 写入量(单位:字节)
13456
+ # @type WriteSize: Float
13457
+ # @param Domain: 域名。
13458
+ # @type Domain: String
13459
+ # @param StorageDays: 时移天数。
13460
+ # @type StorageDays: Integer
13461
+
13462
+ attr_accessor :Area, :Time, :WriteSize, :Domain, :StorageDays
13463
+
13464
+ def initialize(area=nil, time=nil, writesize=nil, domain=nil, storagedays=nil)
13465
+ @Area = area
13466
+ @Time = time
13467
+ @WriteSize = writesize
13468
+ @Domain = domain
13469
+ @StorageDays = storagedays
13470
+ end
13471
+
13472
+ def deserialize(params)
13473
+ @Area = params['Area']
13474
+ @Time = params['Time']
13475
+ @WriteSize = params['WriteSize']
13476
+ @Domain = params['Domain']
13477
+ @StorageDays = params['StorageDays']
13478
+ end
13479
+ end
13480
+
12769
13481
  # 某个时间点的指标的数值是多少。
12770
13482
  class TimeValue < TencentCloud::Common::AbstractModel
12771
13483
  # @param Time: UTC 时间,时间格式:yyyy-mm-ddTHH:MM:SSZ。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.944
4
+ version: 3.0.946
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-11-20 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common