tccli-intl-en 3.0.1241.1__py2.py3-none-any.whl → 3.1.16.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/argument.py +1 -1
- tccli/services/__init__.py +29 -1
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +290 -116
- tccli/services/autoscaling/v20180419/api.json +78 -28
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/bi_client.py +1244 -6
- tccli/services/bi/v20220105/api.json +5340 -107
- tccli/services/bi/v20220105/examples.json +196 -1
- tccli/services/billing/billing_client.py +210 -84
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +794 -160
- tccli/services/ccc/v20200210/api.json +1748 -217
- tccli/services/ccc/v20200210/examples.json +64 -0
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +334 -134
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1033 -255
- tccli/services/ckafka/v20190819/api.json +3378 -1681
- tccli/services/ckafka/v20190819/examples.json +254 -160
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2273 -1020
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +170 -68
- tccli/services/ctsdb/ctsdb_client.py +10 -4
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +851 -382
- tccli/services/cvm/v20170312/examples.json +173 -127
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +1887 -577
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +302 -76
- tccli/services/dnspod/v20210323/api.json +153 -0
- tccli/services/dnspod/v20210323/examples.json +16 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +2815 -146
- tccli/services/emr/v20190103/api.json +14527 -4841
- tccli/services/emr/v20190103/examples.json +404 -36
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +107 -14
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
- tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +340 -136
- tccli/services/kms/v20190118/api.json +80 -3
- tccli/services/kms/v20190118/examples.json +3 -3
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +600 -240
- tccli/services/lke/lke_client.py +450 -180
- tccli/services/lke/v20231130/api.json +182 -39
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +953 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +357 -90
- tccli/services/mdl/v20200326/api.json +791 -24
- tccli/services/mdl/v20200326/examples.json +40 -16
- tccli/services/mdp/mdp_client.py +734 -124
- tccli/services/mdp/v20200527/api.json +748 -23
- tccli/services/mdp/v20200527/examples.json +143 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1404 -141
- tccli/services/mongodb/v20190725/api.json +2919 -677
- tccli/services/mongodb/v20190725/examples.json +190 -22
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +660 -11
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1489 -429
- tccli/services/mps/v20190612/api.json +4750 -1077
- tccli/services/mps/v20190612/examples.json +182 -70
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +417 -82
- tccli/services/ocr/v20181119/api.json +1486 -103
- tccli/services/ocr/v20181119/examples.json +42 -4
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/privatedns/privatedns_client.py +155 -62
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +545 -218
- tccli/services/redis/v20180412/api.json +225 -113
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/region_client.py +15 -6
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +145 -58
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9725 -3356
- tccli/services/sqlserver/v20180328/examples.json +470 -10
- tccli/services/ssl/ssl_client.py +190 -76
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/tbaas_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +1590 -540
- tccli/services/teo/v20220901/api.json +703 -71
- tccli/services/teo/v20220901/examples.json +88 -22
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +690 -276
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +255 -102
- tccli/services/trtc/v20190722/api.json +135 -31
- tccli/services/trtc/v20190722/examples.json +7 -7
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/vod_client.py +895 -358
- tccli/services/vpc/v20170312/api.json +1032 -134
- tccli/services/vpc/v20170312/examples.json +119 -23
- tccli/services/vpc/vpc_client.py +2159 -644
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6067 -1263
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +239 -201
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1241.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
|
@@ -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",
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"status": "online"
|
|
317
317
|
},
|
|
318
318
|
"StopPublishCdnStream": {
|
|
319
|
-
"document": "This API is used to stop a relaying task.",
|
|
319
|
+
"document": "This API is used to stop a relaying task.\nYou 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.",
|
|
320
320
|
"input": "StopPublishCdnStreamRequest",
|
|
321
321
|
"name": "Stops a relaying task",
|
|
322
322
|
"output": "StopPublishCdnStreamResponse",
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
},
|
|
692
692
|
{
|
|
693
693
|
"disabled": false,
|
|
694
|
-
"document": "[Region information](https://www.tencentcloud.
|
|
694
|
+
"document": "[Region information](https://www.tencentcloud.com/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS.\nExample value: cn-shanghai-1.\n\n[Region information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.\nExample value: ap-southeast-3.\t",
|
|
695
695
|
"example": "cn-shanghai-1",
|
|
696
696
|
"member": "string",
|
|
697
697
|
"name": "Region",
|
|
@@ -727,7 +727,7 @@
|
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
729
|
"disabled": false,
|
|
730
|
-
"document": "Specified location of the cloud bucket, which consists of arrays of strings. Value range for the strings is lowercase letters (a
|
|
730
|
+
"document": "Specified location of the cloud bucket, which consists of arrays of strings. Value range for the strings is lowercase letters (a-z), uppercase letters (A-Z), digits (0-9), and special characters (_-). For example, under the feature of [\"prefix1\", \"prefix2\"], the audio slicing file (xxx.mp3) is stored as prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC time}.ogg, while the video frame is stored as prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC time}.png.",
|
|
731
731
|
"example": "[\"prefix1\", \"prefix2\"]",
|
|
732
732
|
"member": "string",
|
|
733
733
|
"name": "FileNamePrefix",
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
753
|
"disabled": false,
|
|
754
|
-
"document": "[Region information](https://www.tencentcloud.
|
|
754
|
+
"document": "[Region information](https://www.tencentcloud.com/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS.\nExample value: cn-shanghai-1.\n[Region information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.\nExample value: ap-southeast-3.\t",
|
|
755
755
|
"example": "cn-shanghai-1",
|
|
756
756
|
"member": "string",
|
|
757
757
|
"name": "Region",
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
789
|
"disabled": false,
|
|
790
|
-
"document": "Specified location of the cloud bucket, which consists of an array of strings. Value range for the strings is lowercase letters (a
|
|
790
|
+
"document": "Specified location of the cloud bucket, which consists of an array of strings. Value range for the strings is lowercase letters (a-z), uppercase letters (A-Z), digits (0-9), and special characters (_-). For example, under the feature of [\"prefix1\", \"prefix2\"], the audio slicing file (xxx.mp3) is stored as prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC time}.ogg, while the video frame is stored as prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC time}.png.",
|
|
791
791
|
"example": "[\"prefix1\", \"prefix2\"]",
|
|
792
792
|
"member": "string",
|
|
793
793
|
"name": "FileNamePrefix",
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
"members": [
|
|
924
924
|
{
|
|
925
925
|
"disabled": false,
|
|
926
|
-
"document": "[SdkAppId](https://www.tencentcloud.
|
|
926
|
+
"document": "[SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.",
|
|
927
927
|
"example": "1400188366",
|
|
928
928
|
"member": "uint64",
|
|
929
929
|
"name": "SdkAppId",
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
},
|
|
933
933
|
{
|
|
934
934
|
"disabled": false,
|
|
935
|
-
"document": "[RoomId](https://www.tencentcloud.
|
|
935
|
+
"document": "[RoomId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.",
|
|
936
936
|
"example": "295212",
|
|
937
937
|
"member": "string",
|
|
938
938
|
"name": "RoomId",
|
|
@@ -1150,7 +1150,7 @@
|
|
|
1150
1150
|
"members": [
|
|
1151
1151
|
{
|
|
1152
1152
|
"disabled": false,
|
|
1153
|
-
"document": "[SdkAppId](https://www.tencentcloud.
|
|
1153
|
+
"document": "[SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.",
|
|
1154
1154
|
"example": "1400704311",
|
|
1155
1155
|
"member": "uint64",
|
|
1156
1156
|
"name": "SdkAppId",
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
},
|
|
1160
1160
|
{
|
|
1161
1161
|
"disabled": false,
|
|
1162
|
-
"document": "[RoomId](https://www.tencentcloud.
|
|
1162
|
+
"document": "[RoomId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.",
|
|
1163
1163
|
"example": "295212",
|
|
1164
1164
|
"member": "string",
|
|
1165
1165
|
"name": "RoomId",
|
|
@@ -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,
|
|
@@ -4379,7 +4379,7 @@
|
|
|
4379
4379
|
},
|
|
4380
4380
|
{
|
|
4381
4381
|
"disabled": false,
|
|
4382
|
-
"document": "Whether to save
|
|
4382
|
+
"document": "Whether to save file. 0: not save by default; 1: save; 2 save the hit file.",
|
|
4383
4383
|
"example": "0",
|
|
4384
4384
|
"member": "uint64",
|
|
4385
4385
|
"name": "SaveModerationFile",
|
|
@@ -4708,7 +4708,7 @@
|
|
|
4708
4708
|
{
|
|
4709
4709
|
"disabled": false,
|
|
4710
4710
|
"document": "Initiate fuzzy recognition to replace additional language types. Fill in up to 3 language types. Note: When Language is specified as \"zh-dialect\", fuzzy recognition is not supported and this field is invalid.",
|
|
4711
|
-
"example": "
|
|
4711
|
+
"example": "[\"en\",\"jp\"]",
|
|
4712
4712
|
"member": "string",
|
|
4713
4713
|
"name": "AlternativeLanguage",
|
|
4714
4714
|
"required": false,
|
|
@@ -5286,7 +5286,7 @@
|
|
|
5286
5286
|
{
|
|
5287
5287
|
"disabled": false,
|
|
5288
5288
|
"document": "Depreciated. The callback URL is configured in the console.",
|
|
5289
|
-
"example": "
|
|
5289
|
+
"example": "url",
|
|
5290
5290
|
"member": "string",
|
|
5291
5291
|
"name": "SliceCallbackUrl",
|
|
5292
5292
|
"required": false,
|
|
@@ -5416,7 +5416,7 @@
|
|
|
5416
5416
|
{
|
|
5417
5417
|
"disabled": false,
|
|
5418
5418
|
"document": "TRTC's [SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid) is the same as the SdkAppId used by the room that starts the transcription task.",
|
|
5419
|
-
"example": "
|
|
5419
|
+
"example": "14600000",
|
|
5420
5420
|
"member": "uint64",
|
|
5421
5421
|
"name": "SdkAppId",
|
|
5422
5422
|
"required": true,
|
|
@@ -5425,7 +5425,7 @@
|
|
|
5425
5425
|
{
|
|
5426
5426
|
"disabled": false,
|
|
5427
5427
|
"document": "TRTC's [RoomId](https://cloud.tencent.com/document/product/647/46351#roomid), which indicates the room number where the transcription task is started.",
|
|
5428
|
-
"example": "
|
|
5428
|
+
"example": "11",
|
|
5429
5429
|
"member": "string",
|
|
5430
5430
|
"name": "RoomId",
|
|
5431
5431
|
"required": true,
|
|
@@ -5443,7 +5443,7 @@
|
|
|
5443
5443
|
{
|
|
5444
5444
|
"disabled": false,
|
|
5445
5445
|
"document": "The unique ID passed by the caller is used by the server to deduplicate. Note: If this parameter is passed, the server will use it first to deduplicate. If this parameter is not passed, the server's deduplication strategy is as follows: \n- If the TranscriptionMode field is 0, only one task can be opened in a room\n- If the TranscriptionMode field is 1, only one task can be opened in a TargetUserId",
|
|
5446
|
-
"example": "
|
|
5446
|
+
"example": "session_1",
|
|
5447
5447
|
"member": "string",
|
|
5448
5448
|
"name": "SessionId",
|
|
5449
5449
|
"required": false,
|
|
@@ -5452,7 +5452,7 @@
|
|
|
5452
5452
|
{
|
|
5453
5453
|
"disabled": false,
|
|
5454
5454
|
"document": "The type of TRTC room number. 0 represents a numeric room number, and 1 represents a string room number. If not filled in, the default is a numeric room number.",
|
|
5455
|
-
"example": "
|
|
5455
|
+
"example": "0",
|
|
5456
5456
|
"member": "uint64",
|
|
5457
5457
|
"name": "RoomIdType",
|
|
5458
5458
|
"required": false,
|
|
@@ -5466,6 +5466,15 @@
|
|
|
5466
5466
|
"name": "RecognizeConfig",
|
|
5467
5467
|
"required": false,
|
|
5468
5468
|
"type": "object"
|
|
5469
|
+
},
|
|
5470
|
+
{
|
|
5471
|
+
"disabled": false,
|
|
5472
|
+
"document": "Translation config.",
|
|
5473
|
+
"example": "无",
|
|
5474
|
+
"member": "TranslationConfig",
|
|
5475
|
+
"name": "TranslationConfig",
|
|
5476
|
+
"required": false,
|
|
5477
|
+
"type": "object"
|
|
5469
5478
|
}
|
|
5470
5479
|
],
|
|
5471
5480
|
"type": "object"
|
|
@@ -5960,7 +5969,7 @@
|
|
|
5960
5969
|
{
|
|
5961
5970
|
"disabled": false,
|
|
5962
5971
|
"document": "The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are relayed.",
|
|
5963
|
-
"example": "
|
|
5972
|
+
"example": "1400***000",
|
|
5964
5973
|
"member": "uint64",
|
|
5965
5974
|
"name": "SdkAppId",
|
|
5966
5975
|
"required": true,
|
|
@@ -5969,7 +5978,7 @@
|
|
|
5969
5978
|
{
|
|
5970
5979
|
"disabled": false,
|
|
5971
5980
|
"document": "The task ID.",
|
|
5972
|
-
"example": "
|
|
5981
|
+
"example": "-nHPekVU7h******sceOqAZ1YVQE.",
|
|
5973
5982
|
"member": "string",
|
|
5974
5983
|
"name": "TaskId",
|
|
5975
5984
|
"required": true,
|
|
@@ -5984,10 +5993,10 @@
|
|
|
5984
5993
|
{
|
|
5985
5994
|
"disabled": false,
|
|
5986
5995
|
"document": "The task ID.",
|
|
5987
|
-
"example": "
|
|
5996
|
+
"example": "-nHPekVU7h******sceOqAZ1YVQE.",
|
|
5988
5997
|
"member": "string",
|
|
5989
5998
|
"name": "TaskId",
|
|
5990
|
-
"
|
|
5999
|
+
"output_required": true,
|
|
5991
6000
|
"type": "string",
|
|
5992
6001
|
"value_allowed_null": false
|
|
5993
6002
|
},
|
|
@@ -6261,6 +6270,23 @@
|
|
|
6261
6270
|
],
|
|
6262
6271
|
"usage": "out"
|
|
6263
6272
|
},
|
|
6273
|
+
"TTSConfig": {
|
|
6274
|
+
"document": "",
|
|
6275
|
+
"members": [
|
|
6276
|
+
{
|
|
6277
|
+
"disabled": false,
|
|
6278
|
+
"document": "",
|
|
6279
|
+
"example": "xiaoming",
|
|
6280
|
+
"member": "string",
|
|
6281
|
+
"name": "VoiceId",
|
|
6282
|
+
"output_required": false,
|
|
6283
|
+
"required": true,
|
|
6284
|
+
"type": "string",
|
|
6285
|
+
"value_allowed_null": false
|
|
6286
|
+
}
|
|
6287
|
+
],
|
|
6288
|
+
"usage": "both"
|
|
6289
|
+
},
|
|
6264
6290
|
"TencentVod": {
|
|
6265
6291
|
"document": "The Tencent Cloud VOD parameters.",
|
|
6266
6292
|
"members": [
|
|
@@ -6348,6 +6374,34 @@
|
|
|
6348
6374
|
],
|
|
6349
6375
|
"usage": "in"
|
|
6350
6376
|
},
|
|
6377
|
+
"Terminology": {
|
|
6378
|
+
"document": "Translation terminology",
|
|
6379
|
+
"members": [
|
|
6380
|
+
{
|
|
6381
|
+
"disabled": false,
|
|
6382
|
+
"document": "Source terminology",
|
|
6383
|
+
"example": "腾讯云",
|
|
6384
|
+
"member": "string",
|
|
6385
|
+
"name": "Source",
|
|
6386
|
+
"output_required": false,
|
|
6387
|
+
"required": true,
|
|
6388
|
+
"type": "string",
|
|
6389
|
+
"value_allowed_null": false
|
|
6390
|
+
},
|
|
6391
|
+
{
|
|
6392
|
+
"disabled": false,
|
|
6393
|
+
"document": "Target terminology",
|
|
6394
|
+
"example": "Tencent Cloud",
|
|
6395
|
+
"member": "string",
|
|
6396
|
+
"name": "Target",
|
|
6397
|
+
"output_required": false,
|
|
6398
|
+
"required": true,
|
|
6399
|
+
"type": "string",
|
|
6400
|
+
"value_allowed_null": false
|
|
6401
|
+
}
|
|
6402
|
+
],
|
|
6403
|
+
"usage": "both"
|
|
6404
|
+
},
|
|
6351
6405
|
"TimeValue": {
|
|
6352
6406
|
"document": "The quality data, which consists of the `time` and `value` parameters.",
|
|
6353
6407
|
"members": [
|
|
@@ -6380,7 +6434,7 @@
|
|
|
6380
6434
|
{
|
|
6381
6435
|
"disabled": false,
|
|
6382
6436
|
"document": "The robot's UserId is used to enter a room and initiate tasks. [Note] This UserId cannot be repeated with the host viewer [UserId](https://cloud.tencent.com/document/product/647/46351#userid) in the current room. If multiple tasks are initiated in a room, the robot's UserId cannot be repeated, otherwise the previous task will be interrupted. The robot's UserId must be unique in the room.",
|
|
6383
|
-
"example": "
|
|
6437
|
+
"example": "user329",
|
|
6384
6438
|
"member": "string",
|
|
6385
6439
|
"name": "UserId",
|
|
6386
6440
|
"required": true,
|
|
@@ -6389,7 +6443,7 @@
|
|
|
6389
6443
|
{
|
|
6390
6444
|
"disabled": false,
|
|
6391
6445
|
"document": "The verification signature corresponding to the robot's UserId, that is, UserId and UserSig are equivalent to the robot's login password to enter the room. For the specific calculation method, please refer to the TRTC calculation [UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig) solution.",
|
|
6392
|
-
"example": "
|
|
6446
|
+
"example": "egjirneiwrwq",
|
|
6393
6447
|
"member": "string",
|
|
6394
6448
|
"name": "UserSig",
|
|
6395
6449
|
"required": true,
|
|
@@ -6398,7 +6452,7 @@
|
|
|
6398
6452
|
{
|
|
6399
6453
|
"disabled": false,
|
|
6400
6454
|
"document": "If there is no streaming in the room for more than MaxIdleTime, the background will automatically close the task. The default value is 60s.",
|
|
6401
|
-
"example": "
|
|
6455
|
+
"example": "60",
|
|
6402
6456
|
"member": "uint64",
|
|
6403
6457
|
"name": "MaxIdleTime",
|
|
6404
6458
|
"required": false,
|
|
@@ -6407,7 +6461,7 @@
|
|
|
6407
6461
|
{
|
|
6408
6462
|
"disabled": false,
|
|
6409
6463
|
"document": "1 means the robot subscribes to the stream of only one person, 0 means the robot subscribes to the stream of the entire room. If it is not filled in, the robot subscribes to the stream of the entire room by default.",
|
|
6410
|
-
"example": "
|
|
6464
|
+
"example": "1",
|
|
6411
6465
|
"member": "uint64",
|
|
6412
6466
|
"name": "TranscriptionMode",
|
|
6413
6467
|
"required": false,
|
|
@@ -6416,7 +6470,7 @@
|
|
|
6416
6470
|
{
|
|
6417
6471
|
"disabled": false,
|
|
6418
6472
|
"document": "Required when TranscriptionMode is 1. The robot will only pull the stream of the userid and ignore other users in the room.",
|
|
6419
|
-
"example": "
|
|
6473
|
+
"example": "user219",
|
|
6420
6474
|
"member": "string",
|
|
6421
6475
|
"name": "TargetUserId",
|
|
6422
6476
|
"required": false,
|
|
@@ -6425,6 +6479,56 @@
|
|
|
6425
6479
|
],
|
|
6426
6480
|
"usage": "in"
|
|
6427
6481
|
},
|
|
6482
|
+
"TranslationConfig": {
|
|
6483
|
+
"document": "Translation config",
|
|
6484
|
+
"members": [
|
|
6485
|
+
{
|
|
6486
|
+
"disabled": false,
|
|
6487
|
+
"document": "Target language, target language list (ISO 639-1).",
|
|
6488
|
+
"example": "[\"en\", \"ja\"]",
|
|
6489
|
+
"member": "string",
|
|
6490
|
+
"name": "TargetLanguages",
|
|
6491
|
+
"output_required": false,
|
|
6492
|
+
"required": true,
|
|
6493
|
+
"type": "list",
|
|
6494
|
+
"value_allowed_null": false
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"disabled": false,
|
|
6498
|
+
"document": "1: Only text translation, 2: Voice simultaneous interpretation.",
|
|
6499
|
+
"example": "2",
|
|
6500
|
+
"member": "uint64",
|
|
6501
|
+
"name": "Mode",
|
|
6502
|
+
"output_required": false,
|
|
6503
|
+
"required": false,
|
|
6504
|
+
"type": "int",
|
|
6505
|
+
"value_allowed_null": false
|
|
6506
|
+
},
|
|
6507
|
+
{
|
|
6508
|
+
"disabled": false,
|
|
6509
|
+
"document": "Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.",
|
|
6510
|
+
"example": "无",
|
|
6511
|
+
"member": "TTSConfig",
|
|
6512
|
+
"name": "TTSConfig",
|
|
6513
|
+
"output_required": false,
|
|
6514
|
+
"required": false,
|
|
6515
|
+
"type": "object",
|
|
6516
|
+
"value_allowed_null": false
|
|
6517
|
+
},
|
|
6518
|
+
{
|
|
6519
|
+
"disabled": false,
|
|
6520
|
+
"document": "Translation terminology.",
|
|
6521
|
+
"example": "无",
|
|
6522
|
+
"member": "Terminology",
|
|
6523
|
+
"name": "Terminology",
|
|
6524
|
+
"output_required": false,
|
|
6525
|
+
"required": false,
|
|
6526
|
+
"type": "list",
|
|
6527
|
+
"value_allowed_null": false
|
|
6528
|
+
}
|
|
6529
|
+
],
|
|
6530
|
+
"usage": "both"
|
|
6531
|
+
},
|
|
6428
6532
|
"TrtcUsage": {
|
|
6429
6533
|
"document": "The TRTC audio/video duration generated in a certain time period.",
|
|
6430
6534
|
"members": [
|
|
@@ -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": [
|
tccli/services/tts/tts_client.py
CHANGED
|
@@ -27,7 +27,10 @@ def doTextToVoice(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -39,7 +42,7 @@ def doTextToVoice(args, parsed_globals):
|
|
|
39
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
40
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
41
44
|
)
|
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
43
46
|
if g_param[OptionsDefine.Language]:
|
|
44
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
45
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -27,7 +27,10 @@ def doDescribeImageAnimateJob(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -39,7 +42,7 @@ def doDescribeImageAnimateJob(args, parsed_globals):
|
|
|
39
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
40
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
41
44
|
)
|
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
43
46
|
if g_param[OptionsDefine.Language]:
|
|
44
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
45
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -79,7 +82,10 @@ def doSubmitImageAnimateJob(args, parsed_globals):
|
|
|
79
82
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
83
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
84
|
)
|
|
82
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
85
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
86
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
87
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
88
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
89
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
90
|
else:
|
|
85
91
|
cred = credential.Credential(
|
|
@@ -91,7 +97,7 @@ def doSubmitImageAnimateJob(args, parsed_globals):
|
|
|
91
97
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
92
98
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
93
99
|
)
|
|
94
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
100
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
95
101
|
if g_param[OptionsDefine.Language]:
|
|
96
102
|
profile.language = g_param[OptionsDefine.Language]
|
|
97
103
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|