tencentcloud-sdk-nodejs 3.0.269 → 3.0.270
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.
- package/package.json +1 -1
- package/tencentcloud/aa/v20200224/models.js +5 -12
- package/tencentcloud/advisor/index.js +3 -0
- package/tencentcloud/advisor/v20200721/advisor_client.js +63 -0
- package/tencentcloud/advisor/v20200721/index.js +4 -0
- package/tencentcloud/advisor/v20200721/models.js +455 -0
- package/tencentcloud/af/v20200226/af_client.js +39 -1
- package/tencentcloud/af/v20200226/models.js +1112 -49
- package/tencentcloud/afc/v20200226/afc_client.js +20 -2
- package/tencentcloud/afc/v20200226/models.js +607 -25
- package/tencentcloud/ame/v20190916/ame_client.js +321 -68
- package/tencentcloud/ame/v20190916/models.js +3993 -804
- package/tencentcloud/ams/v20201229/ams_client.js +41 -13
- package/tencentcloud/ams/v20201229/models.js +485 -126
- package/tencentcloud/antiddos/index.js +3 -0
- package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
- package/tencentcloud/antiddos/v20200309/index.js +4 -0
- package/tencentcloud/antiddos/v20200309/models.js +12542 -0
- package/tencentcloud/api/v20201106/api_client.js +16 -2
- package/tencentcloud/api/v20201106/models.js +118 -2
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +785 -397
- package/tencentcloud/apigateway/v20180808/models.js +9195 -4643
- package/tencentcloud/apm/index.js +3 -0
- package/tencentcloud/apm/v20210622/apm_client.js +123 -0
- package/tencentcloud/apm/v20210622/index.js +4 -0
- package/tencentcloud/apm/v20210622/models.js +1459 -0
- package/tencentcloud/as/v20180419/as_client.js +129 -58
- package/tencentcloud/as/v20180419/models.js +1550 -864
- package/tencentcloud/asr/v20190614/asr_client.js +12 -19
- package/tencentcloud/asr/v20190614/models.js +55 -22
- package/tencentcloud/asw/v20200722/models.js +1 -1
- package/tencentcloud/ba/v20200720/ba_client.js +27 -0
- package/tencentcloud/ba/v20200720/models.js +158 -0
- package/tencentcloud/batch/v20170312/batch_client.js +1 -0
- package/tencentcloud/batch/v20170312/models.js +85 -10
- package/tencentcloud/bda/v20200324/bda_client.js +32 -19
- package/tencentcloud/bda/v20200324/models.js +97 -25
- package/tencentcloud/bi/index.js +3 -0
- package/tencentcloud/bi/v20220105/bi_client.js +61 -0
- package/tencentcloud/bi/v20220105/index.js +4 -0
- package/tencentcloud/bi/v20220105/models.js +391 -0
- package/tencentcloud/billing/v20180709/billing_client.js +33 -1
- package/tencentcloud/billing/v20180709/models.js +930 -74
- package/tencentcloud/bm/v20180423/bm_client.js +4 -2
- package/tencentcloud/bm/v20180423/models.js +32 -2
- package/tencentcloud/bsca/index.js +3 -0
- package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
- package/tencentcloud/bsca/v20210811/index.js +4 -0
- package/tencentcloud/bsca/v20210811/models.js +1310 -0
- package/tencentcloud/btoe/index.js +1 -1
- package/tencentcloud/btoe/v20210303/btoe_client.js +36 -12
- package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
- package/tencentcloud/btoe/v20210514/index.js +4 -0
- package/tencentcloud/btoe/v20210514/models.js +1219 -0
- package/tencentcloud/cam/v20190116/cam_client.js +344 -62
- package/tencentcloud/cam/v20190116/models.js +4041 -1648
- package/tencentcloud/captcha/v20190722/captcha_client.js +2 -2
- package/tencentcloud/captcha/v20190722/models.js +33 -10
- package/tencentcloud/car/index.js +3 -0
- package/tencentcloud/car/v20220110/car_client.js +72 -0
- package/tencentcloud/car/v20220110/index.js +4 -0
- package/tencentcloud/car/v20220110/models.js +237 -0
- package/tencentcloud/casb/index.js +3 -0
- package/tencentcloud/casb/v20200507/casb_client.js +54 -0
- package/tencentcloud/casb/v20200507/index.js +4 -0
- package/tencentcloud/casb/v20200507/models.js +158 -0
- package/tencentcloud/cat/v20180409/cat_client.js +181 -55
- package/tencentcloud/cat/v20180409/models.js +3392 -1784
- package/tencentcloud/cbs/v20170312/cbs_client.js +123 -72
- package/tencentcloud/cbs/v20170312/models.js +2359 -1725
- package/tencentcloud/ccc/v20200210/ccc_client.js +237 -54
- package/tencentcloud/ccc/v20200210/models.js +2818 -685
- package/tencentcloud/cdb/v20170320/cdb_client.js +569 -316
- package/tencentcloud/cdb/v20170320/models.js +10271 -7177
- package/tencentcloud/cdc/index.js +3 -0
- package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
- package/tencentcloud/cdc/v20201214/index.js +4 -0
- package/tencentcloud/cdc/v20201214/models.js +3232 -0
- package/tencentcloud/cdn/v20180606/cdn_client.js +324 -68
- package/tencentcloud/cdn/v20180606/models.js +7343 -1979
- package/tencentcloud/cfg/index.js +3 -0
- package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
- package/tencentcloud/cfg/v20210820/index.js +4 -0
- package/tencentcloud/cfg/v20210820/models.js +2423 -0
- package/tencentcloud/cfs/v20190719/models.js +64 -7
- package/tencentcloud/cfw/v20190904/cfw_client.js +686 -86
- package/tencentcloud/cfw/v20190904/models.js +7055 -1552
- package/tencentcloud/chdfs/v20201112/models.js +81 -6
- package/tencentcloud/cii/v20210408/cii_client.js +159 -10
- package/tencentcloud/cii/v20210408/models.js +1886 -189
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +265 -30
- package/tencentcloud/ckafka/v20190819/models.js +3429 -692
- package/tencentcloud/clb/v20180317/clb_client.js +214 -44
- package/tencentcloud/clb/v20180317/models.js +2262 -319
- package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +59 -7
- package/tencentcloud/cloudaudit/v20190319/models.js +307 -88
- package/tencentcloud/cls/index.js +3 -0
- package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
- package/tencentcloud/cls/v20201016/index.js +4 -0
- package/tencentcloud/cls/v20201016/models.js +10053 -0
- package/tencentcloud/cme/v20191029/cme_client.js +178 -89
- package/tencentcloud/cme/v20191029/models.js +2575 -686
- package/tencentcloud/cmq/v20190304/models.js +159 -143
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cpdp/v20190820/cpdp_client.js +2014 -678
- package/tencentcloud/cpdp/v20190820/models.js +29589 -8040
- package/tencentcloud/cvm/v20170312/cvm_client.js +268 -88
- package/tencentcloud/cvm/v20170312/models.js +3156 -775
- package/tencentcloud/cwp/v20180228/cwp_client.js +1749 -654
- package/tencentcloud/cwp/v20180228/models.js +21498 -6735
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +268 -61
- package/tencentcloud/cynosdb/v20190107/models.js +3827 -1863
- package/tencentcloud/dasb/index.js +3 -0
- package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
- package/tencentcloud/dasb/v20191018/index.js +4 -0
- package/tencentcloud/dasb/v20191018/models.js +3161 -0
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +288 -88
- package/tencentcloud/dbbrain/v20210527/models.js +3966 -2008
- package/tencentcloud/dbdc/index.js +3 -0
- package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
- package/tencentcloud/dbdc/v20201029/index.js +4 -0
- package/tencentcloud/dbdc/v20201029/models.js +1441 -0
- package/tencentcloud/dc/v20180410/models.js +47 -1
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +225 -37
- package/tencentcloud/dcdb/v20180411/models.js +1968 -236
- package/tencentcloud/dlc/v20210125/dlc_client.js +483 -68
- package/tencentcloud/dlc/v20210125/models.js +5257 -976
- package/tencentcloud/dnspod/v20210323/dnspod_client.js +94 -67
- package/tencentcloud/dnspod/v20210323/models.js +2166 -1957
- package/tencentcloud/domain/v20180808/domain_client.js +160 -93
- package/tencentcloud/domain/v20180808/models.js +781 -111
- package/tencentcloud/dtf/index.js +3 -0
- package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
- package/tencentcloud/dtf/v20200506/index.js +4 -0
- package/tencentcloud/dtf/v20200506/models.js +327 -0
- package/tencentcloud/dts/v20180330/dts_client.js +11 -127
- package/tencentcloud/dts/v20180330/models.js +1010 -1944
- package/tencentcloud/eb/index.js +3 -0
- package/tencentcloud/eb/v20210416/eb_client.js +393 -0
- package/tencentcloud/eb/v20210416/index.js +4 -0
- package/tencentcloud/eb/v20210416/models.js +3400 -0
- package/tencentcloud/ecdn/v20191012/ecdn_client.js +34 -6
- package/tencentcloud/ecdn/v20191012/models.js +258 -145
- package/tencentcloud/ecm/v20190719/ecm_client.js +481 -303
- package/tencentcloud/ecm/v20190719/models.js +9666 -7460
- package/tencentcloud/eiam/index.js +3 -0
- package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
- package/tencentcloud/eiam/v20210420/index.js +4 -0
- package/tencentcloud/eiam/v20210420/models.js +5565 -0
- package/tencentcloud/eis/index.js +1 -1
- package/tencentcloud/eis/v20200715/models.js +130 -100
- package/tencentcloud/eis/v20210601/eis_client.js +102 -0
- package/tencentcloud/eis/v20210601/index.js +4 -0
- package/tencentcloud/eis/v20210601/models.js +788 -0
- package/tencentcloud/emr/v20190103/emr_client.js +240 -110
- package/tencentcloud/emr/v20190103/models.js +4674 -2594
- package/tencentcloud/es/v20180416/es_client.js +204 -89
- package/tencentcloud/es/v20180416/models.js +3311 -1263
- package/tencentcloud/ess/index.js +3 -0
- package/tencentcloud/ess/v20201111/ess_client.js +197 -0
- package/tencentcloud/ess/v20201111/index.js +4 -0
- package/tencentcloud/ess/v20201111/models.js +2537 -0
- package/tencentcloud/essbasic/index.js +3 -0
- package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
- package/tencentcloud/essbasic/v20201222/index.js +4 -0
- package/tencentcloud/essbasic/v20201222/models.js +7555 -0
- package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
- package/tencentcloud/essbasic/v20210526/index.js +4 -0
- package/tencentcloud/essbasic/v20210526/models.js +3332 -0
- package/tencentcloud/facefusion/v20181201/models.js +15 -8
- package/tencentcloud/faceid/v20180301/faceid_client.js +118 -10
- package/tencentcloud/faceid/v20180301/models.js +1625 -201
- package/tencentcloud/ft/v20200304/models.js +8 -0
- package/tencentcloud/gaap/v20180529/gaap_client.js +628 -545
- package/tencentcloud/gaap/v20180529/models.js +1553 -292
- package/tencentcloud/gme/v20180711/gme_client.js +142 -38
- package/tencentcloud/gme/v20180711/models.js +1047 -219
- package/tencentcloud/gs/v20191118/gs_client.js +26 -0
- package/tencentcloud/gs/v20191118/models.js +139 -7
- package/tencentcloud/gse/v20191112/gse_client.js +19 -6
- package/tencentcloud/gse/v20191112/models.js +72 -0
- package/tencentcloud/iai/v20180301/iai_client.js +14 -83
- package/tencentcloud/iai/v20180301/models.js +110 -457
- package/tencentcloud/iai/v20200303/iai_client.js +30 -99
- package/tencentcloud/iai/v20200303/models.js +104 -453
- package/tencentcloud/ic/v20190307/models.js +8 -0
- package/tencentcloud/icr/index.js +3 -0
- package/tencentcloud/icr/v20211014/icr_client.js +57 -0
- package/tencentcloud/icr/v20211014/index.js +4 -0
- package/tencentcloud/icr/v20211014/models.js +753 -0
- package/tencentcloud/ie/v20200304/ie_client.js +3 -0
- package/tencentcloud/ie/v20200304/models.js +186 -31
- package/tencentcloud/iecp/index.js +3 -0
- package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
- package/tencentcloud/iecp/v20210914/index.js +4 -0
- package/tencentcloud/iecp/v20210914/models.js +14297 -0
- package/tencentcloud/ims/v20201229/ims_client.js +21 -14
- package/tencentcloud/ims/v20201229/models.js +124 -396
- package/tencentcloud/index.js +32 -0
- package/tencentcloud/iotcloud/index.js +1 -1
- package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +129 -9
- package/tencentcloud/iotcloud/v20180614/models.js +1154 -64
- package/tencentcloud/iotcloud/v20210408/index.js +4 -0
- package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
- package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
- package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +850 -272
- package/tencentcloud/iotexplorer/v20190423/models.js +6818 -1814
- package/tencentcloud/iotvideo/v20191126/models.js +7 -0
- package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +380 -48
- package/tencentcloud/iotvideo/v20201215/models.js +3291 -623
- package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1151 -227
- package/tencentcloud/iotvideoindustry/v20201201/models.js +8745 -1445
- package/tencentcloud/ivld/index.js +3 -0
- package/tencentcloud/ivld/v20210903/index.js +4 -0
- package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
- package/tencentcloud/ivld/v20210903/models.js +3686 -0
- package/tencentcloud/kms/v20190118/kms_client.js +3 -3
- package/tencentcloud/kms/v20190118/models.js +88 -5
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +376 -67
- package/tencentcloud/lighthouse/v20200324/models.js +3225 -422
- package/tencentcloud/live/v20180801/live_client.js +152 -41
- package/tencentcloud/live/v20180801/models.js +1379 -460
- package/tencentcloud/lowcode/index.js +3 -0
- package/tencentcloud/lowcode/v20210108/index.js +4 -0
- package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
- package/tencentcloud/lowcode/v20210108/models.js +626 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +226 -22
- package/tencentcloud/mariadb/v20170312/models.js +2556 -440
- package/tencentcloud/market/index.js +3 -0
- package/tencentcloud/market/v20191010/index.js +4 -0
- package/tencentcloud/market/v20191010/market_client.js +60 -0
- package/tencentcloud/market/v20191010/models.js +215 -0
- package/tencentcloud/memcached/v20190318/models.js +104 -103
- package/tencentcloud/mna/v20210119/mna_client.js +17 -1
- package/tencentcloud/mna/v20210119/models.js +305 -20
- package/tencentcloud/mongodb/v20190725/models.js +2705 -1793
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +110 -52
- package/tencentcloud/monitor/v20180724/models.js +2014 -314
- package/tencentcloud/monitor/v20180724/monitor_client.js +73 -15
- package/tencentcloud/mps/v20190612/models.js +566 -236
- package/tencentcloud/mps/v20190612/mps_client.js +10 -8
- package/tencentcloud/mrs/v20200910/models.js +2026 -538
- package/tencentcloud/mrs/v20200910/mrs_client.js +23 -6
- package/tencentcloud/nlp/v20190408/models.js +234 -496
- package/tencentcloud/nlp/v20190408/nlp_client.js +41 -53
- package/tencentcloud/oceanus/v20190422/models.js +619 -12
- package/tencentcloud/oceanus/v20190422/oceanus_client.js +33 -6
- package/tencentcloud/ocr/v20181119/models.js +2148 -386
- package/tencentcloud/ocr/v20181119/ocr_client.js +122 -33
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/organization/v20210331/index.js +4 -0
- package/tencentcloud/organization/v20210331/models.js +821 -0
- package/tencentcloud/organization/v20210331/organization_client.js +101 -0
- package/tencentcloud/partners/v20180321/models.js +223 -213
- package/tencentcloud/partners/v20180321/partners_client.js +33 -35
- package/tencentcloud/pds/index.js +3 -0
- package/tencentcloud/pds/v20210701/index.js +4 -0
- package/tencentcloud/pds/v20210701/models.js +271 -0
- package/tencentcloud/pds/v20210701/pds_client.js +61 -0
- package/tencentcloud/postgres/v20170312/models.js +3883 -1039
- package/tencentcloud/postgres/v20170312/postgres_client.js +295 -49
- package/tencentcloud/privatedns/v20201028/models.js +816 -108
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +82 -12
- package/tencentcloud/rce/v20201103/models.js +895 -371
- package/tencentcloud/rce/v20201103/rce_client.js +53 -6
- package/tencentcloud/redis/v20180412/models.js +2447 -412
- package/tencentcloud/redis/v20180412/redis_client.js +270 -44
- package/tencentcloud/rum/index.js +3 -0
- package/tencentcloud/rum/v20210622/index.js +4 -0
- package/tencentcloud/rum/v20210622/models.js +7436 -0
- package/tencentcloud/rum/v20210622/rum_client.js +760 -0
- package/tencentcloud/scf/v20180416/models.js +926 -61
- package/tencentcloud/scf/v20180416/scf_client.js +62 -16
- package/tencentcloud/ses/v20201002/models.js +1185 -192
- package/tencentcloud/ses/v20201002/ses_client.js +196 -99
- package/tencentcloud/smh/index.js +3 -0
- package/tencentcloud/smh/v20210712/index.js +4 -0
- package/tencentcloud/smh/v20210712/models.js +1370 -0
- package/tencentcloud/smh/v20210712/smh_client.js +167 -0
- package/tencentcloud/sms/v20190711/models.js +21 -15
- package/tencentcloud/sms/v20190711/sms_client.js +9 -8
- package/tencentcloud/sms/v20210111/models.js +227 -52
- package/tencentcloud/sms/v20210111/sms_client.js +23 -8
- package/tencentcloud/soe/v20180724/models.js +84 -31
- package/tencentcloud/soe/v20180724/soe_client.js +2 -2
- package/tencentcloud/sqlserver/v20180328/models.js +1613 -323
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +157 -45
- package/tencentcloud/ssa/v20180608/models.js +2624 -621
- package/tencentcloud/ssa/v20180608/ssa_client.js +103 -6
- package/tencentcloud/ssl/v20191205/models.js +721 -343
- package/tencentcloud/ssl/v20191205/ssl_client.js +34 -4
- package/tencentcloud/sslpod/v20190605/models.js +68 -17
- package/tencentcloud/ssm/v20190923/models.js +1311 -158
- package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
- package/tencentcloud/sts/v20180813/models.js +263 -9
- package/tencentcloud/sts/v20180813/sts_client.js +40 -12
- package/tencentcloud/taf/v20200210/models.js +191 -26
- package/tencentcloud/taf/v20200210/taf_client.js +5 -3
- package/tencentcloud/tag/v20180813/models.js +965 -167
- package/tencentcloud/tag/v20180813/tag_client.js +213 -107
- package/tencentcloud/tat/v20201028/models.js +1270 -105
- package/tencentcloud/tat/v20201028/tat_client.js +122 -10
- package/tencentcloud/tbaas/v20180416/models.js +637 -83
- package/tencentcloud/tbaas/v20180416/tbaas_client.js +57 -3
- package/tencentcloud/tcaplusdb/v20190823/models.js +341 -8
- package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +27 -0
- package/tencentcloud/tcb/v20180608/models.js +7202 -2829
- package/tencentcloud/tcb/v20180608/tcb_client.js +473 -66
- package/tencentcloud/tcm/index.js +3 -0
- package/tencentcloud/tcm/v20210413/index.js +4 -0
- package/tencentcloud/tcm/v20210413/models.js +2237 -0
- package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
- package/tencentcloud/tcr/v20190924/models.js +1281 -397
- package/tencentcloud/tcr/v20190924/tcr_client.js +628 -521
- package/tencentcloud/tcss/index.js +3 -0
- package/tencentcloud/tcss/v20201101/index.js +4 -0
- package/tencentcloud/tcss/v20201101/models.js +24927 -0
- package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
- package/tencentcloud/tdcpg/index.js +3 -0
- package/tencentcloud/tdcpg/v20211118/index.js +4 -0
- package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
- package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
- package/tencentcloud/tdid/index.js +3 -0
- package/tencentcloud/tdid/v20210519/index.js +4 -0
- package/tencentcloud/tdid/v20210519/models.js +978 -0
- package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
- package/tencentcloud/tdmq/v20200217/models.js +9354 -2607
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +959 -249
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tem/v20201221/models.js +978 -88
- package/tencentcloud/tem/v20201221/tem_client.js +61 -4
- package/tencentcloud/tem/v20210701/index.js +4 -0
- package/tencentcloud/tem/v20210701/models.js +4613 -0
- package/tencentcloud/tem/v20210701/tem_client.js +377 -0
- package/tencentcloud/teo/index.js +3 -0
- package/tencentcloud/teo/v20220106/index.js +4 -0
- package/tencentcloud/teo/v20220106/models.js +8307 -0
- package/tencentcloud/teo/v20220106/teo_client.js +728 -0
- package/tencentcloud/thpc/index.js +3 -0
- package/tencentcloud/thpc/v20211109/index.js +4 -0
- package/tencentcloud/thpc/v20211109/models.js +1491 -0
- package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
- package/tencentcloud/thpc/v20220401/index.js +4 -0
- package/tencentcloud/thpc/v20220401/models.js +1775 -0
- package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
- package/tencentcloud/tiia/v20190529/models.js +2135 -538
- package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
- package/tencentcloud/tiw/v20190919/models.js +760 -44
- package/tencentcloud/tiw/v20190919/tiw_client.js +57 -9
- package/tencentcloud/tke/v20180525/models.js +15766 -4914
- package/tencentcloud/tke/v20180525/tke_client.js +1674 -603
- package/tencentcloud/tms/v20200713/models.js +12 -14
- package/tencentcloud/tms/v20201229/models.js +79 -46
- package/tencentcloud/tms/v20201229/tms_client.js +18 -1
- package/tencentcloud/tmt/v20180321/models.js +474 -172
- package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
- package/tencentcloud/trtc/v20190722/models.js +1521 -762
- package/tencentcloud/trtc/v20190722/trtc_client.js +99 -75
- package/tencentcloud/tse/v20201207/models.js +524 -122
- package/tencentcloud/tse/v20201207/tse_client.js +13 -33
- package/tencentcloud/tsf/v20180326/models.js +9949 -4510
- package/tencentcloud/tsf/v20180326/tsf_client.js +391 -133
- package/tencentcloud/tts/v20190823/models.js +305 -10
- package/tencentcloud/tts/v20190823/tts_client.js +38 -0
- package/tencentcloud/vm/v20201229/models.js +188 -201
- package/tencentcloud/vm/v20201229/vm_client.js +47 -4
- package/tencentcloud/vod/v20180717/models.js +3349 -953
- package/tencentcloud/vod/v20180717/vod_client.js +294 -63
- package/tencentcloud/vpc/v20170312/models.js +3761 -591
- package/tencentcloud/vpc/v20170312/vpc_client.js +552 -140
- package/tencentcloud/waf/v20180125/models.js +3991 -322
- package/tencentcloud/waf/v20180125/waf_client.js +394 -44
- package/tencentcloud/wav/index.js +3 -0
- package/tencentcloud/wav/v20210129/index.js +4 -0
- package/tencentcloud/wav/v20210129/models.js +4170 -0
- package/tencentcloud/wav/v20210129/wav_client.js +345 -0
|
@@ -16,6 +16,41 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* DismissRoomByStrRoomId请求参数结构体
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class DismissRoomByStrRoomIdRequest extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* TRTC的SDKAppId。
|
|
29
|
+
* @type {number || null}
|
|
30
|
+
*/
|
|
31
|
+
this.SdkAppId = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 房间号。
|
|
35
|
+
* @type {string || null}
|
|
36
|
+
*/
|
|
37
|
+
this.RoomId = null;
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
deserialize(params) {
|
|
45
|
+
if (!params) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
49
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
19
54
|
/**
|
|
20
55
|
* DescribeAbnormalEvent返回参数结构体
|
|
21
56
|
* @class
|
|
@@ -67,25 +102,49 @@ class DescribeAbnormalEventResponse extends AbstractModel {
|
|
|
67
102
|
}
|
|
68
103
|
|
|
69
104
|
/**
|
|
70
|
-
*
|
|
105
|
+
* 第三方云存储的账号信息。
|
|
71
106
|
* @class
|
|
72
107
|
*/
|
|
73
|
-
class
|
|
108
|
+
class CloudStorage extends AbstractModel {
|
|
74
109
|
constructor(){
|
|
75
110
|
super();
|
|
76
111
|
|
|
77
112
|
/**
|
|
78
|
-
*
|
|
79
|
-
|
|
80
|
-
* @type {
|
|
113
|
+
* 第三方云储存的供应商:
|
|
114
|
+
0:腾讯云存储 COS,暂不支持其他家。
|
|
115
|
+
* @type {number || null}
|
|
81
116
|
*/
|
|
82
|
-
this.
|
|
117
|
+
this.Vendor = null;
|
|
83
118
|
|
|
84
119
|
/**
|
|
85
|
-
*
|
|
120
|
+
* 第三方云存储的地域信息。
|
|
86
121
|
* @type {string || null}
|
|
87
122
|
*/
|
|
88
|
-
this.
|
|
123
|
+
this.Region = null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 第三方存储桶信息。
|
|
127
|
+
* @type {string || null}
|
|
128
|
+
*/
|
|
129
|
+
this.Bucket = null;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* 第三方存储的access_key账号信息。
|
|
133
|
+
* @type {string || null}
|
|
134
|
+
*/
|
|
135
|
+
this.AccessKey = null;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 第三方存储的secret_key账号信息。
|
|
139
|
+
* @type {string || null}
|
|
140
|
+
*/
|
|
141
|
+
this.SecretKey = null;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* 第三方云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围a~z,A~Z,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
|
145
|
+
* @type {Array.<string> || null}
|
|
146
|
+
*/
|
|
147
|
+
this.FileNamePrefix = null;
|
|
89
148
|
|
|
90
149
|
}
|
|
91
150
|
|
|
@@ -96,16 +155,12 @@ class RealtimeData extends AbstractModel {
|
|
|
96
155
|
if (!params) {
|
|
97
156
|
return;
|
|
98
157
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
this.Content.push(obj);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
this.DataType = 'DataType' in params ? params.DataType : null;
|
|
158
|
+
this.Vendor = 'Vendor' in params ? params.Vendor : null;
|
|
159
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
160
|
+
this.Bucket = 'Bucket' in params ? params.Bucket : null;
|
|
161
|
+
this.AccessKey = 'AccessKey' in params ? params.AccessKey : null;
|
|
162
|
+
this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
|
|
163
|
+
this.FileNamePrefix = 'FileNamePrefix' in params ? params.FileNamePrefix : null;
|
|
109
164
|
|
|
110
165
|
}
|
|
111
166
|
}
|
|
@@ -125,13 +180,13 @@ class DescribeAbnormalEventRequest extends AbstractModel {
|
|
|
125
180
|
this.SdkAppId = null;
|
|
126
181
|
|
|
127
182
|
/**
|
|
128
|
-
*
|
|
183
|
+
* 查询开始时间,本地unix时间戳(1592448600s)
|
|
129
184
|
* @type {number || null}
|
|
130
185
|
*/
|
|
131
186
|
this.StartTime = null;
|
|
132
187
|
|
|
133
188
|
/**
|
|
134
|
-
*
|
|
189
|
+
* 查询结束时间,本地unix时间戳(1592449080s)
|
|
135
190
|
* @type {number || null}
|
|
136
191
|
*/
|
|
137
192
|
this.EndTime = null;
|
|
@@ -160,24 +215,43 @@ class DescribeAbnormalEventRequest extends AbstractModel {
|
|
|
160
215
|
}
|
|
161
216
|
|
|
162
217
|
/**
|
|
163
|
-
*
|
|
218
|
+
* 查询旁路转码计费时长。
|
|
219
|
+
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
164
220
|
* @class
|
|
165
221
|
*/
|
|
166
|
-
class
|
|
222
|
+
class SdkAppIdTrtcMcuTranscodeTimeUsage extends AbstractModel {
|
|
167
223
|
constructor(){
|
|
168
224
|
super();
|
|
169
225
|
|
|
170
226
|
/**
|
|
171
|
-
*
|
|
172
|
-
* @type {
|
|
227
|
+
* 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
|
|
228
|
+
* @type {string || null}
|
|
173
229
|
*/
|
|
174
|
-
this.
|
|
230
|
+
this.TimeKey = null;
|
|
175
231
|
|
|
176
232
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @type {
|
|
233
|
+
* 语音时长,单位:秒。
|
|
234
|
+
* @type {number || null}
|
|
179
235
|
*/
|
|
180
|
-
this.
|
|
236
|
+
this.AudioTime = null;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* 视频时长-标清SD,单位:秒。
|
|
240
|
+
* @type {number || null}
|
|
241
|
+
*/
|
|
242
|
+
this.VideoTimeSd = null;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 视频时长-高清HD,单位:秒。
|
|
246
|
+
* @type {number || null}
|
|
247
|
+
*/
|
|
248
|
+
this.VideoTimeHd = null;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* 视频时长-全高清FHD,单位:秒。
|
|
252
|
+
* @type {number || null}
|
|
253
|
+
*/
|
|
254
|
+
this.VideoTimeFhd = null;
|
|
181
255
|
|
|
182
256
|
}
|
|
183
257
|
|
|
@@ -188,16 +262,11 @@ class DescribeTrtcInteractiveTimeResponse extends AbstractModel {
|
|
|
188
262
|
if (!params) {
|
|
189
263
|
return;
|
|
190
264
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
obj.deserialize(params.Usages[z]);
|
|
197
|
-
this.Usages.push(obj);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
265
|
+
this.TimeKey = 'TimeKey' in params ? params.TimeKey : null;
|
|
266
|
+
this.AudioTime = 'AudioTime' in params ? params.AudioTime : null;
|
|
267
|
+
this.VideoTimeSd = 'VideoTimeSd' in params ? params.VideoTimeSd : null;
|
|
268
|
+
this.VideoTimeHd = 'VideoTimeHd' in params ? params.VideoTimeHd : null;
|
|
269
|
+
this.VideoTimeFhd = 'VideoTimeFhd' in params ? params.VideoTimeFhd : null;
|
|
201
270
|
|
|
202
271
|
}
|
|
203
272
|
}
|
|
@@ -231,10 +300,10 @@ class ModifyPictureResponse extends AbstractModel {
|
|
|
231
300
|
}
|
|
232
301
|
|
|
233
302
|
/**
|
|
234
|
-
*
|
|
303
|
+
* RemoveUser请求参数结构体
|
|
235
304
|
* @class
|
|
236
305
|
*/
|
|
237
|
-
class
|
|
306
|
+
class RemoveUserRequest extends AbstractModel {
|
|
238
307
|
constructor(){
|
|
239
308
|
super();
|
|
240
309
|
|
|
@@ -245,34 +314,16 @@ class StartMCUMixTranscodeByStrRoomIdRequest extends AbstractModel {
|
|
|
245
314
|
this.SdkAppId = null;
|
|
246
315
|
|
|
247
316
|
/**
|
|
248
|
-
*
|
|
249
|
-
* @type {
|
|
250
|
-
*/
|
|
251
|
-
this.StrRoomId = null;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 混流输出控制参数。
|
|
255
|
-
* @type {OutputParams || null}
|
|
256
|
-
*/
|
|
257
|
-
this.OutputParams = null;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* 混流输出编码参数。
|
|
261
|
-
* @type {EncodeParams || null}
|
|
262
|
-
*/
|
|
263
|
-
this.EncodeParams = null;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* 混流输出布局参数。
|
|
267
|
-
* @type {LayoutParams || null}
|
|
317
|
+
* 房间号。
|
|
318
|
+
* @type {number || null}
|
|
268
319
|
*/
|
|
269
|
-
this.
|
|
320
|
+
this.RoomId = null;
|
|
270
321
|
|
|
271
322
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {
|
|
323
|
+
* 要移出的用户列表,最多10个。
|
|
324
|
+
* @type {Array.<string> || null}
|
|
274
325
|
*/
|
|
275
|
-
this.
|
|
326
|
+
this.UserIds = null;
|
|
276
327
|
|
|
277
328
|
}
|
|
278
329
|
|
|
@@ -284,102 +335,47 @@ class StartMCUMixTranscodeByStrRoomIdRequest extends AbstractModel {
|
|
|
284
335
|
return;
|
|
285
336
|
}
|
|
286
337
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
287
|
-
this.
|
|
288
|
-
|
|
289
|
-
if (params.OutputParams) {
|
|
290
|
-
let obj = new OutputParams();
|
|
291
|
-
obj.deserialize(params.OutputParams)
|
|
292
|
-
this.OutputParams = obj;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
if (params.EncodeParams) {
|
|
296
|
-
let obj = new EncodeParams();
|
|
297
|
-
obj.deserialize(params.EncodeParams)
|
|
298
|
-
this.EncodeParams = obj;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
if (params.LayoutParams) {
|
|
302
|
-
let obj = new LayoutParams();
|
|
303
|
-
obj.deserialize(params.LayoutParams)
|
|
304
|
-
this.LayoutParams = obj;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
if (params.PublishCdnParams) {
|
|
308
|
-
let obj = new PublishCdnParams();
|
|
309
|
-
obj.deserialize(params.PublishCdnParams)
|
|
310
|
-
this.PublishCdnParams = obj;
|
|
311
|
-
}
|
|
338
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
339
|
+
this.UserIds = 'UserIds' in params ? params.UserIds : null;
|
|
312
340
|
|
|
313
341
|
}
|
|
314
342
|
}
|
|
315
343
|
|
|
316
344
|
/**
|
|
317
|
-
*
|
|
345
|
+
* DescribeCloudRecording返回参数结构体
|
|
318
346
|
* @class
|
|
319
347
|
*/
|
|
320
|
-
class
|
|
348
|
+
class DescribeCloudRecordingResponse extends AbstractModel {
|
|
321
349
|
constructor(){
|
|
322
350
|
super();
|
|
323
351
|
|
|
324
352
|
/**
|
|
325
|
-
*
|
|
326
|
-
* @type {number || null}
|
|
327
|
-
*/
|
|
328
|
-
this.Template = null;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* 屏幕分享模板、悬浮模板、画中画模板中有效,代表大画面对应的用户ID。
|
|
353
|
+
* 录制任务的唯一Id。
|
|
332
354
|
* @type {string || null}
|
|
333
355
|
*/
|
|
334
|
-
this.
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* 屏幕分享模板、悬浮模板、画中画模板中有效,代表大画面对应的流类型,0为摄像头,1为屏幕分享。左侧大画面为web用户时此值填0。
|
|
338
|
-
* @type {number || null}
|
|
339
|
-
*/
|
|
340
|
-
this.MainVideoStreamType = null;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* 画中画模板中有效,代表小画面的布局参数。
|
|
344
|
-
* @type {SmallVideoLayoutParams || null}
|
|
345
|
-
*/
|
|
346
|
-
this.SmallVideoLayoutParams = null;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
|
|
350
|
-
* @type {number || null}
|
|
351
|
-
*/
|
|
352
|
-
this.MainVideoRightAlign = null;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* 悬浮模板、九宫格、屏幕分享模板有效。设置此参数后,输出流混合此参数中包含用户的音视频,以及其他用户的纯音频。最多可设置16个用户。
|
|
356
|
-
* @type {Array.<string> || null}
|
|
357
|
-
*/
|
|
358
|
-
this.MixVideoUids = null;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
362
|
-
* @type {Array.<PresetLayoutConfig> || null}
|
|
363
|
-
*/
|
|
364
|
-
this.PresetLayoutConfig = null;
|
|
356
|
+
this.TaskId = null;
|
|
365
357
|
|
|
366
358
|
/**
|
|
367
|
-
*
|
|
368
|
-
|
|
359
|
+
* 云端录制任务的状态信息。
|
|
360
|
+
Idle:表示当前录制任务空闲中
|
|
361
|
+
InProgress:表示当前录制任务正在进行中。
|
|
362
|
+
Exited:表示当前录制任务正在退出的过程中。
|
|
363
|
+
* @type {string || null}
|
|
369
364
|
*/
|
|
370
|
-
this.
|
|
365
|
+
this.Status = null;
|
|
371
366
|
|
|
372
367
|
/**
|
|
373
|
-
*
|
|
374
|
-
|
|
368
|
+
* 录制文件信息。
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
* @type {Array.<StorageFile> || null}
|
|
375
371
|
*/
|
|
376
|
-
this.
|
|
372
|
+
this.StorageFileList = null;
|
|
377
373
|
|
|
378
374
|
/**
|
|
379
|
-
*
|
|
380
|
-
* @type {
|
|
375
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
376
|
+
* @type {string || null}
|
|
381
377
|
*/
|
|
382
|
-
this.
|
|
378
|
+
this.RequestId = null;
|
|
383
379
|
|
|
384
380
|
}
|
|
385
381
|
|
|
@@ -390,34 +386,18 @@ class LayoutParams extends AbstractModel {
|
|
|
390
386
|
if (!params) {
|
|
391
387
|
return;
|
|
392
388
|
}
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
let
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
this.MainVideoRightAlign = 'MainVideoRightAlign' in params ? params.MainVideoRightAlign : null;
|
|
403
|
-
this.MixVideoUids = 'MixVideoUids' in params ? params.MixVideoUids : null;
|
|
404
|
-
|
|
405
|
-
if (params.PresetLayoutConfig) {
|
|
406
|
-
this.PresetLayoutConfig = new Array();
|
|
407
|
-
for (let z in params.PresetLayoutConfig) {
|
|
408
|
-
let obj = new PresetLayoutConfig();
|
|
409
|
-
obj.deserialize(params.PresetLayoutConfig[z]);
|
|
410
|
-
this.PresetLayoutConfig.push(obj);
|
|
389
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
390
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
391
|
+
|
|
392
|
+
if (params.StorageFileList) {
|
|
393
|
+
this.StorageFileList = new Array();
|
|
394
|
+
for (let z in params.StorageFileList) {
|
|
395
|
+
let obj = new StorageFile();
|
|
396
|
+
obj.deserialize(params.StorageFileList[z]);
|
|
397
|
+
this.StorageFileList.push(obj);
|
|
411
398
|
}
|
|
412
399
|
}
|
|
413
|
-
this.
|
|
414
|
-
this.PureAudioHoldPlaceMode = 'PureAudioHoldPlaceMode' in params ? params.PureAudioHoldPlaceMode : null;
|
|
415
|
-
|
|
416
|
-
if (params.WaterMarkParams) {
|
|
417
|
-
let obj = new WaterMarkParams();
|
|
418
|
-
obj.deserialize(params.WaterMarkParams)
|
|
419
|
-
this.WaterMarkParams = obj;
|
|
420
|
-
}
|
|
400
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
421
401
|
|
|
422
402
|
}
|
|
423
403
|
}
|
|
@@ -457,6 +437,89 @@ class TimeValue extends AbstractModel {
|
|
|
457
437
|
}
|
|
458
438
|
}
|
|
459
439
|
|
|
440
|
+
/**
|
|
441
|
+
* StartMCUMixTranscodeByStrRoomId请求参数结构体
|
|
442
|
+
* @class
|
|
443
|
+
*/
|
|
444
|
+
class StartMCUMixTranscodeByStrRoomIdRequest extends AbstractModel {
|
|
445
|
+
constructor(){
|
|
446
|
+
super();
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* TRTC的SDKAppId。
|
|
450
|
+
* @type {number || null}
|
|
451
|
+
*/
|
|
452
|
+
this.SdkAppId = null;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* 字符串房间号。
|
|
456
|
+
* @type {string || null}
|
|
457
|
+
*/
|
|
458
|
+
this.StrRoomId = null;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* 混流输出控制参数。
|
|
462
|
+
* @type {OutputParams || null}
|
|
463
|
+
*/
|
|
464
|
+
this.OutputParams = null;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* 混流输出编码参数。
|
|
468
|
+
* @type {EncodeParams || null}
|
|
469
|
+
*/
|
|
470
|
+
this.EncodeParams = null;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* 混流输出布局参数。
|
|
474
|
+
* @type {LayoutParams || null}
|
|
475
|
+
*/
|
|
476
|
+
this.LayoutParams = null;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* 第三方CDN转推参数。
|
|
480
|
+
* @type {PublishCdnParams || null}
|
|
481
|
+
*/
|
|
482
|
+
this.PublishCdnParams = null;
|
|
483
|
+
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @private
|
|
488
|
+
*/
|
|
489
|
+
deserialize(params) {
|
|
490
|
+
if (!params) {
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
494
|
+
this.StrRoomId = 'StrRoomId' in params ? params.StrRoomId : null;
|
|
495
|
+
|
|
496
|
+
if (params.OutputParams) {
|
|
497
|
+
let obj = new OutputParams();
|
|
498
|
+
obj.deserialize(params.OutputParams)
|
|
499
|
+
this.OutputParams = obj;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (params.EncodeParams) {
|
|
503
|
+
let obj = new EncodeParams();
|
|
504
|
+
obj.deserialize(params.EncodeParams)
|
|
505
|
+
this.EncodeParams = obj;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
if (params.LayoutParams) {
|
|
509
|
+
let obj = new LayoutParams();
|
|
510
|
+
obj.deserialize(params.LayoutParams)
|
|
511
|
+
this.LayoutParams = obj;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
if (params.PublishCdnParams) {
|
|
515
|
+
let obj = new PublishCdnParams();
|
|
516
|
+
obj.deserialize(params.PublishCdnParams)
|
|
517
|
+
this.PublishCdnParams = obj;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
460
523
|
/**
|
|
461
524
|
* CreatePicture请求参数结构体
|
|
462
525
|
* @class
|
|
@@ -571,43 +634,18 @@ class DescribeTrtcMcuTranscodeTimeRequest extends AbstractModel {
|
|
|
571
634
|
}
|
|
572
635
|
|
|
573
636
|
/**
|
|
574
|
-
*
|
|
575
|
-
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
637
|
+
* StopMCUMixTranscode返回参数结构体
|
|
576
638
|
* @class
|
|
577
639
|
*/
|
|
578
|
-
class
|
|
640
|
+
class StopMCUMixTranscodeResponse extends AbstractModel {
|
|
579
641
|
constructor(){
|
|
580
642
|
super();
|
|
581
643
|
|
|
582
644
|
/**
|
|
583
|
-
*
|
|
645
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
584
646
|
* @type {string || null}
|
|
585
647
|
*/
|
|
586
|
-
this.
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* 语音时长,单位:秒。
|
|
590
|
-
* @type {number || null}
|
|
591
|
-
*/
|
|
592
|
-
this.AudioTime = null;
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* 视频时长-标清SD,单位:秒。
|
|
596
|
-
* @type {number || null}
|
|
597
|
-
*/
|
|
598
|
-
this.VideoTimeSd = null;
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* 视频时长-高清HD,单位:秒。
|
|
602
|
-
* @type {number || null}
|
|
603
|
-
*/
|
|
604
|
-
this.VideoTimeHd = null;
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* 视频时长-全高清FHD,单位:秒。
|
|
608
|
-
* @type {number || null}
|
|
609
|
-
*/
|
|
610
|
-
this.VideoTimeFhd = null;
|
|
648
|
+
this.RequestId = null;
|
|
611
649
|
|
|
612
650
|
}
|
|
613
651
|
|
|
@@ -618,11 +656,7 @@ class SdkAppIdTrtcMcuTranscodeTimeUsage extends AbstractModel {
|
|
|
618
656
|
if (!params) {
|
|
619
657
|
return;
|
|
620
658
|
}
|
|
621
|
-
this.
|
|
622
|
-
this.AudioTime = 'AudioTime' in params ? params.AudioTime : null;
|
|
623
|
-
this.VideoTimeSd = 'VideoTimeSd' in params ? params.VideoTimeSd : null;
|
|
624
|
-
this.VideoTimeHd = 'VideoTimeHd' in params ? params.VideoTimeHd : null;
|
|
625
|
-
this.VideoTimeFhd = 'VideoTimeFhd' in params ? params.VideoTimeFhd : null;
|
|
659
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
626
660
|
|
|
627
661
|
}
|
|
628
662
|
}
|
|
@@ -670,24 +704,137 @@ class RemoveUserByStrRoomIdRequest extends AbstractModel {
|
|
|
670
704
|
}
|
|
671
705
|
|
|
672
706
|
/**
|
|
673
|
-
*
|
|
707
|
+
* 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24画面。支持通过设置".*$"通配符,来前缀匹配黑白名单的UserId,注意房间里不能有和通配符规则相同的用户,否则将视为订阅具体用户,前缀规则会失效。
|
|
674
708
|
* @class
|
|
675
709
|
*/
|
|
676
|
-
class
|
|
710
|
+
class SubscribeStreamUserIds extends AbstractModel {
|
|
677
711
|
constructor(){
|
|
678
712
|
super();
|
|
679
713
|
|
|
680
714
|
/**
|
|
681
|
-
*
|
|
682
|
-
* @type {Array.<
|
|
715
|
+
* 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流;["1.*$"], 代表订阅UserId前缀为1的音频流。默认不填订阅房间内所有的音频流,订阅列表用户数不超过32。
|
|
716
|
+
* @type {Array.<string> || null}
|
|
683
717
|
*/
|
|
684
|
-
this.
|
|
718
|
+
this.SubscribeAudioUserIds = null;
|
|
685
719
|
|
|
686
720
|
/**
|
|
687
|
-
*
|
|
721
|
+
* 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的音频流;["1.*$"], 代表不订阅UserId前缀为1的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过32。
|
|
722
|
+
* @type {Array.<string> || null}
|
|
723
|
+
*/
|
|
724
|
+
this.UnSubscribeAudioUserIds = null;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* 订阅视频流白名单,指定订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的视频流;["1.*$"], 代表订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
|
728
|
+
* @type {Array.<string> || null}
|
|
729
|
+
*/
|
|
730
|
+
this.SubscribeVideoUserIds = null;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* 订阅视频流黑名单,指定不订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的视频流;["1.*$"], 代表不订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
|
734
|
+
* @type {Array.<string> || null}
|
|
735
|
+
*/
|
|
736
|
+
this.UnSubscribeVideoUserIds = null;
|
|
737
|
+
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @private
|
|
742
|
+
*/
|
|
743
|
+
deserialize(params) {
|
|
744
|
+
if (!params) {
|
|
745
|
+
return;
|
|
746
|
+
}
|
|
747
|
+
this.SubscribeAudioUserIds = 'SubscribeAudioUserIds' in params ? params.SubscribeAudioUserIds : null;
|
|
748
|
+
this.UnSubscribeAudioUserIds = 'UnSubscribeAudioUserIds' in params ? params.UnSubscribeAudioUserIds : null;
|
|
749
|
+
this.SubscribeVideoUserIds = 'SubscribeVideoUserIds' in params ? params.SubscribeVideoUserIds : null;
|
|
750
|
+
this.UnSubscribeVideoUserIds = 'UnSubscribeVideoUserIds' in params ? params.UnSubscribeVideoUserIds : null;
|
|
751
|
+
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* 录制的混流布局参数。
|
|
757
|
+
|
|
758
|
+
* @class
|
|
759
|
+
*/
|
|
760
|
+
class MixLayoutParams extends AbstractModel {
|
|
761
|
+
constructor(){
|
|
762
|
+
super();
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* 布局模式:
|
|
766
|
+
1:悬浮布局;
|
|
767
|
+
2:屏幕分享布局;
|
|
768
|
+
3:九宫格布局(默认);
|
|
769
|
+
4:自定义布局;
|
|
770
|
+
|
|
771
|
+
悬浮布局:默认第一个进入房间的主播(也可以指定一个主播)的视频画面会铺满整个屏幕。其他主播的视频画面从左下角开始依次按照进房顺序水平排列,显示为小画面,小画面悬浮于大画面之上。当画面数量小于等于17个时,每行4个(4 x 4排列)。当画面数量大于17个时,重新布局小画面为每行5个(5 x 5)排列。最多支持25个画面,如果用户只发送音频,仍然会占用画面位置。
|
|
772
|
+
|
|
773
|
+
屏幕分享布局:指定一个主播在屏幕左侧的大画面位置(如果不指定,那么大画面位置为背景色),其他主播自上而下依次垂直排列于右侧。当画面数量少于17个的时候,右侧每列最多8人,最多占据两列。当画面数量多于17个的时候,超过17个画面的主播从左下角开始依次水平排列。最多支持25个画面,如果主播只发送音频,仍然会占用画面位置。
|
|
774
|
+
|
|
775
|
+
九宫格布局:根据主播的数量自动调整每个画面的大小,每个主播的画面大小一致,最多支持25个画面。
|
|
776
|
+
|
|
777
|
+
自定义布局:根据需要在MixLayoutList内定制每个主播画面的布局。
|
|
778
|
+
* @type {number || null}
|
|
779
|
+
*/
|
|
780
|
+
this.MixLayoutMode = null;
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* 如果MixLayoutMode 选择为4自定义布局模式的话,设置此参数为每个主播所对应的布局画面的详细信息,最大不超过25个。
|
|
784
|
+
* @type {Array.<MixLayout> || null}
|
|
785
|
+
*/
|
|
786
|
+
this.MixLayoutList = null;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* 录制背景颜色,RGB的颜色表的16进制表示,每个颜色通过8bit长度标识,默认为黑色。比如橙色对应的RGB为 R:255 G:165 B:0, 那么对应的字符串描述为#FFA500,格式规范:‘#‘开头,后面跟固定RGB的颜色值
|
|
688
790
|
* @type {string || null}
|
|
689
791
|
*/
|
|
690
|
-
this.
|
|
792
|
+
this.BackGroundColor = null;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* 在布局模式为1:悬浮布局和 2:屏幕分享布局时,设定为显示大视频画面的UserId。不填的话:悬浮布局默认是第一个进房间的主播,屏幕分享布局默认是背景色
|
|
796
|
+
* @type {string || null}
|
|
797
|
+
*/
|
|
798
|
+
this.MaxResolutionUserId = null;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* 主辅路标识,
|
|
802
|
+
0:主流(默认);
|
|
803
|
+
1:辅流(屏幕分享);
|
|
804
|
+
这个位置的MediaId代表的是对应MaxResolutionUserId的主辅路,MixLayoutList内代表的是自定义用户的主辅路。
|
|
805
|
+
* @type {number || null}
|
|
806
|
+
*/
|
|
807
|
+
this.MediaId = null;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* 下载的url地址, 只支持jpg, png,大小限制不超过5M。
|
|
811
|
+
* @type {string || null}
|
|
812
|
+
*/
|
|
813
|
+
this.BackgroundImageUrl = null;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* 设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0。启用占位图功能时,在预设位置的用户没有上行视频时可显示对应的占位图。
|
|
817
|
+
* @type {number || null}
|
|
818
|
+
*/
|
|
819
|
+
this.PlaceHolderMode = null;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* 背景画面宽高比不一致的时候处理方案,与MixLayoufList定义的RenderMode一致。
|
|
823
|
+
* @type {number || null}
|
|
824
|
+
*/
|
|
825
|
+
this.BackgroundImageRenderMode = null;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* 下载的url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
|
|
829
|
+
* @type {string || null}
|
|
830
|
+
*/
|
|
831
|
+
this.DefaultSubBackgroundImage = null;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* 水印布局参数, 最多支持25个。
|
|
835
|
+
* @type {Array.<WaterMark> || null}
|
|
836
|
+
*/
|
|
837
|
+
this.WaterMarkList = null;
|
|
691
838
|
|
|
692
839
|
}
|
|
693
840
|
|
|
@@ -698,16 +845,32 @@ class DescribeRealtimeScaleResponse extends AbstractModel {
|
|
|
698
845
|
if (!params) {
|
|
699
846
|
return;
|
|
700
847
|
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
obj
|
|
707
|
-
|
|
848
|
+
this.MixLayoutMode = 'MixLayoutMode' in params ? params.MixLayoutMode : null;
|
|
849
|
+
|
|
850
|
+
if (params.MixLayoutList) {
|
|
851
|
+
this.MixLayoutList = new Array();
|
|
852
|
+
for (let z in params.MixLayoutList) {
|
|
853
|
+
let obj = new MixLayout();
|
|
854
|
+
obj.deserialize(params.MixLayoutList[z]);
|
|
855
|
+
this.MixLayoutList.push(obj);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
this.BackGroundColor = 'BackGroundColor' in params ? params.BackGroundColor : null;
|
|
859
|
+
this.MaxResolutionUserId = 'MaxResolutionUserId' in params ? params.MaxResolutionUserId : null;
|
|
860
|
+
this.MediaId = 'MediaId' in params ? params.MediaId : null;
|
|
861
|
+
this.BackgroundImageUrl = 'BackgroundImageUrl' in params ? params.BackgroundImageUrl : null;
|
|
862
|
+
this.PlaceHolderMode = 'PlaceHolderMode' in params ? params.PlaceHolderMode : null;
|
|
863
|
+
this.BackgroundImageRenderMode = 'BackgroundImageRenderMode' in params ? params.BackgroundImageRenderMode : null;
|
|
864
|
+
this.DefaultSubBackgroundImage = 'DefaultSubBackgroundImage' in params ? params.DefaultSubBackgroundImage : null;
|
|
865
|
+
|
|
866
|
+
if (params.WaterMarkList) {
|
|
867
|
+
this.WaterMarkList = new Array();
|
|
868
|
+
for (let z in params.WaterMarkList) {
|
|
869
|
+
let obj = new WaterMark();
|
|
870
|
+
obj.deserialize(params.WaterMarkList[z]);
|
|
871
|
+
this.WaterMarkList.push(obj);
|
|
708
872
|
}
|
|
709
873
|
}
|
|
710
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
711
874
|
|
|
712
875
|
}
|
|
713
876
|
}
|
|
@@ -741,24 +904,46 @@ class DismissRoomResponse extends AbstractModel {
|
|
|
741
904
|
}
|
|
742
905
|
|
|
743
906
|
/**
|
|
744
|
-
*
|
|
907
|
+
* 事件信息,包括,事件时间戳,事件ID,
|
|
745
908
|
* @class
|
|
746
909
|
*/
|
|
747
|
-
class
|
|
910
|
+
class EventMessage extends AbstractModel {
|
|
748
911
|
constructor(){
|
|
749
912
|
super();
|
|
750
913
|
|
|
751
914
|
/**
|
|
752
|
-
*
|
|
753
|
-
|
|
915
|
+
* 视频流类型:
|
|
916
|
+
0:与视频无关的事件;
|
|
917
|
+
2:视频为大画面;
|
|
918
|
+
3:视频为小画面;
|
|
919
|
+
7:视频为旁路画面;
|
|
920
|
+
* @type {number || null}
|
|
921
|
+
*/
|
|
922
|
+
this.Type = null;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* 事件上报的时间戳,unix时间(1589891188801ms)
|
|
926
|
+
* @type {number || null}
|
|
754
927
|
*/
|
|
755
|
-
this.
|
|
928
|
+
this.Time = null;
|
|
756
929
|
|
|
757
930
|
/**
|
|
758
|
-
*
|
|
759
|
-
* @type {
|
|
931
|
+
* 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
|
932
|
+
* @type {number || null}
|
|
760
933
|
*/
|
|
761
|
-
this.
|
|
934
|
+
this.EventId = null;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* 事件的第一个参数,如视频分辨率宽
|
|
938
|
+
* @type {number || null}
|
|
939
|
+
*/
|
|
940
|
+
this.ParamOne = null;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* 事件的第二个参数,如视频分辨率高
|
|
944
|
+
* @type {number || null}
|
|
945
|
+
*/
|
|
946
|
+
this.ParamTwo = null;
|
|
762
947
|
|
|
763
948
|
}
|
|
764
949
|
|
|
@@ -769,16 +954,11 @@ class DescribeRealtimeNetworkResponse extends AbstractModel {
|
|
|
769
954
|
if (!params) {
|
|
770
955
|
return;
|
|
771
956
|
}
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
obj.deserialize(params.Data[z]);
|
|
778
|
-
this.Data.push(obj);
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
957
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
958
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
959
|
+
this.EventId = 'EventId' in params ? params.EventId : null;
|
|
960
|
+
this.ParamOne = 'ParamOne' in params ? params.ParamOne : null;
|
|
961
|
+
this.ParamTwo = 'ParamTwo' in params ? params.ParamTwo : null;
|
|
782
962
|
|
|
783
963
|
}
|
|
784
964
|
}
|
|
@@ -841,19 +1021,19 @@ class DescribeUserInformationRequest extends AbstractModel {
|
|
|
841
1021
|
this.CommId = null;
|
|
842
1022
|
|
|
843
1023
|
/**
|
|
844
|
-
* 查询开始时间,14天内。本地unix时间戳(
|
|
1024
|
+
* 查询开始时间,14天内。本地unix时间戳(1590065777)
|
|
845
1025
|
* @type {number || null}
|
|
846
1026
|
*/
|
|
847
1027
|
this.StartTime = null;
|
|
848
1028
|
|
|
849
1029
|
/**
|
|
850
|
-
* 查询结束时间,本地unix时间戳(
|
|
1030
|
+
* 查询结束时间,本地unix时间戳(1590065877)
|
|
851
1031
|
* @type {number || null}
|
|
852
1032
|
*/
|
|
853
1033
|
this.EndTime = null;
|
|
854
1034
|
|
|
855
1035
|
/**
|
|
856
|
-
* 用户SDKAppID(
|
|
1036
|
+
* 用户SDKAppID(1400353843)
|
|
857
1037
|
* @type {string || null}
|
|
858
1038
|
*/
|
|
859
1039
|
this.SdkAppId = null;
|
|
@@ -911,19 +1091,19 @@ class DescribeCallDetailRequest extends AbstractModel {
|
|
|
911
1091
|
this.CommId = null;
|
|
912
1092
|
|
|
913
1093
|
/**
|
|
914
|
-
* 查询开始时间,14天内。本地unix时间戳(
|
|
1094
|
+
* 查询开始时间,14天内。本地unix时间戳(1590065777s),查询实时数据时,查询起止时间不超过1个小时。
|
|
915
1095
|
* @type {number || null}
|
|
916
1096
|
*/
|
|
917
1097
|
this.StartTime = null;
|
|
918
1098
|
|
|
919
1099
|
/**
|
|
920
|
-
* 查询结束时间,本地unix时间戳(
|
|
1100
|
+
* 查询结束时间,本地unix时间戳(1590065877s)
|
|
921
1101
|
* @type {number || null}
|
|
922
1102
|
*/
|
|
923
1103
|
this.EndTime = null;
|
|
924
1104
|
|
|
925
1105
|
/**
|
|
926
|
-
* 用户SDKAppID(
|
|
1106
|
+
* 用户SDKAppID(1400353843)
|
|
927
1107
|
* @type {string || null}
|
|
928
1108
|
*/
|
|
929
1109
|
this.SdkAppId = null;
|
|
@@ -938,15 +1118,15 @@ class DescribeCallDetailRequest extends AbstractModel {
|
|
|
938
1118
|
* 需查询的指标,不填则只返回用户列表,填all则返回所有指标。
|
|
939
1119
|
appCpu:APP CPU使用率;
|
|
940
1120
|
sysCpu:系统 CPU使用率;
|
|
941
|
-
aBit
|
|
942
|
-
aBlock
|
|
943
|
-
bigvBit
|
|
1121
|
+
aBit:上/下行音频码率;单位:bps
|
|
1122
|
+
aBlock:音频卡顿时长;单位:ms
|
|
1123
|
+
bigvBit:上/下行视频码率;单位:bps
|
|
944
1124
|
bigvCapFps:视频采集帧率;
|
|
945
1125
|
bigvEncFps:视频发送帧率;
|
|
946
1126
|
bigvDecFps:渲染帧率;
|
|
947
|
-
bigvBlock
|
|
948
|
-
aLoss
|
|
949
|
-
bigvLoss
|
|
1127
|
+
bigvBlock:视频卡顿时长;单位:ms
|
|
1128
|
+
aLoss:上/下行音频丢包率;
|
|
1129
|
+
bigvLoss:上/下行视频丢包率;
|
|
950
1130
|
bigvWidth:上/下行分辨率宽;
|
|
951
1131
|
bigvHeight:上/下行分辨率高
|
|
952
1132
|
* @type {Array.<string> || null}
|
|
@@ -987,38 +1167,39 @@ bigvHeight:上/下行分辨率高
|
|
|
987
1167
|
}
|
|
988
1168
|
|
|
989
1169
|
/**
|
|
990
|
-
*
|
|
1170
|
+
* 历史规模信息
|
|
991
1171
|
* @class
|
|
992
1172
|
*/
|
|
993
|
-
class
|
|
1173
|
+
class ScaleInfomation extends AbstractModel {
|
|
994
1174
|
constructor(){
|
|
995
1175
|
super();
|
|
996
1176
|
|
|
997
1177
|
/**
|
|
998
|
-
*
|
|
1178
|
+
* 每天开始的时间
|
|
999
1179
|
* @type {number || null}
|
|
1000
1180
|
*/
|
|
1001
|
-
this.
|
|
1181
|
+
this.Time = null;
|
|
1002
1182
|
|
|
1003
1183
|
/**
|
|
1004
|
-
*
|
|
1184
|
+
* 房间人数,用户重复进入同一个房间为1次
|
|
1185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
1186
|
* @type {number || null}
|
|
1006
1187
|
*/
|
|
1007
|
-
this.
|
|
1188
|
+
this.UserNumber = null;
|
|
1008
1189
|
|
|
1009
1190
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
|
|
1191
|
+
* 房间人次,用户每次进入房间为一次
|
|
1192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1193
|
+
* @type {number || null}
|
|
1012
1194
|
*/
|
|
1013
|
-
this.
|
|
1195
|
+
this.UserCount = null;
|
|
1014
1196
|
|
|
1015
1197
|
/**
|
|
1016
|
-
*
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
* @type {Array.<string> || null}
|
|
1198
|
+
* sdkappid下一天内的房间数
|
|
1199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
* @type {number || null}
|
|
1020
1201
|
*/
|
|
1021
|
-
this.
|
|
1202
|
+
this.RoomNumbers = null;
|
|
1022
1203
|
|
|
1023
1204
|
}
|
|
1024
1205
|
|
|
@@ -1029,40 +1210,72 @@ recvLossRateRaw:下行丢包率
|
|
|
1029
1210
|
if (!params) {
|
|
1030
1211
|
return;
|
|
1031
1212
|
}
|
|
1032
|
-
this.
|
|
1033
|
-
this.
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1213
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
1214
|
+
this.UserNumber = 'UserNumber' in params ? params.UserNumber : null;
|
|
1215
|
+
this.UserCount = 'UserCount' in params ? params.UserCount : null;
|
|
1216
|
+
this.RoomNumbers = 'RoomNumbers' in params ? params.RoomNumbers : null;
|
|
1036
1217
|
|
|
1037
1218
|
}
|
|
1038
1219
|
}
|
|
1039
1220
|
|
|
1040
1221
|
/**
|
|
1041
|
-
*
|
|
1222
|
+
* 第三方存储参数。
|
|
1042
1223
|
* @class
|
|
1043
1224
|
*/
|
|
1044
|
-
class
|
|
1225
|
+
class StorageParams extends AbstractModel {
|
|
1045
1226
|
constructor(){
|
|
1046
1227
|
super();
|
|
1047
1228
|
|
|
1048
1229
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
* @type {
|
|
1230
|
+
* 第三方云存储的账号信息。
|
|
1231
|
+
* @type {CloudStorage || null}
|
|
1051
1232
|
*/
|
|
1052
|
-
this.
|
|
1233
|
+
this.CloudStorage = null;
|
|
1053
1234
|
|
|
1054
1235
|
/**
|
|
1055
|
-
*
|
|
1056
|
-
|
|
1057
|
-
* @type {Array.<UserInformation> || null}
|
|
1236
|
+
* 第三方云点播的账号信息。
|
|
1237
|
+
* @type {CloudVod || null}
|
|
1058
1238
|
*/
|
|
1059
|
-
this.
|
|
1239
|
+
this.CloudVod = null;
|
|
1240
|
+
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* @private
|
|
1245
|
+
*/
|
|
1246
|
+
deserialize(params) {
|
|
1247
|
+
if (!params) {
|
|
1248
|
+
return;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
if (params.CloudStorage) {
|
|
1252
|
+
let obj = new CloudStorage();
|
|
1253
|
+
obj.deserialize(params.CloudStorage)
|
|
1254
|
+
this.CloudStorage = obj;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
if (params.CloudVod) {
|
|
1258
|
+
let obj = new CloudVod();
|
|
1259
|
+
obj.deserialize(params.CloudVod)
|
|
1260
|
+
this.CloudVod = obj;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* 点播相关参数。
|
|
1268
|
+
* @class
|
|
1269
|
+
*/
|
|
1270
|
+
class CloudVod extends AbstractModel {
|
|
1271
|
+
constructor(){
|
|
1272
|
+
super();
|
|
1060
1273
|
|
|
1061
1274
|
/**
|
|
1062
|
-
*
|
|
1063
|
-
* @type {
|
|
1275
|
+
* 腾讯云点播相关参数。
|
|
1276
|
+
* @type {TencentVod || null}
|
|
1064
1277
|
*/
|
|
1065
|
-
this.
|
|
1278
|
+
this.TencentVod = null;
|
|
1066
1279
|
|
|
1067
1280
|
}
|
|
1068
1281
|
|
|
@@ -1073,17 +1286,12 @@ class DescribeUserInformationResponse extends AbstractModel {
|
|
|
1073
1286
|
if (!params) {
|
|
1074
1287
|
return;
|
|
1075
1288
|
}
|
|
1076
|
-
this.Total = 'Total' in params ? params.Total : null;
|
|
1077
1289
|
|
|
1078
|
-
if (params.
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
obj.deserialize(params.UserList[z]);
|
|
1083
|
-
this.UserList.push(obj);
|
|
1084
|
-
}
|
|
1290
|
+
if (params.TencentVod) {
|
|
1291
|
+
let obj = new TencentVod();
|
|
1292
|
+
obj.deserialize(params.TencentVod)
|
|
1293
|
+
this.TencentVod = obj;
|
|
1085
1294
|
}
|
|
1086
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1087
1295
|
|
|
1088
1296
|
}
|
|
1089
1297
|
}
|
|
@@ -1169,6 +1377,12 @@ class EncodeParams extends AbstractModel {
|
|
|
1169
1377
|
*/
|
|
1170
1378
|
this.AudioCodec = null;
|
|
1171
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过2MB。
|
|
1382
|
+
* @type {string || null}
|
|
1383
|
+
*/
|
|
1384
|
+
this.BackgroundImageUrl = null;
|
|
1385
|
+
|
|
1172
1386
|
}
|
|
1173
1387
|
|
|
1174
1388
|
/**
|
|
@@ -1189,23 +1403,54 @@ class EncodeParams extends AbstractModel {
|
|
|
1189
1403
|
this.BackgroundColor = 'BackgroundColor' in params ? params.BackgroundColor : null;
|
|
1190
1404
|
this.BackgroundImageId = 'BackgroundImageId' in params ? params.BackgroundImageId : null;
|
|
1191
1405
|
this.AudioCodec = 'AudioCodec' in params ? params.AudioCodec : null;
|
|
1406
|
+
this.BackgroundImageUrl = 'BackgroundImageUrl' in params ? params.BackgroundImageUrl : null;
|
|
1192
1407
|
|
|
1193
1408
|
}
|
|
1194
1409
|
}
|
|
1195
1410
|
|
|
1196
1411
|
/**
|
|
1197
|
-
*
|
|
1412
|
+
* ModifyPicture请求参数结构体
|
|
1198
1413
|
* @class
|
|
1199
1414
|
*/
|
|
1200
|
-
class
|
|
1415
|
+
class ModifyPictureRequest extends AbstractModel {
|
|
1201
1416
|
constructor(){
|
|
1202
1417
|
super();
|
|
1203
1418
|
|
|
1204
1419
|
/**
|
|
1205
|
-
*
|
|
1206
|
-
* @type {
|
|
1420
|
+
* 图片id
|
|
1421
|
+
* @type {number || null}
|
|
1207
1422
|
*/
|
|
1208
|
-
this.
|
|
1423
|
+
this.PictureId = null;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 应用id
|
|
1427
|
+
* @type {number || null}
|
|
1428
|
+
*/
|
|
1429
|
+
this.SdkAppId = null;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* 图片长度
|
|
1433
|
+
* @type {number || null}
|
|
1434
|
+
*/
|
|
1435
|
+
this.Height = null;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* 图片宽度
|
|
1439
|
+
* @type {number || null}
|
|
1440
|
+
*/
|
|
1441
|
+
this.Width = null;
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* 显示位置x轴方向
|
|
1445
|
+
* @type {number || null}
|
|
1446
|
+
*/
|
|
1447
|
+
this.XPosition = null;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* 显示位置y轴方向
|
|
1451
|
+
* @type {number || null}
|
|
1452
|
+
*/
|
|
1453
|
+
this.YPosition = null;
|
|
1209
1454
|
|
|
1210
1455
|
}
|
|
1211
1456
|
|
|
@@ -1216,7 +1461,12 @@ class RemoveUserByStrRoomIdResponse extends AbstractModel {
|
|
|
1216
1461
|
if (!params) {
|
|
1217
1462
|
return;
|
|
1218
1463
|
}
|
|
1219
|
-
this.
|
|
1464
|
+
this.PictureId = 'PictureId' in params ? params.PictureId : null;
|
|
1465
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1466
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
1467
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
1468
|
+
this.XPosition = 'XPosition' in params ? params.XPosition : null;
|
|
1469
|
+
this.YPosition = 'YPosition' in params ? params.YPosition : null;
|
|
1220
1470
|
|
|
1221
1471
|
}
|
|
1222
1472
|
}
|
|
@@ -1305,24 +1555,153 @@ class StartMCUMixTranscodeRequest extends AbstractModel {
|
|
|
1305
1555
|
}
|
|
1306
1556
|
|
|
1307
1557
|
/**
|
|
1308
|
-
*
|
|
1558
|
+
* DescribeCloudRecording请求参数结构体
|
|
1559
|
+
* @class
|
|
1560
|
+
*/
|
|
1561
|
+
class DescribeCloudRecordingRequest extends AbstractModel {
|
|
1562
|
+
constructor(){
|
|
1563
|
+
super();
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
|
1567
|
+
* @type {number || null}
|
|
1568
|
+
*/
|
|
1569
|
+
this.SdkAppId = null;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* 录制任务的唯一Id,在启动录制成功后会返回。
|
|
1573
|
+
* @type {string || null}
|
|
1574
|
+
*/
|
|
1575
|
+
this.TaskId = null;
|
|
1576
|
+
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* @private
|
|
1581
|
+
*/
|
|
1582
|
+
deserialize(params) {
|
|
1583
|
+
if (!params) {
|
|
1584
|
+
return;
|
|
1585
|
+
}
|
|
1586
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1587
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
1588
|
+
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* 腾讯云点播相关参数。
|
|
1594
|
+
* @class
|
|
1595
|
+
*/
|
|
1596
|
+
class TencentVod extends AbstractModel {
|
|
1597
|
+
constructor(){
|
|
1598
|
+
super();
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 创建任务流模板 并为模板命名。
|
|
1602
|
+
* @type {string || null}
|
|
1603
|
+
*/
|
|
1604
|
+
this.Procedure = null;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* 媒体文件过期时间,为当前时间的绝对过期时间;保存一天,就填"86400",永久保存就填"0",默认永久保存。
|
|
1608
|
+
* @type {number || null}
|
|
1609
|
+
*/
|
|
1610
|
+
this.ExpireTime = null;
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* 指定上传园区,仅适用于对上传地域有特殊需求的用户。
|
|
1614
|
+
* @type {string || null}
|
|
1615
|
+
*/
|
|
1616
|
+
this.StorageRegion = null;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* 分类ID,用于对媒体进行分类管理,可通过 创建分类 接口,创建分类,获得分类 ID。
|
|
1620
|
+
默认值:0,表示其他分类。
|
|
1621
|
+
* @type {number || null}
|
|
1622
|
+
*/
|
|
1623
|
+
this.ClassId = null;
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* 点播 子应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
1627
|
+
* @type {number || null}
|
|
1628
|
+
*/
|
|
1629
|
+
this.SubAppId = null;
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* 任务流上下文,任务完成回调时透传。
|
|
1633
|
+
* @type {string || null}
|
|
1634
|
+
*/
|
|
1635
|
+
this.SessionContext = null;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* 上传上下文,上传完成回调时透传。
|
|
1639
|
+
* @type {string || null}
|
|
1640
|
+
*/
|
|
1641
|
+
this.SourceContext = null;
|
|
1642
|
+
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @private
|
|
1647
|
+
*/
|
|
1648
|
+
deserialize(params) {
|
|
1649
|
+
if (!params) {
|
|
1650
|
+
return;
|
|
1651
|
+
}
|
|
1652
|
+
this.Procedure = 'Procedure' in params ? params.Procedure : null;
|
|
1653
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
1654
|
+
this.StorageRegion = 'StorageRegion' in params ? params.StorageRegion : null;
|
|
1655
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
1656
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
1657
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
1658
|
+
this.SourceContext = 'SourceContext' in params ? params.SourceContext : null;
|
|
1659
|
+
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* 云端录制控制参数。
|
|
1309
1665
|
* @class
|
|
1310
1666
|
*/
|
|
1311
|
-
class
|
|
1667
|
+
class RecordParams extends AbstractModel {
|
|
1312
1668
|
constructor(){
|
|
1313
1669
|
super();
|
|
1314
1670
|
|
|
1315
1671
|
/**
|
|
1316
|
-
*
|
|
1317
|
-
|
|
1672
|
+
* 录制模式:
|
|
1673
|
+
1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件(M3U8/TS)上传至云存储;
|
|
1674
|
+
2:混流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件[M3U8/TS]上传至云存储;
|
|
1675
|
+
* @type {number || null}
|
|
1318
1676
|
*/
|
|
1319
|
-
this.
|
|
1677
|
+
this.RecordMode = null;
|
|
1320
1678
|
|
|
1321
1679
|
/**
|
|
1322
|
-
*
|
|
1323
|
-
* @type {
|
|
1680
|
+
* 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
|
1681
|
+
* @type {number || null}
|
|
1324
1682
|
*/
|
|
1325
|
-
this.
|
|
1683
|
+
this.MaxIdleTime = null;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* 录制的媒体流类型:
|
|
1687
|
+
0:录制音频+视频流(默认);
|
|
1688
|
+
1:仅录制音频流;
|
|
1689
|
+
2:仅录制视频流,
|
|
1690
|
+
* @type {number || null}
|
|
1691
|
+
*/
|
|
1692
|
+
this.StreamType = null;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* 指定订阅流白名单或者黑名单。
|
|
1696
|
+
* @type {SubscribeStreamUserIds || null}
|
|
1697
|
+
*/
|
|
1698
|
+
this.SubscribeStreamUserIds = null;
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* 输出文件的格式。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4(hls录制完成后转mp4文件)
|
|
1702
|
+
* @type {number || null}
|
|
1703
|
+
*/
|
|
1704
|
+
this.OutputFormat = null;
|
|
1326
1705
|
|
|
1327
1706
|
}
|
|
1328
1707
|
|
|
@@ -1333,16 +1712,16 @@ class DescribeRealtimeQualityResponse extends AbstractModel {
|
|
|
1333
1712
|
if (!params) {
|
|
1334
1713
|
return;
|
|
1335
1714
|
}
|
|
1715
|
+
this.RecordMode = 'RecordMode' in params ? params.RecordMode : null;
|
|
1716
|
+
this.MaxIdleTime = 'MaxIdleTime' in params ? params.MaxIdleTime : null;
|
|
1717
|
+
this.StreamType = 'StreamType' in params ? params.StreamType : null;
|
|
1336
1718
|
|
|
1337
|
-
if (params.
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
obj.deserialize(params.Data[z]);
|
|
1342
|
-
this.Data.push(obj);
|
|
1343
|
-
}
|
|
1719
|
+
if (params.SubscribeStreamUserIds) {
|
|
1720
|
+
let obj = new SubscribeStreamUserIds();
|
|
1721
|
+
obj.deserialize(params.SubscribeStreamUserIds)
|
|
1722
|
+
this.SubscribeStreamUserIds = obj;
|
|
1344
1723
|
}
|
|
1345
|
-
this.
|
|
1724
|
+
this.OutputFormat = 'OutputFormat' in params ? params.OutputFormat : null;
|
|
1346
1725
|
|
|
1347
1726
|
}
|
|
1348
1727
|
}
|
|
@@ -1459,6 +1838,105 @@ class UserInformation extends AbstractModel {
|
|
|
1459
1838
|
}
|
|
1460
1839
|
}
|
|
1461
1840
|
|
|
1841
|
+
/**
|
|
1842
|
+
* 用户自定义混流布局参数列表。
|
|
1843
|
+
* @class
|
|
1844
|
+
*/
|
|
1845
|
+
class MixLayout extends AbstractModel {
|
|
1846
|
+
constructor(){
|
|
1847
|
+
super();
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* 画布上该画面左上角的 y 轴坐标,取值范围 [0, 1920],不能超过画布的高。
|
|
1851
|
+
* @type {number || null}
|
|
1852
|
+
*/
|
|
1853
|
+
this.Top = null;
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* 画布上该画面左上角的 x 轴坐标,取值范围 [0, 1920],不能超过画布的宽。
|
|
1857
|
+
* @type {number || null}
|
|
1858
|
+
*/
|
|
1859
|
+
this.Left = null;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* 画布上该画面宽度的相对值,取值范围 [0, 1920],与Left相加不应超过画布的宽。
|
|
1863
|
+
* @type {number || null}
|
|
1864
|
+
*/
|
|
1865
|
+
this.Width = null;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* 画布上该画面高度的相对值,取值范围 [0, 1920],与Top相加不应超过画布的高。
|
|
1869
|
+
* @type {number || null}
|
|
1870
|
+
*/
|
|
1871
|
+
this.Height = null;
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* 字符串内容为待显示在该画面的主播对应的UserId,如果不指定,会按照主播加入房间的顺序匹配。
|
|
1875
|
+
* @type {string || null}
|
|
1876
|
+
*/
|
|
1877
|
+
this.UserId = null;
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* 画布的透明度值,取值范围[0, 255]。0表示不透明,255表示全透明。默认值为0。
|
|
1881
|
+
* @type {number || null}
|
|
1882
|
+
*/
|
|
1883
|
+
this.Alpha = null;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* 0 :拉伸模式,这个模式下整个视频内容会全部显示,并填满子画面,在源视频和目的视频宽高比不一致的时候,画面不会缺少内容,但是画面可能产生形变;
|
|
1887
|
+
|
|
1888
|
+
1 :剪裁模式(默认),这个模式下会严格按照目的视频的宽高比对源视频剪裁之后再拉伸,并填满子画面画布,在源视频和目的视频宽高比不一致的时候,画面保持不变形,但是会被剪裁;
|
|
1889
|
+
|
|
1890
|
+
2 :填黑模式,这个模式下会严格保持源视频的宽高比进行等比缩放,在源视频和目的视频宽高比不一致的时候,画面的上下侧边缘或者左右侧边缘会露出子画面画布的背景;
|
|
1891
|
+
|
|
1892
|
+
3 :智能拉伸模式,这个模式类似剪裁模式,区别是在源视频和目的视频宽高比不一致的时候,限制了最大剪裁比例为画面的宽度或者高度的20%;
|
|
1893
|
+
* @type {number || null}
|
|
1894
|
+
*/
|
|
1895
|
+
this.RenderMode = null;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* 对应订阅流的主辅路标识:
|
|
1899
|
+
0:主流(默认);
|
|
1900
|
+
1:辅流;
|
|
1901
|
+
* @type {number || null}
|
|
1902
|
+
*/
|
|
1903
|
+
this.MediaId = null;
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* 该画布的图层顺序, 这个值越小表示图层越靠后。默认值为0。
|
|
1907
|
+
* @type {number || null}
|
|
1908
|
+
*/
|
|
1909
|
+
this.ImageLayer = null;
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* 下载的url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
|
|
1913
|
+
* @type {string || null}
|
|
1914
|
+
*/
|
|
1915
|
+
this.SubBackgroundImage = null;
|
|
1916
|
+
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* @private
|
|
1921
|
+
*/
|
|
1922
|
+
deserialize(params) {
|
|
1923
|
+
if (!params) {
|
|
1924
|
+
return;
|
|
1925
|
+
}
|
|
1926
|
+
this.Top = 'Top' in params ? params.Top : null;
|
|
1927
|
+
this.Left = 'Left' in params ? params.Left : null;
|
|
1928
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
1929
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
1930
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
1931
|
+
this.Alpha = 'Alpha' in params ? params.Alpha : null;
|
|
1932
|
+
this.RenderMode = 'RenderMode' in params ? params.RenderMode : null;
|
|
1933
|
+
this.MediaId = 'MediaId' in params ? params.MediaId : null;
|
|
1934
|
+
this.ImageLayer = 'ImageLayer' in params ? params.ImageLayer : null;
|
|
1935
|
+
this.SubBackgroundImage = 'SubBackgroundImage' in params ? params.SubBackgroundImage : null;
|
|
1936
|
+
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1462
1940
|
/**
|
|
1463
1941
|
* DescribeHistoryScale请求参数结构体
|
|
1464
1942
|
* @class
|
|
@@ -1468,19 +1946,19 @@ class DescribeHistoryScaleRequest extends AbstractModel {
|
|
|
1468
1946
|
super();
|
|
1469
1947
|
|
|
1470
1948
|
/**
|
|
1471
|
-
* 用户sdkappid
|
|
1949
|
+
* 用户sdkappid(1400188366)
|
|
1472
1950
|
* @type {string || null}
|
|
1473
1951
|
*/
|
|
1474
1952
|
this.SdkAppId = null;
|
|
1475
1953
|
|
|
1476
1954
|
/**
|
|
1477
|
-
* 查询开始时间,5天内。本地unix时间戳(
|
|
1955
|
+
* 查询开始时间,5天内。本地unix时间戳(1587571000s)
|
|
1478
1956
|
* @type {number || null}
|
|
1479
1957
|
*/
|
|
1480
1958
|
this.StartTime = null;
|
|
1481
1959
|
|
|
1482
1960
|
/**
|
|
1483
|
-
* 查询结束时间,本地unix时间戳(
|
|
1961
|
+
* 查询结束时间,本地unix时间戳(1588034999s)
|
|
1484
1962
|
* @type {number || null}
|
|
1485
1963
|
*/
|
|
1486
1964
|
this.EndTime = null;
|
|
@@ -1536,6 +2014,115 @@ class DeletePictureRequest extends AbstractModel {
|
|
|
1536
2014
|
}
|
|
1537
2015
|
}
|
|
1538
2016
|
|
|
2017
|
+
/**
|
|
2018
|
+
* MCU混流布局参数
|
|
2019
|
+
* @class
|
|
2020
|
+
*/
|
|
2021
|
+
class LayoutParams extends AbstractModel {
|
|
2022
|
+
constructor(){
|
|
2023
|
+
super();
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* 混流布局模板ID,0为悬浮模板(默认);1为九宫格模板;2为屏幕分享模板;3为画中画模板;4为自定义模板。
|
|
2027
|
+
* @type {number || null}
|
|
2028
|
+
*/
|
|
2029
|
+
this.Template = null;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* 屏幕分享模板、悬浮模板、画中画模板中有效,代表大画面对应的用户ID。
|
|
2033
|
+
* @type {string || null}
|
|
2034
|
+
*/
|
|
2035
|
+
this.MainVideoUserId = null;
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* 屏幕分享模板、悬浮模板、画中画模板中有效,代表大画面对应的流类型,0为摄像头,1为屏幕分享。左侧大画面为web用户时此值填0。
|
|
2039
|
+
* @type {number || null}
|
|
2040
|
+
*/
|
|
2041
|
+
this.MainVideoStreamType = null;
|
|
2042
|
+
|
|
2043
|
+
/**
|
|
2044
|
+
* 画中画模板中有效,代表小画面的布局参数。
|
|
2045
|
+
* @type {SmallVideoLayoutParams || null}
|
|
2046
|
+
*/
|
|
2047
|
+
this.SmallVideoLayoutParams = null;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
|
|
2051
|
+
* @type {number || null}
|
|
2052
|
+
*/
|
|
2053
|
+
this.MainVideoRightAlign = null;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* 悬浮模板、九宫格、屏幕分享模板有效。设置此参数后,输出流混合此参数中包含用户的音视频,以及其他用户的纯音频。最多可设置16个用户。
|
|
2057
|
+
* @type {Array.<string> || null}
|
|
2058
|
+
*/
|
|
2059
|
+
this.MixVideoUids = null;
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
2063
|
+
* @type {Array.<PresetLayoutConfig> || null}
|
|
2064
|
+
*/
|
|
2065
|
+
this.PresetLayoutConfig = null;
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* 自定义模板中有效,设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0。启用占位图功能时,在预设位置的用户没有上行视频时可显示对应的占位图。
|
|
2069
|
+
* @type {number || null}
|
|
2070
|
+
*/
|
|
2071
|
+
this.PlaceHolderMode = null;
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* 悬浮模板、九宫格、屏幕分享模板生效,用于控制纯音频上行是否占用画面布局位置。设置为0是代表后台默认处理方式,悬浮小画面占布局位置,九宫格画面占布局位置、屏幕分享小画面不占布局位置;设置为1时代表纯音频上行占布局位置;设置为2时代表纯音频上行不占布局位置。默认为0。
|
|
2075
|
+
* @type {number || null}
|
|
2076
|
+
*/
|
|
2077
|
+
this.PureAudioHoldPlaceMode = null;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* 水印参数。
|
|
2081
|
+
* @type {WaterMarkParams || null}
|
|
2082
|
+
*/
|
|
2083
|
+
this.WaterMarkParams = null;
|
|
2084
|
+
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* @private
|
|
2089
|
+
*/
|
|
2090
|
+
deserialize(params) {
|
|
2091
|
+
if (!params) {
|
|
2092
|
+
return;
|
|
2093
|
+
}
|
|
2094
|
+
this.Template = 'Template' in params ? params.Template : null;
|
|
2095
|
+
this.MainVideoUserId = 'MainVideoUserId' in params ? params.MainVideoUserId : null;
|
|
2096
|
+
this.MainVideoStreamType = 'MainVideoStreamType' in params ? params.MainVideoStreamType : null;
|
|
2097
|
+
|
|
2098
|
+
if (params.SmallVideoLayoutParams) {
|
|
2099
|
+
let obj = new SmallVideoLayoutParams();
|
|
2100
|
+
obj.deserialize(params.SmallVideoLayoutParams)
|
|
2101
|
+
this.SmallVideoLayoutParams = obj;
|
|
2102
|
+
}
|
|
2103
|
+
this.MainVideoRightAlign = 'MainVideoRightAlign' in params ? params.MainVideoRightAlign : null;
|
|
2104
|
+
this.MixVideoUids = 'MixVideoUids' in params ? params.MixVideoUids : null;
|
|
2105
|
+
|
|
2106
|
+
if (params.PresetLayoutConfig) {
|
|
2107
|
+
this.PresetLayoutConfig = new Array();
|
|
2108
|
+
for (let z in params.PresetLayoutConfig) {
|
|
2109
|
+
let obj = new PresetLayoutConfig();
|
|
2110
|
+
obj.deserialize(params.PresetLayoutConfig[z]);
|
|
2111
|
+
this.PresetLayoutConfig.push(obj);
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
this.PlaceHolderMode = 'PlaceHolderMode' in params ? params.PlaceHolderMode : null;
|
|
2115
|
+
this.PureAudioHoldPlaceMode = 'PureAudioHoldPlaceMode' in params ? params.PureAudioHoldPlaceMode : null;
|
|
2116
|
+
|
|
2117
|
+
if (params.WaterMarkParams) {
|
|
2118
|
+
let obj = new WaterMarkParams();
|
|
2119
|
+
obj.deserialize(params.WaterMarkParams)
|
|
2120
|
+
this.WaterMarkParams = obj;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
|
|
1539
2126
|
/**
|
|
1540
2127
|
* DescribeRoomInformation返回参数结构体
|
|
1541
2128
|
* @class
|
|
@@ -1643,30 +2230,80 @@ class RecordUsage extends AbstractModel {
|
|
|
1643
2230
|
}
|
|
1644
2231
|
|
|
1645
2232
|
/**
|
|
1646
|
-
*
|
|
2233
|
+
* CreateCloudRecording请求参数结构体
|
|
1647
2234
|
* @class
|
|
1648
2235
|
*/
|
|
1649
|
-
class
|
|
2236
|
+
class CreateCloudRecordingRequest extends AbstractModel {
|
|
1650
2237
|
constructor(){
|
|
1651
2238
|
super();
|
|
1652
2239
|
|
|
1653
2240
|
/**
|
|
1654
|
-
* TRTC的
|
|
2241
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和录制的房间所对应的SdkAppId相同。
|
|
1655
2242
|
* @type {number || null}
|
|
1656
2243
|
*/
|
|
1657
2244
|
this.SdkAppId = null;
|
|
1658
2245
|
|
|
1659
2246
|
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @type {
|
|
2247
|
+
* TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
|
|
2248
|
+
* @type {string || null}
|
|
1662
2249
|
*/
|
|
1663
2250
|
this.RoomId = null;
|
|
1664
2251
|
|
|
1665
2252
|
/**
|
|
1666
|
-
*
|
|
1667
|
-
* @type {
|
|
2253
|
+
* 录制服务在TRTC房间使用的[UserId](https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者录制服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。
|
|
2254
|
+
* @type {string || null}
|
|
1668
2255
|
*/
|
|
1669
|
-
this.
|
|
2256
|
+
this.UserId = null;
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* 云端录制加入房间的用户签名,当前 UserId 对应的验证签名,相当于登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
2260
|
+
* @type {string || null}
|
|
2261
|
+
*/
|
|
2262
|
+
this.UserSig = null;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* 云端录制控制参数。
|
|
2266
|
+
* @type {RecordParams || null}
|
|
2267
|
+
*/
|
|
2268
|
+
this.RecordParams = null;
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* 云端录制文件上传到云存储的参数。
|
|
2272
|
+
* @type {StorageParams || null}
|
|
2273
|
+
*/
|
|
2274
|
+
this.StorageParams = null;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* TRTC房间号的类型,必须和录制的房间所对应的RoomId类型相同:
|
|
2278
|
+
0: 字符串类型的RoomId
|
|
2279
|
+
1: 32位整型的RoomId(默认)
|
|
2280
|
+
* @type {number || null}
|
|
2281
|
+
*/
|
|
2282
|
+
this.RoomIdType = null;
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* 混流的转码参数,录制模式为混流的时候可以设置。
|
|
2286
|
+
* @type {MixTranscodeParams || null}
|
|
2287
|
+
*/
|
|
2288
|
+
this.MixTranscodeParams = null;
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* 混流的布局参数,录制模式为混流的时候可以设置。
|
|
2292
|
+
* @type {MixLayoutParams || null}
|
|
2293
|
+
*/
|
|
2294
|
+
this.MixLayoutParams = null;
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* 接口可以调用的时效性,从成功开启录制并获得任务ID后开始计算,超时后无法调用查询、更新和停止等接口,但是录制任务不会停止。 参数的单位是小时,默认72小时(3天),最大可设置720小时(30天),最小设置6小时。举例说明:如果不设置该参数,那么开始录制成功后,查询、更新和停止录制的调用时效为72个小时。
|
|
2298
|
+
* @type {number || null}
|
|
2299
|
+
*/
|
|
2300
|
+
this.ResourceExpiredHour = null;
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey](https://cloud.tencent.com/document/product/647/32240) 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
|
|
2304
|
+
* @type {string || null}
|
|
2305
|
+
*/
|
|
2306
|
+
this.PrivateMapKey = null;
|
|
1670
2307
|
|
|
1671
2308
|
}
|
|
1672
2309
|
|
|
@@ -1677,9 +2314,37 @@ class RemoveUserRequest extends AbstractModel {
|
|
|
1677
2314
|
if (!params) {
|
|
1678
2315
|
return;
|
|
1679
2316
|
}
|
|
1680
|
-
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1681
|
-
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
1682
|
-
this.
|
|
2317
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2318
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
2319
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
2320
|
+
this.UserSig = 'UserSig' in params ? params.UserSig : null;
|
|
2321
|
+
|
|
2322
|
+
if (params.RecordParams) {
|
|
2323
|
+
let obj = new RecordParams();
|
|
2324
|
+
obj.deserialize(params.RecordParams)
|
|
2325
|
+
this.RecordParams = obj;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
if (params.StorageParams) {
|
|
2329
|
+
let obj = new StorageParams();
|
|
2330
|
+
obj.deserialize(params.StorageParams)
|
|
2331
|
+
this.StorageParams = obj;
|
|
2332
|
+
}
|
|
2333
|
+
this.RoomIdType = 'RoomIdType' in params ? params.RoomIdType : null;
|
|
2334
|
+
|
|
2335
|
+
if (params.MixTranscodeParams) {
|
|
2336
|
+
let obj = new MixTranscodeParams();
|
|
2337
|
+
obj.deserialize(params.MixTranscodeParams)
|
|
2338
|
+
this.MixTranscodeParams = obj;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
if (params.MixLayoutParams) {
|
|
2342
|
+
let obj = new MixLayoutParams();
|
|
2343
|
+
obj.deserialize(params.MixLayoutParams)
|
|
2344
|
+
this.MixLayoutParams = obj;
|
|
2345
|
+
}
|
|
2346
|
+
this.ResourceExpiredHour = 'ResourceExpiredHour' in params ? params.ResourceExpiredHour : null;
|
|
2347
|
+
this.PrivateMapKey = 'PrivateMapKey' in params ? params.PrivateMapKey : null;
|
|
1683
2348
|
|
|
1684
2349
|
}
|
|
1685
2350
|
}
|
|
@@ -1734,46 +2399,24 @@ class OutputParams extends AbstractModel {
|
|
|
1734
2399
|
}
|
|
1735
2400
|
|
|
1736
2401
|
/**
|
|
1737
|
-
*
|
|
2402
|
+
* 水印布局参数
|
|
1738
2403
|
* @class
|
|
1739
2404
|
*/
|
|
1740
|
-
class
|
|
2405
|
+
class WaterMark extends AbstractModel {
|
|
1741
2406
|
constructor(){
|
|
1742
2407
|
super();
|
|
1743
2408
|
|
|
1744
2409
|
/**
|
|
1745
|
-
*
|
|
1746
|
-
0:与视频无关的事件;
|
|
1747
|
-
2:视频为大画面;
|
|
1748
|
-
3:视频为小画面;
|
|
1749
|
-
7:视频为旁路画面;
|
|
1750
|
-
* @type {number || null}
|
|
1751
|
-
*/
|
|
1752
|
-
this.Type = null;
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* 事件上报的时间戳,unix时间(1589891188801ms)
|
|
1756
|
-
* @type {number || null}
|
|
1757
|
-
*/
|
|
1758
|
-
this.Time = null;
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
|
1762
|
-
* @type {number || null}
|
|
1763
|
-
*/
|
|
1764
|
-
this.EventId = null;
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* 事件的第一个参数,如视频分辨率宽
|
|
2410
|
+
* 水印类型,0为图片(默认),1为文字(暂不支持)。
|
|
1768
2411
|
* @type {number || null}
|
|
1769
2412
|
*/
|
|
1770
|
-
this.
|
|
2413
|
+
this.WaterMarkType = null;
|
|
1771
2414
|
|
|
1772
2415
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
* @type {
|
|
2416
|
+
* 水印为图片时的参数列表,水印为图片时校验必填。
|
|
2417
|
+
* @type {WaterMarkImage || null}
|
|
1775
2418
|
*/
|
|
1776
|
-
this.
|
|
2419
|
+
this.WaterMarkImage = null;
|
|
1777
2420
|
|
|
1778
2421
|
}
|
|
1779
2422
|
|
|
@@ -1784,58 +2427,71 @@ class EventMessage extends AbstractModel {
|
|
|
1784
2427
|
if (!params) {
|
|
1785
2428
|
return;
|
|
1786
2429
|
}
|
|
1787
|
-
this.
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
2430
|
+
this.WaterMarkType = 'WaterMarkType' in params ? params.WaterMarkType : null;
|
|
2431
|
+
|
|
2432
|
+
if (params.WaterMarkImage) {
|
|
2433
|
+
let obj = new WaterMarkImage();
|
|
2434
|
+
obj.deserialize(params.WaterMarkImage)
|
|
2435
|
+
this.WaterMarkImage = obj;
|
|
2436
|
+
}
|
|
1792
2437
|
|
|
1793
2438
|
}
|
|
1794
2439
|
}
|
|
1795
2440
|
|
|
1796
2441
|
/**
|
|
1797
|
-
*
|
|
2442
|
+
* DeleteCloudRecording返回参数结构体
|
|
1798
2443
|
* @class
|
|
1799
2444
|
*/
|
|
1800
|
-
class
|
|
2445
|
+
class DeleteCloudRecordingResponse extends AbstractModel {
|
|
1801
2446
|
constructor(){
|
|
1802
2447
|
super();
|
|
1803
2448
|
|
|
1804
2449
|
/**
|
|
1805
|
-
*
|
|
1806
|
-
* @type {
|
|
2450
|
+
* 云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。
|
|
2451
|
+
* @type {string || null}
|
|
1807
2452
|
*/
|
|
1808
|
-
this.
|
|
2453
|
+
this.TaskId = null;
|
|
1809
2454
|
|
|
1810
2455
|
/**
|
|
1811
|
-
*
|
|
1812
|
-
* @type {
|
|
2456
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2457
|
+
* @type {string || null}
|
|
1813
2458
|
*/
|
|
1814
|
-
this.
|
|
2459
|
+
this.RequestId = null;
|
|
1815
2460
|
|
|
1816
|
-
|
|
1817
|
-
* 图片长度
|
|
1818
|
-
* @type {number || null}
|
|
1819
|
-
*/
|
|
1820
|
-
this.Height = null;
|
|
2461
|
+
}
|
|
1821
2462
|
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
2463
|
+
/**
|
|
2464
|
+
* @private
|
|
2465
|
+
*/
|
|
2466
|
+
deserialize(params) {
|
|
2467
|
+
if (!params) {
|
|
2468
|
+
return;
|
|
2469
|
+
}
|
|
2470
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
2471
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2472
|
+
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* 录制的音视频转码参数。
|
|
2478
|
+
* @class
|
|
2479
|
+
*/
|
|
2480
|
+
class MixTranscodeParams extends AbstractModel {
|
|
2481
|
+
constructor(){
|
|
2482
|
+
super();
|
|
1827
2483
|
|
|
1828
2484
|
/**
|
|
1829
|
-
*
|
|
1830
|
-
* @type {
|
|
2485
|
+
* 录制视频转码参数,注意如果设置了这个参数,那么里面的字段都是必填的,没有默认值,如果不填这个参数,那么取值为默认值。
|
|
2486
|
+
* @type {VideoParams || null}
|
|
1831
2487
|
*/
|
|
1832
|
-
this.
|
|
2488
|
+
this.VideoParams = null;
|
|
1833
2489
|
|
|
1834
2490
|
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @type {
|
|
2491
|
+
* 录制音频转码参数,注意如果设置了这个参数,那么里面的字段都是必填的,没有默认值,如果不填这个参数,那么取值为默认值。
|
|
2492
|
+
* @type {AudioParams || null}
|
|
1837
2493
|
*/
|
|
1838
|
-
this.
|
|
2494
|
+
this.AudioParams = null;
|
|
1839
2495
|
|
|
1840
2496
|
}
|
|
1841
2497
|
|
|
@@ -1846,12 +2502,18 @@ class ModifyPictureRequest extends AbstractModel {
|
|
|
1846
2502
|
if (!params) {
|
|
1847
2503
|
return;
|
|
1848
2504
|
}
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
2505
|
+
|
|
2506
|
+
if (params.VideoParams) {
|
|
2507
|
+
let obj = new VideoParams();
|
|
2508
|
+
obj.deserialize(params.VideoParams)
|
|
2509
|
+
this.VideoParams = obj;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
if (params.AudioParams) {
|
|
2513
|
+
let obj = new AudioParams();
|
|
2514
|
+
obj.deserialize(params.AudioParams)
|
|
2515
|
+
this.AudioParams = obj;
|
|
2516
|
+
}
|
|
1855
2517
|
|
|
1856
2518
|
}
|
|
1857
2519
|
}
|
|
@@ -2014,10 +2676,10 @@ class AbnormalEvent extends AbstractModel {
|
|
|
2014
2676
|
}
|
|
2015
2677
|
|
|
2016
2678
|
/**
|
|
2017
|
-
*
|
|
2679
|
+
* RemoveUserByStrRoomId返回参数结构体
|
|
2018
2680
|
* @class
|
|
2019
2681
|
*/
|
|
2020
|
-
class
|
|
2682
|
+
class RemoveUserByStrRoomIdResponse extends AbstractModel {
|
|
2021
2683
|
constructor(){
|
|
2022
2684
|
super();
|
|
2023
2685
|
|
|
@@ -2042,40 +2704,18 @@ class StopMCUMixTranscodeByStrRoomIdResponse extends AbstractModel {
|
|
|
2042
2704
|
}
|
|
2043
2705
|
|
|
2044
2706
|
/**
|
|
2045
|
-
*
|
|
2707
|
+
* StopMCUMixTranscodeByStrRoomId返回参数结构体
|
|
2046
2708
|
* @class
|
|
2047
2709
|
*/
|
|
2048
|
-
class
|
|
2710
|
+
class StopMCUMixTranscodeByStrRoomIdResponse extends AbstractModel {
|
|
2049
2711
|
constructor(){
|
|
2050
2712
|
super();
|
|
2051
2713
|
|
|
2052
2714
|
/**
|
|
2053
|
-
*
|
|
2054
|
-
* @type {number || null}
|
|
2055
|
-
*/
|
|
2056
|
-
this.StartTime = null;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* 查询结束时间,本地unix时间戳(1588031999s)
|
|
2060
|
-
* @type {number || null}
|
|
2061
|
-
*/
|
|
2062
|
-
this.EndTime = null;
|
|
2063
|
-
|
|
2064
|
-
/**
|
|
2065
|
-
* 用户sdkappid
|
|
2715
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2066
2716
|
* @type {string || null}
|
|
2067
2717
|
*/
|
|
2068
|
-
this.
|
|
2069
|
-
|
|
2070
|
-
/**
|
|
2071
|
-
* 查询的数据类型
|
|
2072
|
-
enterTotalSuccPercent:进房成功率
|
|
2073
|
-
fistFreamInSecRate:首帧秒开率
|
|
2074
|
-
blockPercent:视频卡顿率
|
|
2075
|
-
audioBlockPercent:音频卡顿率
|
|
2076
|
-
* @type {Array.<string> || null}
|
|
2077
|
-
*/
|
|
2078
|
-
this.DataType = null;
|
|
2718
|
+
this.RequestId = null;
|
|
2079
2719
|
|
|
2080
2720
|
}
|
|
2081
2721
|
|
|
@@ -2086,10 +2726,7 @@ audioBlockPercent:音频卡顿率
|
|
|
2086
2726
|
if (!params) {
|
|
2087
2727
|
return;
|
|
2088
2728
|
}
|
|
2089
|
-
this.
|
|
2090
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2091
|
-
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2092
|
-
this.DataType = 'DataType' in params ? params.DataType : null;
|
|
2729
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2093
2730
|
|
|
2094
2731
|
}
|
|
2095
2732
|
}
|
|
@@ -2123,18 +2760,36 @@ class DeletePictureResponse extends AbstractModel {
|
|
|
2123
2760
|
}
|
|
2124
2761
|
|
|
2125
2762
|
/**
|
|
2126
|
-
*
|
|
2763
|
+
* ModifyCloudRecording请求参数结构体
|
|
2127
2764
|
* @class
|
|
2128
2765
|
*/
|
|
2129
|
-
class
|
|
2766
|
+
class ModifyCloudRecordingRequest extends AbstractModel {
|
|
2130
2767
|
constructor(){
|
|
2131
2768
|
super();
|
|
2132
2769
|
|
|
2133
2770
|
/**
|
|
2134
|
-
*
|
|
2771
|
+
* TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
|
2772
|
+
* @type {number || null}
|
|
2773
|
+
*/
|
|
2774
|
+
this.SdkAppId = null;
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* 录制任务的唯一Id,在启动录制成功后会返回。
|
|
2135
2778
|
* @type {string || null}
|
|
2136
2779
|
*/
|
|
2137
|
-
this.
|
|
2780
|
+
this.TaskId = null;
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* 需要更新的混流的布局参数。
|
|
2784
|
+
* @type {MixLayoutParams || null}
|
|
2785
|
+
*/
|
|
2786
|
+
this.MixLayoutParams = null;
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* 指定订阅流白名单或者黑名单。
|
|
2790
|
+
* @type {SubscribeStreamUserIds || null}
|
|
2791
|
+
*/
|
|
2792
|
+
this.SubscribeStreamUserIds = null;
|
|
2138
2793
|
|
|
2139
2794
|
}
|
|
2140
2795
|
|
|
@@ -2145,7 +2800,20 @@ class StopMCUMixTranscodeResponse extends AbstractModel {
|
|
|
2145
2800
|
if (!params) {
|
|
2146
2801
|
return;
|
|
2147
2802
|
}
|
|
2148
|
-
this.
|
|
2803
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2804
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
2805
|
+
|
|
2806
|
+
if (params.MixLayoutParams) {
|
|
2807
|
+
let obj = new MixLayoutParams();
|
|
2808
|
+
obj.deserialize(params.MixLayoutParams)
|
|
2809
|
+
this.MixLayoutParams = obj;
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
if (params.SubscribeStreamUserIds) {
|
|
2813
|
+
let obj = new SubscribeStreamUserIds();
|
|
2814
|
+
obj.deserialize(params.SubscribeStreamUserIds)
|
|
2815
|
+
this.SubscribeStreamUserIds = obj;
|
|
2816
|
+
}
|
|
2149
2817
|
|
|
2150
2818
|
}
|
|
2151
2819
|
}
|
|
@@ -2177,42 +2845,143 @@ class CreateTroubleInfoRequest extends AbstractModel {
|
|
|
2177
2845
|
this.TeacherUserId = null;
|
|
2178
2846
|
|
|
2179
2847
|
/**
|
|
2180
|
-
* 学生用户ID
|
|
2848
|
+
* 学生用户ID
|
|
2849
|
+
* @type {string || null}
|
|
2850
|
+
*/
|
|
2851
|
+
this.StudentUserId = null;
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* 体验异常端(老师或学生)的用户 ID。
|
|
2855
|
+
* @type {string || null}
|
|
2856
|
+
*/
|
|
2857
|
+
this.TroubleUserId = null;
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* 异常类型。
|
|
2861
|
+
1. 仅视频异常
|
|
2862
|
+
2. 仅声音异常
|
|
2863
|
+
3. 音视频都异常
|
|
2864
|
+
5. 进房异常
|
|
2865
|
+
4. 切课
|
|
2866
|
+
6. 求助
|
|
2867
|
+
7. 问题反馈
|
|
2868
|
+
8. 投诉
|
|
2869
|
+
* @type {number || null}
|
|
2870
|
+
*/
|
|
2871
|
+
this.TroubleType = null;
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* 异常发生的UNIX 时间戳,单位为秒。
|
|
2875
|
+
* @type {number || null}
|
|
2876
|
+
*/
|
|
2877
|
+
this.TroubleTime = null;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* 异常详情
|
|
2881
|
+
* @type {string || null}
|
|
2882
|
+
*/
|
|
2883
|
+
this.TroubleMsg = null;
|
|
2884
|
+
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
/**
|
|
2888
|
+
* @private
|
|
2889
|
+
*/
|
|
2890
|
+
deserialize(params) {
|
|
2891
|
+
if (!params) {
|
|
2892
|
+
return;
|
|
2893
|
+
}
|
|
2894
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2895
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
2896
|
+
this.TeacherUserId = 'TeacherUserId' in params ? params.TeacherUserId : null;
|
|
2897
|
+
this.StudentUserId = 'StudentUserId' in params ? params.StudentUserId : null;
|
|
2898
|
+
this.TroubleUserId = 'TroubleUserId' in params ? params.TroubleUserId : null;
|
|
2899
|
+
this.TroubleType = 'TroubleType' in params ? params.TroubleType : null;
|
|
2900
|
+
this.TroubleTime = 'TroubleTime' in params ? params.TroubleTime : null;
|
|
2901
|
+
this.TroubleMsg = 'TroubleMsg' in params ? params.TroubleMsg : null;
|
|
2902
|
+
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* sdk或webrtc的事件列表。
|
|
2908
|
+
* @class
|
|
2909
|
+
*/
|
|
2910
|
+
class EventList extends AbstractModel {
|
|
2911
|
+
constructor(){
|
|
2912
|
+
super();
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* 数据内容
|
|
2916
|
+
* @type {Array.<EventMessage> || null}
|
|
2917
|
+
*/
|
|
2918
|
+
this.Content = null;
|
|
2919
|
+
|
|
2920
|
+
/**
|
|
2921
|
+
* 发送端的userId
|
|
2922
|
+
* @type {string || null}
|
|
2923
|
+
*/
|
|
2924
|
+
this.PeerId = null;
|
|
2925
|
+
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* @private
|
|
2930
|
+
*/
|
|
2931
|
+
deserialize(params) {
|
|
2932
|
+
if (!params) {
|
|
2933
|
+
return;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
if (params.Content) {
|
|
2937
|
+
this.Content = new Array();
|
|
2938
|
+
for (let z in params.Content) {
|
|
2939
|
+
let obj = new EventMessage();
|
|
2940
|
+
obj.deserialize(params.Content[z]);
|
|
2941
|
+
this.Content.push(obj);
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
this.PeerId = 'PeerId' in params ? params.PeerId : null;
|
|
2945
|
+
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* 云端录制查询接口,录制文件的信息
|
|
2951
|
+
* @class
|
|
2952
|
+
*/
|
|
2953
|
+
class StorageFile extends AbstractModel {
|
|
2954
|
+
constructor(){
|
|
2955
|
+
super();
|
|
2956
|
+
|
|
2957
|
+
/**
|
|
2958
|
+
* 录制文件对应的UserId,如果是混流的话的这里返回的是空串。
|
|
2959
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2181
2960
|
* @type {string || null}
|
|
2182
2961
|
*/
|
|
2183
|
-
this.
|
|
2962
|
+
this.UserId = null;
|
|
2184
2963
|
|
|
2185
2964
|
/**
|
|
2186
|
-
*
|
|
2965
|
+
* 录制索引文件名。
|
|
2187
2966
|
* @type {string || null}
|
|
2188
2967
|
*/
|
|
2189
|
-
this.
|
|
2968
|
+
this.FileName = null;
|
|
2190
2969
|
|
|
2191
2970
|
/**
|
|
2192
|
-
*
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
6. 求助
|
|
2199
|
-
7. 问题反馈
|
|
2200
|
-
8. 投诉
|
|
2201
|
-
* @type {number || null}
|
|
2971
|
+
* 录制文件流信息。
|
|
2972
|
+
video:视频录制文件
|
|
2973
|
+
audio:音频录制文件
|
|
2974
|
+
audio_video:音视频录制文件
|
|
2975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2976
|
+
* @type {string || null}
|
|
2202
2977
|
*/
|
|
2203
|
-
this.
|
|
2978
|
+
this.TrackType = null;
|
|
2204
2979
|
|
|
2205
2980
|
/**
|
|
2206
|
-
*
|
|
2981
|
+
* 录制文件开始Unix时间戳。
|
|
2207
2982
|
* @type {number || null}
|
|
2208
2983
|
*/
|
|
2209
|
-
this.
|
|
2210
|
-
|
|
2211
|
-
/**
|
|
2212
|
-
* 异常详情
|
|
2213
|
-
* @type {string || null}
|
|
2214
|
-
*/
|
|
2215
|
-
this.TroubleMsg = null;
|
|
2984
|
+
this.BeginTimeStamp = null;
|
|
2216
2985
|
|
|
2217
2986
|
}
|
|
2218
2987
|
|
|
@@ -2223,37 +2992,57 @@ class CreateTroubleInfoRequest extends AbstractModel {
|
|
|
2223
2992
|
if (!params) {
|
|
2224
2993
|
return;
|
|
2225
2994
|
}
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2230
|
-
this.TroubleUserId = 'TroubleUserId' in params ? params.TroubleUserId : null;
|
|
2231
|
-
this.TroubleType = 'TroubleType' in params ? params.TroubleType : null;
|
|
2232
|
-
this.TroubleTime = 'TroubleTime' in params ? params.TroubleTime : null;
|
|
2233
|
-
this.TroubleMsg = 'TroubleMsg' in params ? params.TroubleMsg : null;
|
|
2995
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
2996
|
+
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
2997
|
+
this.TrackType = 'TrackType' in params ? params.TrackType : null;
|
|
2998
|
+
this.BeginTimeStamp = 'BeginTimeStamp' in params ? params.BeginTimeStamp : null;
|
|
2234
2999
|
|
|
2235
3000
|
}
|
|
2236
3001
|
}
|
|
2237
3002
|
|
|
2238
3003
|
/**
|
|
2239
|
-
*
|
|
3004
|
+
* 图片列表信息
|
|
2240
3005
|
* @class
|
|
2241
3006
|
*/
|
|
2242
|
-
class
|
|
3007
|
+
class PictureInfo extends AbstractModel {
|
|
2243
3008
|
constructor(){
|
|
2244
3009
|
super();
|
|
2245
3010
|
|
|
2246
3011
|
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @type {
|
|
3012
|
+
* 图片长度
|
|
3013
|
+
* @type {number || null}
|
|
2249
3014
|
*/
|
|
2250
|
-
this.
|
|
3015
|
+
this.Height = null;
|
|
2251
3016
|
|
|
2252
3017
|
/**
|
|
2253
|
-
*
|
|
2254
|
-
* @type {
|
|
3018
|
+
* 图片宽度
|
|
3019
|
+
* @type {number || null}
|
|
2255
3020
|
*/
|
|
2256
|
-
this.
|
|
3021
|
+
this.Width = null;
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* 显示位置x轴方向
|
|
3025
|
+
* @type {number || null}
|
|
3026
|
+
*/
|
|
3027
|
+
this.XPosition = null;
|
|
3028
|
+
|
|
3029
|
+
/**
|
|
3030
|
+
* 显示位置y轴方向
|
|
3031
|
+
* @type {number || null}
|
|
3032
|
+
*/
|
|
3033
|
+
this.YPosition = null;
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* 应用id
|
|
3037
|
+
* @type {number || null}
|
|
3038
|
+
*/
|
|
3039
|
+
this.SdkAppId = null;
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* 图片id
|
|
3043
|
+
* @type {number || null}
|
|
3044
|
+
*/
|
|
3045
|
+
this.PictureId = null;
|
|
2257
3046
|
|
|
2258
3047
|
}
|
|
2259
3048
|
|
|
@@ -2264,39 +3053,42 @@ class EventList extends AbstractModel {
|
|
|
2264
3053
|
if (!params) {
|
|
2265
3054
|
return;
|
|
2266
3055
|
}
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
this.Content.push(obj);
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
this.PeerId = 'PeerId' in params ? params.PeerId : null;
|
|
3056
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
3057
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
3058
|
+
this.XPosition = 'XPosition' in params ? params.XPosition : null;
|
|
3059
|
+
this.YPosition = 'YPosition' in params ? params.YPosition : null;
|
|
3060
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3061
|
+
this.PictureId = 'PictureId' in params ? params.PictureId : null;
|
|
2277
3062
|
|
|
2278
3063
|
}
|
|
2279
3064
|
}
|
|
2280
3065
|
|
|
2281
3066
|
/**
|
|
2282
|
-
*
|
|
3067
|
+
* DescribeUserInformation返回参数结构体
|
|
2283
3068
|
* @class
|
|
2284
3069
|
*/
|
|
2285
|
-
class
|
|
3070
|
+
class DescribeUserInformationResponse extends AbstractModel {
|
|
2286
3071
|
constructor(){
|
|
2287
3072
|
super();
|
|
2288
3073
|
|
|
2289
3074
|
/**
|
|
2290
|
-
*
|
|
3075
|
+
* 返回的用户总条数
|
|
2291
3076
|
* @type {number || null}
|
|
2292
3077
|
*/
|
|
2293
|
-
this.
|
|
3078
|
+
this.Total = null;
|
|
2294
3079
|
|
|
2295
3080
|
/**
|
|
2296
|
-
*
|
|
2297
|
-
|
|
3081
|
+
* 用户信息列表
|
|
3082
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3083
|
+
* @type {Array.<UserInformation> || null}
|
|
2298
3084
|
*/
|
|
2299
|
-
this.
|
|
3085
|
+
this.UserList = null;
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3089
|
+
* @type {string || null}
|
|
3090
|
+
*/
|
|
3091
|
+
this.RequestId = null;
|
|
2300
3092
|
|
|
2301
3093
|
}
|
|
2302
3094
|
|
|
@@ -2307,8 +3099,17 @@ class DismissRoomRequest extends AbstractModel {
|
|
|
2307
3099
|
if (!params) {
|
|
2308
3100
|
return;
|
|
2309
3101
|
}
|
|
2310
|
-
this.
|
|
2311
|
-
|
|
3102
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
3103
|
+
|
|
3104
|
+
if (params.UserList) {
|
|
3105
|
+
this.UserList = new Array();
|
|
3106
|
+
for (let z in params.UserList) {
|
|
3107
|
+
let obj = new UserInformation();
|
|
3108
|
+
obj.deserialize(params.UserList[z]);
|
|
3109
|
+
this.UserList.push(obj);
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2312
3113
|
|
|
2313
3114
|
}
|
|
2314
3115
|
}
|
|
@@ -2322,7 +3123,7 @@ class DescribeDetailEventResponse extends AbstractModel {
|
|
|
2322
3123
|
super();
|
|
2323
3124
|
|
|
2324
3125
|
/**
|
|
2325
|
-
*
|
|
3126
|
+
* 返回的事件列表,若没有数据,会返回空数组。
|
|
2326
3127
|
* @type {Array.<EventList> || null}
|
|
2327
3128
|
*/
|
|
2328
3129
|
this.Data = null;
|
|
@@ -2357,24 +3158,24 @@ class DescribeDetailEventResponse extends AbstractModel {
|
|
|
2357
3158
|
}
|
|
2358
3159
|
|
|
2359
3160
|
/**
|
|
2360
|
-
*
|
|
3161
|
+
* CreateCloudRecording返回参数结构体
|
|
2361
3162
|
* @class
|
|
2362
3163
|
*/
|
|
2363
|
-
class
|
|
3164
|
+
class CreateCloudRecordingResponse extends AbstractModel {
|
|
2364
3165
|
constructor(){
|
|
2365
3166
|
super();
|
|
2366
3167
|
|
|
2367
3168
|
/**
|
|
2368
|
-
*
|
|
2369
|
-
* @type {
|
|
3169
|
+
* 云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。任务 ID需要业务保存下来,作为下次针对这个录制任务操作的参数。
|
|
3170
|
+
* @type {string || null}
|
|
2370
3171
|
*/
|
|
2371
|
-
this.
|
|
3172
|
+
this.TaskId = null;
|
|
2372
3173
|
|
|
2373
3174
|
/**
|
|
2374
|
-
*
|
|
3175
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2375
3176
|
* @type {string || null}
|
|
2376
3177
|
*/
|
|
2377
|
-
this.
|
|
3178
|
+
this.RequestId = null;
|
|
2378
3179
|
|
|
2379
3180
|
}
|
|
2380
3181
|
|
|
@@ -2385,20 +3186,40 @@ class DismissRoomByStrRoomIdRequest extends AbstractModel {
|
|
|
2385
3186
|
if (!params) {
|
|
2386
3187
|
return;
|
|
2387
3188
|
}
|
|
2388
|
-
this.
|
|
2389
|
-
this.
|
|
3189
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3190
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2390
3191
|
|
|
2391
3192
|
}
|
|
2392
3193
|
}
|
|
2393
3194
|
|
|
2394
3195
|
/**
|
|
2395
|
-
*
|
|
3196
|
+
* DescribeCallDetail返回参数结构体
|
|
2396
3197
|
* @class
|
|
2397
3198
|
*/
|
|
2398
|
-
class
|
|
3199
|
+
class DescribeCallDetailResponse extends AbstractModel {
|
|
2399
3200
|
constructor(){
|
|
2400
3201
|
super();
|
|
2401
3202
|
|
|
3203
|
+
/**
|
|
3204
|
+
* 返回的用户总条数
|
|
3205
|
+
* @type {number || null}
|
|
3206
|
+
*/
|
|
3207
|
+
this.Total = null;
|
|
3208
|
+
|
|
3209
|
+
/**
|
|
3210
|
+
* 用户信息列表
|
|
3211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3212
|
+
* @type {Array.<UserInformation> || null}
|
|
3213
|
+
*/
|
|
3214
|
+
this.UserList = null;
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* 质量数据
|
|
3218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3219
|
+
* @type {Array.<QualityData> || null}
|
|
3220
|
+
*/
|
|
3221
|
+
this.Data = null;
|
|
3222
|
+
|
|
2402
3223
|
/**
|
|
2403
3224
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2404
3225
|
* @type {string || null}
|
|
@@ -2414,6 +3235,25 @@ class StartMCUMixTranscodeResponse extends AbstractModel {
|
|
|
2414
3235
|
if (!params) {
|
|
2415
3236
|
return;
|
|
2416
3237
|
}
|
|
3238
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
3239
|
+
|
|
3240
|
+
if (params.UserList) {
|
|
3241
|
+
this.UserList = new Array();
|
|
3242
|
+
for (let z in params.UserList) {
|
|
3243
|
+
let obj = new UserInformation();
|
|
3244
|
+
obj.deserialize(params.UserList[z]);
|
|
3245
|
+
this.UserList.push(obj);
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
if (params.Data) {
|
|
3250
|
+
this.Data = new Array();
|
|
3251
|
+
for (let z in params.Data) {
|
|
3252
|
+
let obj = new QualityData();
|
|
3253
|
+
obj.deserialize(params.Data[z]);
|
|
3254
|
+
this.Data.push(obj);
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
2417
3257
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2418
3258
|
|
|
2419
3259
|
}
|
|
@@ -2512,6 +3352,41 @@ class DescribeTrtcMcuTranscodeTimeResponse extends AbstractModel {
|
|
|
2512
3352
|
}
|
|
2513
3353
|
}
|
|
2514
3354
|
|
|
3355
|
+
/**
|
|
3356
|
+
* DeleteCloudRecording请求参数结构体
|
|
3357
|
+
* @class
|
|
3358
|
+
*/
|
|
3359
|
+
class DeleteCloudRecordingRequest extends AbstractModel {
|
|
3360
|
+
constructor(){
|
|
3361
|
+
super();
|
|
3362
|
+
|
|
3363
|
+
/**
|
|
3364
|
+
* TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
|
3365
|
+
* @type {number || null}
|
|
3366
|
+
*/
|
|
3367
|
+
this.SdkAppId = null;
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* 录制任务的唯一Id,在启动录制成功后会返回。
|
|
3371
|
+
* @type {string || null}
|
|
3372
|
+
*/
|
|
3373
|
+
this.TaskId = null;
|
|
3374
|
+
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* @private
|
|
3379
|
+
*/
|
|
3380
|
+
deserialize(params) {
|
|
3381
|
+
if (!params) {
|
|
3382
|
+
return;
|
|
3383
|
+
}
|
|
3384
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3385
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3386
|
+
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
|
|
2515
3390
|
/**
|
|
2516
3391
|
* DescribePicture请求参数结构体
|
|
2517
3392
|
* @class
|
|
@@ -2604,56 +3479,6 @@ class SdkAppIdRecordUsage extends AbstractModel {
|
|
|
2604
3479
|
}
|
|
2605
3480
|
}
|
|
2606
3481
|
|
|
2607
|
-
/**
|
|
2608
|
-
* 单个SdkAppId的音视频互动计费时长用量数组和数组长度。
|
|
2609
|
-
* @class
|
|
2610
|
-
*/
|
|
2611
|
-
class OneSdkAppIdUsagesInfo extends AbstractModel {
|
|
2612
|
-
constructor(){
|
|
2613
|
-
super();
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* 该 SdkAppId 对应的用量记录数长度
|
|
2617
|
-
* @type {number || null}
|
|
2618
|
-
*/
|
|
2619
|
-
this.TotalNum = null;
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* 用量数组
|
|
2623
|
-
* @type {Array.<SdkAppIdTrtcUsage> || null}
|
|
2624
|
-
*/
|
|
2625
|
-
this.SdkAppIdTrtcTimeUsages = null;
|
|
2626
|
-
|
|
2627
|
-
/**
|
|
2628
|
-
* 应用ID
|
|
2629
|
-
* @type {string || null}
|
|
2630
|
-
*/
|
|
2631
|
-
this.SdkAppId = null;
|
|
2632
|
-
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
|
-
/**
|
|
2636
|
-
* @private
|
|
2637
|
-
*/
|
|
2638
|
-
deserialize(params) {
|
|
2639
|
-
if (!params) {
|
|
2640
|
-
return;
|
|
2641
|
-
}
|
|
2642
|
-
this.TotalNum = 'TotalNum' in params ? params.TotalNum : null;
|
|
2643
|
-
|
|
2644
|
-
if (params.SdkAppIdTrtcTimeUsages) {
|
|
2645
|
-
this.SdkAppIdTrtcTimeUsages = new Array();
|
|
2646
|
-
for (let z in params.SdkAppIdTrtcTimeUsages) {
|
|
2647
|
-
let obj = new SdkAppIdTrtcUsage();
|
|
2648
|
-
obj.deserialize(params.SdkAppIdTrtcTimeUsages[z]);
|
|
2649
|
-
this.SdkAppIdTrtcTimeUsages.push(obj);
|
|
2650
|
-
}
|
|
2651
|
-
}
|
|
2652
|
-
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2653
|
-
|
|
2654
|
-
}
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
3482
|
/**
|
|
2658
3483
|
* 画中画模板中有效,代表小画面的布局参数
|
|
2659
3484
|
* @class
|
|
@@ -2808,7 +3633,7 @@ class PresetLayoutConfig extends AbstractModel {
|
|
|
2808
3633
|
this.MixInputType = null;
|
|
2809
3634
|
|
|
2810
3635
|
/**
|
|
2811
|
-
* 占位图ID
|
|
3636
|
+
* 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769
|
|
2812
3637
|
* @type {number || null}
|
|
2813
3638
|
*/
|
|
2814
3639
|
this.PlaceImageId = null;
|
|
@@ -2837,38 +3662,42 @@ class PresetLayoutConfig extends AbstractModel {
|
|
|
2837
3662
|
}
|
|
2838
3663
|
|
|
2839
3664
|
/**
|
|
2840
|
-
*
|
|
3665
|
+
* 录制视频转码参数。
|
|
2841
3666
|
* @class
|
|
2842
3667
|
*/
|
|
2843
|
-
class
|
|
3668
|
+
class VideoParams extends AbstractModel {
|
|
2844
3669
|
constructor(){
|
|
2845
3670
|
super();
|
|
2846
3671
|
|
|
2847
3672
|
/**
|
|
2848
|
-
*
|
|
3673
|
+
* 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
|
3674
|
+
* @type {number || null}
|
|
3675
|
+
*/
|
|
3676
|
+
this.Width = null;
|
|
3677
|
+
|
|
3678
|
+
/**
|
|
3679
|
+
* 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
|
2849
3680
|
* @type {number || null}
|
|
2850
3681
|
*/
|
|
2851
|
-
this.
|
|
3682
|
+
this.Height = null;
|
|
2852
3683
|
|
|
2853
3684
|
/**
|
|
2854
|
-
*
|
|
3685
|
+
* 视频的帧率,范围[1, 60],默认15。
|
|
2855
3686
|
* @type {number || null}
|
|
2856
3687
|
*/
|
|
2857
|
-
this.
|
|
3688
|
+
this.Fps = null;
|
|
2858
3689
|
|
|
2859
3690
|
/**
|
|
2860
|
-
*
|
|
2861
|
-
* @type {
|
|
3691
|
+
* 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
|
3692
|
+
* @type {number || null}
|
|
2862
3693
|
*/
|
|
2863
|
-
this.
|
|
3694
|
+
this.BitRate = null;
|
|
2864
3695
|
|
|
2865
3696
|
/**
|
|
2866
|
-
*
|
|
2867
|
-
|
|
2868
|
-
RoomNum:房间数
|
|
2869
|
-
* @type {Array.<string> || null}
|
|
3697
|
+
* 视频关键帧时间间隔,单位秒,默认值10秒。
|
|
3698
|
+
* @type {number || null}
|
|
2870
3699
|
*/
|
|
2871
|
-
this.
|
|
3700
|
+
this.Gop = null;
|
|
2872
3701
|
|
|
2873
3702
|
}
|
|
2874
3703
|
|
|
@@ -2879,47 +3708,45 @@ RoomNum:房间数
|
|
|
2879
3708
|
if (!params) {
|
|
2880
3709
|
return;
|
|
2881
3710
|
}
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
3711
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
3712
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
3713
|
+
this.Fps = 'Fps' in params ? params.Fps : null;
|
|
3714
|
+
this.BitRate = 'BitRate' in params ? params.BitRate : null;
|
|
3715
|
+
this.Gop = 'Gop' in params ? params.Gop : null;
|
|
2886
3716
|
|
|
2887
3717
|
}
|
|
2888
3718
|
}
|
|
2889
3719
|
|
|
2890
3720
|
/**
|
|
2891
|
-
*
|
|
3721
|
+
* 录制音频转码参数。
|
|
2892
3722
|
* @class
|
|
2893
3723
|
*/
|
|
2894
|
-
class
|
|
3724
|
+
class AudioParams extends AbstractModel {
|
|
2895
3725
|
constructor(){
|
|
2896
3726
|
super();
|
|
2897
3727
|
|
|
2898
3728
|
/**
|
|
2899
|
-
*
|
|
3729
|
+
* 音频采样率:
|
|
3730
|
+
1:48000Hz(默认);
|
|
3731
|
+
2:44100Hz
|
|
3732
|
+
3:16000Hz。
|
|
2900
3733
|
* @type {number || null}
|
|
2901
3734
|
*/
|
|
2902
|
-
this.
|
|
2903
|
-
|
|
2904
|
-
/**
|
|
2905
|
-
* 用户信息列表
|
|
2906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2907
|
-
* @type {Array.<UserInformation> || null}
|
|
2908
|
-
*/
|
|
2909
|
-
this.UserList = null;
|
|
3735
|
+
this.SampleRate = null;
|
|
2910
3736
|
|
|
2911
3737
|
/**
|
|
2912
|
-
*
|
|
2913
|
-
|
|
2914
|
-
|
|
3738
|
+
* 声道数:
|
|
3739
|
+
1:单身道;
|
|
3740
|
+
2:双声道(默认)。
|
|
3741
|
+
* @type {number || null}
|
|
2915
3742
|
*/
|
|
2916
|
-
this.
|
|
3743
|
+
this.Channel = null;
|
|
2917
3744
|
|
|
2918
3745
|
/**
|
|
2919
|
-
*
|
|
2920
|
-
* @type {
|
|
3746
|
+
* 音频码率: 取值范围[32000, 128000] ,单位bps,默认64000bps。
|
|
3747
|
+
* @type {number || null}
|
|
2921
3748
|
*/
|
|
2922
|
-
this.
|
|
3749
|
+
this.BitRate = null;
|
|
2923
3750
|
|
|
2924
3751
|
}
|
|
2925
3752
|
|
|
@@ -2930,26 +3757,9 @@ class DescribeCallDetailResponse extends AbstractModel {
|
|
|
2930
3757
|
if (!params) {
|
|
2931
3758
|
return;
|
|
2932
3759
|
}
|
|
2933
|
-
this.
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
this.UserList = new Array();
|
|
2937
|
-
for (let z in params.UserList) {
|
|
2938
|
-
let obj = new UserInformation();
|
|
2939
|
-
obj.deserialize(params.UserList[z]);
|
|
2940
|
-
this.UserList.push(obj);
|
|
2941
|
-
}
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
|
-
if (params.Data) {
|
|
2945
|
-
this.Data = new Array();
|
|
2946
|
-
for (let z in params.Data) {
|
|
2947
|
-
let obj = new QualityData();
|
|
2948
|
-
obj.deserialize(params.Data[z]);
|
|
2949
|
-
this.Data.push(obj);
|
|
2950
|
-
}
|
|
2951
|
-
}
|
|
2952
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3760
|
+
this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
|
|
3761
|
+
this.Channel = 'Channel' in params ? params.Channel : null;
|
|
3762
|
+
this.BitRate = 'BitRate' in params ? params.BitRate : null;
|
|
2953
3763
|
|
|
2954
3764
|
}
|
|
2955
3765
|
}
|
|
@@ -3005,50 +3815,42 @@ class DescribePictureResponse extends AbstractModel {
|
|
|
3005
3815
|
}
|
|
3006
3816
|
|
|
3007
3817
|
/**
|
|
3008
|
-
*
|
|
3009
|
-
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
3818
|
+
* 水印类型为图片的参数列表
|
|
3010
3819
|
* @class
|
|
3011
3820
|
*/
|
|
3012
|
-
class
|
|
3821
|
+
class WaterMarkImage extends AbstractModel {
|
|
3013
3822
|
constructor(){
|
|
3014
3823
|
super();
|
|
3015
3824
|
|
|
3016
3825
|
/**
|
|
3017
|
-
*
|
|
3826
|
+
* 下载的url地址, 只支持jpg, png,大小限制不超过5M。
|
|
3018
3827
|
* @type {string || null}
|
|
3019
3828
|
*/
|
|
3020
|
-
this.
|
|
3021
|
-
|
|
3022
|
-
/**
|
|
3023
|
-
* 语音时长,单位:秒。
|
|
3024
|
-
* @type {number || null}
|
|
3025
|
-
*/
|
|
3026
|
-
this.AudioTime = null;
|
|
3829
|
+
this.WaterMarkUrl = null;
|
|
3027
3830
|
|
|
3028
3831
|
/**
|
|
3029
|
-
*
|
|
3030
|
-
2019年10月11日前注册,没有变更为 [新计费模式](https://cloud.tencent.com/document/product/647/17157) 的用户才会返回此值。
|
|
3832
|
+
* 画布上该画面左上角的 y 轴坐标,取值范围 [0, 2560],不能超过画布的高。
|
|
3031
3833
|
* @type {number || null}
|
|
3032
3834
|
*/
|
|
3033
|
-
this.
|
|
3835
|
+
this.Top = null;
|
|
3034
3836
|
|
|
3035
3837
|
/**
|
|
3036
|
-
*
|
|
3838
|
+
* 画布上该画面左上角的 x 轴坐标,取值范围 [0, 2560],不能超过画布的宽。
|
|
3037
3839
|
* @type {number || null}
|
|
3038
3840
|
*/
|
|
3039
|
-
this.
|
|
3841
|
+
this.Left = null;
|
|
3040
3842
|
|
|
3041
3843
|
/**
|
|
3042
|
-
*
|
|
3844
|
+
* 画布上该画面宽度的相对值,取值范围 [0, 2560],与Left相加不应超过画布的宽。
|
|
3043
3845
|
* @type {number || null}
|
|
3044
3846
|
*/
|
|
3045
|
-
this.
|
|
3847
|
+
this.Width = null;
|
|
3046
3848
|
|
|
3047
3849
|
/**
|
|
3048
|
-
*
|
|
3850
|
+
* 画布上该画面高度的相对值,取值范围 [0, 2560],与Top相加不应超过画布的高。
|
|
3049
3851
|
* @type {number || null}
|
|
3050
3852
|
*/
|
|
3051
|
-
this.
|
|
3853
|
+
this.Height = null;
|
|
3052
3854
|
|
|
3053
3855
|
}
|
|
3054
3856
|
|
|
@@ -3059,42 +3861,34 @@ class SdkAppIdTrtcUsage extends AbstractModel {
|
|
|
3059
3861
|
if (!params) {
|
|
3060
3862
|
return;
|
|
3061
3863
|
}
|
|
3062
|
-
this.
|
|
3063
|
-
this.
|
|
3064
|
-
this.
|
|
3065
|
-
this.
|
|
3066
|
-
this.
|
|
3067
|
-
this.VideoTimeHdp = 'VideoTimeHdp' in params ? params.VideoTimeHdp : null;
|
|
3864
|
+
this.WaterMarkUrl = 'WaterMarkUrl' in params ? params.WaterMarkUrl : null;
|
|
3865
|
+
this.Top = 'Top' in params ? params.Top : null;
|
|
3866
|
+
this.Left = 'Left' in params ? params.Left : null;
|
|
3867
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
3868
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
3068
3869
|
|
|
3069
3870
|
}
|
|
3070
3871
|
}
|
|
3071
3872
|
|
|
3072
3873
|
/**
|
|
3073
|
-
*
|
|
3874
|
+
* DismissRoom请求参数结构体
|
|
3074
3875
|
* @class
|
|
3075
3876
|
*/
|
|
3076
|
-
class
|
|
3877
|
+
class DismissRoomRequest extends AbstractModel {
|
|
3077
3878
|
constructor(){
|
|
3078
3879
|
super();
|
|
3079
3880
|
|
|
3080
3881
|
/**
|
|
3081
|
-
*
|
|
3082
|
-
* @type {
|
|
3083
|
-
*/
|
|
3084
|
-
this.StartTime = null;
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* 查询结束时间,格式为YYYY-MM-DD。
|
|
3088
|
-
单次查询统计区间最多不能超过31天。
|
|
3089
|
-
* @type {string || null}
|
|
3882
|
+
* TRTC的SDKAppId。
|
|
3883
|
+
* @type {number || null}
|
|
3090
3884
|
*/
|
|
3091
|
-
this.
|
|
3885
|
+
this.SdkAppId = null;
|
|
3092
3886
|
|
|
3093
3887
|
/**
|
|
3094
|
-
*
|
|
3888
|
+
* 房间号。
|
|
3095
3889
|
* @type {number || null}
|
|
3096
3890
|
*/
|
|
3097
|
-
this.
|
|
3891
|
+
this.RoomId = null;
|
|
3098
3892
|
|
|
3099
3893
|
}
|
|
3100
3894
|
|
|
@@ -3105,9 +3899,8 @@ class DescribeTrtcInteractiveTimeRequest extends AbstractModel {
|
|
|
3105
3899
|
if (!params) {
|
|
3106
3900
|
return;
|
|
3107
3901
|
}
|
|
3108
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
3109
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
3110
3902
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3903
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
3111
3904
|
|
|
3112
3905
|
}
|
|
3113
3906
|
}
|
|
@@ -3162,13 +3955,13 @@ class DescribeRoomInformationRequest extends AbstractModel {
|
|
|
3162
3955
|
this.SdkAppId = null;
|
|
3163
3956
|
|
|
3164
3957
|
/**
|
|
3165
|
-
* 查询开始时间,14天内。本地unix时间戳(
|
|
3958
|
+
* 查询开始时间,14天内。本地unix时间戳(1588031999)
|
|
3166
3959
|
* @type {number || null}
|
|
3167
3960
|
*/
|
|
3168
3961
|
this.StartTime = null;
|
|
3169
3962
|
|
|
3170
3963
|
/**
|
|
3171
|
-
* 查询结束时间,本地unix时间戳(
|
|
3964
|
+
* 查询结束时间,本地unix时间戳(1588034999)
|
|
3172
3965
|
* @type {number || null}
|
|
3173
3966
|
*/
|
|
3174
3967
|
this.EndTime = null;
|
|
@@ -3210,58 +4003,6 @@ class DescribeRoomInformationRequest extends AbstractModel {
|
|
|
3210
4003
|
}
|
|
3211
4004
|
}
|
|
3212
4005
|
|
|
3213
|
-
/**
|
|
3214
|
-
* 历史规模信息
|
|
3215
|
-
* @class
|
|
3216
|
-
*/
|
|
3217
|
-
class ScaleInfomation extends AbstractModel {
|
|
3218
|
-
constructor(){
|
|
3219
|
-
super();
|
|
3220
|
-
|
|
3221
|
-
/**
|
|
3222
|
-
* 每天开始的时间
|
|
3223
|
-
* @type {number || null}
|
|
3224
|
-
*/
|
|
3225
|
-
this.Time = null;
|
|
3226
|
-
|
|
3227
|
-
/**
|
|
3228
|
-
* 房间人数,用户重复进入同一个房间为1次
|
|
3229
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3230
|
-
* @type {number || null}
|
|
3231
|
-
*/
|
|
3232
|
-
this.UserNumber = null;
|
|
3233
|
-
|
|
3234
|
-
/**
|
|
3235
|
-
* 房间人次,用户每次进入房间为一次
|
|
3236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3237
|
-
* @type {number || null}
|
|
3238
|
-
*/
|
|
3239
|
-
this.UserCount = null;
|
|
3240
|
-
|
|
3241
|
-
/**
|
|
3242
|
-
* sdkappid下一天内的房间数
|
|
3243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3244
|
-
* @type {number || null}
|
|
3245
|
-
*/
|
|
3246
|
-
this.RoomNumbers = null;
|
|
3247
|
-
|
|
3248
|
-
}
|
|
3249
|
-
|
|
3250
|
-
/**
|
|
3251
|
-
* @private
|
|
3252
|
-
*/
|
|
3253
|
-
deserialize(params) {
|
|
3254
|
-
if (!params) {
|
|
3255
|
-
return;
|
|
3256
|
-
}
|
|
3257
|
-
this.Time = 'Time' in params ? params.Time : null;
|
|
3258
|
-
this.UserNumber = 'UserNumber' in params ? params.UserNumber : null;
|
|
3259
|
-
this.UserCount = 'UserCount' in params ? params.UserCount : null;
|
|
3260
|
-
this.RoomNumbers = 'RoomNumbers' in params ? params.RoomNumbers : null;
|
|
3261
|
-
|
|
3262
|
-
}
|
|
3263
|
-
}
|
|
3264
|
-
|
|
3265
4006
|
/**
|
|
3266
4007
|
* DescribeDetailEvent请求参数结构体
|
|
3267
4008
|
* @class
|
|
@@ -3277,13 +4018,13 @@ class DescribeDetailEventRequest extends AbstractModel {
|
|
|
3277
4018
|
this.CommId = null;
|
|
3278
4019
|
|
|
3279
4020
|
/**
|
|
3280
|
-
* 查询开始时间,14天内。本地unix时间戳(
|
|
4021
|
+
* 查询开始时间,14天内。本地unix时间戳(1588055615s)
|
|
3281
4022
|
* @type {number || null}
|
|
3282
4023
|
*/
|
|
3283
4024
|
this.StartTime = null;
|
|
3284
4025
|
|
|
3285
4026
|
/**
|
|
3286
|
-
* 查询结束时间,本地unix时间戳(
|
|
4027
|
+
* 查询结束时间,本地unix时间戳(1588058615s)
|
|
3287
4028
|
* @type {number || null}
|
|
3288
4029
|
*/
|
|
3289
4030
|
this.EndTime = null;
|
|
@@ -3382,6 +4123,34 @@ class AbnormalExperience extends AbstractModel {
|
|
|
3382
4123
|
}
|
|
3383
4124
|
}
|
|
3384
4125
|
|
|
4126
|
+
/**
|
|
4127
|
+
* StartMCUMixTranscode返回参数结构体
|
|
4128
|
+
* @class
|
|
4129
|
+
*/
|
|
4130
|
+
class StartMCUMixTranscodeResponse extends AbstractModel {
|
|
4131
|
+
constructor(){
|
|
4132
|
+
super();
|
|
4133
|
+
|
|
4134
|
+
/**
|
|
4135
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4136
|
+
* @type {string || null}
|
|
4137
|
+
*/
|
|
4138
|
+
this.RequestId = null;
|
|
4139
|
+
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
/**
|
|
4143
|
+
* @private
|
|
4144
|
+
*/
|
|
4145
|
+
deserialize(params) {
|
|
4146
|
+
if (!params) {
|
|
4147
|
+
return;
|
|
4148
|
+
}
|
|
4149
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4150
|
+
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
|
|
3385
4154
|
/**
|
|
3386
4155
|
* 房间信息列表
|
|
3387
4156
|
* @class
|
|
@@ -3495,29 +4264,35 @@ class WaterMarkParams extends AbstractModel {
|
|
|
3495
4264
|
this.WaterMarkId = null;
|
|
3496
4265
|
|
|
3497
4266
|
/**
|
|
3498
|
-
*
|
|
4267
|
+
* 混流-水印宽。单位为像素值。水印宽+X偏移不能超过整个画布宽。
|
|
3499
4268
|
* @type {number || null}
|
|
3500
4269
|
*/
|
|
3501
4270
|
this.WaterMarkWidth = null;
|
|
3502
4271
|
|
|
3503
4272
|
/**
|
|
3504
|
-
*
|
|
4273
|
+
* 混流-水印高。单位为像素值。水印高+Y偏移不能超过整个画布高。
|
|
3505
4274
|
* @type {number || null}
|
|
3506
4275
|
*/
|
|
3507
4276
|
this.WaterMarkHeight = null;
|
|
3508
4277
|
|
|
3509
4278
|
/**
|
|
3510
|
-
* 水印在输出时的X
|
|
4279
|
+
* 水印在输出时的X偏移。单位为像素值。水印宽+X偏移不能超过整个画布宽。
|
|
3511
4280
|
* @type {number || null}
|
|
3512
4281
|
*/
|
|
3513
4282
|
this.LocationX = null;
|
|
3514
4283
|
|
|
3515
4284
|
/**
|
|
3516
|
-
* 水印在输出时的Y
|
|
4285
|
+
* 水印在输出时的Y偏移。单位为像素值。水印高+Y偏移不能超过整个画布高。
|
|
3517
4286
|
* @type {number || null}
|
|
3518
4287
|
*/
|
|
3519
4288
|
this.LocationY = null;
|
|
3520
4289
|
|
|
4290
|
+
/**
|
|
4291
|
+
* 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过2MB。
|
|
4292
|
+
* @type {string || null}
|
|
4293
|
+
*/
|
|
4294
|
+
this.WaterMarkUrl = null;
|
|
4295
|
+
|
|
3521
4296
|
}
|
|
3522
4297
|
|
|
3523
4298
|
/**
|
|
@@ -3532,6 +4307,7 @@ class WaterMarkParams extends AbstractModel {
|
|
|
3532
4307
|
this.WaterMarkHeight = 'WaterMarkHeight' in params ? params.WaterMarkHeight : null;
|
|
3533
4308
|
this.LocationX = 'LocationX' in params ? params.LocationX : null;
|
|
3534
4309
|
this.LocationY = 'LocationY' in params ? params.LocationY : null;
|
|
4310
|
+
this.WaterMarkUrl = 'WaterMarkUrl' in params ? params.WaterMarkUrl : null;
|
|
3535
4311
|
|
|
3536
4312
|
}
|
|
3537
4313
|
}
|
|
@@ -3687,48 +4463,24 @@ class StartMCUMixTranscodeByStrRoomIdResponse extends AbstractModel {
|
|
|
3687
4463
|
}
|
|
3688
4464
|
|
|
3689
4465
|
/**
|
|
3690
|
-
*
|
|
4466
|
+
* ModifyCloudRecording返回参数结构体
|
|
3691
4467
|
* @class
|
|
3692
4468
|
*/
|
|
3693
|
-
class
|
|
4469
|
+
class ModifyCloudRecordingResponse extends AbstractModel {
|
|
3694
4470
|
constructor(){
|
|
3695
4471
|
super();
|
|
3696
4472
|
|
|
3697
4473
|
/**
|
|
3698
|
-
*
|
|
3699
|
-
* @type {
|
|
3700
|
-
*/
|
|
3701
|
-
this.Height = null;
|
|
3702
|
-
|
|
3703
|
-
/**
|
|
3704
|
-
* 图片宽度
|
|
3705
|
-
* @type {number || null}
|
|
3706
|
-
*/
|
|
3707
|
-
this.Width = null;
|
|
3708
|
-
|
|
3709
|
-
/**
|
|
3710
|
-
* 显示位置x轴方向
|
|
3711
|
-
* @type {number || null}
|
|
3712
|
-
*/
|
|
3713
|
-
this.XPosition = null;
|
|
3714
|
-
|
|
3715
|
-
/**
|
|
3716
|
-
* 显示位置y轴方向
|
|
3717
|
-
* @type {number || null}
|
|
3718
|
-
*/
|
|
3719
|
-
this.YPosition = null;
|
|
3720
|
-
|
|
3721
|
-
/**
|
|
3722
|
-
* 应用id
|
|
3723
|
-
* @type {number || null}
|
|
4474
|
+
* 云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。
|
|
4475
|
+
* @type {string || null}
|
|
3724
4476
|
*/
|
|
3725
|
-
this.
|
|
4477
|
+
this.TaskId = null;
|
|
3726
4478
|
|
|
3727
4479
|
/**
|
|
3728
|
-
*
|
|
3729
|
-
* @type {
|
|
4480
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4481
|
+
* @type {string || null}
|
|
3730
4482
|
*/
|
|
3731
|
-
this.
|
|
4483
|
+
this.RequestId = null;
|
|
3732
4484
|
|
|
3733
4485
|
}
|
|
3734
4486
|
|
|
@@ -3739,83 +4491,90 @@ class PictureInfo extends AbstractModel {
|
|
|
3739
4491
|
if (!params) {
|
|
3740
4492
|
return;
|
|
3741
4493
|
}
|
|
3742
|
-
this.
|
|
3743
|
-
this.
|
|
3744
|
-
this.XPosition = 'XPosition' in params ? params.XPosition : null;
|
|
3745
|
-
this.YPosition = 'YPosition' in params ? params.YPosition : null;
|
|
3746
|
-
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3747
|
-
this.PictureId = 'PictureId' in params ? params.PictureId : null;
|
|
4494
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4495
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3748
4496
|
|
|
3749
4497
|
}
|
|
3750
4498
|
}
|
|
3751
4499
|
|
|
3752
4500
|
module.exports = {
|
|
4501
|
+
DismissRoomByStrRoomIdRequest: DismissRoomByStrRoomIdRequest,
|
|
3753
4502
|
DescribeAbnormalEventResponse: DescribeAbnormalEventResponse,
|
|
3754
|
-
|
|
4503
|
+
CloudStorage: CloudStorage,
|
|
3755
4504
|
DescribeAbnormalEventRequest: DescribeAbnormalEventRequest,
|
|
3756
|
-
|
|
4505
|
+
SdkAppIdTrtcMcuTranscodeTimeUsage: SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
3757
4506
|
ModifyPictureResponse: ModifyPictureResponse,
|
|
3758
|
-
|
|
3759
|
-
|
|
4507
|
+
RemoveUserRequest: RemoveUserRequest,
|
|
4508
|
+
DescribeCloudRecordingResponse: DescribeCloudRecordingResponse,
|
|
3760
4509
|
TimeValue: TimeValue,
|
|
4510
|
+
StartMCUMixTranscodeByStrRoomIdRequest: StartMCUMixTranscodeByStrRoomIdRequest,
|
|
3761
4511
|
CreatePictureRequest: CreatePictureRequest,
|
|
3762
4512
|
DescribeTrtcMcuTranscodeTimeRequest: DescribeTrtcMcuTranscodeTimeRequest,
|
|
3763
|
-
|
|
4513
|
+
StopMCUMixTranscodeResponse: StopMCUMixTranscodeResponse,
|
|
3764
4514
|
RemoveUserByStrRoomIdRequest: RemoveUserByStrRoomIdRequest,
|
|
3765
|
-
|
|
4515
|
+
SubscribeStreamUserIds: SubscribeStreamUserIds,
|
|
4516
|
+
MixLayoutParams: MixLayoutParams,
|
|
3766
4517
|
DismissRoomResponse: DismissRoomResponse,
|
|
3767
|
-
|
|
4518
|
+
EventMessage: EventMessage,
|
|
3768
4519
|
DescribeRecordStatisticRequest: DescribeRecordStatisticRequest,
|
|
3769
4520
|
DescribeUserInformationRequest: DescribeUserInformationRequest,
|
|
3770
4521
|
DescribeCallDetailRequest: DescribeCallDetailRequest,
|
|
3771
|
-
|
|
3772
|
-
|
|
4522
|
+
ScaleInfomation: ScaleInfomation,
|
|
4523
|
+
StorageParams: StorageParams,
|
|
4524
|
+
CloudVod: CloudVod,
|
|
3773
4525
|
EncodeParams: EncodeParams,
|
|
3774
|
-
|
|
4526
|
+
ModifyPictureRequest: ModifyPictureRequest,
|
|
3775
4527
|
StartMCUMixTranscodeRequest: StartMCUMixTranscodeRequest,
|
|
3776
|
-
|
|
4528
|
+
DescribeCloudRecordingRequest: DescribeCloudRecordingRequest,
|
|
4529
|
+
TencentVod: TencentVod,
|
|
4530
|
+
RecordParams: RecordParams,
|
|
3777
4531
|
StopMCUMixTranscodeRequest: StopMCUMixTranscodeRequest,
|
|
3778
4532
|
UserInformation: UserInformation,
|
|
4533
|
+
MixLayout: MixLayout,
|
|
3779
4534
|
DescribeHistoryScaleRequest: DescribeHistoryScaleRequest,
|
|
3780
4535
|
DeletePictureRequest: DeletePictureRequest,
|
|
4536
|
+
LayoutParams: LayoutParams,
|
|
3781
4537
|
DescribeRoomInformationResponse: DescribeRoomInformationResponse,
|
|
3782
4538
|
RecordUsage: RecordUsage,
|
|
3783
|
-
|
|
4539
|
+
CreateCloudRecordingRequest: CreateCloudRecordingRequest,
|
|
3784
4540
|
OutputParams: OutputParams,
|
|
3785
|
-
|
|
3786
|
-
|
|
4541
|
+
WaterMark: WaterMark,
|
|
4542
|
+
DeleteCloudRecordingResponse: DeleteCloudRecordingResponse,
|
|
4543
|
+
MixTranscodeParams: MixTranscodeParams,
|
|
3787
4544
|
CreateTroubleInfoResponse: CreateTroubleInfoResponse,
|
|
3788
4545
|
StopMCUMixTranscodeByStrRoomIdRequest: StopMCUMixTranscodeByStrRoomIdRequest,
|
|
3789
4546
|
QualityData: QualityData,
|
|
3790
4547
|
AbnormalEvent: AbnormalEvent,
|
|
4548
|
+
RemoveUserByStrRoomIdResponse: RemoveUserByStrRoomIdResponse,
|
|
3791
4549
|
StopMCUMixTranscodeByStrRoomIdResponse: StopMCUMixTranscodeByStrRoomIdResponse,
|
|
3792
|
-
DescribeRealtimeQualityRequest: DescribeRealtimeQualityRequest,
|
|
3793
4550
|
DeletePictureResponse: DeletePictureResponse,
|
|
3794
|
-
|
|
4551
|
+
ModifyCloudRecordingRequest: ModifyCloudRecordingRequest,
|
|
3795
4552
|
CreateTroubleInfoRequest: CreateTroubleInfoRequest,
|
|
3796
4553
|
EventList: EventList,
|
|
3797
|
-
|
|
4554
|
+
StorageFile: StorageFile,
|
|
4555
|
+
PictureInfo: PictureInfo,
|
|
4556
|
+
DescribeUserInformationResponse: DescribeUserInformationResponse,
|
|
3798
4557
|
DescribeDetailEventResponse: DescribeDetailEventResponse,
|
|
3799
|
-
|
|
3800
|
-
|
|
4558
|
+
CreateCloudRecordingResponse: CreateCloudRecordingResponse,
|
|
4559
|
+
DescribeCallDetailResponse: DescribeCallDetailResponse,
|
|
3801
4560
|
OneSdkAppIdTranscodeTimeUsagesInfo: OneSdkAppIdTranscodeTimeUsagesInfo,
|
|
3802
4561
|
DescribeTrtcMcuTranscodeTimeResponse: DescribeTrtcMcuTranscodeTimeResponse,
|
|
4562
|
+
DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
|
|
3803
4563
|
DescribePictureRequest: DescribePictureRequest,
|
|
3804
4564
|
SdkAppIdRecordUsage: SdkAppIdRecordUsage,
|
|
3805
|
-
OneSdkAppIdUsagesInfo: OneSdkAppIdUsagesInfo,
|
|
3806
4565
|
SmallVideoLayoutParams: SmallVideoLayoutParams,
|
|
3807
4566
|
RemoveUserResponse: RemoveUserResponse,
|
|
3808
4567
|
PresetLayoutConfig: PresetLayoutConfig,
|
|
3809
|
-
|
|
3810
|
-
|
|
4568
|
+
VideoParams: VideoParams,
|
|
4569
|
+
AudioParams: AudioParams,
|
|
3811
4570
|
DescribePictureResponse: DescribePictureResponse,
|
|
3812
|
-
|
|
3813
|
-
|
|
4571
|
+
WaterMarkImage: WaterMarkImage,
|
|
4572
|
+
DismissRoomRequest: DismissRoomRequest,
|
|
3814
4573
|
PublishCdnParams: PublishCdnParams,
|
|
3815
4574
|
DescribeRoomInformationRequest: DescribeRoomInformationRequest,
|
|
3816
|
-
ScaleInfomation: ScaleInfomation,
|
|
3817
4575
|
DescribeDetailEventRequest: DescribeDetailEventRequest,
|
|
3818
4576
|
AbnormalExperience: AbnormalExperience,
|
|
4577
|
+
StartMCUMixTranscodeResponse: StartMCUMixTranscodeResponse,
|
|
3819
4578
|
RoomState: RoomState,
|
|
3820
4579
|
CreatePictureResponse: CreatePictureResponse,
|
|
3821
4580
|
WaterMarkParams: WaterMarkParams,
|
|
@@ -3823,6 +4582,6 @@ module.exports = {
|
|
|
3823
4582
|
DismissRoomByStrRoomIdResponse: DismissRoomByStrRoomIdResponse,
|
|
3824
4583
|
DescribeHistoryScaleResponse: DescribeHistoryScaleResponse,
|
|
3825
4584
|
StartMCUMixTranscodeByStrRoomIdResponse: StartMCUMixTranscodeByStrRoomIdResponse,
|
|
3826
|
-
|
|
4585
|
+
ModifyCloudRecordingResponse: ModifyCloudRecordingResponse,
|
|
3827
4586
|
|
|
3828
4587
|
}
|