tccli-intl-en 3.0.1279.1__py2.py3-none-any.whl → 3.0.1280.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/cynosdb/cynosdb_client.py +858 -169
- tccli/services/cynosdb/v20190107/api.json +11544 -8343
- tccli/services/cynosdb/v20190107/examples.json +104 -0
- tccli/services/teo/teo_client.py +166 -7
- tccli/services/teo/v20220901/api.json +285 -0
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/trtc/v20190722/api.json +6 -6
- tccli/services/trtc/v20190722/examples.json +7 -7
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/RECORD +15 -15
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1279.1.dist-info → tccli_intl_en-3.0.1280.1.dist-info}/top_level.txt +0 -0
|
@@ -28,6 +28,13 @@
|
|
|
28
28
|
"output": "CheckCnameStatusResponse",
|
|
29
29
|
"status": "online"
|
|
30
30
|
},
|
|
31
|
+
"ConfirmMultiPathGatewayOriginACL": {
|
|
32
|
+
"document": "This API is used to confirm the latest origin IP range is updated to the origin server firewall when the multi-channel security acceleration gateway's origin IP range changes.",
|
|
33
|
+
"input": "ConfirmMultiPathGatewayOriginACLRequest",
|
|
34
|
+
"name": "Confirm multi-channel SCDN gateway origin IP range update",
|
|
35
|
+
"output": "ConfirmMultiPathGatewayOriginACLResponse",
|
|
36
|
+
"status": "online"
|
|
37
|
+
},
|
|
31
38
|
"ConfirmOriginACLUpdate": {
|
|
32
39
|
"document": "This API is used to confirm that the latest origin ACLs have been updated to the origin server firewall when the origin ACLs change. After confirming the update to the latest version, related change notifications will stop pushing.",
|
|
33
40
|
"input": "ConfirmOriginACLUpdateRequest",
|
|
@@ -693,6 +700,13 @@
|
|
|
693
700
|
"output": "DescribeMultiPathGatewayLineResponse",
|
|
694
701
|
"status": "online"
|
|
695
702
|
},
|
|
703
|
+
"DescribeMultiPathGatewayOriginACL": {
|
|
704
|
+
"document": "This API is used to query the binding relationship between a multi-channel security acceleration gateway instance and the origin server IP range, as well as the IP range details. If the MultiPathGatewayNextOriginACL field has a return value, the latest origin server IP range must be synchronized to the origin server firewall configuration.",
|
|
705
|
+
"input": "DescribeMultiPathGatewayOriginACLRequest",
|
|
706
|
+
"name": "Query multi-channel SCDN gateway origin server protection detail",
|
|
707
|
+
"output": "DescribeMultiPathGatewayOriginACLResponse",
|
|
708
|
+
"status": "online"
|
|
709
|
+
},
|
|
696
710
|
"DescribeMultiPathGatewayRegions": {
|
|
697
711
|
"document": "This API is used to query the list of available regions for user-created multi-channel security acceleration gateways (Cloud Gateway).",
|
|
698
712
|
"input": "DescribeMultiPathGatewayRegionsRequest",
|
|
@@ -1190,6 +1204,13 @@
|
|
|
1190
1204
|
"output": "ModifyMultiPathGatewaySecretKeyResponse",
|
|
1191
1205
|
"status": "online"
|
|
1192
1206
|
},
|
|
1207
|
+
"ModifyMultiPathGatewayStatus": {
|
|
1208
|
+
"document": "This API is used to update the status of a multi-channel security gateway.",
|
|
1209
|
+
"input": "ModifyMultiPathGatewayStatusRequest",
|
|
1210
|
+
"name": "Modify the multi-channel security acceleration gateway status",
|
|
1211
|
+
"output": "ModifyMultiPathGatewayStatusResponse",
|
|
1212
|
+
"status": "online"
|
|
1213
|
+
},
|
|
1193
1214
|
"ModifyOriginACL": {
|
|
1194
1215
|
"document": "This API is used to enable or disable specific origin ACLs for L7 acceleration domain names or L4 proxy instances. A single submission supports up to 200 L7 acceleration domain names or 100 L4 proxy instances. Hybrid submissions of L7 acceleration domain names and L4 proxy instances are supported, with a maximum total number of instances of 200. If changes are needed for exceeding 200 instances, submit them in batches via this API.",
|
|
1195
1216
|
"input": "ModifyOriginACLRequest",
|
|
@@ -5084,6 +5105,51 @@
|
|
|
5084
5105
|
],
|
|
5085
5106
|
"usage": "both"
|
|
5086
5107
|
},
|
|
5108
|
+
"ConfirmMultiPathGatewayOriginACLRequest": {
|
|
5109
|
+
"document": "ConfirmMultiPathGatewayOriginACL request structure.",
|
|
5110
|
+
"members": [
|
|
5111
|
+
{
|
|
5112
|
+
"disabled": false,
|
|
5113
|
+
"document": "Zone ID.",
|
|
5114
|
+
"example": "zone-27q0p0bal192",
|
|
5115
|
+
"member": "string",
|
|
5116
|
+
"name": "ZoneId",
|
|
5117
|
+
"required": true,
|
|
5118
|
+
"type": "string"
|
|
5119
|
+
},
|
|
5120
|
+
{
|
|
5121
|
+
"disabled": false,
|
|
5122
|
+
"document": "Gateway ID.",
|
|
5123
|
+
"example": "mpgw-lbxuhk1oh",
|
|
5124
|
+
"member": "string",
|
|
5125
|
+
"name": "GatewayId",
|
|
5126
|
+
"required": true,
|
|
5127
|
+
"type": "string"
|
|
5128
|
+
},
|
|
5129
|
+
{
|
|
5130
|
+
"disabled": false,
|
|
5131
|
+
"document": "Describes the version number of the origin server IP.",
|
|
5132
|
+
"example": "1",
|
|
5133
|
+
"member": "int64",
|
|
5134
|
+
"name": "OriginACLVersion",
|
|
5135
|
+
"required": true,
|
|
5136
|
+
"type": "int"
|
|
5137
|
+
}
|
|
5138
|
+
],
|
|
5139
|
+
"type": "object"
|
|
5140
|
+
},
|
|
5141
|
+
"ConfirmMultiPathGatewayOriginACLResponse": {
|
|
5142
|
+
"document": "ConfirmMultiPathGatewayOriginACL response structure.",
|
|
5143
|
+
"members": [
|
|
5144
|
+
{
|
|
5145
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
5146
|
+
"member": "string",
|
|
5147
|
+
"name": "RequestId",
|
|
5148
|
+
"type": "string"
|
|
5149
|
+
}
|
|
5150
|
+
],
|
|
5151
|
+
"type": "object"
|
|
5152
|
+
},
|
|
5087
5153
|
"ConfirmOriginACLUpdateRequest": {
|
|
5088
5154
|
"document": "ConfirmOriginACLUpdate request structure.",
|
|
5089
5155
|
"members": [
|
|
@@ -11870,6 +11936,52 @@
|
|
|
11870
11936
|
],
|
|
11871
11937
|
"type": "object"
|
|
11872
11938
|
},
|
|
11939
|
+
"DescribeMultiPathGatewayOriginACLRequest": {
|
|
11940
|
+
"document": "DescribeMultiPathGatewayOriginACL request structure.",
|
|
11941
|
+
"members": [
|
|
11942
|
+
{
|
|
11943
|
+
"disabled": false,
|
|
11944
|
+
"document": "Zone ID.",
|
|
11945
|
+
"example": "\"zone-276zs184g93m\"",
|
|
11946
|
+
"member": "string",
|
|
11947
|
+
"name": "ZoneId",
|
|
11948
|
+
"required": true,
|
|
11949
|
+
"type": "string"
|
|
11950
|
+
},
|
|
11951
|
+
{
|
|
11952
|
+
"disabled": false,
|
|
11953
|
+
"document": "Gateway ID.",
|
|
11954
|
+
"example": "\"mpgw-lbxuhk1oh\"",
|
|
11955
|
+
"member": "string",
|
|
11956
|
+
"name": "GatewayId",
|
|
11957
|
+
"required": true,
|
|
11958
|
+
"type": "string"
|
|
11959
|
+
}
|
|
11960
|
+
],
|
|
11961
|
+
"type": "object"
|
|
11962
|
+
},
|
|
11963
|
+
"DescribeMultiPathGatewayOriginACLResponse": {
|
|
11964
|
+
"document": "DescribeMultiPathGatewayOriginACL response structure.",
|
|
11965
|
+
"members": [
|
|
11966
|
+
{
|
|
11967
|
+
"disabled": false,
|
|
11968
|
+
"document": "Describes the binding relationship between the multi-channel gateway instance and the origin IP ranges.",
|
|
11969
|
+
"example": "无",
|
|
11970
|
+
"member": "MultiPathGatewayOriginACLInfo",
|
|
11971
|
+
"name": "MultiPathGatewayOriginACLInfo",
|
|
11972
|
+
"output_required": false,
|
|
11973
|
+
"type": "object",
|
|
11974
|
+
"value_allowed_null": false
|
|
11975
|
+
},
|
|
11976
|
+
{
|
|
11977
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
11978
|
+
"member": "string",
|
|
11979
|
+
"name": "RequestId",
|
|
11980
|
+
"type": "string"
|
|
11981
|
+
}
|
|
11982
|
+
],
|
|
11983
|
+
"type": "object"
|
|
11984
|
+
},
|
|
11873
11985
|
"DescribeMultiPathGatewayRegionsRequest": {
|
|
11874
11986
|
"document": "DescribeMultiPathGatewayRegions request structure.",
|
|
11875
11987
|
"members": [
|
|
@@ -20418,6 +20530,51 @@
|
|
|
20418
20530
|
],
|
|
20419
20531
|
"type": "object"
|
|
20420
20532
|
},
|
|
20533
|
+
"ModifyMultiPathGatewayStatusRequest": {
|
|
20534
|
+
"document": "ModifyMultiPathGatewayStatus request structure.",
|
|
20535
|
+
"members": [
|
|
20536
|
+
{
|
|
20537
|
+
"disabled": false,
|
|
20538
|
+
"document": "Gateway ID.",
|
|
20539
|
+
"example": "eo-gw-lb-ahk1js",
|
|
20540
|
+
"member": "string",
|
|
20541
|
+
"name": "GatewayId",
|
|
20542
|
+
"required": true,
|
|
20543
|
+
"type": "string"
|
|
20544
|
+
},
|
|
20545
|
+
{
|
|
20546
|
+
"disabled": false,
|
|
20547
|
+
"document": "Zone ID.",
|
|
20548
|
+
"example": "zone-27q0p0bal192",
|
|
20549
|
+
"member": "string",
|
|
20550
|
+
"name": "ZoneId",
|
|
20551
|
+
"required": true,
|
|
20552
|
+
"type": "string"
|
|
20553
|
+
},
|
|
20554
|
+
{
|
|
20555
|
+
"disabled": false,
|
|
20556
|
+
"document": "Modifies the enabled/disabled status of the gateway. valid values: <li> offline: disabled;</li> <li> online: enabled.</li>.",
|
|
20557
|
+
"example": "offline",
|
|
20558
|
+
"member": "string",
|
|
20559
|
+
"name": "GatewayStatus",
|
|
20560
|
+
"required": false,
|
|
20561
|
+
"type": "string"
|
|
20562
|
+
}
|
|
20563
|
+
],
|
|
20564
|
+
"type": "object"
|
|
20565
|
+
},
|
|
20566
|
+
"ModifyMultiPathGatewayStatusResponse": {
|
|
20567
|
+
"document": "ModifyMultiPathGatewayStatus response structure.",
|
|
20568
|
+
"members": [
|
|
20569
|
+
{
|
|
20570
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
20571
|
+
"member": "string",
|
|
20572
|
+
"name": "RequestId",
|
|
20573
|
+
"type": "string"
|
|
20574
|
+
}
|
|
20575
|
+
],
|
|
20576
|
+
"type": "object"
|
|
20577
|
+
},
|
|
20421
20578
|
"ModifyOriginACLRequest": {
|
|
20422
20579
|
"document": "ModifyOriginACL request structure.",
|
|
20423
20580
|
"members": [
|
|
@@ -21612,6 +21769,45 @@
|
|
|
21612
21769
|
],
|
|
21613
21770
|
"usage": "out"
|
|
21614
21771
|
},
|
|
21772
|
+
"MultiPathGatewayCurrentOriginACL": {
|
|
21773
|
+
"document": "Describes the currently effective IP range for origin servers.",
|
|
21774
|
+
"members": [
|
|
21775
|
+
{
|
|
21776
|
+
"disabled": false,
|
|
21777
|
+
"document": "Describes the IP range details for origin servers.",
|
|
21778
|
+
"example": "无",
|
|
21779
|
+
"member": "Addresses",
|
|
21780
|
+
"name": "EntireAddresses",
|
|
21781
|
+
"output_required": false,
|
|
21782
|
+
"required": false,
|
|
21783
|
+
"type": "object",
|
|
21784
|
+
"value_allowed_null": false
|
|
21785
|
+
},
|
|
21786
|
+
{
|
|
21787
|
+
"disabled": false,
|
|
21788
|
+
"document": "Specifies the version number.",
|
|
21789
|
+
"example": "1",
|
|
21790
|
+
"member": "int64",
|
|
21791
|
+
"name": "Version",
|
|
21792
|
+
"output_required": false,
|
|
21793
|
+
"required": false,
|
|
21794
|
+
"type": "int",
|
|
21795
|
+
"value_allowed_null": false
|
|
21796
|
+
},
|
|
21797
|
+
{
|
|
21798
|
+
"disabled": false,
|
|
21799
|
+
"document": "This parameter records whether \"i have updated to the latest origin IP range\" is completed before taking effect. valid values:.\n<li>true: confirms the update to the latest origin IP is completed.</li>.\n<li>false: indicates the update to the latest origin IP is not completed.</li>.\nNote: when false is returned for this parameter, please confirm in time whether your origin server firewall configuration has been updated to the latest IP range to avoid origin-pull failure.",
|
|
21800
|
+
"example": "false",
|
|
21801
|
+
"member": "string",
|
|
21802
|
+
"name": "IsPlaned",
|
|
21803
|
+
"output_required": false,
|
|
21804
|
+
"required": false,
|
|
21805
|
+
"type": "string",
|
|
21806
|
+
"value_allowed_null": false
|
|
21807
|
+
}
|
|
21808
|
+
],
|
|
21809
|
+
"usage": "both"
|
|
21810
|
+
},
|
|
21615
21811
|
"MultiPathGatewayLine": {
|
|
21616
21812
|
"document": "Multi-Channel security gateway line information.",
|
|
21617
21813
|
"members": [
|
|
@@ -21668,6 +21864,95 @@
|
|
|
21668
21864
|
],
|
|
21669
21865
|
"usage": "out"
|
|
21670
21866
|
},
|
|
21867
|
+
"MultiPathGatewayNextOriginACL": {
|
|
21868
|
+
"document": "When the origin IP range is updated, this field will be returned with the next version's effective origin IP range, including a comparison with the currently effective origin IP range.",
|
|
21869
|
+
"members": [
|
|
21870
|
+
{
|
|
21871
|
+
"disabled": false,
|
|
21872
|
+
"document": "Specifies the version number.",
|
|
21873
|
+
"example": "2",
|
|
21874
|
+
"member": "int64",
|
|
21875
|
+
"name": "Version",
|
|
21876
|
+
"output_required": false,
|
|
21877
|
+
"required": false,
|
|
21878
|
+
"type": "int",
|
|
21879
|
+
"value_allowed_null": false
|
|
21880
|
+
},
|
|
21881
|
+
{
|
|
21882
|
+
"disabled": false,
|
|
21883
|
+
"document": "Describes the IP range details for origin servers.",
|
|
21884
|
+
"example": "无",
|
|
21885
|
+
"member": "Addresses",
|
|
21886
|
+
"name": "EntireAddresses",
|
|
21887
|
+
"output_required": false,
|
|
21888
|
+
"required": false,
|
|
21889
|
+
"type": "object",
|
|
21890
|
+
"value_allowed_null": false
|
|
21891
|
+
},
|
|
21892
|
+
{
|
|
21893
|
+
"disabled": false,
|
|
21894
|
+
"document": "The latest origin IP range newly added compared with the origin IP range in MultiPathGatewayCurrentOrginACL.",
|
|
21895
|
+
"example": "无",
|
|
21896
|
+
"member": "Addresses",
|
|
21897
|
+
"name": "AddedAddresses",
|
|
21898
|
+
"output_required": false,
|
|
21899
|
+
"required": false,
|
|
21900
|
+
"type": "object",
|
|
21901
|
+
"value_allowed_null": false
|
|
21902
|
+
},
|
|
21903
|
+
{
|
|
21904
|
+
"disabled": false,
|
|
21905
|
+
"document": "Specifies the latest IP address range removed from the origin IP range in MultiPathGatewayCurrentOrginACL compared with the original.",
|
|
21906
|
+
"example": "无",
|
|
21907
|
+
"member": "Addresses",
|
|
21908
|
+
"name": "RemovedAddresses",
|
|
21909
|
+
"output_required": false,
|
|
21910
|
+
"required": false,
|
|
21911
|
+
"type": "object",
|
|
21912
|
+
"value_allowed_null": false
|
|
21913
|
+
},
|
|
21914
|
+
{
|
|
21915
|
+
"disabled": false,
|
|
21916
|
+
"document": "The latest origin IP range unchanged compared with the origin IP range in MultiPathGatewayCurrentOrginACL.",
|
|
21917
|
+
"example": "无",
|
|
21918
|
+
"member": "Addresses",
|
|
21919
|
+
"name": "NoChangeAddresses",
|
|
21920
|
+
"output_required": false,
|
|
21921
|
+
"required": false,
|
|
21922
|
+
"type": "object",
|
|
21923
|
+
"value_allowed_null": false
|
|
21924
|
+
}
|
|
21925
|
+
],
|
|
21926
|
+
"usage": "both"
|
|
21927
|
+
},
|
|
21928
|
+
"MultiPathGatewayOriginACLInfo": {
|
|
21929
|
+
"document": "Multi-Channel gateway example instance binding relationship with origin IP ranges and origin IP range details.",
|
|
21930
|
+
"members": [
|
|
21931
|
+
{
|
|
21932
|
+
"disabled": false,
|
|
21933
|
+
"document": "Describes the currently effective IP range for origin servers.",
|
|
21934
|
+
"example": "无",
|
|
21935
|
+
"member": "MultiPathGatewayCurrentOriginACL",
|
|
21936
|
+
"name": "MultiPathGatewayCurrentOriginACL",
|
|
21937
|
+
"output_required": false,
|
|
21938
|
+
"required": false,
|
|
21939
|
+
"type": "object",
|
|
21940
|
+
"value_allowed_null": false
|
|
21941
|
+
},
|
|
21942
|
+
{
|
|
21943
|
+
"disabled": false,
|
|
21944
|
+
"document": "When the origin IP range is updated, this field will be returned with the next version's effective origin IP range, including a comparison with the current origin IP range. this field is empty if not updated.",
|
|
21945
|
+
"example": "无",
|
|
21946
|
+
"member": "MultiPathGatewayNextOriginACL",
|
|
21947
|
+
"name": "MultiPathGatewayNextOriginACL",
|
|
21948
|
+
"output_required": false,
|
|
21949
|
+
"required": false,
|
|
21950
|
+
"type": "object",
|
|
21951
|
+
"value_allowed_null": false
|
|
21952
|
+
}
|
|
21953
|
+
],
|
|
21954
|
+
"usage": "both"
|
|
21955
|
+
},
|
|
21671
21956
|
"MutualTLS": {
|
|
21672
21957
|
"document": "HTTPS Mutual authentication.",
|
|
21673
21958
|
"members": [
|
|
@@ -44,6 +44,14 @@
|
|
|
44
44
|
"title": "Querying the CNAME status of a domain name"
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
|
+
"ConfirmMultiPathGatewayOriginACL": [
|
|
48
|
+
{
|
|
49
|
+
"document": "This example shows you how to confirm the instance with ZoneId 'zone-27q0p0bal192' and GatewayId 'mpgw-lbxuhk1oh' has updated the latest origin server IP range to the origin server firewall.",
|
|
50
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfirmOriginACLUpdate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"OriginACLVersion\": 1\n}",
|
|
51
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"af0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
|
|
52
|
+
"title": "Confirm Updated to the Latest Origin IP Range"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
47
55
|
"ConfirmOriginACLUpdate": [
|
|
48
56
|
{
|
|
49
57
|
"document": "The selected site with ZoneId 'zone-276zs184g93m' confirms the latest origin ACLs have been updated to the origin server firewall.",
|
|
@@ -1026,6 +1034,14 @@
|
|
|
1026
1034
|
"title": "Querying Custom Access Routes for Multi-Channel SCDN Gateways"
|
|
1027
1035
|
}
|
|
1028
1036
|
],
|
|
1037
|
+
"DescribeMultiPathGatewayOriginACL": [
|
|
1038
|
+
{
|
|
1039
|
+
"document": "This example shows you how to query the binding relationship between instances with ZoneId 'zone-27q0p0bal192' and GatewayId 'mpgw-lbxuhk1oh' and the IP address range, as well as the IP range details.",
|
|
1040
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\"\n}",
|
|
1041
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"de0a2b4f-df6d-4d2a-ac39-1706cbf8a797\",\n \"MultiPathGatewayOriginACLInfo\": {\n \"MultiPathGatewayCurrentOriginACL\": {\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"Version\": 3,\n \"IsPlaned\": \"false\"\n },\n \"MultiPathGatewayNextOriginACL\": {\n \"Version\": 4,\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\",\n \"22.22.22.22/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"AddedAddresses\": {\n \"IPv4\": [\n \"22.22.22.22/24\"\n ],\n \"IPv6\": []\n },\n \"RemovedAddresses\": {\n \"IPv4\": [],\n \"IPv6\": []\n },\n \"NoChangeAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n }\n }\n }\n }\n}",
|
|
1042
|
+
"title": "Querying Multi-Channel SCDN Gateway Origin Server Protection Detail"
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1029
1045
|
"DescribeMultiPathGatewayRegions": [
|
|
1030
1046
|
{
|
|
1031
1047
|
"document": "Get the list of available regions of cloud gateways under the site (ZoneId is zone-27q0p0bal192).",
|
|
@@ -1738,6 +1754,14 @@
|
|
|
1738
1754
|
"title": "Modify the Configuration for Connecting Key"
|
|
1739
1755
|
}
|
|
1740
1756
|
],
|
|
1757
|
+
"ModifyMultiPathGatewayStatus": [
|
|
1758
|
+
{
|
|
1759
|
+
"document": "This example shows you how to update the status of a multi-channel security gateway with ZoneId 'zone-27q0p0bal192' and GatewayId 'eo-gw-lb-uhk1oh'.",
|
|
1760
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGatewayStatus\n<Common request parameters>\n\n{\n \"GatewayId\": \"eo-gw-lb-uhk1oh\",\n \"GatewayStatus\": \"offline\",\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
|
|
1761
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a03c3e4d-3a8c-4ef1-924c-81b33df6453a\"\n }\n}",
|
|
1762
|
+
"title": "Update Multi-Channel Security Gateway Status"
|
|
1763
|
+
}
|
|
1764
|
+
],
|
|
1741
1765
|
"ModifyOriginACL": [
|
|
1742
1766
|
{
|
|
1743
1767
|
"document": "This example shows you how to add the L7 acceleration domain 'www.qq.com' under site 'zone-276zs184g93m' enabling origin ACLs.",
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"status": "online"
|
|
282
282
|
},
|
|
283
283
|
"StartPublishCdnStream": {
|
|
284
|
-
"document": "In a TRTC room, there may be multiple audio and video streams concurrently active. You can use the MixTranscoding API to notify Tencent Cloud server to mix multiple video screens from the same room or multiple rooms together, and specify the position of each screen, while mixing multiple audio streams together. The final result is a single audio and video stream, which can be used for recording and live viewing. It also supports pushing this mixed audio and video stream back to the TRTC room.\n\nThe Cloud API MixTranscoding feature includes three interfaces:\n1. StartPublishCdnStream: Start a MixTranscoding task. This interface will initiate a new MixTranscoding task. After the task is successfully started, a unique TaskId will be returned under the sdkappid dimension. You need to save this TaskId, as it will be required for updating and stopping the task later.\n2. UpdatePublishCdnStream: Update the specified MixTranscoding task, including updating the video screen layout, updating the mixing list, updating the list of CDN addresses to be relayed, and updating the list of rooms to be pushed back.\n3. StopPublishCdnStream: Stop the specified MixTranscoding task.\n\nYou can achieve the following goals through this set of interfaces:\n1. Set the final video and audio quality, including video resolution, video frame rate, video bitrate, and audio quality.\n2. Set the layout position of each screen. You only need to set it once. When you specify the MixTranscoding user to enter the room and send audio and video, the layout engine will automatically mix the user's screen to the specified layout position. You can also use the update interface to adjust the layout position.\n3. Set multiple CDN relay target addresses. A single relay task can support up to 10 CDN relay addresses at the same time.\n4. Set multiple room pushback lists. A single relay task can support up to 10 TRTC rooms for mixed stream pushback.\n\nThe following layout templates are currently supported. Dynamic layout templates (floating template, grid template, screen sharing template) only support a single TRTC room, while custom templates support mixing audio and video streams from multiple TRTC rooms. The specific descriptions are as follows:\n1. Floating template: The video screen of the first user entering the room will fill the entire screen, and the video screens of other users will be arranged horizontally from the bottom left corner, displaying as small screens, with up to 4 rows and 4 screens per row. The small screens float above the large screen. It supports up to 1 large screen and 15 small screens. If the user only sends audio, it does not occupy the layout configuration by default, but it can also be set. Each sub-screen is rendered by default using the center cropping method, and the rendering method of the sub-screen can also be set uniformly.\n2. Grid template: The video screens of all users are of the same size, evenly dividing the entire screen. The more people there are, the smaller the size of each user's screen. It supports up to 16 screens. If the user only sends audio, it does not occupy the layout configuration by default, but it can also be set. Each sub-screen is rendered by default using the center cropping method, and the rendering method of the sub-screen can also be set uniformly.\n3. Screen sharing template: Suitable for video conference and online education scenarios. The screen sharing (or the main speaker's camera) always occupies the large screen position on the left side of the screen. You need to explicitly set the MixTranscoding user information that occupies the large screen. Other users are arranged vertically on the right side, with up to two columns and 8 small screens per column. It supports up to 1 large screen and 15 small screens. If the uplink resolution aspect ratio is different from the screen output aspect ratio, the large screen on the left side will be scaled to maintain content integrity, while the small screens on the right side will be cropped. The rendering method of the sub-screen can also be set uniformly.\n4. Custom layout template: Allows you to actively set the layout position according to your business needs. Each preset layout position supports named settings (named settings require specifying the room number and username) and unnamed settings. When a sub-screen is named, the position is reserved for the user, and the user will automatically occupy the position when entering the room and sending audio and video data. Other users will not occupy this position. When the preset layout position is not named, the layout engine will automatically fill in the order of entering the room. When the preset positions are full, no other users' screens and sounds will be mixed. Each sub-screen position supports setting placeholder images (BackgroundImageUrl). When the user does not enter the room or only sends audio data, the screen at this position can display the corresponding placeholder image.\n\nWhen using the relay API, you may incur the following costs depending on the usage characteristics:\nFor MCU MixTranscoding fees, please refer to the documentation: Billing of MixTranscoding and Relay to CDN | Tencent Cloud.\nFor non-Tencent Cloud CDN relay fees, please refer to the documentation: Billing of MixTranscoding and Relay to CDN | Tencent Cloud.\n\nInstructions for using parameters:\n1. AgentParams: Each relay task will pull a robot user into the TRTC room to pull the stream. You need to set this robot user through the AgentParams.UserId parameter. This robot ID cannot conflict with the normal user ID in the room, otherwise, the relay task will be abnormally terminated due to the robot user being kicked out of the TRTC room. You can avoid this by adding a special prefix. You can control the automatic termination of the relay task by setting AgentParams.MaxIdleTime. When this parameter is set, the relay task will automatically stop when all participating MixTranscoding anchors continuously leave the TRTC room for more than MaxIdleTime duration. Note: The relay task will not automatically stop when the participating MixTranscoding anchor only stops sending audio and video.\n2. WithTranscoding: If you need to mix multiple audio and video streams into one, WithTranscoding must be set to 1.\n3. AudioParams: The audio parameters and video parameters of the relay task are set separately. If you want to mix the audio of specified users, you need to explicitly set AudioParams.SubscribeAudioList. If you do not set AudioParams.SubscribeAudioList, the mixing engine will automatically mix the audio of all users in the TRTC room. If you want to mix the audio of all users in the TRTC room except for specified users, you can set the audio blacklist list through AudioParams.UnSubscribeAudioList.\n4. VideoParams: If you want to mix user videos, you can set it through VideoParams. If you only want to mix audio, you do not need to set VideoParams. You can set the screen layout mode through VideoParams.LayoutParams.MixLayoutMode, including dynamic layout (1: floating layout (default), 2: screen sharing layout, 3: grid layout) and custom layout. The dynamic layout mode is automatically mixed by the layout engine according to a fixed layout, and there is no need to set VideoParams.LayoutParams.MixLayoutList. When using the floating layout and screen sharing layout, you can specify the large screen user by setting VideoParams.LayoutParams.MaxVideoUser. The custom layout mode provides you with the ability to layout screens independently, and you can specify the layout position of each user through VideoParams.LayoutParams.MixLayoutList. In each layout parameter, you can specify the layout position for the specified user by setting the UserMediaStream parameter, or you can not set the UserMediaStream, and the layout engine will automatically fill in the order of users entering the TRTC room. In addition, you can set the rendering method (RenderMode) and cropping method (CustomCrop) for each layout position.\n5. VideoParams.WaterMarkList: If you want to overlay a watermark on the mixed screen, you can set it through VideoParams.WaterMarkList. It supports image watermarks and text watermarks and supports transparent channels.\n6. SingleSubscribeParams: If you want to push a single stream from the TRTC room to the CDN, you can set it using the SingleSubscribeParams parameter. In this case, you need to set the WithTranscoding parameter to 0.\n7. PublishCdnParams.N: If you want to push the stream to the CDN, you can set it using the PublishCdnParams.N parameter. It supports pushing to up to 10 CDN addresses at the same time. If the relay address is Tencent Cloud CDN, please set IsTencentCdn explicitly to 1; if you need to relay to a non-Tencent Cloud CDN, please contact Tencent Cloud Technical Support to enable it. Relaying to non-Tencent Cloud will incur relay fees. For fee information, please refer to the official documentation: On-Cloud Relay Billing Overview.\n8. FeedBackRoomParams.N: If you want to push the mixed audio and video stream back to the TRTC room, you can set it using the FeedBackRoomParams.N parameter. It supports pushing up to 10 streams back to the TRTC room at the same time. You need to specify the TRTC room number and robot ID (UserId) for the pushback. The robot ID cannot conflict with the normal user ID, otherwise, the relay task will be abnormally terminated due to the robot user being kicked out of the TRTC room. You can avoid this by adding a special prefix.\n9. SeiParams: If you want to add SEI information to the mixed audio and video stream, you can set it using the SeiParams parameter. It supports volume layout SEI and overlay relay request SEI. The content of the volume layout SEI is a fixed JSON structure, please see the SEI description in the following section of this chapter. You can set the SEI to follow the keyframe by setting the FollowIdr parameter. The description of the volume layout SEI is as follows:\nIf your CDN audience needs to recognize the position of the participating MixTranscoding anchors and the volume information of the participating MixTranscoding anchors, you can use the volume layout SEI. The payload content and parameter description of the volume layout SEI are as follows:\n{ \"app_data\":\"\", \"canvas\":{ \"w\":1080, \"h\":960 }, \"regions\":[ { \"uid\":\"65949987242835883c\", \"zorder\":2, \"volume\":45, \"x\":270, \"y\":480, \"w\":540, \"h\":480 }, { \"uid\":\"659c9d8d242b328d31\", \"zorder\":2, \"volume\":0, \"x\":0, \"y\":0, \"w\":540, \"h\":480 }, { \"uid\":\"64989a82272b308c\", \"zorder\":2, \"volume\":91, \"x\":540, \"y\":0, \"w\":540, \"h\":480 } ], \"ver\":\"1.0\", \"ts\":1648544726 }\ncanvas: This is the width and height of the VideoEncode setting in the MixTranscoding signaling, that is, the width and height of the entire canvas of the MixTranscoding output.\nregions: Contains the real mixed user ID and the corresponding sub-screen position. If the participating MixTranscoding user does not enter the TRTC room or does not turn on the video uplink, the regions will not include the user.\nuid: Represents the user ID participating in MixTranscoding.\nzorder: The layer of the participating MixTranscoding userid in the MixTranscoding output.\nx/y: The coordinates of the sub-screen of the participating MixTranscoding userid on the canvas.\nw/h: The size of the sub-screen of the participating MixTranscoding userid.\nvolume: Represents the volume of the MixTranscoding user, with a value range of 0-100. The larger the value, the greater the volume of the user participating in MixTranscoding.\nts: The server local second-level timestamp for outputting SEI. \nver: can be ignored.\n\nUsage Precautions:\n1. When using the Mixed Relay Interface, you need to call the Start Relay Task Interface (StartPublishCdnStream) first to get the Task ID from the response. Then, use the Task ID to update the relay task (UpdatePublishCdnStream) and stop the relay task (StopPublishCdnStream).\n2. The Relay API does not support initiating Automatic Bypass Tasks configured in the TRTC Console, nor does it support Custom Stream ID bypass tasks set in the TRTC SDK room entry interface.\n3. To ensure the stability of the relay link, the same relay task does not support switching between Audio only, Audio and Video, and Video only.\n4. To ensure the stability of the relay link, updating video parameters (codec) and audio parameters (codec, Sample rate, bitrate, and number of channels) is not supported during the Update Video process.\n5. When initiating a single stream bypass task, filling in both Audio Parameters and Video Parameters means Audio and Video bypass. If only Audio Parameters are filled in, it means Audio only bypass, and switching from Audio only to Audio and Video is not supported during the task progress. For Audio and Video bypass, the Width, Height, Fps, BitRate, and Gop in Video Parameters must be filled in according to the real upstream parameters.\n6. The SequenceNumber parameter must be carried in the update request to prevent request disorder. Customers must ensure that the SequenceNumber parameter increases when updating the same task, otherwise, the mix task update will fail.\n7. When calling the API, choose the region according to the following instructions: If the Application ID is 1400xxx, the region can be Beijing, Shanghai, Guangzhou, or Hong Kong. If your CDN audience is mainly overseas, please choose Hong Kong. If the Application ID is 200xxx or 400xxx, please choose Singapore.\n8. Streams pushed back to the TRTC room will not participate in the mixing of other push back room tasks. If one of the following conditions is met, it can participate in the mixing of other relay CDN tasks: (1) The push stream robot is specified to participate in the mixing in the video parameters of the relay CDN task; (2) The push stream robot is specified to participate in the mixing in the audio parameters of the relay CDN task through the whitelist method; (3) The room number of the mix user participating in the relay CDN task is completely different from the room number of the mix user corresponding to the push back robot.\n9. You can create a relay task before the anchor enters the room. When the relay task is finished, you need to call the stop interface actively. If you do not call the Stop Relay Task Interface, Tencent Cloud will automatically stop the mix relay task when all users participating in the mix have no data uploaded for a period of time exceeding the timeout (AgentParams.MaxIdleTime) set when starting the relay task.",
|
|
284
|
+
"document": "**API Description**\n\nThis API starts a stream mixing and relaying task. This API mixes multiple audio/video streams from a TRTC room into a single stream, encodes it, and then pushes it to CDN server or publishs it into the TRTC room. It also supports relaying a single stream from a TRTC room directly without transcoding.\n\nAfter success, the API returns a globally unique TaskID. You will need this TaskId in later operations such as updating or stopping the task.\n\nFor more details, refer to the document: [Feature Description](https://trtc.io/zh/document/47858?product=rtcengine ) and [FAQs](https://trtc.io/zh/document/36058?product=rtcengine&menulabel=core%20sdk&platform=web) .\n\nNote: You can enable the relay to CDN in the console to monitor events under the CDN relay status. For callback details, see: [Relay to CDN Callback Description](https://trtc.io/zh/document/54913?product=rtcengine&menulabel=core%20sdk&platform=web ) .\n\nStarting a relay task may incur the following fees:\nMCU stream mixing and transcoding fees: [See Cloud Stream Mixing and Transcoding Pricing](https://trtc.io/zh/document/47631 ) .",
|
|
285
285
|
"input": "StartPublishCdnStreamRequest",
|
|
286
286
|
"name": "Starts a relaying task",
|
|
287
287
|
"output": "StartPublishCdnStreamResponse",
|
|
@@ -3321,7 +3321,7 @@
|
|
|
3321
3321
|
{
|
|
3322
3322
|
"disabled": false,
|
|
3323
3323
|
"document": "The information of the stream that is displayed. If you do not pass this parameter, TRTC will display the videos of anchors in the room according to their room entry sequence.",
|
|
3324
|
-
"example": "
|
|
3324
|
+
"example": "无",
|
|
3325
3325
|
"member": "UserMediaStream",
|
|
3326
3326
|
"name": "UserMediaStream",
|
|
3327
3327
|
"required": false,
|
|
@@ -3402,7 +3402,7 @@
|
|
|
3402
3402
|
{
|
|
3403
3403
|
"disabled": false,
|
|
3404
3404
|
"document": "Custom cropping.",
|
|
3405
|
-
"example": "
|
|
3405
|
+
"example": "无",
|
|
3406
3406
|
"member": "McuCustomCrop",
|
|
3407
3407
|
"name": "CustomCrop",
|
|
3408
3408
|
"required": false,
|
|
@@ -3804,7 +3804,7 @@
|
|
|
3804
3804
|
{
|
|
3805
3805
|
"disabled": false,
|
|
3806
3806
|
"document": "The video encoding parameters.",
|
|
3807
|
-
"example": "
|
|
3807
|
+
"example": "无",
|
|
3808
3808
|
"member": "VideoEncode",
|
|
3809
3809
|
"name": "VideoEncode",
|
|
3810
3810
|
"required": false,
|
|
@@ -3813,7 +3813,7 @@
|
|
|
3813
3813
|
{
|
|
3814
3814
|
"disabled": false,
|
|
3815
3815
|
"document": "The layout parameters.",
|
|
3816
|
-
"example": "
|
|
3816
|
+
"example": "无",
|
|
3817
3817
|
"member": "McuLayoutParams",
|
|
3818
3818
|
"name": "LayoutParams",
|
|
3819
3819
|
"required": false,
|
|
@@ -3840,7 +3840,7 @@
|
|
|
3840
3840
|
{
|
|
3841
3841
|
"disabled": false,
|
|
3842
3842
|
"document": "The watermark information for the mixed stream.",
|
|
3843
|
-
"example": "
|
|
3843
|
+
"example": "无",
|
|
3844
3844
|
"member": "McuWaterMarkParams",
|
|
3845
3845
|
"name": "WaterMarkList",
|
|
3846
3846
|
"required": false,
|
|
@@ -325,43 +325,43 @@
|
|
|
325
325
|
"document": "",
|
|
326
326
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 1536,\n \"Gop\": 2\n },\n \"LayoutParams\": {\n \"PureAudioHoldPlaceMode\": 0,\n \"MixLayoutMode\": 4,\n \"MixLayoutList\": [\n {\n \"LocationX\": 0,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 640,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n }\n ]\n },\n \"BackGroundColor\": \"0xFF0000\",\n \"WaterMarkList\": [\n {\n \"WaterMarkType\": 0,\n \"WaterMarkImage\": {\n \"LocationX\": 64,\n \"LocationY\": 64,\n \"WaterMarkHeight\": 64,\n \"WaterMarkWidth\": 64,\n \"WaterMarkUrl\": \"https://xkt-course-1304449343.cos.ap-beijing.myqcloud.com/test/mark/37f9eb62-ca72-430e-bfca-e700b59b20e0.png\",\n \"ZOrder\": 3\n }\n }\n ]\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
|
327
327
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7vxyBSmXYsRx1Xy9Kf4bVVfbbhSKC4K-4pycoZWKv542xbi139uTvGt1zAHoAQ..\",\n \"RequestId\": \"b934c535-8d82-4f52-bd52-a1cbb043c4be\"\n }\n}",
|
|
328
|
-
"title": "
|
|
328
|
+
"title": "Mix AV & Relay"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
331
|
"document": "",
|
|
332
332
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n },\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_1\"\n }\n }\n ]\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
|
333
333
|
"output": "{\n \"Response\": {\n \"RequestId\": \"388014ec-a0b8-4b8f-86bc-1f467448f5f0\",\n \"TaskId\": \"-m9lnV5U7nj4rkLBWMXF9n8-EohONCXbalWuLYK-4pycoZWQndibcqSVnrlqKF5om7EIDVk4awE.\"\n }\n}",
|
|
334
|
-
"title": "
|
|
334
|
+
"title": "Mix Audio & Relay "
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
"document": "",
|
|
338
338
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 1536,\n \"Gop\": 2\n }\n },\n \"SingleSubscribeParams\": {\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 0,\n \"RoomId\": \"295066\"\n}",
|
|
339
339
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7tq6nEsHR89259B8aCDblqnbGhWKC4K-4pycoZWpyHnld1jC9aCD+EU7V8WRAQ..\",\n \"RequestId\": \"f23d95bf-ddaf-4d0c-86c0-6bf50c74c0a0\"\n }\n}",
|
|
340
|
-
"title": "
|
|
340
|
+
"title": "Relay AV"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"document": "",
|
|
344
344
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"SingleSubscribeParams\": {\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 0,\n \"RoomId\": \"295066\"\n}",
|
|
345
345
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7r57nZBesMa84KgzxhH0OBbbCRaKC4K-4pycoZW7yFPtusNuZOen1Ca0qtQQAQ..\",\n \"RequestId\": \"ef089f8b-d0d1-4131-894d-4edd68d61605\"\n }\n}",
|
|
346
|
-
"title": "
|
|
346
|
+
"title": "Relay Audio"
|
|
347
347
|
},
|
|
348
348
|
{
|
|
349
349
|
"document": "",
|
|
350
350
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 1536,\n \"Gop\": 2\n },\n \"LayoutParams\": {\n \"PureAudioHoldPlaceMode\": 0,\n \"MixLayoutMode\": 4,\n \"MixLayoutList\": [\n {\n \"LocationX\": 0,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 640,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n }\n ]\n },\n \"BackGroundColor\": \"0xFF0000\",\n \"WaterMarkList\": [\n {\n \"WaterMarkType\": 0,\n \"WaterMarkImage\": {\n \"LocationX\": 64,\n \"LocationY\": 64,\n \"WaterMarkHeight\": 64,\n \"WaterMarkWidth\": 64,\n \"WaterMarkUrl\": \"https://xkt-course-1304449343.cos.ap-beijing.myqcloud.com/test/mark/37f9eb62-ca72-430e-bfca-e700b59b20e0.png\",\n \"ZOrder\": 3\n }\n }\n ]\n },\n \"FeedBackRoomParams\": [\n {\n \"RoomId\": \"630777\",\n \"RoomIdType\": 0,\n \"UserId\": \"trtc_partner_test_2\",\n \"UserSig\": \"eJwtjEELgjAYhv-Ldy10m7mtQYcQOtklU6mLSFs1LVnzq4Tovwfa8Xmel-cD*zQLXsaDAhYQmI9stenQnu2o0eOpcrXHzvgKTY8V*8963dbOWQ2KLgihUkacTwXt3YCigpIlo0KyyZrBWW9ARZyQ-4O9gIJrYfK365M85PEw02HZPneNaJJbg4-1Nj6KQqZZacVhI1fw-QEkCzYe\"\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
|
351
351
|
"output": "{\n \"Response\": {\n \"RequestId\": \"921e9cf6-b77c-4a7a-ab0e-c66a3e66fc59\",\n \"TaskId\": \"-m9lnV5U7n7TwoLKSsii1JivUn7DLDDbP16uLYK-4pycoZWQndib8GQJZEMMXFyOHe9Ds6WfxAE.\"\n }\n}",
|
|
352
|
-
"title": "
|
|
352
|
+
"title": "Mix AV, then Feedback"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
"document": "",
|
|
356
356
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<Common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 1536,\n \"Gop\": 2\n },\n \"LayoutParams\": {\n \"PureAudioHoldPlaceMode\": 0,\n \"MixLayoutMode\": 4,\n \"MixLayoutList\": [\n {\n \"LocationX\": 0,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 640,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n }\n ]\n },\n \"BackGroundColor\": \"0xFF0000\",\n \"WaterMarkList\": [\n {\n \"WaterMarkType\": 0,\n \"WaterMarkImage\": {\n \"LocationX\": 64,\n \"LocationY\": 64,\n \"WaterMarkHeight\": 64,\n \"WaterMarkWidth\": 64,\n \"WaterMarkUrl\": \"https://xkt-course-1304449343.cos.ap-beijing.myqcloud.com/test/mark/37f9eb62-ca72-430e-bfca-e700b59b20e0.png\",\n \"ZOrder\": 3\n }\n }\n ]\n },\n \"SeiParams\": {\n \"LayoutVolume\": {\n \"AppData\": \"layout_sei_test\",\n \"PayloadType\": 100,\n \"Interval\": 1000,\n \"FollowIdr\": 1\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
|
357
357
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6dfc18cc-2123-4a11-9591-f1e873fbbd65\",\n \"TaskId\": \"-m9lnV5U7nzo2Xwh48Dc-YCDrR5Bk8DbJ1WrLYK-4pycoZWQndibrNig9cq-7ljX4SenbKWlZAE.\"\n }\n}",
|
|
358
|
-
"title": "
|
|
358
|
+
"title": "Mix AV & Relay with layout"
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
"document": "",
|
|
362
362
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<common request parameters>\n\n{\n \"AgentParams\": {\n \"MaxIdleTime\": 30,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n },\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295067\",\n \"UserId\": \"Trtc_User_1\"\n }\n }\n ]\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 1536,\n \"Gop\": 2\n },\n \"LayoutParams\": {\n \"PureAudioHoldPlaceMode\": 0,\n \"MixLayoutMode\": 4,\n \"MixLayoutList\": [\n {\n \"LocationX\": 0,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 640,\n \"LocationY\": 0,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295067\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 720,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n }\n ]\n },\n \"BackGroundColor\": \"0xFF0000\",\n \"WaterMarkList\": [\n {\n \"WaterMarkType\": 0,\n \"WaterMarkImage\": {\n \"LocationX\": 64,\n \"LocationY\": 64,\n \"WaterMarkHeight\": 64,\n \"WaterMarkWidth\": 64,\n \"WaterMarkUrl\": \"https://xkt-course-1304449343.cos.ap-beijing.myqcloud.com/test/mark/37f9eb62-ca72-430e-bfca-e700b59b20e0.png\",\n \"ZOrder\": 3\n }\n }\n ]\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 1\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
|
363
363
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7vxyBSmXYsRx1Xy9Kf4bVVfbbhSKC4K-4pycoZWKv542xbi139uTvGt1zAHoAQ..\",\n \"RequestId\": \"b934c535-8d82-4f52-bd52-a1cbb043c4be\"\n }\n}",
|
|
364
|
-
"title": ""
|
|
364
|
+
"title": "Cross-Room Stream Relaying"
|
|
365
365
|
}
|
|
366
366
|
],
|
|
367
367
|
"StartStreamIngest": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tccli-intl-en
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1280.1
|
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-cli-intl-en.git
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.4
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.5
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.6
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: tencentcloud-sdk-python-intl-en >=3.0.
|
|
24
|
+
Requires-Dist: tencentcloud-sdk-python-intl-en >=3.0.1280
|
|
25
25
|
Requires-Dist: jmespath ==0.10.0
|
|
26
26
|
Requires-Dist: six ==1.16.0
|
|
27
27
|
|