tccli 3.0.845.1__py2.py3-none-any.whl → 3.0.847.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/billing/v20180709/api.json +18 -62
- tccli/services/billing/v20180709/examples.json +8 -8
- tccli/services/cat/v20180409/api.json +0 -28
- tccli/services/cat/v20180409/examples.json +7 -7
- tccli/services/ccc/v20200210/api.json +16 -7
- tccli/services/ccc/v20200210/examples.json +2 -2
- tccli/services/cdb/v20170320/api.json +71 -50
- tccli/services/cdb/v20170320/examples.json +4 -4
- tccli/services/cdn/v20180606/api.json +1 -11
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +8 -5
- tccli/services/ckafka/v20190819/examples.json +3 -3
- tccli/services/cls/v20201016/api.json +44 -33
- tccli/services/cls/v20201016/examples.json +3 -3
- tccli/services/cvm/v20170312/api.json +2 -4
- tccli/services/dbbrain/v20210527/api.json +36 -30
- tccli/services/dcdb/dcdb_client.py +53 -0
- tccli/services/dcdb/v20180411/api.json +812 -157
- tccli/services/dcdb/v20180411/examples.json +8 -0
- tccli/services/dlc/v20210125/api.json +9 -0
- tccli/services/emr/v20190103/api.json +9 -29
- tccli/services/ess/ess_client.py +273 -8
- tccli/services/ess/v20201111/api.json +639 -89
- tccli/services/ess/v20201111/examples.json +58 -6
- tccli/services/essbasic/essbasic_client.py +159 -0
- tccli/services/essbasic/v20210526/api.json +287 -3
- tccli/services/essbasic/v20210526/examples.json +24 -0
- tccli/services/iotexplorer/v20190423/api.json +25 -33
- tccli/services/iotexplorer/v20190423/examples.json +9 -9
- tccli/services/mariadb/mariadb_client.py +53 -0
- tccli/services/mariadb/v20170312/api.json +520 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +10 -11
- tccli/services/monitor/v20180724/examples.json +5 -5
- tccli/services/mps/v20190612/api.json +2 -7
- tccli/services/ocr/v20181119/api.json +73 -89
- tccli/services/ocr/v20181119/examples.json +23 -23
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +214 -0
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/tcss/v20201101/api.json +40 -7
- tccli/services/tcss/v20201101/examples.json +3 -3
- tccli/services/tdid/v20210519/api.json +68 -68
- tccli/services/tiw/tiw_client.py +1403 -78
- tccli/services/tiw/v20190919/api.json +2439 -461
- tccli/services/tiw/v20190919/examples.json +200 -0
- tccli/services/trtc/v20190722/api.json +41 -29
- tccli/services/trtc/v20190722/examples.json +10 -10
- tccli/services/vpc/v20170312/api.json +15 -27
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/waf/v20180125/api.json +50 -6
- tccli/services/waf/v20180125/examples.json +2 -2
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/METADATA +2 -2
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/RECORD +59 -59
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,29 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ApplyTiwTrial": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=ApplyTiwTrial\n&<公共请求参数>",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
8
|
+
"title": "申请互动白板试用"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"CreateApplication": [
|
12
|
+
{
|
13
|
+
"document": "创建白板应用",
|
14
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=CreateApplication\n&SdkAppId=1400000001\n&AppName=ForTest\n&SKey=xxxx\n&TinyId=xxxx\n&<公共请求参数>",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\",\n \"AppId\": 1200000001,\n \"SdkAppId\": 1400000001,\n \"AppName\": \"ForTest\"\n }\n}",
|
16
|
+
"title": "创建白板应用"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"CreateOfflineRecord": [
|
20
|
+
{
|
21
|
+
"document": "创建课后录制任务",
|
22
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=CreateOfflineRecord\n&SdkAppId=1400000001\n&RoomId=8000\n&GroupId=8000\n&MixStream.Enabled=true\n&MixStream.ModelId=1\n&Whiteboard.Width=1280\n&Whiteboard.Height=960\n&<公共请求参数>",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
24
|
+
"title": "创建课后录制任务"
|
25
|
+
}
|
26
|
+
],
|
3
27
|
"CreateSnapshotTask": [
|
4
28
|
{
|
5
29
|
"document": "",
|
@@ -30,6 +54,62 @@
|
|
30
54
|
"title": "开始录制视频生成"
|
31
55
|
}
|
32
56
|
],
|
57
|
+
"DescribeAPIService": [
|
58
|
+
{
|
59
|
+
"document": "",
|
60
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAPIService\n<公共请求参数>\n\n{\n \"Service\": \"cos:GetService\",\n \"Data\": \"\"\n}",
|
61
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"51a33e48-a808-4fe7-8c02-4e7be5245351\",\n \"ResponseData\": \"{\\\"Bucket\\\": \\\"test\\\"}\"\n }\n}",
|
62
|
+
"title": "查询COS桶列表"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"DescribeApplicationInfos": [
|
66
|
+
{
|
67
|
+
"document": "查询白板应用列表",
|
68
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeApplicationInfos\n&<公共请求参数>",
|
69
|
+
"output": "{\n \"Response\": {\n \"ApplicationInfos\": [\n {\n \"TagList\": [\n {\n \"TagKey\": \"tag_key\",\n \"TagValue\": \"tag_value\"\n }\n ],\n \"SdkAppId\": \"1400000001\",\n \"AppName\": \"ForTest\",\n \"CreateTime\": \"2019-11-10 00:00:00\"\n }\n ],\n \"AllOption\": 1,\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
70
|
+
"title": "查询白板应用列表"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"DescribeApplicationUsage": [
|
74
|
+
{
|
75
|
+
"document": "按天查询白板用量",
|
76
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationUsage\n<公共请求参数>\n\n{\n \"TimeLevel\": \"DAILY\",\n \"SubProduct\": \"sp_tiw_ric\",\n \"BeginTime\": \"2019-10-01 00:00:00\",\n \"SdkAppId\": 1400000001,\n \"IsWeighted\": true,\n \"EndTime\": \"2019-12-31 00:00:00\"\n}",
|
77
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Details\": [\n {\n \"Value\": 0.1,\n \"Weight\": 0.1,\n \"TagName\": \"tag_name\"\n }\n ],\n \"Value\": 23773611121,\n \"Time\": \"2019-11-10 00:00:00\"\n }\n ],\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
78
|
+
"title": "查询白板用量"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"DescribeBoardSDKLog": [
|
82
|
+
{
|
83
|
+
"document": "",
|
84
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBoardSDKLog\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000001,\n \"RoomId\": \"73394291\",\n \"UserId\": \"tic_web\",\n \"TimeRange\": [\n 1614519034000,\n 1614691834999\n ],\n \"Context\": \"\",\n \"AggregationInterval\": \"1h\",\n \"Query\": \"\",\n \"Ascending\": true\n}",
|
85
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"52214ab1-eeaa-4c9a-aa8f-6c501f7cae18\",\n \"Total\": 65,\n \"Context\": \"\",\n \"Sources\": [],\n \"Buckets\": []\n }\n}",
|
86
|
+
"title": "查询白板日志"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"DescribeIMApplications": [
|
90
|
+
{
|
91
|
+
"document": "查询可用于创建白板应用的IM应用列表",
|
92
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeIMApplications\n&<公共请求参数>",
|
93
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
94
|
+
"title": "查询IM应用列表"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"DescribeOfflineRecord": [
|
98
|
+
{
|
99
|
+
"document": "查询课后录制任务",
|
100
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeOfflineRecord\n&SdkAppId=1400000001\n&TaskId=00e1jv8ve0jcqk7da9lb\n&<公共请求参数>",
|
101
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
102
|
+
"title": "查询课后录制任务"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"DescribeOfflineRecordCallback": [
|
106
|
+
{
|
107
|
+
"document": "查询课后录制回调地址",
|
108
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeOfflineRecordCallback\n&SdkAppId=1400000001\n&<公共请求参数>",
|
109
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
110
|
+
"title": "查询课后录制回调地址"
|
111
|
+
}
|
112
|
+
],
|
33
113
|
"DescribeOnlineRecord": [
|
34
114
|
{
|
35
115
|
"document": "",
|
@@ -52,6 +132,14 @@
|
|
52
132
|
"title": "查询实时录制回调地址"
|
53
133
|
}
|
54
134
|
],
|
135
|
+
"DescribePostpaidUsage": [
|
136
|
+
{
|
137
|
+
"document": "查询用户后付费用量",
|
138
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribePostpaidUsage\n&BeginTime=2019-12-16 10:44:58\n&EndTime=2019-12-16 10:44:58\n&<公共请求参数>",
|
139
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
140
|
+
"title": "查询用户后付费用量"
|
141
|
+
}
|
142
|
+
],
|
55
143
|
"DescribeQualityMetrics": [
|
56
144
|
{
|
57
145
|
"document": "",
|
@@ -60,6 +148,14 @@
|
|
60
148
|
"title": "查询白板图片加载失败统计"
|
61
149
|
}
|
62
150
|
],
|
151
|
+
"DescribeRoomList": [
|
152
|
+
{
|
153
|
+
"document": "",
|
154
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoomList\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000001,\n \"Query\": \"*\",\n \"MaxSize\": 1000,\n \"TimeRange\": [\n 1614519034000,\n 1615190492000\n ]\n}",
|
155
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7f560a64-d7fb-476b-89b9-2b90acc5c675\",\n \"RoomList\": [\n {\n \"RoomId\": \"108594741\",\n \"StartTime\": 1614851243268,\n \"EndTime\": 1614851284952,\n \"UserNumber\": 1\n }\n ]\n }\n}",
|
156
|
+
"title": "查询白板房间列表"
|
157
|
+
}
|
158
|
+
],
|
63
159
|
"DescribeSnapshotTask": [
|
64
160
|
{
|
65
161
|
"document": "",
|
@@ -106,6 +202,46 @@
|
|
106
202
|
"title": "查询文档转码回调地址"
|
107
203
|
}
|
108
204
|
],
|
205
|
+
"DescribeTranscodeSearch": [
|
206
|
+
{
|
207
|
+
"document": "",
|
208
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeTranscodeSearch\n&Offset=0\n&Limit=1\n&Keyword=拼音\n&<公共请求参数>",
|
209
|
+
"output": "{\n \"Response\": {\n \"TranscodeTaskSet\": [\n {\n \"CreateTime\": \"2020-08-21T16:05:36+08:00\",\n \"Status\": \"FINISHED\",\n \"TaskId\": \"ggdb2vjdnc3lp0k0ovsb\",\n \"OriginalFilename\": \"拼音.pptx\",\n \"SdkAppId\": 1400127140,\n \"IsStatic\": false,\n \"Result\": {\n \"ResultUrl\": \"https://whiteboard-cam-test-1257307760.cos.ap-nanjing.myqcloud.com/doc/ggdb2vjdnc3lp0k0ovsb_tiw/h5/index.html\",\n \"Resolution\": \"960x540\",\n \"Title\": \"拼音.pptx\",\n \"Pages\": 20,\n \"ThumbnailUrl\": \"\",\n \"ThumbnailResolution\": \"\",\n \"CompressFileUrl\": \"\",\n \"ErrorCode\": 0,\n \"ErrorMsg\": \"ppt convert sucess!\"\n }\n }\n ],\n \"TotalCount\": 1340,\n \"RequestId\": \"bc309eaa-6d64-11e8-a7fe-5254000b4175\"\n }\n}",
|
210
|
+
"title": "成功"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"DescribeUsageSummary": [
|
214
|
+
{
|
215
|
+
"document": "查询子产品用量统计",
|
216
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeUsageSummary\n&BeginTime=2019-12-30 11:41:58\n&EndTime=2019-12-30 11:42:06\n&SubProducts.0=sp_tiw_dt\n&SubProducts.1=sp_tiw_st\n&IsWeighted=true\n&<公共请求参数>",
|
217
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"70443084-c60f-4f8e-a4f9-acb791802298\"\n }\n}",
|
218
|
+
"title": "查询子产品用量统计"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"DescribeUserList": [
|
222
|
+
{
|
223
|
+
"document": "",
|
224
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserList\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000001,\n \"RoomId\": \"0\",\n \"Query\": \"*\",\n \"MaxSize\": 1000,\n \"TimeRange\": [\n 1614519034000,\n 1615190492000\n ]\n}",
|
225
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7f560a64-d7fb-476b-89b9-2b90acc5c675\",\n \"UserList\": [\n {\n \"UserId\": \"131001012\",\n \"StartTime\": 1614519034000,\n \"EndTime\": 1615190492000\n }\n ]\n }\n}",
|
226
|
+
"title": "查询白板用户列表"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"DescribeUserResources": [
|
230
|
+
{
|
231
|
+
"document": "查询客户资源列表",
|
232
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeUserResources\n&<公共请求参数>",
|
233
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
234
|
+
"title": "查询客户资源列表"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"DescribeUserStatus": [
|
238
|
+
{
|
239
|
+
"document": "",
|
240
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeUserStatus\n&<公共请求参数>",
|
241
|
+
"output": "{\n \"Response\": {\n \"AppId\": 1250000060,\n \"IsTiwUser\": 1,\n \"IsSaaSUser\": 1,\n \"IsTiwOfflineRecordUser\": 1,\n \"IsAuthenticated\": 1,\n \"RequestId\": \"9f5a59d6-2b77-41b2-a945-78084577e225\"\n }\n}",
|
242
|
+
"title": "查询互动白板用户详情"
|
243
|
+
}
|
244
|
+
],
|
109
245
|
"DescribeVideoGenerationTask": [
|
110
246
|
{
|
111
247
|
"document": "",
|
@@ -122,6 +258,22 @@
|
|
122
258
|
"title": "查询录制视频生成回调地址"
|
123
259
|
}
|
124
260
|
],
|
261
|
+
"DescribeWhiteboardApplicationConfig": [
|
262
|
+
{
|
263
|
+
"document": "",
|
264
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWhiteboardApplicationConfig\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000001,\n \"TaskTypes\": [\n \"transcode\",\n \"recording\"\n ]\n}",
|
265
|
+
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"BucketLocation\": \"ap-nanjing\",\n \"BucketName\": \"example-120000001\",\n \"BucketPrefix\": \"video\",\n \"Callback\": \"http://www.test.com\",\n \"CallbackKey\": \"\",\n \"ResultDomain\": \"example-120000001.cos.ap-nanjing.myqcloud.com\",\n \"TaskType\": \"recording\",\n \"SdkAppId\": 1400127140\n },\n {\n \"BucketLocation\": \"ap-nanjing\",\n \"BucketName\": \"example-120000001\",\n \"BucketPrefix\": \"\",\n \"Callback\": \"http://www.test.com/qcapi\",\n \"CallbackKey\": \"abcde\",\n \"ResultDomain\": \"example-120000001.cos.ap-nanjing.myqcloud.com\",\n \"TaskType\": \"transcode\",\n \"SdkAppId\": 1400127140\n }\n ],\n \"SdkAppId\": 1400127140,\n \"RequestId\": \"9f5a59d6-2b77-41b2-a945-78084577e225\"\n }\n}",
|
266
|
+
"title": "查询应用资源配置"
|
267
|
+
}
|
268
|
+
],
|
269
|
+
"DescribeWhiteboardBucketConfig": [
|
270
|
+
{
|
271
|
+
"document": "",
|
272
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeWhiteboardBucketConfig\n&SdkAppId=1400000001\n&TaskType=recording\n&<公共请求参数>",
|
273
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
274
|
+
"title": "查询应用资源配置"
|
275
|
+
}
|
276
|
+
],
|
125
277
|
"DescribeWhiteboardPush": [
|
126
278
|
{
|
127
279
|
"document": "",
|
@@ -144,6 +296,46 @@
|
|
144
296
|
"title": "查询白板推流回调地址"
|
145
297
|
}
|
146
298
|
],
|
299
|
+
"DescribeWhiteboardPushSearch": [
|
300
|
+
{
|
301
|
+
"document": "",
|
302
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=DescribeWhiteboardPushSearch\n&Offset=0\n&Limit=1\n&RoomId=101069223\n&<公共请求参数>",
|
303
|
+
"output": "{\n \"Response\": {\n \"WhiteboardPushTaskSet\": [\n {\n \"CreateTime\": \"2021-01-15T12:43:57+08:00\",\n \"RoomId\": 101069223,\n \"TaskId\": \"01bjgeeigsh31f3rh00c\",\n \"Status\": \"STOPPED\",\n \"SdkAppId\": 1400313729,\n \"PushUserId\": \"tic_push_user_101069223_107991\",\n \"Result\": {\n \"RoomId\": 101069223,\n \"GroupId\": \"101069223\",\n \"FinishReason\": \"USER_CALL\",\n \"ExceptionCnt\": 0,\n \"PushStartTime\": 1610685839,\n \"PushStopTime\": 1610685852,\n \"IMSyncTime\": 0,\n \"ErrorCode\": 0,\n \"ErrorMsg\": \"\"\n }\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
304
|
+
"title": "成功"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"ModifyApplication": [
|
308
|
+
{
|
309
|
+
"document": "创建白板应用",
|
310
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=ModifyApplication\n&SdkAppId=1400000001\n&AppName=ForTest\n&<公共请求参数>",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
312
|
+
"title": "修改白板应用"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"ModifyAutoRenewFlag": [
|
316
|
+
{
|
317
|
+
"document": "",
|
318
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=ModifyAutoRenewFlag\n&SubProduct=sp_tiw_package\n&ResourceId=sp_tiw_package-251006355-prepaid-1\n&AutoRenewFlag=1\n&<公共请求参数>",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
320
|
+
"title": "设置白板月功能费自动续费"
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"ModifyWhiteboardApplicationConfig": [
|
324
|
+
{
|
325
|
+
"document": "",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: tiw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWhiteboardApplicationConfig\n<公共请求参数>\n\n{\n \"Configs\": [\n {\n \"AdminUserId\": \"abcde\",\n \"BucketPrefix\": \"doc\",\n \"ResultDomain\": \"xxx\",\n \"AdminUserSig\": \"abcde\",\n \"Callback\": \"http://www.example.com/callback\",\n \"BucketName\": \"test-120000001\",\n \"SdkAppId\": 1400000001,\n \"TaskType\": \"recording\",\n \"BucketLocation\": \"ap-guangzhou\",\n \"CallbackKey\": \"abcde\"\n }\n ],\n \"SdkAppId\": 1400000001\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
328
|
+
"title": "修改白板应用任务相关配置"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"ModifyWhiteboardBucketConfig": [
|
332
|
+
{
|
333
|
+
"document": "",
|
334
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=ModifyWhiteboardBucketConfig\n&SdkAppId=1400000001\n&TaskType=recording\n&BucketLocation=ap-guangzhou\n&BucketName=test-120000001\n&BucketPrefix=doc\n&ResultDomain=https://bucket.com\n&<公共请求参数>",
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d290f1ee-6c54-4b01-90e6-d701748f0851\"\n }\n}",
|
336
|
+
"title": "设置应用资源配置"
|
337
|
+
}
|
338
|
+
],
|
147
339
|
"PauseOnlineRecord": [
|
148
340
|
{
|
149
341
|
"document": "",
|
@@ -160,6 +352,14 @@
|
|
160
352
|
"title": "恢复实时录制任务"
|
161
353
|
}
|
162
354
|
],
|
355
|
+
"SetOfflineRecordCallback": [
|
356
|
+
{
|
357
|
+
"document": "",
|
358
|
+
"input": "https://tiw.tencentcloudapi.com/?Action=SetOfflineRecordCallback\n&SdkAppId=1400000001\n&Callback=https://example.com/offline/callback\n&<公共请求参数>",
|
359
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
360
|
+
"title": "设置课后录制回调地址"
|
361
|
+
}
|
362
|
+
],
|
163
363
|
"SetOnlineRecordCallback": [
|
164
364
|
{
|
165
365
|
"document": "",
|
@@ -225,7 +225,7 @@
|
|
225
225
|
"status": "online"
|
226
226
|
},
|
227
227
|
"StartPublishCdnStream": {
|
228
|
-
"document": "接口说明:启动旁路以及混流转推任务。TRTC 的房间中可能会同时存在多路音视频流,您可以通过此API接口,实现以下几种效果:\n1、支持将单个主播的音视频流发布(也称作“转推”)到直播CDN上,请参考示例2(发起单流音视频旁路转推)和示例3(发起单流纯音频旁路转推)。\n2、支持将同个房间多个主播或者不同房间多个主播的音视频混合成1路后再发布到直播CDN上,您可以通过AudioParams.SubscribeAudioList和VideoParams.LayoutParams调整参与混音的用户列表以及指定各路混流画面的布局位置。请参考示例1(发起混流转推)。\n3、支持预先设置一个房间的混流模板,将该房间中的多个音视频混合成1路发布到直播CDN,腾讯云后台实时监控TRTC房间中的主播变化,自动按照混流模板调整布局。目前已经支持了如下几种混流预设模板:\n - 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面。\n - 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小,最多支持16个画面。\n - 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。\n4、支持同时将音视频流发布到最多10个直播CDN上。您可以通过PublishCdnParams.PublishCdnUrl指定转推CDN的url,如果您想转推到腾讯云CDN,PublishCdnParams.IsTencentCdn填为1。\n5、支持通过配置服务端回调,实时将转推状态以HTTP/HTTPS POST 请求发送给您的服务器,如果您需要接入转推事件回调,请联系腾讯云技术支持。\n6、云API调用支持广州、上海、北京、香港四个地域,如果您想转推海外,请选择香港地域。\n7、国内站默认只支持转推腾讯云CDN,如您有转推第三方CDN的需求,请联系腾讯云技术支持,由后台进行评估。\n注意:\n1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/49446)。**\n2、**转推非腾讯云CDN将产生云端转推费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/82155)。**\n\n其他使用说明如下:\n1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。\n2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。\n3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec
|
228
|
+
"document": "接口说明:启动旁路以及混流转推任务。TRTC 的房间中可能会同时存在多路音视频流,您可以通过此API接口,实现以下几种效果:\n1、支持将单个主播的音视频流发布(也称作“转推”)到直播CDN上,请参考示例2(发起单流音视频旁路转推)和示例3(发起单流纯音频旁路转推)。\n2、支持将同个房间多个主播或者不同房间多个主播的音视频混合成1路后再发布到直播CDN上,您可以通过AudioParams.SubscribeAudioList和VideoParams.LayoutParams调整参与混音的用户列表以及指定各路混流画面的布局位置。请参考示例1(发起混流转推)。\n3、支持预先设置一个房间的混流模板,将该房间中的多个音视频混合成1路发布到直播CDN,腾讯云后台实时监控TRTC房间中的主播变化,自动按照混流模板调整布局。目前已经支持了如下几种混流预设模板:\n - 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面。\n - 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小,最多支持16个画面。\n - 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。\n4、支持同时将音视频流发布到最多10个直播CDN上。您可以通过PublishCdnParams.PublishCdnUrl指定转推CDN的url,如果您想转推到腾讯云CDN,PublishCdnParams.IsTencentCdn填为1。\n5、支持通过配置服务端回调,实时将转推状态以HTTP/HTTPS POST 请求发送给您的服务器,如果您需要接入转推事件回调,请联系腾讯云技术支持。\n6、云API调用支持广州、上海、北京、香港四个地域,如果您想转推海外,请选择香港地域。\n7、国内站默认只支持转推腾讯云CDN,如您有转推第三方CDN的需求,请联系腾讯云技术支持,由后台进行评估。\n注意:\n1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/49446)。**\n2、**转推非腾讯云CDN将产生云端转推费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/82155)。**\n\n其他使用说明如下:\n1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。\n2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。\n3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐,如您有转码/非转码切换,其余参数则必须全量带齐。\n4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。\n5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。\n6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。",
|
229
229
|
"input": "StartPublishCdnStreamRequest",
|
230
230
|
"name": "启动转推任务",
|
231
231
|
"output": "StartPublishCdnStreamResponse",
|
@@ -1873,7 +1873,32 @@
|
|
1873
1873
|
},
|
1874
1874
|
"DescribeTrtcRoomUsageRequest": {
|
1875
1875
|
"document": "DescribeTrtcRoomUsage请求参数结构体",
|
1876
|
-
"members": [
|
1876
|
+
"members": [
|
1877
|
+
{
|
1878
|
+
"document": "TRTC的SdkAppId,和房间所对应的SdkAppId相同。",
|
1879
|
+
"example": "1400017192",
|
1880
|
+
"member": "uint64",
|
1881
|
+
"name": "SdkAppid",
|
1882
|
+
"required": true,
|
1883
|
+
"type": "int"
|
1884
|
+
},
|
1885
|
+
{
|
1886
|
+
"document": "查询开始时间,格式为YYYY-MM-DD HH:MM,精确到分钟级。",
|
1887
|
+
"example": "2023-01-06 00:00",
|
1888
|
+
"member": "string",
|
1889
|
+
"name": "StartTime",
|
1890
|
+
"required": true,
|
1891
|
+
"type": "string"
|
1892
|
+
},
|
1893
|
+
{
|
1894
|
+
"document": "查询结束时间,格式为YYYY-MM-DD HH:MM,单次查询不超过24h。",
|
1895
|
+
"example": "2023-01-06 10:00",
|
1896
|
+
"member": "string",
|
1897
|
+
"name": "EndTime",
|
1898
|
+
"required": true,
|
1899
|
+
"type": "string"
|
1900
|
+
}
|
1901
|
+
],
|
1877
1902
|
"type": "object"
|
1878
1903
|
},
|
1879
1904
|
"DescribeTrtcRoomUsageResponse": {
|
@@ -2859,6 +2884,16 @@
|
|
2859
2884
|
"required": false,
|
2860
2885
|
"type": "object",
|
2861
2886
|
"value_allowed_null": false
|
2887
|
+
},
|
2888
|
+
{
|
2889
|
+
"default": "",
|
2890
|
+
"document": "屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底",
|
2891
|
+
"example": "0",
|
2892
|
+
"member": "uint64",
|
2893
|
+
"name": "RenderMode",
|
2894
|
+
"required": false,
|
2895
|
+
"type": "int",
|
2896
|
+
"value_allowed_null": false
|
2862
2897
|
}
|
2863
2898
|
],
|
2864
2899
|
"usage": "in"
|
@@ -4684,7 +4719,6 @@
|
|
4684
4719
|
"document": "StartPublishCdnStream请求参数结构体",
|
4685
4720
|
"members": [
|
4686
4721
|
{
|
4687
|
-
"default": "",
|
4688
4722
|
"document": "TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。",
|
4689
4723
|
"example": "1400188366",
|
4690
4724
|
"member": "uint64",
|
@@ -4693,7 +4727,6 @@
|
|
4693
4727
|
"type": "int"
|
4694
4728
|
},
|
4695
4729
|
{
|
4696
|
-
"default": "",
|
4697
4730
|
"document": "主房间信息RoomId,转推的TRTC房间所对应的RoomId。",
|
4698
4731
|
"example": "room_1234",
|
4699
4732
|
"member": "string",
|
@@ -4702,7 +4735,6 @@
|
|
4702
4735
|
"type": "string"
|
4703
4736
|
},
|
4704
4737
|
{
|
4705
|
-
"default": "",
|
4706
4738
|
"document": "主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。",
|
4707
4739
|
"example": "1",
|
4708
4740
|
"member": "uint64",
|
@@ -4711,7 +4743,6 @@
|
|
4711
4743
|
"type": "int"
|
4712
4744
|
},
|
4713
4745
|
{
|
4714
|
-
"default": "",
|
4715
4746
|
"document": "转推服务加入TRTC房间的机器人参数。",
|
4716
4747
|
"example": "AgentParams",
|
4717
4748
|
"member": "AgentParams",
|
@@ -4720,8 +4751,7 @@
|
|
4720
4751
|
"type": "object"
|
4721
4752
|
},
|
4722
4753
|
{
|
4723
|
-
"
|
4724
|
-
"document": "是否转码,0表示无需转码,1表示需要转码。",
|
4754
|
+
"document": "是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转吗费用。",
|
4725
4755
|
"example": "1",
|
4726
4756
|
"member": "uint64",
|
4727
4757
|
"name": "WithTranscoding",
|
@@ -4729,8 +4759,7 @@
|
|
4729
4759
|
"type": "int"
|
4730
4760
|
},
|
4731
4761
|
{
|
4732
|
-
"
|
4733
|
-
"document": "转推流的音频编码参数。",
|
4762
|
+
"document": "转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。",
|
4734
4763
|
"example": "AudioParams",
|
4735
4764
|
"member": "McuAudioParams",
|
4736
4765
|
"name": "AudioParams",
|
@@ -4738,7 +4767,6 @@
|
|
4738
4767
|
"type": "object"
|
4739
4768
|
},
|
4740
4769
|
{
|
4741
|
-
"default": "",
|
4742
4770
|
"document": "转推流的视频编码参数,不填表示纯音频转推。",
|
4743
4771
|
"example": "VideoParams",
|
4744
4772
|
"member": "McuVideoParams",
|
@@ -4747,7 +4775,6 @@
|
|
4747
4775
|
"type": "object"
|
4748
4776
|
},
|
4749
4777
|
{
|
4750
|
-
"default": "",
|
4751
4778
|
"document": "需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。",
|
4752
4779
|
"example": "SingleSubscribeParams",
|
4753
4780
|
"member": "SingleSubscribeParams",
|
@@ -4756,8 +4783,7 @@
|
|
4756
4783
|
"type": "object"
|
4757
4784
|
},
|
4758
4785
|
{
|
4759
|
-
"
|
4760
|
-
"document": "转推的CDN参数。",
|
4786
|
+
"document": "转推的CDN参数。和回推房间参数必须要有一个。",
|
4761
4787
|
"example": "PublishCdnParams",
|
4762
4788
|
"member": "McuPublishCdnParam",
|
4763
4789
|
"name": "PublishCdnParams",
|
@@ -4765,7 +4791,6 @@
|
|
4765
4791
|
"type": "list"
|
4766
4792
|
},
|
4767
4793
|
{
|
4768
|
-
"default": "",
|
4769
4794
|
"document": "混流SEI参数",
|
4770
4795
|
"example": "SeiParams",
|
4771
4796
|
"member": "McuSeiParams",
|
@@ -4774,8 +4799,7 @@
|
|
4774
4799
|
"type": "object"
|
4775
4800
|
},
|
4776
4801
|
{
|
4777
|
-
"
|
4778
|
-
"document": "回推房间信息",
|
4802
|
+
"document": "回推房间信息,和转推CDN参数必须要有一个。",
|
4779
4803
|
"example": "FeedBackRoomParams",
|
4780
4804
|
"member": "McuFeedBackRoomParams",
|
4781
4805
|
"name": "FeedBackRoomParams",
|
@@ -4793,7 +4817,6 @@
|
|
4793
4817
|
"example": "5df46eb2-8e4b-490e-9c3c-dbd3b84faefc",
|
4794
4818
|
"member": "string",
|
4795
4819
|
"name": "TaskId",
|
4796
|
-
"required": true,
|
4797
4820
|
"type": "string",
|
4798
4821
|
"value_allowed_null": false
|
4799
4822
|
},
|
@@ -5331,7 +5354,6 @@
|
|
5331
5354
|
"document": "UpdatePublishCdnStream请求参数结构体",
|
5332
5355
|
"members": [
|
5333
5356
|
{
|
5334
|
-
"default": "",
|
5335
5357
|
"document": "TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。",
|
5336
5358
|
"example": "1400188366",
|
5337
5359
|
"member": "uint64",
|
@@ -5340,7 +5362,6 @@
|
|
5340
5362
|
"type": "int"
|
5341
5363
|
},
|
5342
5364
|
{
|
5343
|
-
"default": "",
|
5344
5365
|
"document": "唯一标识转推任务。",
|
5345
5366
|
"example": "xxxxxxxx",
|
5346
5367
|
"member": "string",
|
@@ -5349,7 +5370,6 @@
|
|
5349
5370
|
"type": "string"
|
5350
5371
|
},
|
5351
5372
|
{
|
5352
|
-
"default": "",
|
5353
5373
|
"document": "客户保证同一个任务,每次更新请求中的SequenceNumber递增,防止请求乱序。",
|
5354
5374
|
"example": "2",
|
5355
5375
|
"member": "uint64",
|
@@ -5358,7 +5378,6 @@
|
|
5358
5378
|
"type": "int"
|
5359
5379
|
},
|
5360
5380
|
{
|
5361
|
-
"default": "",
|
5362
5381
|
"document": "是否转码,0表示无需转码,1表示需要转码。",
|
5363
5382
|
"example": "1",
|
5364
5383
|
"member": "uint64",
|
@@ -5367,7 +5386,6 @@
|
|
5367
5386
|
"type": "int"
|
5368
5387
|
},
|
5369
5388
|
{
|
5370
|
-
"default": "",
|
5371
5389
|
"document": "更新相关参数,只支持更新参与混音的主播列表参数。不填表示不更新此参数。",
|
5372
5390
|
"example": "AudioParams",
|
5373
5391
|
"member": "McuAudioParams",
|
@@ -5376,7 +5394,6 @@
|
|
5376
5394
|
"type": "object"
|
5377
5395
|
},
|
5378
5396
|
{
|
5379
|
-
"default": "",
|
5380
5397
|
"document": "更新视频相关参数,转码时支持更新除编码类型之外的编码参数,视频布局参数,背景图片和背景颜色参数,水印参数。不填表示不更新此参数。",
|
5381
5398
|
"example": "VideoParams",
|
5382
5399
|
"member": "McuVideoParams",
|
@@ -5385,7 +5402,6 @@
|
|
5385
5402
|
"type": "object"
|
5386
5403
|
},
|
5387
5404
|
{
|
5388
|
-
"default": "",
|
5389
5405
|
"document": "更新单流转推的用户上行参数,仅在非转码时有效。不填表示不更新此参数。",
|
5390
5406
|
"example": "SingleSubscribeParams",
|
5391
5407
|
"member": "SingleSubscribeParams",
|
@@ -5394,7 +5410,6 @@
|
|
5394
5410
|
"type": "object"
|
5395
5411
|
},
|
5396
5412
|
{
|
5397
|
-
"default": "",
|
5398
5413
|
"document": "更新转推的CDN参数。不填表示不更新此参数。",
|
5399
5414
|
"example": "PublishCdnParams",
|
5400
5415
|
"member": "McuPublishCdnParam",
|
@@ -5403,7 +5418,6 @@
|
|
5403
5418
|
"type": "list"
|
5404
5419
|
},
|
5405
5420
|
{
|
5406
|
-
"default": "",
|
5407
5421
|
"document": "混流SEI参数",
|
5408
5422
|
"example": "SeiParams",
|
5409
5423
|
"member": "McuSeiParams",
|
@@ -5412,7 +5426,6 @@
|
|
5412
5426
|
"type": "object"
|
5413
5427
|
},
|
5414
5428
|
{
|
5415
|
-
"default": "",
|
5416
5429
|
"document": "回推房间信息",
|
5417
5430
|
"example": "FeedBackRoomParams",
|
5418
5431
|
"member": "McuFeedBackRoomParams",
|
@@ -5431,7 +5444,6 @@
|
|
5431
5444
|
"example": "xxxx",
|
5432
5445
|
"member": "string",
|
5433
5446
|
"name": "TaskId",
|
5434
|
-
"required": true,
|
5435
5447
|
"type": "string",
|
5436
5448
|
"value_allowed_null": false
|
5437
5449
|
},
|
@@ -154,8 +154,8 @@
|
|
154
154
|
],
|
155
155
|
"DescribeTrtcRoomUsage": [
|
156
156
|
{
|
157
|
-
"document": "",
|
158
|
-
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrtcRoomUsage\n<公共请求参数>\n\n{}",
|
157
|
+
"document": "查询TRTC音视频房间维度用量",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrtcRoomUsage\n<公共请求参数>\n\n{\n \"StartTime\": \"2023-01-06 00:00\",\n \"EndTime\": \"2023-01-06 10:00\",\n \"SdkAppid\": 1400017192\n}",
|
159
159
|
"output": "{\n \"Response\": {\n \"RequestId\": \"68fccf1c-c2c7-466a-9f14-1db4bed6054b\"\n }\n}",
|
160
160
|
"title": "查询TRTC音视频房间维度用量"
|
161
161
|
}
|
@@ -258,32 +258,32 @@
|
|
258
258
|
],
|
259
259
|
"StartPublishCdnStream": [
|
260
260
|
{
|
261
|
-
"document": "",
|
261
|
+
"document": "无",
|
262
262
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_2\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_3\"\n }\n }\n ],\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\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 \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 512,\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\": \"195044\",\n \"UserId\": \"Trtc_User_0\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 360,\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\": \"195044\",\n \"UserId\": \"Trtc_User_1\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 360,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 0,\n \"LocationY\": 360,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_2\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 360,\n \"ImageWidth\": 640,\n \"RenderMode\": 0\n },\n {\n \"LocationX\": 640,\n \"LocationY\": 360,\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_3\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 360,\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\": 0\n },\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test2\",\n \"IsTencentCdn\": 0\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"195044\"\n}",
|
263
263
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7vxyBSmXYsRx1Xy9Kf4bVVfbbhSKC4K-4pycoZWKv542xbi139uTvGt1zAHoAQ..\",\n \"RequestId\": \"b934c535-8d82-4f52-bd52-a1cbb043c4be\"\n }\n}",
|
264
264
|
"title": "发起混流转推"
|
265
265
|
},
|
266
266
|
{
|
267
|
-
"document": "",
|
267
|
+
"document": "无",
|
268
268
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\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 \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 512,\n \"Gop\": 2\n }\n },\n \"SingleSubscribeParams\": {\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_0\"\n }\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 0\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 0,\n \"RoomId\": \"195044\"\n}",
|
269
269
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7tq6nEsHR89259B8aCDblqnbGhWKC4K-4pycoZWpyHnld1jC9aCD+EU7V8WRAQ..\",\n \"RequestId\": \"f23d95bf-ddaf-4d0c-86c0-6bf50c74c0a0\"\n }\n}",
|
270
270
|
"title": "发起单流音视频旁路转推"
|
271
271
|
},
|
272
272
|
{
|
273
|
-
"document": "",
|
273
|
+
"document": "无",
|
274
274
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\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 \"SingleSubscribeParams\": {\n \"UserMediaStream\": {\n \"StreamType\": 0,\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"195044\",\n \"UserId\": \"Trtc_User_0\"\n }\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test1\",\n \"IsTencentCdn\": 0\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 0,\n \"RoomId\": \"195044\"\n}",
|
275
275
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m97l2ZU7r57nZBesMa84KgzxhH0OBbbCRaKC4K-4pycoZW7yFPtusNuZOen1Ca0qtQQAQ..\",\n \"RequestId\": \"ef089f8b-d0d1-4131-894d-4edd68d61605\"\n }\n}",
|
276
276
|
"title": "发起单流纯音频旁路转推"
|
277
277
|
},
|
278
278
|
{
|
279
|
-
"document": "",
|
280
|
-
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomIdType\":
|
279
|
+
"document": "无",
|
280
|
+
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomIdType\": 0,\n \"RoomId\": \"295066\",\n \"UserId\": \"57906\"\n }\n }\n ],\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"AgentParams\": {\n \"MaxIdleTime\": 10,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 512,\n \"Gop\": 2\n },\n \"LayoutParams\": {\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\": \"57906\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 0,\n \"ImageWidth\": 0,\n \"RenderMode\": 0\n }\n ]\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/1400188366_owen_main_1\"\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
281
281
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m9liFNU7m+nWPL+icY53kcSoQ+-czzbEhD2AYK-4pycoZXmj3cMGzreW5xwhHTpcPRNAQ..\",\n \"RequestId\": \"6774662b-64a0-4aec-8389-0513873585b4\"\n }\n}",
|
282
282
|
"title": "音视频上行,只混纯音频,和透传上行SEI"
|
283
283
|
},
|
284
284
|
{
|
285
|
-
"document": "",
|
286
|
-
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\":
|
285
|
+
"document": "无",
|
286
|
+
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishCdnStream\n<公共请求参数>\n\n{\n \"AudioParams\": {\n \"AudioEncode\": {\n \"SampleRate\": 48000,\n \"Codec\": 0,\n \"BitRate\": 64,\n \"Channel\": 2\n }\n },\n \"AgentParams\": {\n \"MaxIdleTime\": 10,\n \"UserSig\": \"eJw1zV8LgjAUBfCvInsO2dStGfQSQUb2pFJvsnLJJZW1LekPffdc6X08v8O5b5Snmd9LjRYeCnyMZt4vgUp2Fi7wB6vtuVRC207q0kpjSzIVTXUVSkE11EiEMeE8ZGw0*VCg5SCcDeRuBAutiwkLeRRwOo*nMajduy5O*gIaus9qel9vX*lJbHJmyDMxuKFFI27tsT*I1S6pl*jzBb*IOTE_\",\n \"UserId\": \"trtc_partner_test_1\"\n },\n \"VideoParams\": {\n \"VideoEncode\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"Fps\": 15,\n \"BitRate\": 512,\n \"Gop\": 2\n },\n \"LayoutParams\": {\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\": \"57906\"\n }\n },\n \"ZOrder\": 0,\n \"ImageHeight\": 640,\n \"ImageWidth\": 1280,\n \"RenderMode\": 0\n }\n ]\n }\n },\n \"PublishCdnParams\": [\n {\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/1400188366_owen_main_1\"\n }\n ],\n \"RoomIdType\": 0,\n \"SdkAppId\": 1400188366,\n \"WithTranscoding\": 1,\n \"RoomId\": \"295066\"\n}",
|
287
287
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-m9liFNU7qjpXnrk6cloz8KXukyLKjzbLhP2AYK-4pycoZVbtyt6U21l9vJOqqeIfwR5AQ..\",\n \"RequestId\": \"97dae8e4-4778-45c8-9abe-cdce33c1a450\"\n }\n}",
|
288
288
|
"title": "混一个人的音视频,和房间所有人的声音"
|
289
289
|
}
|
@@ -320,7 +320,7 @@
|
|
320
320
|
"title": "更新混音和布局参数"
|
321
321
|
},
|
322
322
|
{
|
323
|
-
"document": "",
|
323
|
+
"document": "无",
|
324
324
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdatePublishCdnStream\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400188366,\n \"TaskId\": \"-m97l2ZU7kOlV5cTRMoU6yoGp2nDYkzbJ13EC4K-4pycoZXVv+XVrNoUXQ8++8Z2PwUlAQ..\",\n \"SequenceNumber\": 20,\n \"WithTranscoding\": 1,\n \"PublishCdnParams\": [\n {\n \"IsTencentCdn\": 1,\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test2?bizid=3891&txSecret=23aeb6ec16fd275af0d00a447b2282f7&txTime=62635BDE\"\n }\n ]\n}",
|
325
325
|
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"xxxx\"\n }\n}",
|
326
326
|
"title": "更新转推参数"
|