tccli 3.0.1297.1__py2.py3-none-any.whl → 3.0.1299.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/batch/batch_client.py +4 -110
- tccli/services/batch/v20170312/api.json +0 -527
- tccli/services/batch/v20170312/examples.json +0 -16
- tccli/services/bi/v20220105/api.json +87 -1
- tccli/services/bi/v20220105/examples.json +7 -7
- tccli/services/cam/v20190116/api.json +84 -84
- tccli/services/cbs/v20170312/api.json +24 -24
- tccli/services/cdn/v20180606/api.json +240 -179
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +5 -3
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/chdfs/v20201112/api.json +7 -1
- tccli/services/cls/cls_client.py +235 -23
- tccli/services/cls/v20201016/api.json +457 -3
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/controlcenter/v20230110/api.json +63 -58
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/dbbrain/dbbrain_client.py +106 -0
- tccli/services/dbbrain/v20191016/api.json +365 -6
- tccli/services/dbbrain/v20191016/examples.json +8 -0
- tccli/services/dbbrain/v20210527/api.json +550 -21
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dcdb/v20180411/api.json +102 -6
- tccli/services/dcdb/v20180411/examples.json +4 -4
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +162 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +128 -127
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/facefusion/v20220927/api.json +2 -2
- tccli/services/facefusion/v20220927/examples.json +1 -1
- tccli/services/gs/v20191118/api.json +22 -3
- tccli/services/gs/v20191118/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +2 -2
- tccli/services/iotcloud/v20210408/examples.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +947 -857
- tccli/services/iotexplorer/v20190423/examples.json +83 -83
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lkeap/v20240522/api.json +3 -3
- tccli/services/mariadb/v20170312/api.json +84 -8
- tccli/services/mariadb/v20170312/examples.json +3 -3
- tccli/services/mps/v20190612/api.json +63 -61
- tccli/services/mps/v20190612/examples.json +48 -48
- tccli/services/mqtt/v20240516/api.json +62 -12
- tccli/services/mqtt/v20240516/examples.json +6 -6
- tccli/services/ocr/ocr_client.py +307 -360
- tccli/services/ocr/v20181119/api.json +73 -289
- tccli/services/ocr/v20181119/examples.json +0 -8
- tccli/services/organization/v20210331/api.json +9 -0
- tccli/services/partners/v20180321/api.json +10 -0
- tccli/services/sqlserver/v20180328/api.json +9 -0
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/tcb/v20180608/api.json +11 -1
- tccli/services/tdmq/v20200217/api.json +30 -0
- tccli/services/teo/v20220106/api.json +4 -4
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- tccli/services/tione/v20211111/api.json +25 -5
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/trro/trro_client.py +269 -4
- tccli/services/trro/v20220325/api.json +504 -0
- tccli/services/trro/v20220325/examples.json +40 -0
- tccli/services/tse/v20201207/api.json +34 -34
- tccli/services/vdb/v20230616/api.json +738 -15
- tccli/services/vdb/v20230616/examples.json +64 -0
- tccli/services/vdb/vdb_client.py +428 -4
- tccli/services/vod/v20180717/api.json +9 -0
- tccli/services/vod/v20240718/api.json +985 -0
- tccli/services/vod/v20240718/examples.json +66 -0
- tccli/services/vod/vod_client.py +330 -12
- tccli/services/vpc/v20170312/api.json +175 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +464 -1
- tccli/services/wedata/v20210820/examples.json +22 -0
- tccli/services/wedata/wedata_client.py +114 -8
- tccli/services/weilingwith/v20230427/api.json +10 -10
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/RECORD +85 -85
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/license_files/LICENSE +0 -0
@@ -21,6 +21,13 @@
|
|
21
21
|
"output": "BoundLicensesResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
|
+
"CreateCloudRecording": {
|
25
|
+
"document": "启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。",
|
26
|
+
"input": "CreateCloudRecordingRequest",
|
27
|
+
"name": "开始云端录制",
|
28
|
+
"output": "CreateCloudRecordingResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
24
31
|
"CreateDevice": {
|
25
32
|
"document": "用于创建设备",
|
26
33
|
"input": "CreateDeviceRequest",
|
@@ -35,6 +42,13 @@
|
|
35
42
|
"output": "CreateProjectResponse",
|
36
43
|
"status": "online"
|
37
44
|
},
|
45
|
+
"DeleteCloudRecording": {
|
46
|
+
"document": "成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。",
|
47
|
+
"input": "DeleteCloudRecordingRequest",
|
48
|
+
"name": "停止云端录制",
|
49
|
+
"output": "DeleteCloudRecordingResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
38
52
|
"DeleteProject": {
|
39
53
|
"document": "用于删除项目",
|
40
54
|
"input": "DeleteProjectRequest",
|
@@ -140,6 +154,13 @@
|
|
140
154
|
"output": "GetLicensesResponse",
|
141
155
|
"status": "online"
|
142
156
|
},
|
157
|
+
"ModifyCallbackUrl": {
|
158
|
+
"document": "设置回调URL\n录制回调事件内容参考:https://cloud.tencent.com/document/product/647/81113\n转推回调事件内容参考:https://cloud.tencent.com/document/product/647/88552",
|
159
|
+
"input": "ModifyCallbackUrlRequest",
|
160
|
+
"name": "修改录制和转推回调URL",
|
161
|
+
"output": "ModifyCallbackUrlResponse",
|
162
|
+
"status": "online"
|
163
|
+
},
|
143
164
|
"ModifyDevice": {
|
144
165
|
"document": "用于修改设备信息",
|
145
166
|
"input": "ModifyDeviceRequest",
|
@@ -167,6 +188,20 @@
|
|
167
188
|
"name": "修改项目安全模式",
|
168
189
|
"output": "ModifyProjectSecModeResponse",
|
169
190
|
"status": "online"
|
191
|
+
},
|
192
|
+
"StartPublishLiveStream": {
|
193
|
+
"document": "启动一个混流转推任务,将 TRTC 房间的多路音视频流混成一路音视频流,编码后推到直播 CDN 或者回推到 TRTC 房间。也支持不转码直接转推 TRTC 房间的单路流。启动成功后,会返回一个 SdkAppid 维度唯一的任务 Id(TaskId)。您需要保存该 TaskId,后续需要依赖此 TaskId 更新和结束任务。",
|
194
|
+
"input": "StartPublishLiveStreamRequest",
|
195
|
+
"name": "开启旁路转推",
|
196
|
+
"output": "StartPublishLiveStreamResponse",
|
197
|
+
"status": "online"
|
198
|
+
},
|
199
|
+
"StopPublishLiveStream": {
|
200
|
+
"document": "停止指定的混流转推任务。如果没有调用 Stop 接口停止任务,所有参与混流转推的主播离开房间超过MaxIdleTime 设置的时间后,任务也会自动停止。",
|
201
|
+
"input": "StopPublishLiveStreamRequest",
|
202
|
+
"name": "停止旁路转推",
|
203
|
+
"output": "StopPublishLiveStreamResponse",
|
204
|
+
"status": "online"
|
170
205
|
}
|
171
206
|
},
|
172
207
|
"metadata": {
|
@@ -322,6 +357,157 @@
|
|
322
357
|
],
|
323
358
|
"type": "object"
|
324
359
|
},
|
360
|
+
"CloudStorage": {
|
361
|
+
"document": "云端录制文件上传到云存储的参数(对象存储cos)",
|
362
|
+
"members": [
|
363
|
+
{
|
364
|
+
"disabled": false,
|
365
|
+
"document": "腾讯云对象存储COS以及第三方云存储账号信息\n0:腾讯云对象存储 COS\n1:AWS\n【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中\n示例值:0",
|
366
|
+
"example": "0",
|
367
|
+
"member": "int64",
|
368
|
+
"name": "Vendor",
|
369
|
+
"required": true,
|
370
|
+
"type": "int"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"disabled": false,
|
374
|
+
"document": "腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。\n示例值:cn-shanghai-1\n\nAWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)\n示例值:ap-shanghai(cos, 具体参考云存储厂商支持的地域)",
|
375
|
+
"example": "ap-nanjing",
|
376
|
+
"member": "string",
|
377
|
+
"name": "Region",
|
378
|
+
"required": true,
|
379
|
+
"type": "string"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"disabled": false,
|
383
|
+
"document": "云存储桶名称。",
|
384
|
+
"example": "recording-1304123456",
|
385
|
+
"member": "string",
|
386
|
+
"name": "Bucket",
|
387
|
+
"required": true,
|
388
|
+
"type": "string"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"disabled": false,
|
392
|
+
"document": "云存储的access_key账号信息。\n若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。",
|
393
|
+
"example": "test-accesskey",
|
394
|
+
"member": "string",
|
395
|
+
"name": "AccessKey",
|
396
|
+
"required": true,
|
397
|
+
"type": "string"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"disabled": false,
|
401
|
+
"document": "云存储的secret_key账号信息。\n若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。",
|
402
|
+
"example": "test-secretkey",
|
403
|
+
"member": "string",
|
404
|
+
"name": "SecretKey",
|
405
|
+
"required": true,
|
406
|
+
"type": "string"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"disabled": false,
|
410
|
+
"document": "云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 [\"prefix1\", \"prefix2\"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。",
|
411
|
+
"example": "[\"prefix1\", \"prefix2\"]",
|
412
|
+
"member": "string",
|
413
|
+
"name": "FileNamePrefix",
|
414
|
+
"required": false,
|
415
|
+
"type": "list"
|
416
|
+
}
|
417
|
+
],
|
418
|
+
"usage": "in"
|
419
|
+
},
|
420
|
+
"CreateCloudRecordingRequest": {
|
421
|
+
"document": "CreateCloudRecording请求参数结构体",
|
422
|
+
"members": [
|
423
|
+
{
|
424
|
+
"disabled": false,
|
425
|
+
"document": "项目id",
|
426
|
+
"example": "m82k5408n123phvb",
|
427
|
+
"member": "string",
|
428
|
+
"name": "ProjectId",
|
429
|
+
"required": true,
|
430
|
+
"type": "string"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"disabled": false,
|
434
|
+
"document": "设备id",
|
435
|
+
"example": "trro_dev",
|
436
|
+
"member": "string",
|
437
|
+
"name": "DeviceId",
|
438
|
+
"required": true,
|
439
|
+
"type": "string"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"disabled": false,
|
443
|
+
"document": "视频流号",
|
444
|
+
"example": "0",
|
445
|
+
"member": "int64",
|
446
|
+
"name": "VideoStreamId",
|
447
|
+
"required": true,
|
448
|
+
"type": "int"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"disabled": false,
|
452
|
+
"document": "腾讯云对象存储COS以及第三方云存储的账号信息",
|
453
|
+
"example": "无",
|
454
|
+
"member": "CloudStorage",
|
455
|
+
"name": "CloudStorage",
|
456
|
+
"required": true,
|
457
|
+
"type": "object"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"disabled": false,
|
461
|
+
"document": "如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】 Hls 格式录制此参数不生效。",
|
462
|
+
"example": "1440",
|
463
|
+
"member": "int64",
|
464
|
+
"name": "MaxMediaFileDuration",
|
465
|
+
"required": false,
|
466
|
+
"type": "int"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"disabled": false,
|
470
|
+
"document": "输出文件的格式(存储至COS等第三方存储时有效)。0:输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。3:(默认)输出文件格式为mp4。4:输出文件格式为aac。",
|
471
|
+
"example": "3",
|
472
|
+
"member": "int64",
|
473
|
+
"name": "OutputFormat",
|
474
|
+
"required": false,
|
475
|
+
"type": "int"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"disabled": false,
|
479
|
+
"document": "房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。 示例值:30",
|
480
|
+
"example": "30",
|
481
|
+
"member": "int64",
|
482
|
+
"name": "MaxIdleTime",
|
483
|
+
"required": false,
|
484
|
+
"type": "int"
|
485
|
+
}
|
486
|
+
],
|
487
|
+
"type": "object"
|
488
|
+
},
|
489
|
+
"CreateCloudRecordingResponse": {
|
490
|
+
"document": "CreateCloudRecording返回参数结构体",
|
491
|
+
"members": [
|
492
|
+
{
|
493
|
+
"disabled": false,
|
494
|
+
"document": "云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。任务 ID需要业务保存下来,作为下次针对这个录制任务操作的参数。",
|
495
|
+
"example": "D1ls6oRRsqxbnpbSM4EHpghzM46sszgfPsEhxrFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHXHxd+m5x662qyDsFSh4TZwA.",
|
496
|
+
"member": "string",
|
497
|
+
"name": "TaskId",
|
498
|
+
"output_required": false,
|
499
|
+
"type": "string",
|
500
|
+
"value_allowed_null": false
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
504
|
+
"member": "string",
|
505
|
+
"name": "RequestId",
|
506
|
+
"type": "string"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"type": "object"
|
510
|
+
},
|
325
511
|
"CreateDeviceRequest": {
|
326
512
|
"document": "CreateDevice请求参数结构体",
|
327
513
|
"members": [
|
@@ -440,6 +626,33 @@
|
|
440
626
|
],
|
441
627
|
"type": "object"
|
442
628
|
},
|
629
|
+
"DeleteCloudRecordingRequest": {
|
630
|
+
"document": "DeleteCloudRecording请求参数结构体",
|
631
|
+
"members": [
|
632
|
+
{
|
633
|
+
"disabled": false,
|
634
|
+
"document": "录制任务的唯一Id,在启动录制成功后会返回。",
|
635
|
+
"example": "D1ls6oRRsqxbnpbSM4EHpghzM46sszgfPsEhxrFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHXHxd+m5x662qyDsFSh4TZwA.",
|
636
|
+
"member": "string",
|
637
|
+
"name": "TaskId",
|
638
|
+
"required": true,
|
639
|
+
"type": "string"
|
640
|
+
}
|
641
|
+
],
|
642
|
+
"type": "object"
|
643
|
+
},
|
644
|
+
"DeleteCloudRecordingResponse": {
|
645
|
+
"document": "DeleteCloudRecording返回参数结构体",
|
646
|
+
"members": [
|
647
|
+
{
|
648
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
649
|
+
"member": "string",
|
650
|
+
"name": "RequestId",
|
651
|
+
"type": "string"
|
652
|
+
}
|
653
|
+
],
|
654
|
+
"type": "object"
|
655
|
+
},
|
443
656
|
"DeleteProjectRequest": {
|
444
657
|
"document": "DeleteProject请求参数结构体",
|
445
658
|
"members": [
|
@@ -1836,6 +2049,71 @@
|
|
1836
2049
|
],
|
1837
2050
|
"usage": "out"
|
1838
2051
|
},
|
2052
|
+
"ModifyCallbackUrlRequest": {
|
2053
|
+
"document": "ModifyCallbackUrl请求参数结构体",
|
2054
|
+
"members": [
|
2055
|
+
{
|
2056
|
+
"disabled": false,
|
2057
|
+
"document": "项目id",
|
2058
|
+
"example": "m82k541ovkfsub1h",
|
2059
|
+
"member": "string",
|
2060
|
+
"name": "ProjectId",
|
2061
|
+
"required": true,
|
2062
|
+
"type": "string"
|
2063
|
+
},
|
2064
|
+
{
|
2065
|
+
"disabled": false,
|
2066
|
+
"document": "回调URL",
|
2067
|
+
"example": "http://123.1.1.1/cb_url",
|
2068
|
+
"member": "string",
|
2069
|
+
"name": "CallbackUrl",
|
2070
|
+
"required": true,
|
2071
|
+
"type": "string"
|
2072
|
+
},
|
2073
|
+
{
|
2074
|
+
"disabled": false,
|
2075
|
+
"document": "回调签名密钥,用于校验回调信息的完整性",
|
2076
|
+
"example": "abcd1234",
|
2077
|
+
"member": "string",
|
2078
|
+
"name": "SignKey",
|
2079
|
+
"required": false,
|
2080
|
+
"type": "string"
|
2081
|
+
}
|
2082
|
+
],
|
2083
|
+
"type": "object"
|
2084
|
+
},
|
2085
|
+
"ModifyCallbackUrlResponse": {
|
2086
|
+
"document": "ModifyCallbackUrl返回参数结构体",
|
2087
|
+
"members": [
|
2088
|
+
{
|
2089
|
+
"disabled": false,
|
2090
|
+
"document": "响应码,0:成功,其他:失败",
|
2091
|
+
"example": "0",
|
2092
|
+
"member": "int64",
|
2093
|
+
"name": "Code",
|
2094
|
+
"output_required": false,
|
2095
|
+
"type": "int",
|
2096
|
+
"value_allowed_null": false
|
2097
|
+
},
|
2098
|
+
{
|
2099
|
+
"disabled": false,
|
2100
|
+
"document": "响应消息,ok:成功,其他:失败",
|
2101
|
+
"example": "ok",
|
2102
|
+
"member": "string",
|
2103
|
+
"name": "Msg",
|
2104
|
+
"output_required": false,
|
2105
|
+
"type": "string",
|
2106
|
+
"value_allowed_null": false
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2110
|
+
"member": "string",
|
2111
|
+
"name": "RequestId",
|
2112
|
+
"type": "string"
|
2113
|
+
}
|
2114
|
+
],
|
2115
|
+
"type": "object"
|
2116
|
+
},
|
1839
2117
|
"ModifyDeviceRequest": {
|
1840
2118
|
"document": "ModifyDevice请求参数结构体",
|
1841
2119
|
"members": [
|
@@ -2248,6 +2526,30 @@
|
|
2248
2526
|
],
|
2249
2527
|
"usage": "out"
|
2250
2528
|
},
|
2529
|
+
"PublishParams": {
|
2530
|
+
"document": "转推参数,一个任务最多支持10个推流URL。",
|
2531
|
+
"members": [
|
2532
|
+
{
|
2533
|
+
"disabled": false,
|
2534
|
+
"document": "腾讯云直播推流地址url",
|
2535
|
+
"example": "rtmp://live-push-test.tencentcs.com/live/test2?txSecret=abcd1234567890&txTime=679C9784",
|
2536
|
+
"member": "string",
|
2537
|
+
"name": "PublishUrl",
|
2538
|
+
"required": true,
|
2539
|
+
"type": "string"
|
2540
|
+
},
|
2541
|
+
{
|
2542
|
+
"disabled": false,
|
2543
|
+
"document": "是否是腾讯云CDN,0为转推非腾讯云CDN,1为转推腾讯CDN,不携带该参数默认为1。",
|
2544
|
+
"example": "1",
|
2545
|
+
"member": "int64",
|
2546
|
+
"name": "IsTencentUrl",
|
2547
|
+
"required": true,
|
2548
|
+
"type": "int"
|
2549
|
+
}
|
2550
|
+
],
|
2551
|
+
"usage": "in"
|
2552
|
+
},
|
2251
2553
|
"RecentSessionInfo": {
|
2252
2554
|
"document": "最新会话信息",
|
2253
2555
|
"members": [
|
@@ -2831,6 +3133,208 @@
|
|
2831
3133
|
}
|
2832
3134
|
],
|
2833
3135
|
"usage": "out"
|
3136
|
+
},
|
3137
|
+
"StartPublishLiveStreamRequest": {
|
3138
|
+
"document": "StartPublishLiveStream请求参数结构体",
|
3139
|
+
"members": [
|
3140
|
+
{
|
3141
|
+
"disabled": false,
|
3142
|
+
"document": "是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。 示例值:1",
|
3143
|
+
"example": "0",
|
3144
|
+
"member": "int64",
|
3145
|
+
"name": "WithTranscoding",
|
3146
|
+
"required": true,
|
3147
|
+
"type": "int"
|
3148
|
+
},
|
3149
|
+
{
|
3150
|
+
"disabled": false,
|
3151
|
+
"document": "所有参与混流转推的主播持续离开TRTC房间或切换成观众超过MaxIdleTime的时长,自动停止转推,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。",
|
3152
|
+
"example": "20",
|
3153
|
+
"member": "int64",
|
3154
|
+
"name": "MaxIdleTime",
|
3155
|
+
"required": true,
|
3156
|
+
"type": "int"
|
3157
|
+
},
|
3158
|
+
{
|
3159
|
+
"disabled": false,
|
3160
|
+
"document": "转推视频参数",
|
3161
|
+
"example": "无",
|
3162
|
+
"member": "VideoParams",
|
3163
|
+
"name": "VideoParams",
|
3164
|
+
"required": true,
|
3165
|
+
"type": "object"
|
3166
|
+
},
|
3167
|
+
{
|
3168
|
+
"disabled": false,
|
3169
|
+
"document": "转推的URL参数,一个任务最多支持10个推流URL",
|
3170
|
+
"example": "无",
|
3171
|
+
"member": "PublishParams",
|
3172
|
+
"name": "PublishParams",
|
3173
|
+
"required": true,
|
3174
|
+
"type": "list"
|
3175
|
+
}
|
3176
|
+
],
|
3177
|
+
"type": "object"
|
3178
|
+
},
|
3179
|
+
"StartPublishLiveStreamResponse": {
|
3180
|
+
"document": "StartPublishLiveStream返回参数结构体",
|
3181
|
+
"members": [
|
3182
|
+
{
|
3183
|
+
"disabled": false,
|
3184
|
+
"document": "用于唯一标识转推任务,由腾讯云服务端生成,后续停止请求需要携带TaskiD参数。",
|
3185
|
+
"example": "D0xOlGVRsurq9PRB-Iuak6f-J0ac-asdaafds-8pZgA.",
|
3186
|
+
"member": "string",
|
3187
|
+
"name": "TaskId",
|
3188
|
+
"output_required": true,
|
3189
|
+
"type": "string",
|
3190
|
+
"value_allowed_null": false
|
3191
|
+
},
|
3192
|
+
{
|
3193
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3194
|
+
"member": "string",
|
3195
|
+
"name": "RequestId",
|
3196
|
+
"type": "string"
|
3197
|
+
}
|
3198
|
+
],
|
3199
|
+
"type": "object"
|
3200
|
+
},
|
3201
|
+
"StopPublishLiveStreamRequest": {
|
3202
|
+
"document": "StopPublishLiveStream请求参数结构体",
|
3203
|
+
"members": [
|
3204
|
+
{
|
3205
|
+
"disabled": false,
|
3206
|
+
"document": "唯一标识转推任务。",
|
3207
|
+
"example": "D0xOlGVRsurq9PRB-Iuak6f-J0ac-twfB4hQwbFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHe96RlTGxKzJwUgzjD-8pZgA.",
|
3208
|
+
"member": "string",
|
3209
|
+
"name": "TaskId",
|
3210
|
+
"required": true,
|
3211
|
+
"type": "string"
|
3212
|
+
}
|
3213
|
+
],
|
3214
|
+
"type": "object"
|
3215
|
+
},
|
3216
|
+
"StopPublishLiveStreamResponse": {
|
3217
|
+
"document": "StopPublishLiveStream返回参数结构体",
|
3218
|
+
"members": [
|
3219
|
+
{
|
3220
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3221
|
+
"member": "string",
|
3222
|
+
"name": "RequestId",
|
3223
|
+
"type": "string"
|
3224
|
+
}
|
3225
|
+
],
|
3226
|
+
"type": "object"
|
3227
|
+
},
|
3228
|
+
"VideoList": {
|
3229
|
+
"document": "原视频流参数列表",
|
3230
|
+
"members": [
|
3231
|
+
{
|
3232
|
+
"disabled": false,
|
3233
|
+
"document": "项目id",
|
3234
|
+
"example": "m82k5408n123phvb",
|
3235
|
+
"member": "string",
|
3236
|
+
"name": "ProjectId",
|
3237
|
+
"required": true,
|
3238
|
+
"type": "string"
|
3239
|
+
},
|
3240
|
+
{
|
3241
|
+
"disabled": false,
|
3242
|
+
"document": "设备id",
|
3243
|
+
"example": "trro_dev",
|
3244
|
+
"member": "string",
|
3245
|
+
"name": "DeviceId",
|
3246
|
+
"required": true,
|
3247
|
+
"type": "string"
|
3248
|
+
},
|
3249
|
+
{
|
3250
|
+
"disabled": false,
|
3251
|
+
"document": "流id",
|
3252
|
+
"example": "0",
|
3253
|
+
"member": "int64",
|
3254
|
+
"name": "VideoStreamId",
|
3255
|
+
"required": true,
|
3256
|
+
"type": "int"
|
3257
|
+
},
|
3258
|
+
{
|
3259
|
+
"disabled": false,
|
3260
|
+
"document": "子画面在输出时的宽度,单位为像素值,不填默认为0。",
|
3261
|
+
"example": "1280",
|
3262
|
+
"member": "int64",
|
3263
|
+
"name": "Width",
|
3264
|
+
"required": true,
|
3265
|
+
"type": "int"
|
3266
|
+
},
|
3267
|
+
{
|
3268
|
+
"disabled": false,
|
3269
|
+
"document": "子画面在输出时的高度,单位为像素值,不填默认为0。",
|
3270
|
+
"example": "720",
|
3271
|
+
"member": "int64",
|
3272
|
+
"name": "Height",
|
3273
|
+
"required": true,
|
3274
|
+
"type": "int"
|
3275
|
+
}
|
3276
|
+
],
|
3277
|
+
"usage": "in"
|
3278
|
+
},
|
3279
|
+
"VideoParams": {
|
3280
|
+
"document": "转推视频参数",
|
3281
|
+
"members": [
|
3282
|
+
{
|
3283
|
+
"disabled": false,
|
3284
|
+
"document": "输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。",
|
3285
|
+
"example": "1280",
|
3286
|
+
"member": "int64",
|
3287
|
+
"name": "Width",
|
3288
|
+
"required": true,
|
3289
|
+
"type": "int"
|
3290
|
+
},
|
3291
|
+
{
|
3292
|
+
"disabled": false,
|
3293
|
+
"document": "输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。",
|
3294
|
+
"example": "720",
|
3295
|
+
"member": "int64",
|
3296
|
+
"name": "Height",
|
3297
|
+
"required": true,
|
3298
|
+
"type": "int"
|
3299
|
+
},
|
3300
|
+
{
|
3301
|
+
"disabled": false,
|
3302
|
+
"document": "输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。",
|
3303
|
+
"example": "15",
|
3304
|
+
"member": "int64",
|
3305
|
+
"name": "Fps",
|
3306
|
+
"required": true,
|
3307
|
+
"type": "int"
|
3308
|
+
},
|
3309
|
+
{
|
3310
|
+
"disabled": false,
|
3311
|
+
"document": "输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。",
|
3312
|
+
"example": "1500",
|
3313
|
+
"member": "int64",
|
3314
|
+
"name": "BitRate",
|
3315
|
+
"required": true,
|
3316
|
+
"type": "int"
|
3317
|
+
},
|
3318
|
+
{
|
3319
|
+
"disabled": false,
|
3320
|
+
"document": "输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。",
|
3321
|
+
"example": "2",
|
3322
|
+
"member": "int64",
|
3323
|
+
"name": "Gop",
|
3324
|
+
"required": true,
|
3325
|
+
"type": "int"
|
3326
|
+
},
|
3327
|
+
{
|
3328
|
+
"disabled": false,
|
3329
|
+
"document": "转推视频流列表",
|
3330
|
+
"example": "[{ \"VideoStreamId\": 0,\"Width\": 1920,\"Height\": 1080,\"DeviceId\": \"geek_gw_2\",\"ProjectId\": \"m82k5408n123phvb\"}]",
|
3331
|
+
"member": "VideoList",
|
3332
|
+
"name": "VideoList",
|
3333
|
+
"required": true,
|
3334
|
+
"type": "list"
|
3335
|
+
}
|
3336
|
+
],
|
3337
|
+
"usage": "in"
|
2834
3338
|
}
|
2835
3339
|
},
|
2836
3340
|
"version": "1.0"
|
@@ -24,6 +24,14 @@
|
|
24
24
|
"title": "绑定license"
|
25
25
|
}
|
26
26
|
],
|
27
|
+
"CreateCloudRecording": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudRecording\n<公共请求参数>\n\n{\n \"DeviceId\": \"dev1\",\n \"ProjectId\": \"m82k5408n123phvb\",\n \"OutputFormat\": 3,\n \"VideoStreamId\": 0,\n \"MaxMediaFileDuration\": 20,\n \"MaxIdleTime\": 20,\n \"CloudStorage\": {\n \"Vendor\": 0,\n \"Bucket\": \"recording-1304123456\",\n \"Region\": \"ap-nanjing\",\n \"AccessKey\": \"accesskey-test\",\n \"SecretKey\": \"secretkey-test\",\n \"FileNamePrefix\": [\n \"2024-12-24\",\n \"dev1\"\n ]\n }\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"-gCTFWtU7t7DUlo7A8IswFszO9z2O-rbERqJAoK-4pycoZXKjIAAnasdcasdOEycyX4CnzhIm4RAQ..\",\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\"\n }\n}",
|
32
|
+
"title": "开启云端录制"
|
33
|
+
}
|
34
|
+
],
|
27
35
|
"CreateDevice": [
|
28
36
|
{
|
29
37
|
"document": "",
|
@@ -40,6 +48,14 @@
|
|
40
48
|
"title": "创建项目示例"
|
41
49
|
}
|
42
50
|
],
|
51
|
+
"DeleteCloudRecording": [
|
52
|
+
{
|
53
|
+
"document": "",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudRecording\n<公共请求参数>\n\n{\n \"TaskId\": \"D1ls6oRRsqxbnpbSM4EHpghzM46sszgfPsEhxrFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHXHxd+m5x662qyDsFSh4TZwA.\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\"\n }\n}",
|
56
|
+
"title": " 停止云端录制"
|
57
|
+
}
|
58
|
+
],
|
43
59
|
"DeleteProject": [
|
44
60
|
{
|
45
61
|
"document": "",
|
@@ -160,6 +176,14 @@
|
|
160
176
|
"title": "license列表"
|
161
177
|
}
|
162
178
|
],
|
179
|
+
"ModifyCallbackUrl": [
|
180
|
+
{
|
181
|
+
"document": "",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCallbackUrl\n<公共请求参数>\n\n{\n \"ProjectId\": \"m82k5408n123phvb\",\n \"CallbackUrl\": \"http://123.45.81.121:9999\",\n \"SignKey\": \"abcd1234\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Msg\": \"ok\",\n \"RequestId\": \"c1f72a62-e199-4d04-bf2c-ee3e97a3c4af\"\n }\n}",
|
184
|
+
"title": "设置回调URL"
|
185
|
+
}
|
186
|
+
],
|
163
187
|
"ModifyDevice": [
|
164
188
|
{
|
165
189
|
"document": "",
|
@@ -191,6 +215,22 @@
|
|
191
215
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abcd\"\n }\n}",
|
192
216
|
"title": "修改项目授权模式"
|
193
217
|
}
|
218
|
+
],
|
219
|
+
"StartPublishLiveStream": [
|
220
|
+
{
|
221
|
+
"document": "",
|
222
|
+
"input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishLiveStream\n<公共请求参数>\n\n{\n \"PublishParams\": [\n {\n \"PublishUrl\": \"rtmp://live-push-test.tencentcs.com/live/test1?txSecret=abcd1234567890&txTime=679C9784\",\n \"IsTencentUrl\": 1\n }\n ],\n \"MaxIdleTime\": 20,\n \"VideoParams\": {\n \"Width\": 1920,\n \"Height\": 1080,\n \"Fps\": 30,\n \"BitRate\": 1500,\n \"Gop\": 2,\n \"VideoList\": [\n {\n \"VideoStreamId\": 0,\n \"Width\": 1920,\n \"Height\": 1080,\n \"DeviceId\": \"geek_gw_2\",\n \"ProjectId\": \"m82k5408n675phvb\"\n }\n ]\n },\n \"WithTranscoding\": 1\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"StartPublishCdnStream-1\",\n \"TaskId\": \"D0xOlGVRsurq9PRB-Iuak6f-J0ac-twfB4hQwbFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHe96RlTGxKzJwUgzjD-8pZgA.\"\n }\n}",
|
224
|
+
"title": "启动腾讯云直播单流转推"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"StopPublishLiveStream": [
|
228
|
+
{
|
229
|
+
"document": "",
|
230
|
+
"input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopPublishLiveStream\n<公共请求参数>\n\n{\n \"TaskId\": \"D0xOlGVRsurq9PRB-Iuak6f-J0ac-twfB4hQwbFucIB9muIw9pP0FOpOYkgdMNK52kIoPlhHe96RlTGxKzJwUgzjD-8pZgA.\"\n}",
|
231
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"StopPublishCdnStream-1\"\n }\n}",
|
232
|
+
"title": "停止转推任务"
|
233
|
+
}
|
194
234
|
]
|
195
235
|
},
|
196
236
|
"version": "1.0"
|