tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aai/v20180522/aai_client_async.py +100 -0
- tencentcloud/aca/v20210323/aca_client_async.py +170 -0
- tencentcloud/acp/v20220105/acp_client_async.py +170 -0
- tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
- tencentcloud/af/v20200226/af_client_async.py +86 -0
- tencentcloud/afc/v20200226/afc_client_async.py +82 -0
- tencentcloud/ags/v20250920/ags_client_async.py +243 -0
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
- tencentcloud/ame/v20190916/ame_client_async.py +586 -0
- tencentcloud/ams/v20200608/ams_client_async.py +179 -0
- tencentcloud/ams/v20201229/ams_client_async.py +169 -0
- tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
- tencentcloud/ape/v20200513/ape_client_async.py +170 -0
- tencentcloud/api/v20201106/api_client_async.py +80 -0
- tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
- tencentcloud/apm/v20210622/apm_client_async.py +495 -0
- tencentcloud/asr/v20190614/asr_client_async.py +647 -0
- tencentcloud/asw/v20200722/asw_client_async.py +188 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
- tencentcloud/autoscaling/v20180419/models.py +36 -0
- tencentcloud/ba/v20200720/ba_client_async.py +81 -0
- tencentcloud/batch/v20170312/batch_client_async.py +582 -0
- tencentcloud/bda/v20200324/bda_client_async.py +116 -0
- tencentcloud/bh/v20230418/bh_client.py +230 -0
- tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
- tencentcloud/bh/v20230418/models.py +1677 -216
- tencentcloud/bi/v20220105/bi_client_async.py +548 -0
- tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
- tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
- tencentcloud/bma/v20210624/bma_client_async.py +530 -0
- tencentcloud/bma/v20221115/bma_client_async.py +224 -0
- tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
- tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
- tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
- tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
- tencentcloud/bri/v20190328/bri_client_async.py +58 -0
- tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
- tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
- tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
- tencentcloud/ca/v20230228/ca_client_async.py +80 -0
- tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
- tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
- tencentcloud/car/v20220110/car_client_async.py +134 -0
- tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
- tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
- tencentcloud/cdb/v20170320/models.py +74 -44
- tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
- tencentcloud/cds/v20180420/cds_client_async.py +116 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
- tencentcloud/cdwch/v20200915/models.py +34 -4
- tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
- tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
- tencentcloud/cfs/v20190719/models.py +40 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
- tencentcloud/cfw/v20190904/models.py +784 -8
- tencentcloud/chc/v20230418/chc_client_async.py +710 -0
- tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
- tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
- tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
- tencentcloud/cii/v20201210/cii_client_async.py +80 -0
- tencentcloud/cii/v20210408/cii_client_async.py +262 -0
- tencentcloud/cim/v20190318/cim_client_async.py +44 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
- tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
- tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- tencentcloud/ckafka/v20190819/models.py +741 -62
- tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- tencentcloud/cloudhsm/v20191112/models.py +49 -0
- tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
- tencentcloud/cls/v20201016/models.py +1427 -74
- tencentcloud/cme/v20191029/cme_client_async.py +983 -0
- tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
- tencentcloud/cms/v20190321/cms_client_async.py +134 -0
- tencentcloud/common/abstract_client_async.py +654 -0
- tencentcloud/common/common_client_async.py +45 -0
- tencentcloud/common/http/request_async.py +62 -0
- tencentcloud/common/retry_async.py +87 -0
- tencentcloud/config/v20220802/config_client_async.py +152 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
- tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
- tencentcloud/csip/v20221121/models.py +105 -0
- tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
- tencentcloud/ctem/v20231128/ctem_client.py +644 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
- tencentcloud/ctem/v20231128/models.py +4999 -711
- tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
- tencentcloud/cws/v20180312/cws_client_async.py +368 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
- tencentcloud/cynosdb/v20190107/models.py +99 -2
- tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
- tencentcloud/dataagent/v20250513/models.py +15 -0
- tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
- tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
- tencentcloud/dbbrain/v20210527/models.py +463 -12
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dlc/v20210125/models.py +1424 -17
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
- tencentcloud/drm/v20181115/drm_client_async.py +231 -0
- tencentcloud/ds/v20180523/ds_client_async.py +244 -0
- tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
- tencentcloud/dsgc/v20190723/models.py +36 -36
- tencentcloud/dts/v20180330/dts_client_async.py +438 -0
- tencentcloud/dts/v20211206/dts_client.py +184 -0
- tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
- tencentcloud/dts/v20211206/models.py +1275 -98
- tencentcloud/eb/v20210416/eb_client_async.py +602 -0
- tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
- tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
- tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
- tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
- tencentcloud/eis/v20200715/eis_client_async.py +80 -0
- tencentcloud/eis/v20210601/eis_client_async.py +116 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
- tencentcloud/emr/v20190103/models.py +395 -0
- tencentcloud/es/v20180416/es_client_async.py +1209 -0
- tencentcloud/es/v20250101/es_client.py +6 -5
- tencentcloud/es/v20250101/es_client_async.py +216 -0
- tencentcloud/es/v20250101/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +6 -2
- tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
- tencentcloud/ess/v20201111/models.py +468 -19
- tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
- tencentcloud/essbasic/v20210526/models.py +320 -6
- tencentcloud/evt/__init__.py +0 -0
- tencentcloud/evt/v20250217/__init__.py +0 -0
- tencentcloud/evt/v20250217/errorcodes.py +15 -0
- tencentcloud/evt/v20250217/evt_client.py +49 -0
- tencentcloud/evt/v20250217/evt_client_async.py +44 -0
- tencentcloud/evt/v20250217/models.py +228 -0
- tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
- tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
- tencentcloud/faceid/v20180301/errorcodes.py +0 -6
- tencentcloud/faceid/v20180301/faceid_client.py +0 -23
- tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
- tencentcloud/faceid/v20180301/models.py +45 -195
- tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
- tencentcloud/ft/v20200304/ft_client_async.py +134 -0
- tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
- tencentcloud/gme/v20180711/gme_client_async.py +865 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
- tencentcloud/gs/v20191118/models.py +227 -0
- tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
- tencentcloud/habo/v20181203/habo_client_async.py +62 -0
- tencentcloud/hai/v20230812/hai_client_async.py +316 -0
- tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
- tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -44
- tencentcloud/iai/v20180301/iai_client_async.py +728 -0
- tencentcloud/iai/v20180301/models.py +0 -171
- tencentcloud/iai/v20200303/iai_client.py +1 -35
- tencentcloud/iai/v20200303/iai_client_async.py +802 -0
- tencentcloud/iai/v20200303/models.py +0 -175
- tencentcloud/iap/v20240713/iap_client_async.py +134 -0
- tencentcloud/ic/v20190307/ic_client_async.py +193 -0
- tencentcloud/icr/v20211014/icr_client_async.py +44 -0
- tencentcloud/ie/v20200304/ie_client_async.py +206 -0
- tencentcloud/ig/v20210518/ig_client_async.py +44 -0
- tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
- tencentcloud/igtm/v20231024/models.py +110 -0
- tencentcloud/ims/v20200713/ims_client_async.py +60 -0
- tencentcloud/ims/v20201229/ims_client_async.py +132 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
- tencentcloud/iot/v20180123/iot_client_async.py +838 -0
- tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
- tencentcloud/iotexplorer/v20190423/models.py +1669 -337
- tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
- tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
- tencentcloud/irp/v20220324/irp_client_async.py +98 -0
- tencentcloud/irp/v20220805/irp_client_async.py +152 -0
- tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
- tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
- tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
- tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
- tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud/live/v20180801/live_client_async.py +3758 -0
- tencentcloud/live/v20180801/models.py +0 -282
- tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
- tencentcloud/lke/v20231130/models.py +82 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
- tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
- tencentcloud/mall/v20230518/mall_client_async.py +44 -0
- tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
- tencentcloud/market/v20191010/market_client_async.py +62 -0
- tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
- tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
- tencentcloud/mna/v20210119/mna_client_async.py +764 -0
- tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +390 -2
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
- tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +2329 -290
- tencentcloud/mps/v20190612/mps_client.py +232 -0
- tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
- tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
- tencentcloud/ms/v20180408/ms_client_async.py +450 -0
- tencentcloud/msp/v20180319/msp_client_async.py +154 -0
- tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
- tencentcloud/npp/v20190823/npp_client_async.py +170 -0
- tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
- tencentcloud/ocr/v20181119/models.py +232 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
- tencentcloud/omics/v20221128/omics_client_async.py +386 -0
- tencentcloud/organization/v20181225/organization_client_async.py +386 -0
- tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
- tencentcloud/partners/v20180321/partners_client_async.py +444 -0
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +783 -17
- tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
- tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
- tencentcloud/pts/v20210728/pts_client_async.py +890 -0
- tencentcloud/rce/v20201103/rce_client_async.py +224 -0
- tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
- tencentcloud/region/v20220627/region_client_async.py +80 -0
- tencentcloud/rum/v20210622/rum_client_async.py +999 -0
- tencentcloud/scf/v20180416/errorcodes.py +6 -0
- tencentcloud/scf/v20180416/models.py +263 -0
- tencentcloud/scf/v20180416/scf_client_async.py +984 -0
- tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
- tencentcloud/ses/v20201002/ses_client_async.py +657 -0
- tencentcloud/smh/v20210712/smh_client_async.py +296 -0
- tencentcloud/smop/v20201203/smop_client_async.py +46 -0
- tencentcloud/sms/v20190711/sms_client_async.py +326 -0
- tencentcloud/sms/v20210111/sms_client_async.py +365 -0
- tencentcloud/soe/v20180724/soe_client_async.py +98 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
- tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
- tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
- tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
- tencentcloud/sts/v20180813/sts_client_async.py +205 -0
- tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- tencentcloud/taf/v20200210/taf_client_async.py +44 -0
- tencentcloud/tag/v20180813/tag_client_async.py +584 -0
- tencentcloud/tat/v20201028/tat_client_async.py +565 -0
- tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
- tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
- tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
- tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
- tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
- tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
- tencentcloud/tdai/v20250717/models.py +55 -10
- tencentcloud/tdai/v20250717/tdai_client.py +1 -1
- tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
- tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
- tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +636 -904
- tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
- tencentcloud/tds/v20220801/tds_client_async.py +116 -0
- tencentcloud/tem/v20201221/tem_client_async.py +332 -0
- tencentcloud/tem/v20210701/tem_client_async.py +949 -0
- tencentcloud/teo/v20220106/teo_client_async.py +120 -0
- tencentcloud/teo/v20220901/models.py +267 -4
- tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
- tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
- tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
- tencentcloud/thpc/v20230321/models.py +30 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
- tencentcloud/tia/v20180226/tia_client_async.py +206 -0
- tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
- tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +3129 -288
- tencentcloud/tke/v20180525/tke_client.py +414 -0
- tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
- tencentcloud/tke/v20220501/tke_client_async.py +343 -0
- tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
- tencentcloud/tms/v20200713/tms_client_async.py +98 -0
- tencentcloud/tms/v20201229/tms_client_async.py +97 -0
- tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
- tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
- tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
- tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
- tencentcloud/trro/v20220325/trro_client_async.py +588 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +21 -6
- tencentcloud/trtc/v20190722/trtc_client.py +1 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
- tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
- tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
- tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
- tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
- tencentcloud/tts/v20190823/tts_client_async.py +107 -0
- tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +415 -16
- tencentcloud/vclm/v20240523/vclm_client.py +47 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
- tencentcloud/vcube/v20220410/models.py +98 -0
- tencentcloud/vcube/v20220410/vcube_client.py +46 -0
- tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
- tencentcloud/vm/v20200709/vm_client_async.py +120 -0
- tencentcloud/vm/v20201229/vm_client_async.py +139 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client_async.py +148 -0
- tencentcloud/vms/v20200902/vms_client_async.py +62 -0
- tencentcloud/vod/v20180717/models.py +6 -2
- tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
- tencentcloud/vod/v20240718/vod_client_async.py +160 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
- tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
- tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
- tencentcloud/waf/v20180125/models.py +3924 -0
- tencentcloud/waf/v20180125/waf_client.py +230 -0
- tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
- tencentcloud/wav/v20210129/wav_client_async.py +494 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
- tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
- tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
- tencentcloud/wss/v20180426/wss_client_async.py +80 -0
- tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
- tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
- tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
- tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3758 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.live.v20180801 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class LiveClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2018-08-01'
|
|
25
|
+
_endpoint = 'live.tencentcloudapi.com'
|
|
26
|
+
_service = 'live'
|
|
27
|
+
|
|
28
|
+
async def AddCasterInputInfo(
|
|
29
|
+
self,
|
|
30
|
+
request: models.AddCasterInputInfoRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.AddCasterInputInfoResponse:
|
|
33
|
+
"""
|
|
34
|
+
该接口用来向导播台中添加一个输入源,该输入源可以是拉流地址、或是一个文件链接
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "AddCasterInputInfo"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.AddCasterInputInfoResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def AddCasterLayoutInfo(
|
|
47
|
+
self,
|
|
48
|
+
request: models.AddCasterLayoutInfoRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.AddCasterLayoutInfoResponse:
|
|
51
|
+
"""
|
|
52
|
+
该接口用来增加导播台的布局参数。
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "AddCasterLayoutInfo"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.AddCasterLayoutInfoResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def AddCasterMarkPicInfo(
|
|
65
|
+
self,
|
|
66
|
+
request: models.AddCasterMarkPicInfoRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.AddCasterMarkPicInfoResponse:
|
|
69
|
+
"""
|
|
70
|
+
该接口用来新增图片水印。
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "AddCasterMarkPicInfo"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.AddCasterMarkPicInfoResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def AddCasterMarkWordInfo(
|
|
83
|
+
self,
|
|
84
|
+
request: models.AddCasterMarkWordInfoRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.AddCasterMarkWordInfoResponse:
|
|
87
|
+
"""
|
|
88
|
+
为导播台添加文本配置。
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "AddCasterMarkWordInfo"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.AddCasterMarkWordInfoResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def AddCasterOutputInfo(
|
|
101
|
+
self,
|
|
102
|
+
request: models.AddCasterOutputInfoRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.AddCasterOutputInfoResponse:
|
|
105
|
+
"""
|
|
106
|
+
该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "AddCasterOutputInfo"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.AddCasterOutputInfoResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def AddDelayLiveStream(
|
|
119
|
+
self,
|
|
120
|
+
request: models.AddDelayLiveStreamRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.AddDelayLiveStreamResponse:
|
|
123
|
+
"""
|
|
124
|
+
针对大型活动直播,通过对直播流设置延时来控制现场与观众播放画面的时间间隔,避免突发状况造成影响。
|
|
125
|
+
|
|
126
|
+
注意:如果在推流前设置延播,需要提前5分钟设置,目前该接口只支持流粒度。
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
kwargs = {}
|
|
130
|
+
kwargs["action"] = "AddDelayLiveStream"
|
|
131
|
+
kwargs["params"] = request._serialize()
|
|
132
|
+
kwargs["resp_cls"] = models.AddDelayLiveStreamResponse
|
|
133
|
+
kwargs["headers"] = request.headers
|
|
134
|
+
kwargs["opts"] = opts or {}
|
|
135
|
+
|
|
136
|
+
return await self.call_and_deserialize(**kwargs)
|
|
137
|
+
|
|
138
|
+
async def AddLiveDomain(
|
|
139
|
+
self,
|
|
140
|
+
request: models.AddLiveDomainRequest,
|
|
141
|
+
opts: Dict = None,
|
|
142
|
+
) -> models.AddLiveDomainResponse:
|
|
143
|
+
"""
|
|
144
|
+
添加域名,一次只能提交一个域名。域名必须已备案。
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
kwargs = {}
|
|
148
|
+
kwargs["action"] = "AddLiveDomain"
|
|
149
|
+
kwargs["params"] = request._serialize()
|
|
150
|
+
kwargs["resp_cls"] = models.AddLiveDomainResponse
|
|
151
|
+
kwargs["headers"] = request.headers
|
|
152
|
+
kwargs["opts"] = opts or {}
|
|
153
|
+
|
|
154
|
+
return await self.call_and_deserialize(**kwargs)
|
|
155
|
+
|
|
156
|
+
async def AddLiveWatermark(
|
|
157
|
+
self,
|
|
158
|
+
request: models.AddLiveWatermarkRequest,
|
|
159
|
+
opts: Dict = None,
|
|
160
|
+
) -> models.AddLiveWatermarkResponse:
|
|
161
|
+
"""
|
|
162
|
+
添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。 水印数量上限 100,超过后需要先删除,再添加。
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
kwargs = {}
|
|
166
|
+
kwargs["action"] = "AddLiveWatermark"
|
|
167
|
+
kwargs["params"] = request._serialize()
|
|
168
|
+
kwargs["resp_cls"] = models.AddLiveWatermarkResponse
|
|
169
|
+
kwargs["headers"] = request.headers
|
|
170
|
+
kwargs["opts"] = opts or {}
|
|
171
|
+
|
|
172
|
+
return await self.call_and_deserialize(**kwargs)
|
|
173
|
+
|
|
174
|
+
async def AuthenticateDomainOwner(
|
|
175
|
+
self,
|
|
176
|
+
request: models.AuthenticateDomainOwnerRequest,
|
|
177
|
+
opts: Dict = None,
|
|
178
|
+
) -> models.AuthenticateDomainOwnerResponse:
|
|
179
|
+
"""
|
|
180
|
+
验证用户是否拥有特定直播域名。
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
kwargs = {}
|
|
184
|
+
kwargs["action"] = "AuthenticateDomainOwner"
|
|
185
|
+
kwargs["params"] = request._serialize()
|
|
186
|
+
kwargs["resp_cls"] = models.AuthenticateDomainOwnerResponse
|
|
187
|
+
kwargs["headers"] = request.headers
|
|
188
|
+
kwargs["opts"] = opts or {}
|
|
189
|
+
|
|
190
|
+
return await self.call_and_deserialize(**kwargs)
|
|
191
|
+
|
|
192
|
+
async def CancelCommonMixStream(
|
|
193
|
+
self,
|
|
194
|
+
request: models.CancelCommonMixStreamRequest,
|
|
195
|
+
opts: Dict = None,
|
|
196
|
+
) -> models.CancelCommonMixStreamResponse:
|
|
197
|
+
"""
|
|
198
|
+
该接口用来取消混流。用法与 mix_streamv2.cancel_mix_stream 基本一致。
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
kwargs = {}
|
|
202
|
+
kwargs["action"] = "CancelCommonMixStream"
|
|
203
|
+
kwargs["params"] = request._serialize()
|
|
204
|
+
kwargs["resp_cls"] = models.CancelCommonMixStreamResponse
|
|
205
|
+
kwargs["headers"] = request.headers
|
|
206
|
+
kwargs["opts"] = opts or {}
|
|
207
|
+
|
|
208
|
+
return await self.call_and_deserialize(**kwargs)
|
|
209
|
+
|
|
210
|
+
async def CopyCaster(
|
|
211
|
+
self,
|
|
212
|
+
request: models.CopyCasterRequest,
|
|
213
|
+
opts: Dict = None,
|
|
214
|
+
) -> models.CopyCasterResponse:
|
|
215
|
+
"""
|
|
216
|
+
该接口用来复制导播台配置
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
kwargs = {}
|
|
220
|
+
kwargs["action"] = "CopyCaster"
|
|
221
|
+
kwargs["params"] = request._serialize()
|
|
222
|
+
kwargs["resp_cls"] = models.CopyCasterResponse
|
|
223
|
+
kwargs["headers"] = request.headers
|
|
224
|
+
kwargs["opts"] = opts or {}
|
|
225
|
+
|
|
226
|
+
return await self.call_and_deserialize(**kwargs)
|
|
227
|
+
|
|
228
|
+
async def CreateAuditKeywords(
|
|
229
|
+
self,
|
|
230
|
+
request: models.CreateAuditKeywordsRequest,
|
|
231
|
+
opts: Dict = None,
|
|
232
|
+
) -> models.CreateAuditKeywordsResponse:
|
|
233
|
+
"""
|
|
234
|
+
创建关键词,并关联到关键词库。
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
kwargs = {}
|
|
238
|
+
kwargs["action"] = "CreateAuditKeywords"
|
|
239
|
+
kwargs["params"] = request._serialize()
|
|
240
|
+
kwargs["resp_cls"] = models.CreateAuditKeywordsResponse
|
|
241
|
+
kwargs["headers"] = request.headers
|
|
242
|
+
kwargs["opts"] = opts or {}
|
|
243
|
+
|
|
244
|
+
return await self.call_and_deserialize(**kwargs)
|
|
245
|
+
|
|
246
|
+
async def CreateCaster(
|
|
247
|
+
self,
|
|
248
|
+
request: models.CreateCasterRequest,
|
|
249
|
+
opts: Dict = None,
|
|
250
|
+
) -> models.CreateCasterResponse:
|
|
251
|
+
"""
|
|
252
|
+
该接口用来创建新的导播台
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
kwargs = {}
|
|
256
|
+
kwargs["action"] = "CreateCaster"
|
|
257
|
+
kwargs["params"] = request._serialize()
|
|
258
|
+
kwargs["resp_cls"] = models.CreateCasterResponse
|
|
259
|
+
kwargs["headers"] = request.headers
|
|
260
|
+
kwargs["opts"] = opts or {}
|
|
261
|
+
|
|
262
|
+
return await self.call_and_deserialize(**kwargs)
|
|
263
|
+
|
|
264
|
+
async def CreateCasterInputPushUrl(
|
|
265
|
+
self,
|
|
266
|
+
request: models.CreateCasterInputPushUrlRequest,
|
|
267
|
+
opts: Dict = None,
|
|
268
|
+
) -> models.CreateCasterInputPushUrlResponse:
|
|
269
|
+
"""
|
|
270
|
+
该接口用来生成导播台推流地址
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
kwargs = {}
|
|
274
|
+
kwargs["action"] = "CreateCasterInputPushUrl"
|
|
275
|
+
kwargs["params"] = request._serialize()
|
|
276
|
+
kwargs["resp_cls"] = models.CreateCasterInputPushUrlResponse
|
|
277
|
+
kwargs["headers"] = request.headers
|
|
278
|
+
kwargs["opts"] = opts or {}
|
|
279
|
+
|
|
280
|
+
return await self.call_and_deserialize(**kwargs)
|
|
281
|
+
|
|
282
|
+
async def CreateCasterPgm(
|
|
283
|
+
self,
|
|
284
|
+
request: models.CreateCasterPgmRequest,
|
|
285
|
+
opts: Dict = None,
|
|
286
|
+
) -> models.CreateCasterPgmResponse:
|
|
287
|
+
"""
|
|
288
|
+
该接口用来启动主监任务,并将获取主监画面的播放地址。
|
|
289
|
+
"""
|
|
290
|
+
|
|
291
|
+
kwargs = {}
|
|
292
|
+
kwargs["action"] = "CreateCasterPgm"
|
|
293
|
+
kwargs["params"] = request._serialize()
|
|
294
|
+
kwargs["resp_cls"] = models.CreateCasterPgmResponse
|
|
295
|
+
kwargs["headers"] = request.headers
|
|
296
|
+
kwargs["opts"] = opts or {}
|
|
297
|
+
|
|
298
|
+
return await self.call_and_deserialize(**kwargs)
|
|
299
|
+
|
|
300
|
+
async def CreateCasterPgmFromPvw(
|
|
301
|
+
self,
|
|
302
|
+
request: models.CreateCasterPgmFromPvwRequest,
|
|
303
|
+
opts: Dict = None,
|
|
304
|
+
) -> models.CreateCasterPgmFromPvwResponse:
|
|
305
|
+
"""
|
|
306
|
+
该接口用来将预监画面的布局、水印、字幕等配置,复制到主监画面中。
|
|
307
|
+
该接口使用时,预监任务需处于运行状态。
|
|
308
|
+
"""
|
|
309
|
+
|
|
310
|
+
kwargs = {}
|
|
311
|
+
kwargs["action"] = "CreateCasterPgmFromPvw"
|
|
312
|
+
kwargs["params"] = request._serialize()
|
|
313
|
+
kwargs["resp_cls"] = models.CreateCasterPgmFromPvwResponse
|
|
314
|
+
kwargs["headers"] = request.headers
|
|
315
|
+
kwargs["opts"] = opts or {}
|
|
316
|
+
|
|
317
|
+
return await self.call_and_deserialize(**kwargs)
|
|
318
|
+
|
|
319
|
+
async def CreateCasterPvw(
|
|
320
|
+
self,
|
|
321
|
+
request: models.CreateCasterPvwRequest,
|
|
322
|
+
opts: Dict = None,
|
|
323
|
+
) -> models.CreateCasterPvwResponse:
|
|
324
|
+
"""
|
|
325
|
+
该接口用来启动预监任务,并将获取预监画面的播放地址。
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
kwargs = {}
|
|
329
|
+
kwargs["action"] = "CreateCasterPvw"
|
|
330
|
+
kwargs["params"] = request._serialize()
|
|
331
|
+
kwargs["resp_cls"] = models.CreateCasterPvwResponse
|
|
332
|
+
kwargs["headers"] = request.headers
|
|
333
|
+
kwargs["opts"] = opts or {}
|
|
334
|
+
|
|
335
|
+
return await self.call_and_deserialize(**kwargs)
|
|
336
|
+
|
|
337
|
+
async def CreateCommonMixStream(
|
|
338
|
+
self,
|
|
339
|
+
request: models.CreateCommonMixStreamRequest,
|
|
340
|
+
opts: Dict = None,
|
|
341
|
+
) -> models.CreateCommonMixStreamResponse:
|
|
342
|
+
"""
|
|
343
|
+
该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
|
|
344
|
+
注意:当前最多支持16路混流。
|
|
345
|
+
最佳实践:https://cloud.tencent.com/document/product/267/45566
|
|
346
|
+
"""
|
|
347
|
+
|
|
348
|
+
kwargs = {}
|
|
349
|
+
kwargs["action"] = "CreateCommonMixStream"
|
|
350
|
+
kwargs["params"] = request._serialize()
|
|
351
|
+
kwargs["resp_cls"] = models.CreateCommonMixStreamResponse
|
|
352
|
+
kwargs["headers"] = request.headers
|
|
353
|
+
kwargs["opts"] = opts or {}
|
|
354
|
+
|
|
355
|
+
return await self.call_and_deserialize(**kwargs)
|
|
356
|
+
|
|
357
|
+
async def CreateLiveCallbackRule(
|
|
358
|
+
self,
|
|
359
|
+
request: models.CreateLiveCallbackRuleRequest,
|
|
360
|
+
opts: Dict = None,
|
|
361
|
+
) -> models.CreateLiveCallbackRuleResponse:
|
|
362
|
+
"""
|
|
363
|
+
创建回调规则,需要先调用[CreateLiveCallbackTemplate](/document/product/267/32637)接口创建回调模板,将返回的模板id绑定到域名/路径进行使用。
|
|
364
|
+
<br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
|
|
365
|
+
"""
|
|
366
|
+
|
|
367
|
+
kwargs = {}
|
|
368
|
+
kwargs["action"] = "CreateLiveCallbackRule"
|
|
369
|
+
kwargs["params"] = request._serialize()
|
|
370
|
+
kwargs["resp_cls"] = models.CreateLiveCallbackRuleResponse
|
|
371
|
+
kwargs["headers"] = request.headers
|
|
372
|
+
kwargs["opts"] = opts or {}
|
|
373
|
+
|
|
374
|
+
return await self.call_and_deserialize(**kwargs)
|
|
375
|
+
|
|
376
|
+
async def CreateLiveCallbackTemplate(
|
|
377
|
+
self,
|
|
378
|
+
request: models.CreateLiveCallbackTemplateRequest,
|
|
379
|
+
opts: Dict = None,
|
|
380
|
+
) -> models.CreateLiveCallbackTemplateResponse:
|
|
381
|
+
"""
|
|
382
|
+
创建回调模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveCallbackRule](/document/product/267/32638)接口将模板 ID 绑定到域名/路径使用。
|
|
383
|
+
<br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
|
|
384
|
+
注意:至少填写一个回调 URL。
|
|
385
|
+
"""
|
|
386
|
+
|
|
387
|
+
kwargs = {}
|
|
388
|
+
kwargs["action"] = "CreateLiveCallbackTemplate"
|
|
389
|
+
kwargs["params"] = request._serialize()
|
|
390
|
+
kwargs["resp_cls"] = models.CreateLiveCallbackTemplateResponse
|
|
391
|
+
kwargs["headers"] = request.headers
|
|
392
|
+
kwargs["opts"] = opts or {}
|
|
393
|
+
|
|
394
|
+
return await self.call_and_deserialize(**kwargs)
|
|
395
|
+
|
|
396
|
+
async def CreateLivePadRule(
|
|
397
|
+
self,
|
|
398
|
+
request: models.CreateLivePadRuleRequest,
|
|
399
|
+
opts: Dict = None,
|
|
400
|
+
) -> models.CreateLivePadRuleResponse:
|
|
401
|
+
"""
|
|
402
|
+
创建直播垫片规则。
|
|
403
|
+
"""
|
|
404
|
+
|
|
405
|
+
kwargs = {}
|
|
406
|
+
kwargs["action"] = "CreateLivePadRule"
|
|
407
|
+
kwargs["params"] = request._serialize()
|
|
408
|
+
kwargs["resp_cls"] = models.CreateLivePadRuleResponse
|
|
409
|
+
kwargs["headers"] = request.headers
|
|
410
|
+
kwargs["opts"] = opts or {}
|
|
411
|
+
|
|
412
|
+
return await self.call_and_deserialize(**kwargs)
|
|
413
|
+
|
|
414
|
+
async def CreateLivePadTemplate(
|
|
415
|
+
self,
|
|
416
|
+
request: models.CreateLivePadTemplateRequest,
|
|
417
|
+
opts: Dict = None,
|
|
418
|
+
) -> models.CreateLivePadTemplateResponse:
|
|
419
|
+
"""
|
|
420
|
+
创建直播垫片模板。
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
kwargs = {}
|
|
424
|
+
kwargs["action"] = "CreateLivePadTemplate"
|
|
425
|
+
kwargs["params"] = request._serialize()
|
|
426
|
+
kwargs["resp_cls"] = models.CreateLivePadTemplateResponse
|
|
427
|
+
kwargs["headers"] = request.headers
|
|
428
|
+
kwargs["opts"] = opts or {}
|
|
429
|
+
|
|
430
|
+
return await self.call_and_deserialize(**kwargs)
|
|
431
|
+
|
|
432
|
+
async def CreateLivePullStreamTask(
|
|
433
|
+
self,
|
|
434
|
+
request: models.CreateLivePullStreamTaskRequest,
|
|
435
|
+
opts: Dict = None,
|
|
436
|
+
) -> models.CreateLivePullStreamTaskResponse:
|
|
437
|
+
"""
|
|
438
|
+
创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到指定的目标地址。
|
|
439
|
+
注意:
|
|
440
|
+
1. 默认支持任务数上限200个,如有特殊需求,可通过提单到售后进行评估增加上限。
|
|
441
|
+
2. 源流视频编码目前只支持: H264, H265。其他编码格式建议先进行转码处理。
|
|
442
|
+
3. 源流音频编码目前只支持: AAC。其他编码格式建议先进行转码处理。
|
|
443
|
+
4. 可在控制台开启过期自动清理,避免过期任务占用任务数额度。
|
|
444
|
+
5. 拉流转推功能为计费增值服务,计费规则详情可参见[计费文档](https://cloud.tencent.com/document/product/267/53308)。
|
|
445
|
+
6. 拉流转推功能仅提供内容拉取与推送服务,请确保内容已获得授权并符合内容传播相关的法律法规。若内容有侵权或违规相关问题,云直播会停止相关的功能服务并保留追究法律责任的权利。
|
|
446
|
+
"""
|
|
447
|
+
|
|
448
|
+
kwargs = {}
|
|
449
|
+
kwargs["action"] = "CreateLivePullStreamTask"
|
|
450
|
+
kwargs["params"] = request._serialize()
|
|
451
|
+
kwargs["resp_cls"] = models.CreateLivePullStreamTaskResponse
|
|
452
|
+
kwargs["headers"] = request.headers
|
|
453
|
+
kwargs["opts"] = opts or {}
|
|
454
|
+
|
|
455
|
+
return await self.call_and_deserialize(**kwargs)
|
|
456
|
+
|
|
457
|
+
async def CreateLiveRecord(
|
|
458
|
+
self,
|
|
459
|
+
request: models.CreateLiveRecordRequest,
|
|
460
|
+
opts: Dict = None,
|
|
461
|
+
) -> models.CreateLiveRecordResponse:
|
|
462
|
+
"""
|
|
463
|
+
- 使用前提
|
|
464
|
+
1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
|
|
465
|
+
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2838)。
|
|
466
|
+
|
|
467
|
+
- 模式说明
|
|
468
|
+
该接口支持两种录制模式:
|
|
469
|
+
1. 定时录制模式【默认模式】。
|
|
470
|
+
需要传入开始时间与结束时间,录制任务根据起止时间自动开始与结束。在所设置结束时间过期之前(且未调用StopLiveRecord提前终止任务),录制任务都是有效的,期间多次断流然后重推都会启动录制任务。
|
|
471
|
+
2. 实时视频录制模式。
|
|
472
|
+
忽略传入的开始时间,在录制任务创建后立即开始录制,录制时长支持最大为30分钟,如果传入的结束时间与当前时间差大于30分钟,则按30分钟计算,实时视频录制主要用于录制精彩视频场景,时长建议控制在5分钟以内。
|
|
473
|
+
|
|
474
|
+
- 注意事项
|
|
475
|
+
1. 调用接口超时设置应大于3秒,小于3秒重试以及按不同起止时间调用都有可能产生重复录制任务,进而导致额外录制费用。
|
|
476
|
+
2. 受限于音视频文件格式(FLV/MP4/HLS)对编码类型的支持,视频编码类型支持 H.264,音频编码类型支持 AAC。
|
|
477
|
+
3. 为避免恶意或非主观的频繁 API 请求,对定时录制模式最大创建任务数做了限制:其中,当天可以创建的最大任务数不超过4000(不含已删除的任务);当前时刻并发运行的任务数不超过400。有超出此限制的需要提工单申请。
|
|
478
|
+
4. 此调用方式暂时不支持海外推流录制。
|
|
479
|
+
"""
|
|
480
|
+
|
|
481
|
+
kwargs = {}
|
|
482
|
+
kwargs["action"] = "CreateLiveRecord"
|
|
483
|
+
kwargs["params"] = request._serialize()
|
|
484
|
+
kwargs["resp_cls"] = models.CreateLiveRecordResponse
|
|
485
|
+
kwargs["headers"] = request.headers
|
|
486
|
+
kwargs["opts"] = opts or {}
|
|
487
|
+
|
|
488
|
+
return await self.call_and_deserialize(**kwargs)
|
|
489
|
+
|
|
490
|
+
async def CreateLiveRecordRule(
|
|
491
|
+
self,
|
|
492
|
+
request: models.CreateLiveRecordRuleRequest,
|
|
493
|
+
opts: Dict = None,
|
|
494
|
+
) -> models.CreateLiveRecordRuleResponse:
|
|
495
|
+
"""
|
|
496
|
+
创建录制规则,需要先调用[CreateLiveRecordTemplate](/document/product/267/32614)接口创建录制模板,将返回的模板id绑定到流使用。
|
|
497
|
+
<br>录制相关文档:[直播录制](/document/product/267/32739)。
|
|
498
|
+
"""
|
|
499
|
+
|
|
500
|
+
kwargs = {}
|
|
501
|
+
kwargs["action"] = "CreateLiveRecordRule"
|
|
502
|
+
kwargs["params"] = request._serialize()
|
|
503
|
+
kwargs["resp_cls"] = models.CreateLiveRecordRuleResponse
|
|
504
|
+
kwargs["headers"] = request.headers
|
|
505
|
+
kwargs["opts"] = opts or {}
|
|
506
|
+
|
|
507
|
+
return await self.call_and_deserialize(**kwargs)
|
|
508
|
+
|
|
509
|
+
async def CreateLiveRecordTemplate(
|
|
510
|
+
self,
|
|
511
|
+
request: models.CreateLiveRecordTemplateRequest,
|
|
512
|
+
opts: Dict = None,
|
|
513
|
+
) -> models.CreateLiveRecordTemplateResponse:
|
|
514
|
+
"""
|
|
515
|
+
创建录制模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveRecordRule](/document/product/267/32615)接口,将模板id绑定到流进行使用。
|
|
516
|
+
<br>录制相关文档:[直播录制](/document/product/267/32739)。
|
|
517
|
+
"""
|
|
518
|
+
|
|
519
|
+
kwargs = {}
|
|
520
|
+
kwargs["action"] = "CreateLiveRecordTemplate"
|
|
521
|
+
kwargs["params"] = request._serialize()
|
|
522
|
+
kwargs["resp_cls"] = models.CreateLiveRecordTemplateResponse
|
|
523
|
+
kwargs["headers"] = request.headers
|
|
524
|
+
kwargs["opts"] = opts or {}
|
|
525
|
+
|
|
526
|
+
return await self.call_and_deserialize(**kwargs)
|
|
527
|
+
|
|
528
|
+
async def CreateLiveSnapshotRule(
|
|
529
|
+
self,
|
|
530
|
+
request: models.CreateLiveSnapshotRuleRequest,
|
|
531
|
+
opts: Dict = None,
|
|
532
|
+
) -> models.CreateLiveSnapshotRuleResponse:
|
|
533
|
+
"""
|
|
534
|
+
创建截图规则,需要先调用[CreateLiveSnapshotTemplate](/document/product/267/32624)接口创建截图模板,然后将返回的模板 ID 绑定到流进行使用。
|
|
535
|
+
<br>截图相关文档:[直播截图](/document/product/267/32737)。
|
|
536
|
+
注意:单个域名仅支持关联一个截图模板。
|
|
537
|
+
"""
|
|
538
|
+
|
|
539
|
+
kwargs = {}
|
|
540
|
+
kwargs["action"] = "CreateLiveSnapshotRule"
|
|
541
|
+
kwargs["params"] = request._serialize()
|
|
542
|
+
kwargs["resp_cls"] = models.CreateLiveSnapshotRuleResponse
|
|
543
|
+
kwargs["headers"] = request.headers
|
|
544
|
+
kwargs["opts"] = opts or {}
|
|
545
|
+
|
|
546
|
+
return await self.call_and_deserialize(**kwargs)
|
|
547
|
+
|
|
548
|
+
async def CreateLiveSnapshotTemplate(
|
|
549
|
+
self,
|
|
550
|
+
request: models.CreateLiveSnapshotTemplateRequest,
|
|
551
|
+
opts: Dict = None,
|
|
552
|
+
) -> models.CreateLiveSnapshotTemplateResponse:
|
|
553
|
+
"""
|
|
554
|
+
创建截图模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveSnapshotRule](/document/product/267/32625)接口,将模板id绑定到流使用。
|
|
555
|
+
<br>截图相关文档:[直播截图](/document/product/267/32737)。
|
|
556
|
+
"""
|
|
557
|
+
|
|
558
|
+
kwargs = {}
|
|
559
|
+
kwargs["action"] = "CreateLiveSnapshotTemplate"
|
|
560
|
+
kwargs["params"] = request._serialize()
|
|
561
|
+
kwargs["resp_cls"] = models.CreateLiveSnapshotTemplateResponse
|
|
562
|
+
kwargs["headers"] = request.headers
|
|
563
|
+
kwargs["opts"] = opts or {}
|
|
564
|
+
|
|
565
|
+
return await self.call_and_deserialize(**kwargs)
|
|
566
|
+
|
|
567
|
+
async def CreateLiveStreamMonitor(
|
|
568
|
+
self,
|
|
569
|
+
request: models.CreateLiveStreamMonitorRequest,
|
|
570
|
+
opts: Dict = None,
|
|
571
|
+
) -> models.CreateLiveStreamMonitorResponse:
|
|
572
|
+
"""
|
|
573
|
+
该接口用来创建直播流监播任务。
|
|
574
|
+
"""
|
|
575
|
+
|
|
576
|
+
kwargs = {}
|
|
577
|
+
kwargs["action"] = "CreateLiveStreamMonitor"
|
|
578
|
+
kwargs["params"] = request._serialize()
|
|
579
|
+
kwargs["resp_cls"] = models.CreateLiveStreamMonitorResponse
|
|
580
|
+
kwargs["headers"] = request.headers
|
|
581
|
+
kwargs["opts"] = opts or {}
|
|
582
|
+
|
|
583
|
+
return await self.call_and_deserialize(**kwargs)
|
|
584
|
+
|
|
585
|
+
async def CreateLiveTimeShiftRule(
|
|
586
|
+
self,
|
|
587
|
+
request: models.CreateLiveTimeShiftRuleRequest,
|
|
588
|
+
opts: Dict = None,
|
|
589
|
+
) -> models.CreateLiveTimeShiftRuleResponse:
|
|
590
|
+
"""
|
|
591
|
+
创建直播时移规则,需要先调用[CreateLiveTimeShiftTemplate](/document/product/267/86169)接口创建直播时移模板,将返回的模板id绑定到流使用。
|
|
592
|
+
<br>直播时移相关文档:[直播时移](/document/product/267/86134)。
|
|
593
|
+
"""
|
|
594
|
+
|
|
595
|
+
kwargs = {}
|
|
596
|
+
kwargs["action"] = "CreateLiveTimeShiftRule"
|
|
597
|
+
kwargs["params"] = request._serialize()
|
|
598
|
+
kwargs["resp_cls"] = models.CreateLiveTimeShiftRuleResponse
|
|
599
|
+
kwargs["headers"] = request.headers
|
|
600
|
+
kwargs["opts"] = opts or {}
|
|
601
|
+
|
|
602
|
+
return await self.call_and_deserialize(**kwargs)
|
|
603
|
+
|
|
604
|
+
async def CreateLiveTimeShiftTemplate(
|
|
605
|
+
self,
|
|
606
|
+
request: models.CreateLiveTimeShiftTemplateRequest,
|
|
607
|
+
opts: Dict = None,
|
|
608
|
+
) -> models.CreateLiveTimeShiftTemplateResponse:
|
|
609
|
+
"""
|
|
610
|
+
创建直播时移模板。
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
kwargs = {}
|
|
614
|
+
kwargs["action"] = "CreateLiveTimeShiftTemplate"
|
|
615
|
+
kwargs["params"] = request._serialize()
|
|
616
|
+
kwargs["resp_cls"] = models.CreateLiveTimeShiftTemplateResponse
|
|
617
|
+
kwargs["headers"] = request.headers
|
|
618
|
+
kwargs["opts"] = opts or {}
|
|
619
|
+
|
|
620
|
+
return await self.call_and_deserialize(**kwargs)
|
|
621
|
+
|
|
622
|
+
async def CreateLiveTranscodeRule(
|
|
623
|
+
self,
|
|
624
|
+
request: models.CreateLiveTranscodeRuleRequest,
|
|
625
|
+
opts: Dict = None,
|
|
626
|
+
) -> models.CreateLiveTranscodeRuleResponse:
|
|
627
|
+
"""
|
|
628
|
+
创建转码规则,数量上限:50,需要先调用[CreateLiveTranscodeTemplate](/document/product/267/32646)接口创建转码模板,将返回的模板id绑定到流使用。
|
|
629
|
+
<br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
|
|
630
|
+
"""
|
|
631
|
+
|
|
632
|
+
kwargs = {}
|
|
633
|
+
kwargs["action"] = "CreateLiveTranscodeRule"
|
|
634
|
+
kwargs["params"] = request._serialize()
|
|
635
|
+
kwargs["resp_cls"] = models.CreateLiveTranscodeRuleResponse
|
|
636
|
+
kwargs["headers"] = request.headers
|
|
637
|
+
kwargs["opts"] = opts or {}
|
|
638
|
+
|
|
639
|
+
return await self.call_and_deserialize(**kwargs)
|
|
640
|
+
|
|
641
|
+
async def CreateLiveTranscodeTemplate(
|
|
642
|
+
self,
|
|
643
|
+
request: models.CreateLiveTranscodeTemplateRequest,
|
|
644
|
+
opts: Dict = None,
|
|
645
|
+
) -> models.CreateLiveTranscodeTemplateResponse:
|
|
646
|
+
"""
|
|
647
|
+
创建转码模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveTranscodeRule](/document/product/267/32647)接口,将返回的模板id绑定到流使用。
|
|
648
|
+
<br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
|
|
649
|
+
"""
|
|
650
|
+
|
|
651
|
+
kwargs = {}
|
|
652
|
+
kwargs["action"] = "CreateLiveTranscodeTemplate"
|
|
653
|
+
kwargs["params"] = request._serialize()
|
|
654
|
+
kwargs["resp_cls"] = models.CreateLiveTranscodeTemplateResponse
|
|
655
|
+
kwargs["headers"] = request.headers
|
|
656
|
+
kwargs["opts"] = opts or {}
|
|
657
|
+
|
|
658
|
+
return await self.call_and_deserialize(**kwargs)
|
|
659
|
+
|
|
660
|
+
async def CreateLiveWatermarkRule(
|
|
661
|
+
self,
|
|
662
|
+
request: models.CreateLiveWatermarkRuleRequest,
|
|
663
|
+
opts: Dict = None,
|
|
664
|
+
) -> models.CreateLiveWatermarkRuleResponse:
|
|
665
|
+
"""
|
|
666
|
+
创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
|
|
667
|
+
"""
|
|
668
|
+
|
|
669
|
+
kwargs = {}
|
|
670
|
+
kwargs["action"] = "CreateLiveWatermarkRule"
|
|
671
|
+
kwargs["params"] = request._serialize()
|
|
672
|
+
kwargs["resp_cls"] = models.CreateLiveWatermarkRuleResponse
|
|
673
|
+
kwargs["headers"] = request.headers
|
|
674
|
+
kwargs["opts"] = opts or {}
|
|
675
|
+
|
|
676
|
+
return await self.call_and_deserialize(**kwargs)
|
|
677
|
+
|
|
678
|
+
async def CreatePullStreamConfig(
|
|
679
|
+
self,
|
|
680
|
+
request: models.CreatePullStreamConfigRequest,
|
|
681
|
+
opts: Dict = None,
|
|
682
|
+
) -> models.CreatePullStreamConfigResponse:
|
|
683
|
+
"""
|
|
684
|
+
创建临时拉流转推任务,目前限制添加10条任务。
|
|
685
|
+
该接口已下线,请使用新接口 CreateLivePullStreamTask。
|
|
686
|
+
|
|
687
|
+
注意:该接口用于创建临时拉流转推任务,
|
|
688
|
+
拉流源地址即 FromUrl 可以是腾讯或非腾讯数据源,
|
|
689
|
+
但转推目标地址即 ToUrl 目前限制为已注册的腾讯直播域名。
|
|
690
|
+
"""
|
|
691
|
+
|
|
692
|
+
kwargs = {}
|
|
693
|
+
kwargs["action"] = "CreatePullStreamConfig"
|
|
694
|
+
kwargs["params"] = request._serialize()
|
|
695
|
+
kwargs["resp_cls"] = models.CreatePullStreamConfigResponse
|
|
696
|
+
kwargs["headers"] = request.headers
|
|
697
|
+
kwargs["opts"] = opts or {}
|
|
698
|
+
|
|
699
|
+
return await self.call_and_deserialize(**kwargs)
|
|
700
|
+
|
|
701
|
+
async def CreateRecordTask(
|
|
702
|
+
self,
|
|
703
|
+
request: models.CreateRecordTaskRequest,
|
|
704
|
+
opts: Dict = None,
|
|
705
|
+
) -> models.CreateRecordTaskResponse:
|
|
706
|
+
"""
|
|
707
|
+
创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
|
|
708
|
+
- 使用前提
|
|
709
|
+
1. 录制文件存放于点播平台或对象存储内,所以用户如需使用录制功能,需首先自行开通点播服务或对象存储服务。
|
|
710
|
+
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。
|
|
711
|
+
- 注意事项
|
|
712
|
+
1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。
|
|
713
|
+
2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。
|
|
714
|
+
3. 创建的录制任务记录在平台侧只保留3个月。
|
|
715
|
+
4. 当前录制任务管理API([CreateRecordTask](https://cloud.tencent.com/document/product/267/45983)/[StopRecordTask](https://cloud.tencent.com/document/product/267/45981)/[DeleteRecordTask](https://cloud.tencent.com/document/product/267/45982))与旧API(CreateLiveRecord/StopLiveRecord/DeleteLiveRecord)不兼容,两套接口不能混用。
|
|
716
|
+
5. 避免 创建录制任务 与 推流 操作同时进行,可能导致因录制任务未生效而引起任务延迟启动问题,两者操作间隔建议大于3秒。
|
|
717
|
+
"""
|
|
718
|
+
|
|
719
|
+
kwargs = {}
|
|
720
|
+
kwargs["action"] = "CreateRecordTask"
|
|
721
|
+
kwargs["params"] = request._serialize()
|
|
722
|
+
kwargs["resp_cls"] = models.CreateRecordTaskResponse
|
|
723
|
+
kwargs["headers"] = request.headers
|
|
724
|
+
kwargs["opts"] = opts or {}
|
|
725
|
+
|
|
726
|
+
return await self.call_and_deserialize(**kwargs)
|
|
727
|
+
|
|
728
|
+
async def CreateScreenshotTask(
|
|
729
|
+
self,
|
|
730
|
+
request: models.CreateScreenshotTaskRequest,
|
|
731
|
+
opts: Dict = None,
|
|
732
|
+
) -> models.CreateScreenshotTaskResponse:
|
|
733
|
+
"""
|
|
734
|
+
创建一个在指定时间启动、结束的截图任务,并使用指定截图模板ID对应的配置进行截图。
|
|
735
|
+
- 注意事项
|
|
736
|
+
1. 断流会结束当前截图。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常截图,与是否多次推、断流无关。
|
|
737
|
+
2. 使用上避免创建时间段相互重叠的截图任务。若同一条流当前存在多个时段重叠的任务,为避免重复系统将启动最多3个截图任务。
|
|
738
|
+
3. 创建的截图任务记录在平台侧只保留3个月。
|
|
739
|
+
4. 当前截图任务管理API(CreateScreenshotTask/StopScreenshotTask/DeleteScreenshotTask)与旧API(CreateLiveInstantSnapshot/StopLiveInstantSnapshot)不兼容,两套接口不能混用。
|
|
740
|
+
5. 避免 创建截图任务 与 推流 操作同时进行,可能导致因截图任务未生效而引起任务延迟启动问题,两者操作间隔建议大于3秒。
|
|
741
|
+
"""
|
|
742
|
+
|
|
743
|
+
kwargs = {}
|
|
744
|
+
kwargs["action"] = "CreateScreenshotTask"
|
|
745
|
+
kwargs["params"] = request._serialize()
|
|
746
|
+
kwargs["resp_cls"] = models.CreateScreenshotTaskResponse
|
|
747
|
+
kwargs["headers"] = request.headers
|
|
748
|
+
kwargs["opts"] = opts or {}
|
|
749
|
+
|
|
750
|
+
return await self.call_and_deserialize(**kwargs)
|
|
751
|
+
|
|
752
|
+
async def DeleteAuditKeywords(
|
|
753
|
+
self,
|
|
754
|
+
request: models.DeleteAuditKeywordsRequest,
|
|
755
|
+
opts: Dict = None,
|
|
756
|
+
) -> models.DeleteAuditKeywordsResponse:
|
|
757
|
+
"""
|
|
758
|
+
删除关键词信息。
|
|
759
|
+
"""
|
|
760
|
+
|
|
761
|
+
kwargs = {}
|
|
762
|
+
kwargs["action"] = "DeleteAuditKeywords"
|
|
763
|
+
kwargs["params"] = request._serialize()
|
|
764
|
+
kwargs["resp_cls"] = models.DeleteAuditKeywordsResponse
|
|
765
|
+
kwargs["headers"] = request.headers
|
|
766
|
+
kwargs["opts"] = opts or {}
|
|
767
|
+
|
|
768
|
+
return await self.call_and_deserialize(**kwargs)
|
|
769
|
+
|
|
770
|
+
async def DeleteCaster(
|
|
771
|
+
self,
|
|
772
|
+
request: models.DeleteCasterRequest,
|
|
773
|
+
opts: Dict = None,
|
|
774
|
+
) -> models.DeleteCasterResponse:
|
|
775
|
+
"""
|
|
776
|
+
该接口用来删除一个导播台的所有信息。
|
|
777
|
+
注意,调用该接口后,所有的导播台信息将被清除,包括正在直播的内容也将直接中断。
|
|
778
|
+
"""
|
|
779
|
+
|
|
780
|
+
kwargs = {}
|
|
781
|
+
kwargs["action"] = "DeleteCaster"
|
|
782
|
+
kwargs["params"] = request._serialize()
|
|
783
|
+
kwargs["resp_cls"] = models.DeleteCasterResponse
|
|
784
|
+
kwargs["headers"] = request.headers
|
|
785
|
+
kwargs["opts"] = opts or {}
|
|
786
|
+
|
|
787
|
+
return await self.call_and_deserialize(**kwargs)
|
|
788
|
+
|
|
789
|
+
async def DeleteCasterInputInfo(
|
|
790
|
+
self,
|
|
791
|
+
request: models.DeleteCasterInputInfoRequest,
|
|
792
|
+
opts: Dict = None,
|
|
793
|
+
) -> models.DeleteCasterInputInfoResponse:
|
|
794
|
+
"""
|
|
795
|
+
该接口用来删除导播台中的输入源信息。
|
|
796
|
+
"""
|
|
797
|
+
|
|
798
|
+
kwargs = {}
|
|
799
|
+
kwargs["action"] = "DeleteCasterInputInfo"
|
|
800
|
+
kwargs["params"] = request._serialize()
|
|
801
|
+
kwargs["resp_cls"] = models.DeleteCasterInputInfoResponse
|
|
802
|
+
kwargs["headers"] = request.headers
|
|
803
|
+
kwargs["opts"] = opts or {}
|
|
804
|
+
|
|
805
|
+
return await self.call_and_deserialize(**kwargs)
|
|
806
|
+
|
|
807
|
+
async def DeleteCasterLayoutInfo(
|
|
808
|
+
self,
|
|
809
|
+
request: models.DeleteCasterLayoutInfoRequest,
|
|
810
|
+
opts: Dict = None,
|
|
811
|
+
) -> models.DeleteCasterLayoutInfoResponse:
|
|
812
|
+
"""
|
|
813
|
+
该接口用来将布局信息从导播台中删除
|
|
814
|
+
"""
|
|
815
|
+
|
|
816
|
+
kwargs = {}
|
|
817
|
+
kwargs["action"] = "DeleteCasterLayoutInfo"
|
|
818
|
+
kwargs["params"] = request._serialize()
|
|
819
|
+
kwargs["resp_cls"] = models.DeleteCasterLayoutInfoResponse
|
|
820
|
+
kwargs["headers"] = request.headers
|
|
821
|
+
kwargs["opts"] = opts or {}
|
|
822
|
+
|
|
823
|
+
return await self.call_and_deserialize(**kwargs)
|
|
824
|
+
|
|
825
|
+
async def DeleteCasterMarkPicInfo(
|
|
826
|
+
self,
|
|
827
|
+
request: models.DeleteCasterMarkPicInfoRequest,
|
|
828
|
+
opts: Dict = None,
|
|
829
|
+
) -> models.DeleteCasterMarkPicInfoResponse:
|
|
830
|
+
"""
|
|
831
|
+
该接口用来删除导播台某个Index对应的水印。
|
|
832
|
+
"""
|
|
833
|
+
|
|
834
|
+
kwargs = {}
|
|
835
|
+
kwargs["action"] = "DeleteCasterMarkPicInfo"
|
|
836
|
+
kwargs["params"] = request._serialize()
|
|
837
|
+
kwargs["resp_cls"] = models.DeleteCasterMarkPicInfoResponse
|
|
838
|
+
kwargs["headers"] = request.headers
|
|
839
|
+
kwargs["opts"] = opts or {}
|
|
840
|
+
|
|
841
|
+
return await self.call_and_deserialize(**kwargs)
|
|
842
|
+
|
|
843
|
+
async def DeleteCasterMarkWordInfo(
|
|
844
|
+
self,
|
|
845
|
+
request: models.DeleteCasterMarkWordInfoRequest,
|
|
846
|
+
opts: Dict = None,
|
|
847
|
+
) -> models.DeleteCasterMarkWordInfoResponse:
|
|
848
|
+
"""
|
|
849
|
+
该接口用来删除导播台的文本配置。
|
|
850
|
+
"""
|
|
851
|
+
|
|
852
|
+
kwargs = {}
|
|
853
|
+
kwargs["action"] = "DeleteCasterMarkWordInfo"
|
|
854
|
+
kwargs["params"] = request._serialize()
|
|
855
|
+
kwargs["resp_cls"] = models.DeleteCasterMarkWordInfoResponse
|
|
856
|
+
kwargs["headers"] = request.headers
|
|
857
|
+
kwargs["opts"] = opts or {}
|
|
858
|
+
|
|
859
|
+
return await self.call_and_deserialize(**kwargs)
|
|
860
|
+
|
|
861
|
+
async def DeleteCasterOutputInfo(
|
|
862
|
+
self,
|
|
863
|
+
request: models.DeleteCasterOutputInfoRequest,
|
|
864
|
+
opts: Dict = None,
|
|
865
|
+
) -> models.DeleteCasterOutputInfoResponse:
|
|
866
|
+
"""
|
|
867
|
+
该接口用来删除导播台的推流信息。
|
|
868
|
+
注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
|
|
869
|
+
"""
|
|
870
|
+
|
|
871
|
+
kwargs = {}
|
|
872
|
+
kwargs["action"] = "DeleteCasterOutputInfo"
|
|
873
|
+
kwargs["params"] = request._serialize()
|
|
874
|
+
kwargs["resp_cls"] = models.DeleteCasterOutputInfoResponse
|
|
875
|
+
kwargs["headers"] = request.headers
|
|
876
|
+
kwargs["opts"] = opts or {}
|
|
877
|
+
|
|
878
|
+
return await self.call_and_deserialize(**kwargs)
|
|
879
|
+
|
|
880
|
+
async def DeleteLiveCallbackRule(
|
|
881
|
+
self,
|
|
882
|
+
request: models.DeleteLiveCallbackRuleRequest,
|
|
883
|
+
opts: Dict = None,
|
|
884
|
+
) -> models.DeleteLiveCallbackRuleResponse:
|
|
885
|
+
"""
|
|
886
|
+
删除回调规则。
|
|
887
|
+
"""
|
|
888
|
+
|
|
889
|
+
kwargs = {}
|
|
890
|
+
kwargs["action"] = "DeleteLiveCallbackRule"
|
|
891
|
+
kwargs["params"] = request._serialize()
|
|
892
|
+
kwargs["resp_cls"] = models.DeleteLiveCallbackRuleResponse
|
|
893
|
+
kwargs["headers"] = request.headers
|
|
894
|
+
kwargs["opts"] = opts or {}
|
|
895
|
+
|
|
896
|
+
return await self.call_and_deserialize(**kwargs)
|
|
897
|
+
|
|
898
|
+
async def DeleteLiveCallbackTemplate(
|
|
899
|
+
self,
|
|
900
|
+
request: models.DeleteLiveCallbackTemplateRequest,
|
|
901
|
+
opts: Dict = None,
|
|
902
|
+
) -> models.DeleteLiveCallbackTemplateResponse:
|
|
903
|
+
"""
|
|
904
|
+
删除回调模板。
|
|
905
|
+
"""
|
|
906
|
+
|
|
907
|
+
kwargs = {}
|
|
908
|
+
kwargs["action"] = "DeleteLiveCallbackTemplate"
|
|
909
|
+
kwargs["params"] = request._serialize()
|
|
910
|
+
kwargs["resp_cls"] = models.DeleteLiveCallbackTemplateResponse
|
|
911
|
+
kwargs["headers"] = request.headers
|
|
912
|
+
kwargs["opts"] = opts or {}
|
|
913
|
+
|
|
914
|
+
return await self.call_and_deserialize(**kwargs)
|
|
915
|
+
|
|
916
|
+
async def DeleteLiveDomain(
|
|
917
|
+
self,
|
|
918
|
+
request: models.DeleteLiveDomainRequest,
|
|
919
|
+
opts: Dict = None,
|
|
920
|
+
) -> models.DeleteLiveDomainResponse:
|
|
921
|
+
"""
|
|
922
|
+
删除已添加的直播域名
|
|
923
|
+
"""
|
|
924
|
+
|
|
925
|
+
kwargs = {}
|
|
926
|
+
kwargs["action"] = "DeleteLiveDomain"
|
|
927
|
+
kwargs["params"] = request._serialize()
|
|
928
|
+
kwargs["resp_cls"] = models.DeleteLiveDomainResponse
|
|
929
|
+
kwargs["headers"] = request.headers
|
|
930
|
+
kwargs["opts"] = opts or {}
|
|
931
|
+
|
|
932
|
+
return await self.call_and_deserialize(**kwargs)
|
|
933
|
+
|
|
934
|
+
async def DeleteLivePadRule(
|
|
935
|
+
self,
|
|
936
|
+
request: models.DeleteLivePadRuleRequest,
|
|
937
|
+
opts: Dict = None,
|
|
938
|
+
) -> models.DeleteLivePadRuleResponse:
|
|
939
|
+
"""
|
|
940
|
+
删除直播垫片规则。
|
|
941
|
+
"""
|
|
942
|
+
|
|
943
|
+
kwargs = {}
|
|
944
|
+
kwargs["action"] = "DeleteLivePadRule"
|
|
945
|
+
kwargs["params"] = request._serialize()
|
|
946
|
+
kwargs["resp_cls"] = models.DeleteLivePadRuleResponse
|
|
947
|
+
kwargs["headers"] = request.headers
|
|
948
|
+
kwargs["opts"] = opts or {}
|
|
949
|
+
|
|
950
|
+
return await self.call_and_deserialize(**kwargs)
|
|
951
|
+
|
|
952
|
+
async def DeleteLivePadTemplate(
|
|
953
|
+
self,
|
|
954
|
+
request: models.DeleteLivePadTemplateRequest,
|
|
955
|
+
opts: Dict = None,
|
|
956
|
+
) -> models.DeleteLivePadTemplateResponse:
|
|
957
|
+
"""
|
|
958
|
+
删除直播垫片模板。
|
|
959
|
+
"""
|
|
960
|
+
|
|
961
|
+
kwargs = {}
|
|
962
|
+
kwargs["action"] = "DeleteLivePadTemplate"
|
|
963
|
+
kwargs["params"] = request._serialize()
|
|
964
|
+
kwargs["resp_cls"] = models.DeleteLivePadTemplateResponse
|
|
965
|
+
kwargs["headers"] = request.headers
|
|
966
|
+
kwargs["opts"] = opts or {}
|
|
967
|
+
|
|
968
|
+
return await self.call_and_deserialize(**kwargs)
|
|
969
|
+
|
|
970
|
+
async def DeleteLivePullStreamTask(
|
|
971
|
+
self,
|
|
972
|
+
request: models.DeleteLivePullStreamTaskRequest,
|
|
973
|
+
opts: Dict = None,
|
|
974
|
+
) -> models.DeleteLivePullStreamTaskResponse:
|
|
975
|
+
"""
|
|
976
|
+
删除接口 CreateLivePullStreamTask 创建的拉流任务。
|
|
977
|
+
注意:
|
|
978
|
+
1. 入参中的 TaskId 为 CreateLivePullStreamTask 接口创建时返回的TaskId。
|
|
979
|
+
2. 也可通过 DescribeLivePullStreamTasks 进行查询创建的任务。
|
|
980
|
+
"""
|
|
981
|
+
|
|
982
|
+
kwargs = {}
|
|
983
|
+
kwargs["action"] = "DeleteLivePullStreamTask"
|
|
984
|
+
kwargs["params"] = request._serialize()
|
|
985
|
+
kwargs["resp_cls"] = models.DeleteLivePullStreamTaskResponse
|
|
986
|
+
kwargs["headers"] = request.headers
|
|
987
|
+
kwargs["opts"] = opts or {}
|
|
988
|
+
|
|
989
|
+
return await self.call_and_deserialize(**kwargs)
|
|
990
|
+
|
|
991
|
+
async def DeleteLiveRecord(
|
|
992
|
+
self,
|
|
993
|
+
request: models.DeleteLiveRecordRequest,
|
|
994
|
+
opts: Dict = None,
|
|
995
|
+
) -> models.DeleteLiveRecordResponse:
|
|
996
|
+
"""
|
|
997
|
+
注:DeleteLiveRecord 接口仅用于删除录制任务记录,不具备停止录制的功能,也不能删除正在进行中的录制。如果需要停止录制任务,请使用终止录制[StopLiveRecord](/document/product/267/30146) 接口。
|
|
998
|
+
"""
|
|
999
|
+
|
|
1000
|
+
kwargs = {}
|
|
1001
|
+
kwargs["action"] = "DeleteLiveRecord"
|
|
1002
|
+
kwargs["params"] = request._serialize()
|
|
1003
|
+
kwargs["resp_cls"] = models.DeleteLiveRecordResponse
|
|
1004
|
+
kwargs["headers"] = request.headers
|
|
1005
|
+
kwargs["opts"] = opts or {}
|
|
1006
|
+
|
|
1007
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1008
|
+
|
|
1009
|
+
async def DeleteLiveRecordRule(
|
|
1010
|
+
self,
|
|
1011
|
+
request: models.DeleteLiveRecordRuleRequest,
|
|
1012
|
+
opts: Dict = None,
|
|
1013
|
+
) -> models.DeleteLiveRecordRuleResponse:
|
|
1014
|
+
"""
|
|
1015
|
+
删除录制规则。
|
|
1016
|
+
"""
|
|
1017
|
+
|
|
1018
|
+
kwargs = {}
|
|
1019
|
+
kwargs["action"] = "DeleteLiveRecordRule"
|
|
1020
|
+
kwargs["params"] = request._serialize()
|
|
1021
|
+
kwargs["resp_cls"] = models.DeleteLiveRecordRuleResponse
|
|
1022
|
+
kwargs["headers"] = request.headers
|
|
1023
|
+
kwargs["opts"] = opts or {}
|
|
1024
|
+
|
|
1025
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1026
|
+
|
|
1027
|
+
async def DeleteLiveRecordTemplate(
|
|
1028
|
+
self,
|
|
1029
|
+
request: models.DeleteLiveRecordTemplateRequest,
|
|
1030
|
+
opts: Dict = None,
|
|
1031
|
+
) -> models.DeleteLiveRecordTemplateResponse:
|
|
1032
|
+
"""
|
|
1033
|
+
删除录制模板。
|
|
1034
|
+
"""
|
|
1035
|
+
|
|
1036
|
+
kwargs = {}
|
|
1037
|
+
kwargs["action"] = "DeleteLiveRecordTemplate"
|
|
1038
|
+
kwargs["params"] = request._serialize()
|
|
1039
|
+
kwargs["resp_cls"] = models.DeleteLiveRecordTemplateResponse
|
|
1040
|
+
kwargs["headers"] = request.headers
|
|
1041
|
+
kwargs["opts"] = opts or {}
|
|
1042
|
+
|
|
1043
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1044
|
+
|
|
1045
|
+
async def DeleteLiveSnapshotRule(
|
|
1046
|
+
self,
|
|
1047
|
+
request: models.DeleteLiveSnapshotRuleRequest,
|
|
1048
|
+
opts: Dict = None,
|
|
1049
|
+
) -> models.DeleteLiveSnapshotRuleResponse:
|
|
1050
|
+
"""
|
|
1051
|
+
删除截图规则。
|
|
1052
|
+
"""
|
|
1053
|
+
|
|
1054
|
+
kwargs = {}
|
|
1055
|
+
kwargs["action"] = "DeleteLiveSnapshotRule"
|
|
1056
|
+
kwargs["params"] = request._serialize()
|
|
1057
|
+
kwargs["resp_cls"] = models.DeleteLiveSnapshotRuleResponse
|
|
1058
|
+
kwargs["headers"] = request.headers
|
|
1059
|
+
kwargs["opts"] = opts or {}
|
|
1060
|
+
|
|
1061
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1062
|
+
|
|
1063
|
+
async def DeleteLiveSnapshotTemplate(
|
|
1064
|
+
self,
|
|
1065
|
+
request: models.DeleteLiveSnapshotTemplateRequest,
|
|
1066
|
+
opts: Dict = None,
|
|
1067
|
+
) -> models.DeleteLiveSnapshotTemplateResponse:
|
|
1068
|
+
"""
|
|
1069
|
+
删除截图模板
|
|
1070
|
+
"""
|
|
1071
|
+
|
|
1072
|
+
kwargs = {}
|
|
1073
|
+
kwargs["action"] = "DeleteLiveSnapshotTemplate"
|
|
1074
|
+
kwargs["params"] = request._serialize()
|
|
1075
|
+
kwargs["resp_cls"] = models.DeleteLiveSnapshotTemplateResponse
|
|
1076
|
+
kwargs["headers"] = request.headers
|
|
1077
|
+
kwargs["opts"] = opts or {}
|
|
1078
|
+
|
|
1079
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1080
|
+
|
|
1081
|
+
async def DeleteLiveStreamMonitor(
|
|
1082
|
+
self,
|
|
1083
|
+
request: models.DeleteLiveStreamMonitorRequest,
|
|
1084
|
+
opts: Dict = None,
|
|
1085
|
+
) -> models.DeleteLiveStreamMonitorResponse:
|
|
1086
|
+
"""
|
|
1087
|
+
该接口用来删除直播流监播任务。
|
|
1088
|
+
"""
|
|
1089
|
+
|
|
1090
|
+
kwargs = {}
|
|
1091
|
+
kwargs["action"] = "DeleteLiveStreamMonitor"
|
|
1092
|
+
kwargs["params"] = request._serialize()
|
|
1093
|
+
kwargs["resp_cls"] = models.DeleteLiveStreamMonitorResponse
|
|
1094
|
+
kwargs["headers"] = request.headers
|
|
1095
|
+
kwargs["opts"] = opts or {}
|
|
1096
|
+
|
|
1097
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1098
|
+
|
|
1099
|
+
async def DeleteLiveTimeShiftRule(
|
|
1100
|
+
self,
|
|
1101
|
+
request: models.DeleteLiveTimeShiftRuleRequest,
|
|
1102
|
+
opts: Dict = None,
|
|
1103
|
+
) -> models.DeleteLiveTimeShiftRuleResponse:
|
|
1104
|
+
"""
|
|
1105
|
+
删除直播时移规则。
|
|
1106
|
+
"""
|
|
1107
|
+
|
|
1108
|
+
kwargs = {}
|
|
1109
|
+
kwargs["action"] = "DeleteLiveTimeShiftRule"
|
|
1110
|
+
kwargs["params"] = request._serialize()
|
|
1111
|
+
kwargs["resp_cls"] = models.DeleteLiveTimeShiftRuleResponse
|
|
1112
|
+
kwargs["headers"] = request.headers
|
|
1113
|
+
kwargs["opts"] = opts or {}
|
|
1114
|
+
|
|
1115
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1116
|
+
|
|
1117
|
+
async def DeleteLiveTimeShiftTemplate(
|
|
1118
|
+
self,
|
|
1119
|
+
request: models.DeleteLiveTimeShiftTemplateRequest,
|
|
1120
|
+
opts: Dict = None,
|
|
1121
|
+
) -> models.DeleteLiveTimeShiftTemplateResponse:
|
|
1122
|
+
"""
|
|
1123
|
+
删除直播时移模板。
|
|
1124
|
+
"""
|
|
1125
|
+
|
|
1126
|
+
kwargs = {}
|
|
1127
|
+
kwargs["action"] = "DeleteLiveTimeShiftTemplate"
|
|
1128
|
+
kwargs["params"] = request._serialize()
|
|
1129
|
+
kwargs["resp_cls"] = models.DeleteLiveTimeShiftTemplateResponse
|
|
1130
|
+
kwargs["headers"] = request.headers
|
|
1131
|
+
kwargs["opts"] = opts or {}
|
|
1132
|
+
|
|
1133
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1134
|
+
|
|
1135
|
+
async def DeleteLiveTranscodeRule(
|
|
1136
|
+
self,
|
|
1137
|
+
request: models.DeleteLiveTranscodeRuleRequest,
|
|
1138
|
+
opts: Dict = None,
|
|
1139
|
+
) -> models.DeleteLiveTranscodeRuleResponse:
|
|
1140
|
+
"""
|
|
1141
|
+
删除转码规则。
|
|
1142
|
+
DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配。其中TemplateId必填,其余参数为空时也需要传空字符串进行强匹配。
|
|
1143
|
+
"""
|
|
1144
|
+
|
|
1145
|
+
kwargs = {}
|
|
1146
|
+
kwargs["action"] = "DeleteLiveTranscodeRule"
|
|
1147
|
+
kwargs["params"] = request._serialize()
|
|
1148
|
+
kwargs["resp_cls"] = models.DeleteLiveTranscodeRuleResponse
|
|
1149
|
+
kwargs["headers"] = request.headers
|
|
1150
|
+
kwargs["opts"] = opts or {}
|
|
1151
|
+
|
|
1152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1153
|
+
|
|
1154
|
+
async def DeleteLiveTranscodeTemplate(
|
|
1155
|
+
self,
|
|
1156
|
+
request: models.DeleteLiveTranscodeTemplateRequest,
|
|
1157
|
+
opts: Dict = None,
|
|
1158
|
+
) -> models.DeleteLiveTranscodeTemplateResponse:
|
|
1159
|
+
"""
|
|
1160
|
+
删除转码模板。
|
|
1161
|
+
"""
|
|
1162
|
+
|
|
1163
|
+
kwargs = {}
|
|
1164
|
+
kwargs["action"] = "DeleteLiveTranscodeTemplate"
|
|
1165
|
+
kwargs["params"] = request._serialize()
|
|
1166
|
+
kwargs["resp_cls"] = models.DeleteLiveTranscodeTemplateResponse
|
|
1167
|
+
kwargs["headers"] = request.headers
|
|
1168
|
+
kwargs["opts"] = opts or {}
|
|
1169
|
+
|
|
1170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1171
|
+
|
|
1172
|
+
async def DeleteLiveWatermark(
|
|
1173
|
+
self,
|
|
1174
|
+
request: models.DeleteLiveWatermarkRequest,
|
|
1175
|
+
opts: Dict = None,
|
|
1176
|
+
) -> models.DeleteLiveWatermarkResponse:
|
|
1177
|
+
"""
|
|
1178
|
+
删除水印。
|
|
1179
|
+
"""
|
|
1180
|
+
|
|
1181
|
+
kwargs = {}
|
|
1182
|
+
kwargs["action"] = "DeleteLiveWatermark"
|
|
1183
|
+
kwargs["params"] = request._serialize()
|
|
1184
|
+
kwargs["resp_cls"] = models.DeleteLiveWatermarkResponse
|
|
1185
|
+
kwargs["headers"] = request.headers
|
|
1186
|
+
kwargs["opts"] = opts or {}
|
|
1187
|
+
|
|
1188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1189
|
+
|
|
1190
|
+
async def DeleteLiveWatermarkRule(
|
|
1191
|
+
self,
|
|
1192
|
+
request: models.DeleteLiveWatermarkRuleRequest,
|
|
1193
|
+
opts: Dict = None,
|
|
1194
|
+
) -> models.DeleteLiveWatermarkRuleResponse:
|
|
1195
|
+
"""
|
|
1196
|
+
删除水印规则
|
|
1197
|
+
"""
|
|
1198
|
+
|
|
1199
|
+
kwargs = {}
|
|
1200
|
+
kwargs["action"] = "DeleteLiveWatermarkRule"
|
|
1201
|
+
kwargs["params"] = request._serialize()
|
|
1202
|
+
kwargs["resp_cls"] = models.DeleteLiveWatermarkRuleResponse
|
|
1203
|
+
kwargs["headers"] = request.headers
|
|
1204
|
+
kwargs["opts"] = opts or {}
|
|
1205
|
+
|
|
1206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1207
|
+
|
|
1208
|
+
async def DeletePullStreamConfig(
|
|
1209
|
+
self,
|
|
1210
|
+
request: models.DeletePullStreamConfigRequest,
|
|
1211
|
+
opts: Dict = None,
|
|
1212
|
+
) -> models.DeletePullStreamConfigResponse:
|
|
1213
|
+
"""
|
|
1214
|
+
删除直播拉流配置。该接口已下线,请使用新接口 DeleteLivePullStreamTask。
|
|
1215
|
+
"""
|
|
1216
|
+
|
|
1217
|
+
kwargs = {}
|
|
1218
|
+
kwargs["action"] = "DeletePullStreamConfig"
|
|
1219
|
+
kwargs["params"] = request._serialize()
|
|
1220
|
+
kwargs["resp_cls"] = models.DeletePullStreamConfigResponse
|
|
1221
|
+
kwargs["headers"] = request.headers
|
|
1222
|
+
kwargs["opts"] = opts or {}
|
|
1223
|
+
|
|
1224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1225
|
+
|
|
1226
|
+
async def DeleteRecordTask(
|
|
1227
|
+
self,
|
|
1228
|
+
request: models.DeleteRecordTaskRequest,
|
|
1229
|
+
opts: Dict = None,
|
|
1230
|
+
) -> models.DeleteRecordTaskResponse:
|
|
1231
|
+
"""
|
|
1232
|
+
删除录制任务配置。删除操作不影响正在运行当中的任务,仅对删除之后新的推流有效。
|
|
1233
|
+
"""
|
|
1234
|
+
|
|
1235
|
+
kwargs = {}
|
|
1236
|
+
kwargs["action"] = "DeleteRecordTask"
|
|
1237
|
+
kwargs["params"] = request._serialize()
|
|
1238
|
+
kwargs["resp_cls"] = models.DeleteRecordTaskResponse
|
|
1239
|
+
kwargs["headers"] = request.headers
|
|
1240
|
+
kwargs["opts"] = opts or {}
|
|
1241
|
+
|
|
1242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1243
|
+
|
|
1244
|
+
async def DeleteScreenshotTask(
|
|
1245
|
+
self,
|
|
1246
|
+
request: models.DeleteScreenshotTaskRequest,
|
|
1247
|
+
opts: Dict = None,
|
|
1248
|
+
) -> models.DeleteScreenshotTaskResponse:
|
|
1249
|
+
"""
|
|
1250
|
+
删除截图任务配置。删除操作不影响正在运行当中的任务,仅对删除之后新的推流有效。
|
|
1251
|
+
"""
|
|
1252
|
+
|
|
1253
|
+
kwargs = {}
|
|
1254
|
+
kwargs["action"] = "DeleteScreenshotTask"
|
|
1255
|
+
kwargs["params"] = request._serialize()
|
|
1256
|
+
kwargs["resp_cls"] = models.DeleteScreenshotTaskResponse
|
|
1257
|
+
kwargs["headers"] = request.headers
|
|
1258
|
+
kwargs["opts"] = opts or {}
|
|
1259
|
+
|
|
1260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1261
|
+
|
|
1262
|
+
async def DescribeAllStreamPlayInfoList(
|
|
1263
|
+
self,
|
|
1264
|
+
request: models.DescribeAllStreamPlayInfoListRequest,
|
|
1265
|
+
opts: Dict = None,
|
|
1266
|
+
) -> models.DescribeAllStreamPlayInfoListResponse:
|
|
1267
|
+
"""
|
|
1268
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1269
|
+
输入某个时间点(1分钟维度),查询该时间点所有流的下行信息。
|
|
1270
|
+
"""
|
|
1271
|
+
|
|
1272
|
+
kwargs = {}
|
|
1273
|
+
kwargs["action"] = "DescribeAllStreamPlayInfoList"
|
|
1274
|
+
kwargs["params"] = request._serialize()
|
|
1275
|
+
kwargs["resp_cls"] = models.DescribeAllStreamPlayInfoListResponse
|
|
1276
|
+
kwargs["headers"] = request.headers
|
|
1277
|
+
kwargs["opts"] = opts or {}
|
|
1278
|
+
|
|
1279
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1280
|
+
|
|
1281
|
+
async def DescribeAreaBillBandwidthAndFluxList(
|
|
1282
|
+
self,
|
|
1283
|
+
request: models.DescribeAreaBillBandwidthAndFluxListRequest,
|
|
1284
|
+
opts: Dict = None,
|
|
1285
|
+
) -> models.DescribeAreaBillBandwidthAndFluxListResponse:
|
|
1286
|
+
"""
|
|
1287
|
+
海外分区直播播放带宽和流量数据查询。
|
|
1288
|
+
"""
|
|
1289
|
+
|
|
1290
|
+
kwargs = {}
|
|
1291
|
+
kwargs["action"] = "DescribeAreaBillBandwidthAndFluxList"
|
|
1292
|
+
kwargs["params"] = request._serialize()
|
|
1293
|
+
kwargs["resp_cls"] = models.DescribeAreaBillBandwidthAndFluxListResponse
|
|
1294
|
+
kwargs["headers"] = request.headers
|
|
1295
|
+
kwargs["opts"] = opts or {}
|
|
1296
|
+
|
|
1297
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1298
|
+
|
|
1299
|
+
async def DescribeAuditKeywords(
|
|
1300
|
+
self,
|
|
1301
|
+
request: models.DescribeAuditKeywordsRequest,
|
|
1302
|
+
opts: Dict = None,
|
|
1303
|
+
) -> models.DescribeAuditKeywordsResponse:
|
|
1304
|
+
"""
|
|
1305
|
+
获取关键词信息。
|
|
1306
|
+
"""
|
|
1307
|
+
|
|
1308
|
+
kwargs = {}
|
|
1309
|
+
kwargs["action"] = "DescribeAuditKeywords"
|
|
1310
|
+
kwargs["params"] = request._serialize()
|
|
1311
|
+
kwargs["resp_cls"] = models.DescribeAuditKeywordsResponse
|
|
1312
|
+
kwargs["headers"] = request.headers
|
|
1313
|
+
kwargs["opts"] = opts or {}
|
|
1314
|
+
|
|
1315
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1316
|
+
|
|
1317
|
+
async def DescribeBackupStreamList(
|
|
1318
|
+
self,
|
|
1319
|
+
request: models.DescribeBackupStreamListRequest,
|
|
1320
|
+
opts: Dict = None,
|
|
1321
|
+
) -> models.DescribeBackupStreamListResponse:
|
|
1322
|
+
"""
|
|
1323
|
+
返回正在直播中的流列表。适用于推流成功后查询在线流信息。
|
|
1324
|
+
|
|
1325
|
+
注意:
|
|
1326
|
+
1. 该接口仅提供辅助查询在线流列表功能,业务重要场景不可强依赖该接口。
|
|
1327
|
+
2. 该接口仅适用于流数少于2万路的情况,对于流数较大用户请联系售后。
|
|
1328
|
+
"""
|
|
1329
|
+
|
|
1330
|
+
kwargs = {}
|
|
1331
|
+
kwargs["action"] = "DescribeBackupStreamList"
|
|
1332
|
+
kwargs["params"] = request._serialize()
|
|
1333
|
+
kwargs["resp_cls"] = models.DescribeBackupStreamListResponse
|
|
1334
|
+
kwargs["headers"] = request.headers
|
|
1335
|
+
kwargs["opts"] = opts or {}
|
|
1336
|
+
|
|
1337
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1338
|
+
|
|
1339
|
+
async def DescribeBillBandwidthAndFluxList(
|
|
1340
|
+
self,
|
|
1341
|
+
request: models.DescribeBillBandwidthAndFluxListRequest,
|
|
1342
|
+
opts: Dict = None,
|
|
1343
|
+
) -> models.DescribeBillBandwidthAndFluxListResponse:
|
|
1344
|
+
"""
|
|
1345
|
+
直播播放带宽和流量数据查询。
|
|
1346
|
+
"""
|
|
1347
|
+
|
|
1348
|
+
kwargs = {}
|
|
1349
|
+
kwargs["action"] = "DescribeBillBandwidthAndFluxList"
|
|
1350
|
+
kwargs["params"] = request._serialize()
|
|
1351
|
+
kwargs["resp_cls"] = models.DescribeBillBandwidthAndFluxListResponse
|
|
1352
|
+
kwargs["headers"] = request.headers
|
|
1353
|
+
kwargs["opts"] = opts or {}
|
|
1354
|
+
|
|
1355
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1356
|
+
|
|
1357
|
+
async def DescribeCallbackRecordsList(
|
|
1358
|
+
self,
|
|
1359
|
+
request: models.DescribeCallbackRecordsListRequest,
|
|
1360
|
+
opts: Dict = None,
|
|
1361
|
+
) -> models.DescribeCallbackRecordsListResponse:
|
|
1362
|
+
"""
|
|
1363
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1364
|
+
用于查询回调事件。
|
|
1365
|
+
"""
|
|
1366
|
+
|
|
1367
|
+
kwargs = {}
|
|
1368
|
+
kwargs["action"] = "DescribeCallbackRecordsList"
|
|
1369
|
+
kwargs["params"] = request._serialize()
|
|
1370
|
+
kwargs["resp_cls"] = models.DescribeCallbackRecordsListResponse
|
|
1371
|
+
kwargs["headers"] = request.headers
|
|
1372
|
+
kwargs["opts"] = opts or {}
|
|
1373
|
+
|
|
1374
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1375
|
+
|
|
1376
|
+
async def DescribeCaster(
|
|
1377
|
+
self,
|
|
1378
|
+
request: models.DescribeCasterRequest,
|
|
1379
|
+
opts: Dict = None,
|
|
1380
|
+
) -> models.DescribeCasterResponse:
|
|
1381
|
+
"""
|
|
1382
|
+
查询导播台信息接口,用来查询导播台状态、描述、输出长、宽等信息
|
|
1383
|
+
"""
|
|
1384
|
+
|
|
1385
|
+
kwargs = {}
|
|
1386
|
+
kwargs["action"] = "DescribeCaster"
|
|
1387
|
+
kwargs["params"] = request._serialize()
|
|
1388
|
+
kwargs["resp_cls"] = models.DescribeCasterResponse
|
|
1389
|
+
kwargs["headers"] = request.headers
|
|
1390
|
+
kwargs["opts"] = opts or {}
|
|
1391
|
+
|
|
1392
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1393
|
+
|
|
1394
|
+
async def DescribeCasterDisplayInfo(
|
|
1395
|
+
self,
|
|
1396
|
+
request: models.DescribeCasterDisplayInfoRequest,
|
|
1397
|
+
opts: Dict = None,
|
|
1398
|
+
) -> models.DescribeCasterDisplayInfoResponse:
|
|
1399
|
+
"""
|
|
1400
|
+
查询导播台PVW任务和PGM任务的展示信息,包括使用的布局、水印、字幕等信息。
|
|
1401
|
+
"""
|
|
1402
|
+
|
|
1403
|
+
kwargs = {}
|
|
1404
|
+
kwargs["action"] = "DescribeCasterDisplayInfo"
|
|
1405
|
+
kwargs["params"] = request._serialize()
|
|
1406
|
+
kwargs["resp_cls"] = models.DescribeCasterDisplayInfoResponse
|
|
1407
|
+
kwargs["headers"] = request.headers
|
|
1408
|
+
kwargs["opts"] = opts or {}
|
|
1409
|
+
|
|
1410
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1411
|
+
|
|
1412
|
+
async def DescribeCasterInputInfos(
|
|
1413
|
+
self,
|
|
1414
|
+
request: models.DescribeCasterInputInfosRequest,
|
|
1415
|
+
opts: Dict = None,
|
|
1416
|
+
) -> models.DescribeCasterInputInfosResponse:
|
|
1417
|
+
"""
|
|
1418
|
+
该接口用来查询导播台的输入源信息列表。
|
|
1419
|
+
"""
|
|
1420
|
+
|
|
1421
|
+
kwargs = {}
|
|
1422
|
+
kwargs["action"] = "DescribeCasterInputInfos"
|
|
1423
|
+
kwargs["params"] = request._serialize()
|
|
1424
|
+
kwargs["resp_cls"] = models.DescribeCasterInputInfosResponse
|
|
1425
|
+
kwargs["headers"] = request.headers
|
|
1426
|
+
kwargs["opts"] = opts or {}
|
|
1427
|
+
|
|
1428
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1429
|
+
|
|
1430
|
+
async def DescribeCasterLayoutInfos(
|
|
1431
|
+
self,
|
|
1432
|
+
request: models.DescribeCasterLayoutInfosRequest,
|
|
1433
|
+
opts: Dict = None,
|
|
1434
|
+
) -> models.DescribeCasterLayoutInfosResponse:
|
|
1435
|
+
"""
|
|
1436
|
+
该接口用来查询某个导播台的布局列表
|
|
1437
|
+
"""
|
|
1438
|
+
|
|
1439
|
+
kwargs = {}
|
|
1440
|
+
kwargs["action"] = "DescribeCasterLayoutInfos"
|
|
1441
|
+
kwargs["params"] = request._serialize()
|
|
1442
|
+
kwargs["resp_cls"] = models.DescribeCasterLayoutInfosResponse
|
|
1443
|
+
kwargs["headers"] = request.headers
|
|
1444
|
+
kwargs["opts"] = opts or {}
|
|
1445
|
+
|
|
1446
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1447
|
+
|
|
1448
|
+
async def DescribeCasterList(
|
|
1449
|
+
self,
|
|
1450
|
+
request: models.DescribeCasterListRequest,
|
|
1451
|
+
opts: Dict = None,
|
|
1452
|
+
) -> models.DescribeCasterListResponse:
|
|
1453
|
+
"""
|
|
1454
|
+
该接口用来查询账号下所有的导播台列表
|
|
1455
|
+
"""
|
|
1456
|
+
|
|
1457
|
+
kwargs = {}
|
|
1458
|
+
kwargs["action"] = "DescribeCasterList"
|
|
1459
|
+
kwargs["params"] = request._serialize()
|
|
1460
|
+
kwargs["resp_cls"] = models.DescribeCasterListResponse
|
|
1461
|
+
kwargs["headers"] = request.headers
|
|
1462
|
+
kwargs["opts"] = opts or {}
|
|
1463
|
+
|
|
1464
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1465
|
+
|
|
1466
|
+
async def DescribeCasterMarkPicInfos(
|
|
1467
|
+
self,
|
|
1468
|
+
request: models.DescribeCasterMarkPicInfosRequest,
|
|
1469
|
+
opts: Dict = None,
|
|
1470
|
+
) -> models.DescribeCasterMarkPicInfosResponse:
|
|
1471
|
+
"""
|
|
1472
|
+
该接口用来查询某个导播台的水印列表。
|
|
1473
|
+
"""
|
|
1474
|
+
|
|
1475
|
+
kwargs = {}
|
|
1476
|
+
kwargs["action"] = "DescribeCasterMarkPicInfos"
|
|
1477
|
+
kwargs["params"] = request._serialize()
|
|
1478
|
+
kwargs["resp_cls"] = models.DescribeCasterMarkPicInfosResponse
|
|
1479
|
+
kwargs["headers"] = request.headers
|
|
1480
|
+
kwargs["opts"] = opts or {}
|
|
1481
|
+
|
|
1482
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1483
|
+
|
|
1484
|
+
async def DescribeCasterMarkWordInfos(
|
|
1485
|
+
self,
|
|
1486
|
+
request: models.DescribeCasterMarkWordInfosRequest,
|
|
1487
|
+
opts: Dict = None,
|
|
1488
|
+
) -> models.DescribeCasterMarkWordInfosResponse:
|
|
1489
|
+
"""
|
|
1490
|
+
该接口用来查询某个导播台的文本列表。
|
|
1491
|
+
"""
|
|
1492
|
+
|
|
1493
|
+
kwargs = {}
|
|
1494
|
+
kwargs["action"] = "DescribeCasterMarkWordInfos"
|
|
1495
|
+
kwargs["params"] = request._serialize()
|
|
1496
|
+
kwargs["resp_cls"] = models.DescribeCasterMarkWordInfosResponse
|
|
1497
|
+
kwargs["headers"] = request.headers
|
|
1498
|
+
kwargs["opts"] = opts or {}
|
|
1499
|
+
|
|
1500
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1501
|
+
|
|
1502
|
+
async def DescribeCasterOutputInfos(
|
|
1503
|
+
self,
|
|
1504
|
+
request: models.DescribeCasterOutputInfosRequest,
|
|
1505
|
+
opts: Dict = None,
|
|
1506
|
+
) -> models.DescribeCasterOutputInfosResponse:
|
|
1507
|
+
"""
|
|
1508
|
+
该接口用来查询某个导播台的推流信息列表。
|
|
1509
|
+
"""
|
|
1510
|
+
|
|
1511
|
+
kwargs = {}
|
|
1512
|
+
kwargs["action"] = "DescribeCasterOutputInfos"
|
|
1513
|
+
kwargs["params"] = request._serialize()
|
|
1514
|
+
kwargs["resp_cls"] = models.DescribeCasterOutputInfosResponse
|
|
1515
|
+
kwargs["headers"] = request.headers
|
|
1516
|
+
kwargs["opts"] = opts or {}
|
|
1517
|
+
|
|
1518
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1519
|
+
|
|
1520
|
+
async def DescribeCasterPlayUrl(
|
|
1521
|
+
self,
|
|
1522
|
+
request: models.DescribeCasterPlayUrlRequest,
|
|
1523
|
+
opts: Dict = None,
|
|
1524
|
+
) -> models.DescribeCasterPlayUrlResponse:
|
|
1525
|
+
"""
|
|
1526
|
+
该接口用来获取导播台视频流的播放url,用来在页面上拉流展示。
|
|
1527
|
+
"""
|
|
1528
|
+
|
|
1529
|
+
kwargs = {}
|
|
1530
|
+
kwargs["action"] = "DescribeCasterPlayUrl"
|
|
1531
|
+
kwargs["params"] = request._serialize()
|
|
1532
|
+
kwargs["resp_cls"] = models.DescribeCasterPlayUrlResponse
|
|
1533
|
+
kwargs["headers"] = request.headers
|
|
1534
|
+
kwargs["opts"] = opts or {}
|
|
1535
|
+
|
|
1536
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1537
|
+
|
|
1538
|
+
async def DescribeCasterTransitionTypes(
|
|
1539
|
+
self,
|
|
1540
|
+
request: models.DescribeCasterTransitionTypesRequest,
|
|
1541
|
+
opts: Dict = None,
|
|
1542
|
+
) -> models.DescribeCasterTransitionTypesResponse:
|
|
1543
|
+
"""
|
|
1544
|
+
该接口用来获取所有的转场名称及其对应的素材url。
|
|
1545
|
+
"""
|
|
1546
|
+
|
|
1547
|
+
kwargs = {}
|
|
1548
|
+
kwargs["action"] = "DescribeCasterTransitionTypes"
|
|
1549
|
+
kwargs["params"] = request._serialize()
|
|
1550
|
+
kwargs["resp_cls"] = models.DescribeCasterTransitionTypesResponse
|
|
1551
|
+
kwargs["headers"] = request.headers
|
|
1552
|
+
kwargs["opts"] = opts or {}
|
|
1553
|
+
|
|
1554
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1555
|
+
|
|
1556
|
+
async def DescribeCasterUserStatus(
|
|
1557
|
+
self,
|
|
1558
|
+
request: models.DescribeCasterUserStatusRequest,
|
|
1559
|
+
opts: Dict = None,
|
|
1560
|
+
) -> models.DescribeCasterUserStatusResponse:
|
|
1561
|
+
"""
|
|
1562
|
+
本接口用来查询当前APPID导播台业务状态
|
|
1563
|
+
"""
|
|
1564
|
+
|
|
1565
|
+
kwargs = {}
|
|
1566
|
+
kwargs["action"] = "DescribeCasterUserStatus"
|
|
1567
|
+
kwargs["params"] = request._serialize()
|
|
1568
|
+
kwargs["resp_cls"] = models.DescribeCasterUserStatusResponse
|
|
1569
|
+
kwargs["headers"] = request.headers
|
|
1570
|
+
kwargs["opts"] = opts or {}
|
|
1571
|
+
|
|
1572
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1573
|
+
|
|
1574
|
+
async def DescribeConcurrentRecordStreamNum(
|
|
1575
|
+
self,
|
|
1576
|
+
request: models.DescribeConcurrentRecordStreamNumRequest,
|
|
1577
|
+
opts: Dict = None,
|
|
1578
|
+
) -> models.DescribeConcurrentRecordStreamNumResponse:
|
|
1579
|
+
"""
|
|
1580
|
+
查询并发录制路数,对慢直播和普通直播适用。
|
|
1581
|
+
"""
|
|
1582
|
+
|
|
1583
|
+
kwargs = {}
|
|
1584
|
+
kwargs["action"] = "DescribeConcurrentRecordStreamNum"
|
|
1585
|
+
kwargs["params"] = request._serialize()
|
|
1586
|
+
kwargs["resp_cls"] = models.DescribeConcurrentRecordStreamNumResponse
|
|
1587
|
+
kwargs["headers"] = request.headers
|
|
1588
|
+
kwargs["opts"] = opts or {}
|
|
1589
|
+
|
|
1590
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1591
|
+
|
|
1592
|
+
async def DescribeDeliverBandwidthList(
|
|
1593
|
+
self,
|
|
1594
|
+
request: models.DescribeDeliverBandwidthListRequest,
|
|
1595
|
+
opts: Dict = None,
|
|
1596
|
+
) -> models.DescribeDeliverBandwidthListResponse:
|
|
1597
|
+
"""
|
|
1598
|
+
查询直播转推计费带宽,查询时间范围最大支持3个月内的数据,时间跨度最长31天。
|
|
1599
|
+
"""
|
|
1600
|
+
|
|
1601
|
+
kwargs = {}
|
|
1602
|
+
kwargs["action"] = "DescribeDeliverBandwidthList"
|
|
1603
|
+
kwargs["params"] = request._serialize()
|
|
1604
|
+
kwargs["resp_cls"] = models.DescribeDeliverBandwidthListResponse
|
|
1605
|
+
kwargs["headers"] = request.headers
|
|
1606
|
+
kwargs["opts"] = opts or {}
|
|
1607
|
+
|
|
1608
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1609
|
+
|
|
1610
|
+
async def DescribeDeliverLogDownList(
|
|
1611
|
+
self,
|
|
1612
|
+
request: models.DescribeDeliverLogDownListRequest,
|
|
1613
|
+
opts: Dict = None,
|
|
1614
|
+
) -> models.DescribeDeliverLogDownListResponse:
|
|
1615
|
+
"""
|
|
1616
|
+
批量获取转推日志的URL。
|
|
1617
|
+
"""
|
|
1618
|
+
|
|
1619
|
+
kwargs = {}
|
|
1620
|
+
kwargs["action"] = "DescribeDeliverLogDownList"
|
|
1621
|
+
kwargs["params"] = request._serialize()
|
|
1622
|
+
kwargs["resp_cls"] = models.DescribeDeliverLogDownListResponse
|
|
1623
|
+
kwargs["headers"] = request.headers
|
|
1624
|
+
kwargs["opts"] = opts or {}
|
|
1625
|
+
|
|
1626
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1627
|
+
|
|
1628
|
+
async def DescribeGroupProIspPlayInfoList(
|
|
1629
|
+
self,
|
|
1630
|
+
request: models.DescribeGroupProIspPlayInfoListRequest,
|
|
1631
|
+
opts: Dict = None,
|
|
1632
|
+
) -> models.DescribeGroupProIspPlayInfoListResponse:
|
|
1633
|
+
"""
|
|
1634
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1635
|
+
查询按省份和运营商分组的下行播放数据。
|
|
1636
|
+
"""
|
|
1637
|
+
|
|
1638
|
+
kwargs = {}
|
|
1639
|
+
kwargs["action"] = "DescribeGroupProIspPlayInfoList"
|
|
1640
|
+
kwargs["params"] = request._serialize()
|
|
1641
|
+
kwargs["resp_cls"] = models.DescribeGroupProIspPlayInfoListResponse
|
|
1642
|
+
kwargs["headers"] = request.headers
|
|
1643
|
+
kwargs["opts"] = opts or {}
|
|
1644
|
+
|
|
1645
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1646
|
+
|
|
1647
|
+
async def DescribeHttpStatusInfoList(
|
|
1648
|
+
self,
|
|
1649
|
+
request: models.DescribeHttpStatusInfoListRequest,
|
|
1650
|
+
opts: Dict = None,
|
|
1651
|
+
) -> models.DescribeHttpStatusInfoListResponse:
|
|
1652
|
+
"""
|
|
1653
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1654
|
+
查询某段时间内5分钟粒度的各播放http状态码的个数。
|
|
1655
|
+
备注:数据延迟1小时,如10:00-10:59点的数据12点才能查到。
|
|
1656
|
+
"""
|
|
1657
|
+
|
|
1658
|
+
kwargs = {}
|
|
1659
|
+
kwargs["action"] = "DescribeHttpStatusInfoList"
|
|
1660
|
+
kwargs["params"] = request._serialize()
|
|
1661
|
+
kwargs["resp_cls"] = models.DescribeHttpStatusInfoListResponse
|
|
1662
|
+
kwargs["headers"] = request.headers
|
|
1663
|
+
kwargs["opts"] = opts or {}
|
|
1664
|
+
|
|
1665
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1666
|
+
|
|
1667
|
+
async def DescribeLiveCallbackRules(
|
|
1668
|
+
self,
|
|
1669
|
+
request: models.DescribeLiveCallbackRulesRequest,
|
|
1670
|
+
opts: Dict = None,
|
|
1671
|
+
) -> models.DescribeLiveCallbackRulesResponse:
|
|
1672
|
+
"""
|
|
1673
|
+
获取回调规则列表
|
|
1674
|
+
"""
|
|
1675
|
+
|
|
1676
|
+
kwargs = {}
|
|
1677
|
+
kwargs["action"] = "DescribeLiveCallbackRules"
|
|
1678
|
+
kwargs["params"] = request._serialize()
|
|
1679
|
+
kwargs["resp_cls"] = models.DescribeLiveCallbackRulesResponse
|
|
1680
|
+
kwargs["headers"] = request.headers
|
|
1681
|
+
kwargs["opts"] = opts or {}
|
|
1682
|
+
|
|
1683
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1684
|
+
|
|
1685
|
+
async def DescribeLiveCallbackTemplate(
|
|
1686
|
+
self,
|
|
1687
|
+
request: models.DescribeLiveCallbackTemplateRequest,
|
|
1688
|
+
opts: Dict = None,
|
|
1689
|
+
) -> models.DescribeLiveCallbackTemplateResponse:
|
|
1690
|
+
"""
|
|
1691
|
+
获取单个回调模板。
|
|
1692
|
+
"""
|
|
1693
|
+
|
|
1694
|
+
kwargs = {}
|
|
1695
|
+
kwargs["action"] = "DescribeLiveCallbackTemplate"
|
|
1696
|
+
kwargs["params"] = request._serialize()
|
|
1697
|
+
kwargs["resp_cls"] = models.DescribeLiveCallbackTemplateResponse
|
|
1698
|
+
kwargs["headers"] = request.headers
|
|
1699
|
+
kwargs["opts"] = opts or {}
|
|
1700
|
+
|
|
1701
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1702
|
+
|
|
1703
|
+
async def DescribeLiveCallbackTemplates(
|
|
1704
|
+
self,
|
|
1705
|
+
request: models.DescribeLiveCallbackTemplatesRequest,
|
|
1706
|
+
opts: Dict = None,
|
|
1707
|
+
) -> models.DescribeLiveCallbackTemplatesResponse:
|
|
1708
|
+
"""
|
|
1709
|
+
获取回调模板列表
|
|
1710
|
+
"""
|
|
1711
|
+
|
|
1712
|
+
kwargs = {}
|
|
1713
|
+
kwargs["action"] = "DescribeLiveCallbackTemplates"
|
|
1714
|
+
kwargs["params"] = request._serialize()
|
|
1715
|
+
kwargs["resp_cls"] = models.DescribeLiveCallbackTemplatesResponse
|
|
1716
|
+
kwargs["headers"] = request.headers
|
|
1717
|
+
kwargs["opts"] = opts or {}
|
|
1718
|
+
|
|
1719
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1720
|
+
|
|
1721
|
+
async def DescribeLiveCert(
|
|
1722
|
+
self,
|
|
1723
|
+
request: models.DescribeLiveCertRequest,
|
|
1724
|
+
opts: Dict = None,
|
|
1725
|
+
) -> models.DescribeLiveCertResponse:
|
|
1726
|
+
"""
|
|
1727
|
+
获取证书信息
|
|
1728
|
+
"""
|
|
1729
|
+
|
|
1730
|
+
kwargs = {}
|
|
1731
|
+
kwargs["action"] = "DescribeLiveCert"
|
|
1732
|
+
kwargs["params"] = request._serialize()
|
|
1733
|
+
kwargs["resp_cls"] = models.DescribeLiveCertResponse
|
|
1734
|
+
kwargs["headers"] = request.headers
|
|
1735
|
+
kwargs["opts"] = opts or {}
|
|
1736
|
+
|
|
1737
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1738
|
+
|
|
1739
|
+
async def DescribeLiveCerts(
|
|
1740
|
+
self,
|
|
1741
|
+
request: models.DescribeLiveCertsRequest,
|
|
1742
|
+
opts: Dict = None,
|
|
1743
|
+
) -> models.DescribeLiveCertsResponse:
|
|
1744
|
+
"""
|
|
1745
|
+
获取证书信息列表
|
|
1746
|
+
"""
|
|
1747
|
+
|
|
1748
|
+
kwargs = {}
|
|
1749
|
+
kwargs["action"] = "DescribeLiveCerts"
|
|
1750
|
+
kwargs["params"] = request._serialize()
|
|
1751
|
+
kwargs["resp_cls"] = models.DescribeLiveCertsResponse
|
|
1752
|
+
kwargs["headers"] = request.headers
|
|
1753
|
+
kwargs["opts"] = opts or {}
|
|
1754
|
+
|
|
1755
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1756
|
+
|
|
1757
|
+
async def DescribeLiveCloudEffectList(
|
|
1758
|
+
self,
|
|
1759
|
+
request: models.DescribeLiveCloudEffectListRequest,
|
|
1760
|
+
opts: Dict = None,
|
|
1761
|
+
) -> models.DescribeLiveCloudEffectListResponse:
|
|
1762
|
+
"""
|
|
1763
|
+
使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
|
|
1764
|
+
"""
|
|
1765
|
+
|
|
1766
|
+
kwargs = {}
|
|
1767
|
+
kwargs["action"] = "DescribeLiveCloudEffectList"
|
|
1768
|
+
kwargs["params"] = request._serialize()
|
|
1769
|
+
kwargs["resp_cls"] = models.DescribeLiveCloudEffectListResponse
|
|
1770
|
+
kwargs["headers"] = request.headers
|
|
1771
|
+
kwargs["opts"] = opts or {}
|
|
1772
|
+
|
|
1773
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1774
|
+
|
|
1775
|
+
async def DescribeLiveDelayInfoList(
|
|
1776
|
+
self,
|
|
1777
|
+
request: models.DescribeLiveDelayInfoListRequest,
|
|
1778
|
+
opts: Dict = None,
|
|
1779
|
+
) -> models.DescribeLiveDelayInfoListResponse:
|
|
1780
|
+
"""
|
|
1781
|
+
获取直播延播列表。
|
|
1782
|
+
"""
|
|
1783
|
+
|
|
1784
|
+
kwargs = {}
|
|
1785
|
+
kwargs["action"] = "DescribeLiveDelayInfoList"
|
|
1786
|
+
kwargs["params"] = request._serialize()
|
|
1787
|
+
kwargs["resp_cls"] = models.DescribeLiveDelayInfoListResponse
|
|
1788
|
+
kwargs["headers"] = request.headers
|
|
1789
|
+
kwargs["opts"] = opts or {}
|
|
1790
|
+
|
|
1791
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1792
|
+
|
|
1793
|
+
async def DescribeLiveDomain(
|
|
1794
|
+
self,
|
|
1795
|
+
request: models.DescribeLiveDomainRequest,
|
|
1796
|
+
opts: Dict = None,
|
|
1797
|
+
) -> models.DescribeLiveDomainResponse:
|
|
1798
|
+
"""
|
|
1799
|
+
查询直播域名信息。
|
|
1800
|
+
"""
|
|
1801
|
+
|
|
1802
|
+
kwargs = {}
|
|
1803
|
+
kwargs["action"] = "DescribeLiveDomain"
|
|
1804
|
+
kwargs["params"] = request._serialize()
|
|
1805
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainResponse
|
|
1806
|
+
kwargs["headers"] = request.headers
|
|
1807
|
+
kwargs["opts"] = opts or {}
|
|
1808
|
+
|
|
1809
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1810
|
+
|
|
1811
|
+
async def DescribeLiveDomainCert(
|
|
1812
|
+
self,
|
|
1813
|
+
request: models.DescribeLiveDomainCertRequest,
|
|
1814
|
+
opts: Dict = None,
|
|
1815
|
+
) -> models.DescribeLiveDomainCertResponse:
|
|
1816
|
+
"""
|
|
1817
|
+
获取域名证书信息。
|
|
1818
|
+
"""
|
|
1819
|
+
|
|
1820
|
+
kwargs = {}
|
|
1821
|
+
kwargs["action"] = "DescribeLiveDomainCert"
|
|
1822
|
+
kwargs["params"] = request._serialize()
|
|
1823
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainCertResponse
|
|
1824
|
+
kwargs["headers"] = request.headers
|
|
1825
|
+
kwargs["opts"] = opts or {}
|
|
1826
|
+
|
|
1827
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1828
|
+
|
|
1829
|
+
async def DescribeLiveDomainCertBindings(
|
|
1830
|
+
self,
|
|
1831
|
+
request: models.DescribeLiveDomainCertBindingsRequest,
|
|
1832
|
+
opts: Dict = None,
|
|
1833
|
+
) -> models.DescribeLiveDomainCertBindingsResponse:
|
|
1834
|
+
"""
|
|
1835
|
+
查询绑定证书的域名列表。
|
|
1836
|
+
"""
|
|
1837
|
+
|
|
1838
|
+
kwargs = {}
|
|
1839
|
+
kwargs["action"] = "DescribeLiveDomainCertBindings"
|
|
1840
|
+
kwargs["params"] = request._serialize()
|
|
1841
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainCertBindingsResponse
|
|
1842
|
+
kwargs["headers"] = request.headers
|
|
1843
|
+
kwargs["opts"] = opts or {}
|
|
1844
|
+
|
|
1845
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1846
|
+
|
|
1847
|
+
async def DescribeLiveDomainPlayInfoList(
|
|
1848
|
+
self,
|
|
1849
|
+
request: models.DescribeLiveDomainPlayInfoListRequest,
|
|
1850
|
+
opts: Dict = None,
|
|
1851
|
+
) -> models.DescribeLiveDomainPlayInfoListResponse:
|
|
1852
|
+
"""
|
|
1853
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1854
|
+
查询实时的域名维度下行播放数据,由于数据处理有耗时,接口默认查询4分钟前的准实时数据。
|
|
1855
|
+
"""
|
|
1856
|
+
|
|
1857
|
+
kwargs = {}
|
|
1858
|
+
kwargs["action"] = "DescribeLiveDomainPlayInfoList"
|
|
1859
|
+
kwargs["params"] = request._serialize()
|
|
1860
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainPlayInfoListResponse
|
|
1861
|
+
kwargs["headers"] = request.headers
|
|
1862
|
+
kwargs["opts"] = opts or {}
|
|
1863
|
+
|
|
1864
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1865
|
+
|
|
1866
|
+
async def DescribeLiveDomainReferer(
|
|
1867
|
+
self,
|
|
1868
|
+
request: models.DescribeLiveDomainRefererRequest,
|
|
1869
|
+
opts: Dict = None,
|
|
1870
|
+
) -> models.DescribeLiveDomainRefererResponse:
|
|
1871
|
+
"""
|
|
1872
|
+
查询直播域名 Referer 黑白名单配置。
|
|
1873
|
+
由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
|
|
1874
|
+
"""
|
|
1875
|
+
|
|
1876
|
+
kwargs = {}
|
|
1877
|
+
kwargs["action"] = "DescribeLiveDomainReferer"
|
|
1878
|
+
kwargs["params"] = request._serialize()
|
|
1879
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainRefererResponse
|
|
1880
|
+
kwargs["headers"] = request.headers
|
|
1881
|
+
kwargs["opts"] = opts or {}
|
|
1882
|
+
|
|
1883
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1884
|
+
|
|
1885
|
+
async def DescribeLiveDomains(
|
|
1886
|
+
self,
|
|
1887
|
+
request: models.DescribeLiveDomainsRequest,
|
|
1888
|
+
opts: Dict = None,
|
|
1889
|
+
) -> models.DescribeLiveDomainsResponse:
|
|
1890
|
+
"""
|
|
1891
|
+
根据域名状态、类型等信息查询用户的域名信息。
|
|
1892
|
+
"""
|
|
1893
|
+
|
|
1894
|
+
kwargs = {}
|
|
1895
|
+
kwargs["action"] = "DescribeLiveDomains"
|
|
1896
|
+
kwargs["params"] = request._serialize()
|
|
1897
|
+
kwargs["resp_cls"] = models.DescribeLiveDomainsResponse
|
|
1898
|
+
kwargs["headers"] = request.headers
|
|
1899
|
+
kwargs["opts"] = opts or {}
|
|
1900
|
+
|
|
1901
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1902
|
+
|
|
1903
|
+
async def DescribeLiveEnhanceInfoList(
|
|
1904
|
+
self,
|
|
1905
|
+
request: models.DescribeLiveEnhanceInfoListRequest,
|
|
1906
|
+
opts: Dict = None,
|
|
1907
|
+
) -> models.DescribeLiveEnhanceInfoListResponse:
|
|
1908
|
+
"""
|
|
1909
|
+
查询直播增强用量明细信息。
|
|
1910
|
+
"""
|
|
1911
|
+
|
|
1912
|
+
kwargs = {}
|
|
1913
|
+
kwargs["action"] = "DescribeLiveEnhanceInfoList"
|
|
1914
|
+
kwargs["params"] = request._serialize()
|
|
1915
|
+
kwargs["resp_cls"] = models.DescribeLiveEnhanceInfoListResponse
|
|
1916
|
+
kwargs["headers"] = request.headers
|
|
1917
|
+
kwargs["opts"] = opts or {}
|
|
1918
|
+
|
|
1919
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1920
|
+
|
|
1921
|
+
async def DescribeLivePackageInfo(
|
|
1922
|
+
self,
|
|
1923
|
+
request: models.DescribeLivePackageInfoRequest,
|
|
1924
|
+
opts: Dict = None,
|
|
1925
|
+
) -> models.DescribeLivePackageInfoResponse:
|
|
1926
|
+
"""
|
|
1927
|
+
查询用户套餐包总量、使用量、剩余量、包状态、购买时间和过期时间等。
|
|
1928
|
+
"""
|
|
1929
|
+
|
|
1930
|
+
kwargs = {}
|
|
1931
|
+
kwargs["action"] = "DescribeLivePackageInfo"
|
|
1932
|
+
kwargs["params"] = request._serialize()
|
|
1933
|
+
kwargs["resp_cls"] = models.DescribeLivePackageInfoResponse
|
|
1934
|
+
kwargs["headers"] = request.headers
|
|
1935
|
+
kwargs["opts"] = opts or {}
|
|
1936
|
+
|
|
1937
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1938
|
+
|
|
1939
|
+
async def DescribeLivePadRules(
|
|
1940
|
+
self,
|
|
1941
|
+
request: models.DescribeLivePadRulesRequest,
|
|
1942
|
+
opts: Dict = None,
|
|
1943
|
+
) -> models.DescribeLivePadRulesResponse:
|
|
1944
|
+
"""
|
|
1945
|
+
获取直播垫片规则列表。
|
|
1946
|
+
"""
|
|
1947
|
+
|
|
1948
|
+
kwargs = {}
|
|
1949
|
+
kwargs["action"] = "DescribeLivePadRules"
|
|
1950
|
+
kwargs["params"] = request._serialize()
|
|
1951
|
+
kwargs["resp_cls"] = models.DescribeLivePadRulesResponse
|
|
1952
|
+
kwargs["headers"] = request.headers
|
|
1953
|
+
kwargs["opts"] = opts or {}
|
|
1954
|
+
|
|
1955
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1956
|
+
|
|
1957
|
+
async def DescribeLivePadStreamList(
|
|
1958
|
+
self,
|
|
1959
|
+
request: models.DescribeLivePadStreamListRequest,
|
|
1960
|
+
opts: Dict = None,
|
|
1961
|
+
) -> models.DescribeLivePadStreamListResponse:
|
|
1962
|
+
"""
|
|
1963
|
+
使用该接口查询垫片流列表。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
|
1964
|
+
"""
|
|
1965
|
+
|
|
1966
|
+
kwargs = {}
|
|
1967
|
+
kwargs["action"] = "DescribeLivePadStreamList"
|
|
1968
|
+
kwargs["params"] = request._serialize()
|
|
1969
|
+
kwargs["resp_cls"] = models.DescribeLivePadStreamListResponse
|
|
1970
|
+
kwargs["headers"] = request.headers
|
|
1971
|
+
kwargs["opts"] = opts or {}
|
|
1972
|
+
|
|
1973
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1974
|
+
|
|
1975
|
+
async def DescribeLivePadTemplate(
|
|
1976
|
+
self,
|
|
1977
|
+
request: models.DescribeLivePadTemplateRequest,
|
|
1978
|
+
opts: Dict = None,
|
|
1979
|
+
) -> models.DescribeLivePadTemplateResponse:
|
|
1980
|
+
"""
|
|
1981
|
+
获取单个直播垫片模板
|
|
1982
|
+
"""
|
|
1983
|
+
|
|
1984
|
+
kwargs = {}
|
|
1985
|
+
kwargs["action"] = "DescribeLivePadTemplate"
|
|
1986
|
+
kwargs["params"] = request._serialize()
|
|
1987
|
+
kwargs["resp_cls"] = models.DescribeLivePadTemplateResponse
|
|
1988
|
+
kwargs["headers"] = request.headers
|
|
1989
|
+
kwargs["opts"] = opts or {}
|
|
1990
|
+
|
|
1991
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1992
|
+
|
|
1993
|
+
async def DescribeLivePadTemplates(
|
|
1994
|
+
self,
|
|
1995
|
+
request: models.DescribeLivePadTemplatesRequest,
|
|
1996
|
+
opts: Dict = None,
|
|
1997
|
+
) -> models.DescribeLivePadTemplatesResponse:
|
|
1998
|
+
"""
|
|
1999
|
+
获取直播垫片模板。
|
|
2000
|
+
"""
|
|
2001
|
+
|
|
2002
|
+
kwargs = {}
|
|
2003
|
+
kwargs["action"] = "DescribeLivePadTemplates"
|
|
2004
|
+
kwargs["params"] = request._serialize()
|
|
2005
|
+
kwargs["resp_cls"] = models.DescribeLivePadTemplatesResponse
|
|
2006
|
+
kwargs["headers"] = request.headers
|
|
2007
|
+
kwargs["opts"] = opts or {}
|
|
2008
|
+
|
|
2009
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2010
|
+
|
|
2011
|
+
async def DescribeLivePlayAuthKey(
|
|
2012
|
+
self,
|
|
2013
|
+
request: models.DescribeLivePlayAuthKeyRequest,
|
|
2014
|
+
opts: Dict = None,
|
|
2015
|
+
) -> models.DescribeLivePlayAuthKeyResponse:
|
|
2016
|
+
"""
|
|
2017
|
+
查询播放鉴权key。
|
|
2018
|
+
"""
|
|
2019
|
+
|
|
2020
|
+
kwargs = {}
|
|
2021
|
+
kwargs["action"] = "DescribeLivePlayAuthKey"
|
|
2022
|
+
kwargs["params"] = request._serialize()
|
|
2023
|
+
kwargs["resp_cls"] = models.DescribeLivePlayAuthKeyResponse
|
|
2024
|
+
kwargs["headers"] = request.headers
|
|
2025
|
+
kwargs["opts"] = opts or {}
|
|
2026
|
+
|
|
2027
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2028
|
+
|
|
2029
|
+
async def DescribeLivePullStreamTaskStatus(
|
|
2030
|
+
self,
|
|
2031
|
+
request: models.DescribeLivePullStreamTaskStatusRequest,
|
|
2032
|
+
opts: Dict = None,
|
|
2033
|
+
) -> models.DescribeLivePullStreamTaskStatusResponse:
|
|
2034
|
+
"""
|
|
2035
|
+
查询直播拉流任务状态信息。
|
|
2036
|
+
"""
|
|
2037
|
+
|
|
2038
|
+
kwargs = {}
|
|
2039
|
+
kwargs["action"] = "DescribeLivePullStreamTaskStatus"
|
|
2040
|
+
kwargs["params"] = request._serialize()
|
|
2041
|
+
kwargs["resp_cls"] = models.DescribeLivePullStreamTaskStatusResponse
|
|
2042
|
+
kwargs["headers"] = request.headers
|
|
2043
|
+
kwargs["opts"] = opts or {}
|
|
2044
|
+
|
|
2045
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2046
|
+
|
|
2047
|
+
async def DescribeLivePullStreamTasks(
|
|
2048
|
+
self,
|
|
2049
|
+
request: models.DescribeLivePullStreamTasksRequest,
|
|
2050
|
+
opts: Dict = None,
|
|
2051
|
+
) -> models.DescribeLivePullStreamTasksResponse:
|
|
2052
|
+
"""
|
|
2053
|
+
查询使用 CreateLivePullStreamTask 接口创建的直播拉流任务。
|
|
2054
|
+
排序方式:默认按更新时间 倒序排列。
|
|
2055
|
+
"""
|
|
2056
|
+
|
|
2057
|
+
kwargs = {}
|
|
2058
|
+
kwargs["action"] = "DescribeLivePullStreamTasks"
|
|
2059
|
+
kwargs["params"] = request._serialize()
|
|
2060
|
+
kwargs["resp_cls"] = models.DescribeLivePullStreamTasksResponse
|
|
2061
|
+
kwargs["headers"] = request.headers
|
|
2062
|
+
kwargs["opts"] = opts or {}
|
|
2063
|
+
|
|
2064
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2065
|
+
|
|
2066
|
+
async def DescribeLivePushAuthKey(
|
|
2067
|
+
self,
|
|
2068
|
+
request: models.DescribeLivePushAuthKeyRequest,
|
|
2069
|
+
opts: Dict = None,
|
|
2070
|
+
) -> models.DescribeLivePushAuthKeyResponse:
|
|
2071
|
+
"""
|
|
2072
|
+
查询直播推流鉴权key
|
|
2073
|
+
"""
|
|
2074
|
+
|
|
2075
|
+
kwargs = {}
|
|
2076
|
+
kwargs["action"] = "DescribeLivePushAuthKey"
|
|
2077
|
+
kwargs["params"] = request._serialize()
|
|
2078
|
+
kwargs["resp_cls"] = models.DescribeLivePushAuthKeyResponse
|
|
2079
|
+
kwargs["headers"] = request.headers
|
|
2080
|
+
kwargs["opts"] = opts or {}
|
|
2081
|
+
|
|
2082
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2083
|
+
|
|
2084
|
+
async def DescribeLiveRecordRules(
|
|
2085
|
+
self,
|
|
2086
|
+
request: models.DescribeLiveRecordRulesRequest,
|
|
2087
|
+
opts: Dict = None,
|
|
2088
|
+
) -> models.DescribeLiveRecordRulesResponse:
|
|
2089
|
+
"""
|
|
2090
|
+
获取录制规则列表
|
|
2091
|
+
"""
|
|
2092
|
+
|
|
2093
|
+
kwargs = {}
|
|
2094
|
+
kwargs["action"] = "DescribeLiveRecordRules"
|
|
2095
|
+
kwargs["params"] = request._serialize()
|
|
2096
|
+
kwargs["resp_cls"] = models.DescribeLiveRecordRulesResponse
|
|
2097
|
+
kwargs["headers"] = request.headers
|
|
2098
|
+
kwargs["opts"] = opts or {}
|
|
2099
|
+
|
|
2100
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2101
|
+
|
|
2102
|
+
async def DescribeLiveRecordTemplate(
|
|
2103
|
+
self,
|
|
2104
|
+
request: models.DescribeLiveRecordTemplateRequest,
|
|
2105
|
+
opts: Dict = None,
|
|
2106
|
+
) -> models.DescribeLiveRecordTemplateResponse:
|
|
2107
|
+
"""
|
|
2108
|
+
获取单个录制模板。
|
|
2109
|
+
"""
|
|
2110
|
+
|
|
2111
|
+
kwargs = {}
|
|
2112
|
+
kwargs["action"] = "DescribeLiveRecordTemplate"
|
|
2113
|
+
kwargs["params"] = request._serialize()
|
|
2114
|
+
kwargs["resp_cls"] = models.DescribeLiveRecordTemplateResponse
|
|
2115
|
+
kwargs["headers"] = request.headers
|
|
2116
|
+
kwargs["opts"] = opts or {}
|
|
2117
|
+
|
|
2118
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2119
|
+
|
|
2120
|
+
async def DescribeLiveRecordTemplates(
|
|
2121
|
+
self,
|
|
2122
|
+
request: models.DescribeLiveRecordTemplatesRequest,
|
|
2123
|
+
opts: Dict = None,
|
|
2124
|
+
) -> models.DescribeLiveRecordTemplatesResponse:
|
|
2125
|
+
"""
|
|
2126
|
+
获取录制模板列表。
|
|
2127
|
+
"""
|
|
2128
|
+
|
|
2129
|
+
kwargs = {}
|
|
2130
|
+
kwargs["action"] = "DescribeLiveRecordTemplates"
|
|
2131
|
+
kwargs["params"] = request._serialize()
|
|
2132
|
+
kwargs["resp_cls"] = models.DescribeLiveRecordTemplatesResponse
|
|
2133
|
+
kwargs["headers"] = request.headers
|
|
2134
|
+
kwargs["opts"] = opts or {}
|
|
2135
|
+
|
|
2136
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2137
|
+
|
|
2138
|
+
async def DescribeLiveSnapshotRules(
|
|
2139
|
+
self,
|
|
2140
|
+
request: models.DescribeLiveSnapshotRulesRequest,
|
|
2141
|
+
opts: Dict = None,
|
|
2142
|
+
) -> models.DescribeLiveSnapshotRulesResponse:
|
|
2143
|
+
"""
|
|
2144
|
+
获取截图规则列表
|
|
2145
|
+
"""
|
|
2146
|
+
|
|
2147
|
+
kwargs = {}
|
|
2148
|
+
kwargs["action"] = "DescribeLiveSnapshotRules"
|
|
2149
|
+
kwargs["params"] = request._serialize()
|
|
2150
|
+
kwargs["resp_cls"] = models.DescribeLiveSnapshotRulesResponse
|
|
2151
|
+
kwargs["headers"] = request.headers
|
|
2152
|
+
kwargs["opts"] = opts or {}
|
|
2153
|
+
|
|
2154
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2155
|
+
|
|
2156
|
+
async def DescribeLiveSnapshotTemplate(
|
|
2157
|
+
self,
|
|
2158
|
+
request: models.DescribeLiveSnapshotTemplateRequest,
|
|
2159
|
+
opts: Dict = None,
|
|
2160
|
+
) -> models.DescribeLiveSnapshotTemplateResponse:
|
|
2161
|
+
"""
|
|
2162
|
+
获取单个截图模板。
|
|
2163
|
+
"""
|
|
2164
|
+
|
|
2165
|
+
kwargs = {}
|
|
2166
|
+
kwargs["action"] = "DescribeLiveSnapshotTemplate"
|
|
2167
|
+
kwargs["params"] = request._serialize()
|
|
2168
|
+
kwargs["resp_cls"] = models.DescribeLiveSnapshotTemplateResponse
|
|
2169
|
+
kwargs["headers"] = request.headers
|
|
2170
|
+
kwargs["opts"] = opts or {}
|
|
2171
|
+
|
|
2172
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2173
|
+
|
|
2174
|
+
async def DescribeLiveSnapshotTemplates(
|
|
2175
|
+
self,
|
|
2176
|
+
request: models.DescribeLiveSnapshotTemplatesRequest,
|
|
2177
|
+
opts: Dict = None,
|
|
2178
|
+
) -> models.DescribeLiveSnapshotTemplatesResponse:
|
|
2179
|
+
"""
|
|
2180
|
+
获取截图模板列表。
|
|
2181
|
+
"""
|
|
2182
|
+
|
|
2183
|
+
kwargs = {}
|
|
2184
|
+
kwargs["action"] = "DescribeLiveSnapshotTemplates"
|
|
2185
|
+
kwargs["params"] = request._serialize()
|
|
2186
|
+
kwargs["resp_cls"] = models.DescribeLiveSnapshotTemplatesResponse
|
|
2187
|
+
kwargs["headers"] = request.headers
|
|
2188
|
+
kwargs["opts"] = opts or {}
|
|
2189
|
+
|
|
2190
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2191
|
+
|
|
2192
|
+
async def DescribeLiveStreamEventList(
|
|
2193
|
+
self,
|
|
2194
|
+
request: models.DescribeLiveStreamEventListRequest,
|
|
2195
|
+
opts: Dict = None,
|
|
2196
|
+
) -> models.DescribeLiveStreamEventListResponse:
|
|
2197
|
+
"""
|
|
2198
|
+
用于查询推断流事件。<br>
|
|
2199
|
+
|
|
2200
|
+
注意:
|
|
2201
|
+
1. 该接口提供离线推断流记录查询功能,不可作为重要业务场景强依赖接口。
|
|
2202
|
+
2. 该接口可通过使用IsFilter进行过滤,返回推流历史记录。
|
|
2203
|
+
"""
|
|
2204
|
+
|
|
2205
|
+
kwargs = {}
|
|
2206
|
+
kwargs["action"] = "DescribeLiveStreamEventList"
|
|
2207
|
+
kwargs["params"] = request._serialize()
|
|
2208
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamEventListResponse
|
|
2209
|
+
kwargs["headers"] = request.headers
|
|
2210
|
+
kwargs["opts"] = opts or {}
|
|
2211
|
+
|
|
2212
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2213
|
+
|
|
2214
|
+
async def DescribeLiveStreamMonitor(
|
|
2215
|
+
self,
|
|
2216
|
+
request: models.DescribeLiveStreamMonitorRequest,
|
|
2217
|
+
opts: Dict = None,
|
|
2218
|
+
) -> models.DescribeLiveStreamMonitorResponse:
|
|
2219
|
+
"""
|
|
2220
|
+
该接口用来查询某个特定监播任务的配置。
|
|
2221
|
+
"""
|
|
2222
|
+
|
|
2223
|
+
kwargs = {}
|
|
2224
|
+
kwargs["action"] = "DescribeLiveStreamMonitor"
|
|
2225
|
+
kwargs["params"] = request._serialize()
|
|
2226
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamMonitorResponse
|
|
2227
|
+
kwargs["headers"] = request.headers
|
|
2228
|
+
kwargs["opts"] = opts or {}
|
|
2229
|
+
|
|
2230
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2231
|
+
|
|
2232
|
+
async def DescribeLiveStreamMonitorList(
|
|
2233
|
+
self,
|
|
2234
|
+
request: models.DescribeLiveStreamMonitorListRequest,
|
|
2235
|
+
opts: Dict = None,
|
|
2236
|
+
) -> models.DescribeLiveStreamMonitorListResponse:
|
|
2237
|
+
"""
|
|
2238
|
+
该接口用来查询直播流监播任务配置的列表信息。
|
|
2239
|
+
"""
|
|
2240
|
+
|
|
2241
|
+
kwargs = {}
|
|
2242
|
+
kwargs["action"] = "DescribeLiveStreamMonitorList"
|
|
2243
|
+
kwargs["params"] = request._serialize()
|
|
2244
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamMonitorListResponse
|
|
2245
|
+
kwargs["headers"] = request.headers
|
|
2246
|
+
kwargs["opts"] = opts or {}
|
|
2247
|
+
|
|
2248
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2249
|
+
|
|
2250
|
+
async def DescribeLiveStreamOnlineList(
|
|
2251
|
+
self,
|
|
2252
|
+
request: models.DescribeLiveStreamOnlineListRequest,
|
|
2253
|
+
opts: Dict = None,
|
|
2254
|
+
) -> models.DescribeLiveStreamOnlineListResponse:
|
|
2255
|
+
"""
|
|
2256
|
+
返回正在直播中的流列表。适用于推流成功后查询在线流信息。
|
|
2257
|
+
|
|
2258
|
+
注意:
|
|
2259
|
+
1. 该接口仅提供辅助查询在线流列表功能,业务重要场景不可强依赖该接口。
|
|
2260
|
+
2. 该接口仅适用于流数少于2万路的情况,对于流数较大用户请联系售后。
|
|
2261
|
+
"""
|
|
2262
|
+
|
|
2263
|
+
kwargs = {}
|
|
2264
|
+
kwargs["action"] = "DescribeLiveStreamOnlineList"
|
|
2265
|
+
kwargs["params"] = request._serialize()
|
|
2266
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamOnlineListResponse
|
|
2267
|
+
kwargs["headers"] = request.headers
|
|
2268
|
+
kwargs["opts"] = opts or {}
|
|
2269
|
+
|
|
2270
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2271
|
+
|
|
2272
|
+
async def DescribeLiveStreamPublishedList(
|
|
2273
|
+
self,
|
|
2274
|
+
request: models.DescribeLiveStreamPublishedListRequest,
|
|
2275
|
+
opts: Dict = None,
|
|
2276
|
+
) -> models.DescribeLiveStreamPublishedListResponse:
|
|
2277
|
+
"""
|
|
2278
|
+
返回已经推过流的流列表。<br>
|
|
2279
|
+
注意:分页最多支持查询1万条记录,可通过调整查询时间范围来获取更多数据。
|
|
2280
|
+
"""
|
|
2281
|
+
|
|
2282
|
+
kwargs = {}
|
|
2283
|
+
kwargs["action"] = "DescribeLiveStreamPublishedList"
|
|
2284
|
+
kwargs["params"] = request._serialize()
|
|
2285
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamPublishedListResponse
|
|
2286
|
+
kwargs["headers"] = request.headers
|
|
2287
|
+
kwargs["opts"] = opts or {}
|
|
2288
|
+
|
|
2289
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2290
|
+
|
|
2291
|
+
async def DescribeLiveStreamPushInfoList(
|
|
2292
|
+
self,
|
|
2293
|
+
request: models.DescribeLiveStreamPushInfoListRequest,
|
|
2294
|
+
opts: Dict = None,
|
|
2295
|
+
) -> models.DescribeLiveStreamPushInfoListResponse:
|
|
2296
|
+
"""
|
|
2297
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2298
|
+
查询所有实时流的推流信息,包括客户端IP,服务端IP,帧率,码率,域名,开始推流时间。
|
|
2299
|
+
"""
|
|
2300
|
+
|
|
2301
|
+
kwargs = {}
|
|
2302
|
+
kwargs["action"] = "DescribeLiveStreamPushInfoList"
|
|
2303
|
+
kwargs["params"] = request._serialize()
|
|
2304
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamPushInfoListResponse
|
|
2305
|
+
kwargs["headers"] = request.headers
|
|
2306
|
+
kwargs["opts"] = opts or {}
|
|
2307
|
+
|
|
2308
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2309
|
+
|
|
2310
|
+
async def DescribeLiveStreamState(
|
|
2311
|
+
self,
|
|
2312
|
+
request: models.DescribeLiveStreamStateRequest,
|
|
2313
|
+
opts: Dict = None,
|
|
2314
|
+
) -> models.DescribeLiveStreamStateResponse:
|
|
2315
|
+
"""
|
|
2316
|
+
返回直播中、无推流或者禁播等状态。
|
|
2317
|
+
|
|
2318
|
+
使用建议:
|
|
2319
|
+
该接口提供实时流状态查询功能,鉴于网络抖动等一些不可抗因素,使用该接口作为判断主播是否开播等重要业务场景时,请参考以下使用建议。
|
|
2320
|
+
1. 优先使用业务自身的房间开关播逻辑,判断主播是否在线,譬如客户端开播信令和主播在线心跳等。
|
|
2321
|
+
2. 对于没有房间管理的直播场景,可以结合以下方案综合判断。
|
|
2322
|
+
2.1 根据[推断流事件通知](/document/product/267/20388) 判断主播在线状态。
|
|
2323
|
+
2.2 通过定时(间隔>1min)查询[直播中的流接口](/document/api/267/20472),判断主播是否在线。
|
|
2324
|
+
2.3 通过 本接口 查询直播流状态,判断主播是否在线。
|
|
2325
|
+
2.4 以上任一方式判断为在线,都认为主播开播中,并且接口查询超时或解析异常时,也默认为在线,减少对业务的影响。
|
|
2326
|
+
"""
|
|
2327
|
+
|
|
2328
|
+
kwargs = {}
|
|
2329
|
+
kwargs["action"] = "DescribeLiveStreamState"
|
|
2330
|
+
kwargs["params"] = request._serialize()
|
|
2331
|
+
kwargs["resp_cls"] = models.DescribeLiveStreamStateResponse
|
|
2332
|
+
kwargs["headers"] = request.headers
|
|
2333
|
+
kwargs["opts"] = opts or {}
|
|
2334
|
+
|
|
2335
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2336
|
+
|
|
2337
|
+
async def DescribeLiveTimeShiftBillInfoList(
|
|
2338
|
+
self,
|
|
2339
|
+
request: models.DescribeLiveTimeShiftBillInfoListRequest,
|
|
2340
|
+
opts: Dict = None,
|
|
2341
|
+
) -> models.DescribeLiveTimeShiftBillInfoListResponse:
|
|
2342
|
+
"""
|
|
2343
|
+
提供给客户对账,按天统计,维度:推流域名、时移文件时长(累加)、配置天数(不累加)、时移总时长(累加)。
|
|
2344
|
+
"""
|
|
2345
|
+
|
|
2346
|
+
kwargs = {}
|
|
2347
|
+
kwargs["action"] = "DescribeLiveTimeShiftBillInfoList"
|
|
2348
|
+
kwargs["params"] = request._serialize()
|
|
2349
|
+
kwargs["resp_cls"] = models.DescribeLiveTimeShiftBillInfoListResponse
|
|
2350
|
+
kwargs["headers"] = request.headers
|
|
2351
|
+
kwargs["opts"] = opts or {}
|
|
2352
|
+
|
|
2353
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2354
|
+
|
|
2355
|
+
async def DescribeLiveTimeShiftRules(
|
|
2356
|
+
self,
|
|
2357
|
+
request: models.DescribeLiveTimeShiftRulesRequest,
|
|
2358
|
+
opts: Dict = None,
|
|
2359
|
+
) -> models.DescribeLiveTimeShiftRulesResponse:
|
|
2360
|
+
"""
|
|
2361
|
+
获取直播时移规则列表。
|
|
2362
|
+
"""
|
|
2363
|
+
|
|
2364
|
+
kwargs = {}
|
|
2365
|
+
kwargs["action"] = "DescribeLiveTimeShiftRules"
|
|
2366
|
+
kwargs["params"] = request._serialize()
|
|
2367
|
+
kwargs["resp_cls"] = models.DescribeLiveTimeShiftRulesResponse
|
|
2368
|
+
kwargs["headers"] = request.headers
|
|
2369
|
+
kwargs["opts"] = opts or {}
|
|
2370
|
+
|
|
2371
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2372
|
+
|
|
2373
|
+
async def DescribeLiveTimeShiftTemplates(
|
|
2374
|
+
self,
|
|
2375
|
+
request: models.DescribeLiveTimeShiftTemplatesRequest,
|
|
2376
|
+
opts: Dict = None,
|
|
2377
|
+
) -> models.DescribeLiveTimeShiftTemplatesResponse:
|
|
2378
|
+
"""
|
|
2379
|
+
获取直播时移模板。
|
|
2380
|
+
"""
|
|
2381
|
+
|
|
2382
|
+
kwargs = {}
|
|
2383
|
+
kwargs["action"] = "DescribeLiveTimeShiftTemplates"
|
|
2384
|
+
kwargs["params"] = request._serialize()
|
|
2385
|
+
kwargs["resp_cls"] = models.DescribeLiveTimeShiftTemplatesResponse
|
|
2386
|
+
kwargs["headers"] = request.headers
|
|
2387
|
+
kwargs["opts"] = opts or {}
|
|
2388
|
+
|
|
2389
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2390
|
+
|
|
2391
|
+
async def DescribeLiveTimeShiftWriteSizeInfoList(
|
|
2392
|
+
self,
|
|
2393
|
+
request: models.DescribeLiveTimeShiftWriteSizeInfoListRequest,
|
|
2394
|
+
opts: Dict = None,
|
|
2395
|
+
) -> models.DescribeLiveTimeShiftWriteSizeInfoListResponse:
|
|
2396
|
+
"""
|
|
2397
|
+
支持直播时移写入量数据查询。
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
kwargs = {}
|
|
2401
|
+
kwargs["action"] = "DescribeLiveTimeShiftWriteSizeInfoList"
|
|
2402
|
+
kwargs["params"] = request._serialize()
|
|
2403
|
+
kwargs["resp_cls"] = models.DescribeLiveTimeShiftWriteSizeInfoListResponse
|
|
2404
|
+
kwargs["headers"] = request.headers
|
|
2405
|
+
kwargs["opts"] = opts or {}
|
|
2406
|
+
|
|
2407
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2408
|
+
|
|
2409
|
+
async def DescribeLiveTranscodeDetailInfo(
|
|
2410
|
+
self,
|
|
2411
|
+
request: models.DescribeLiveTranscodeDetailInfoRequest,
|
|
2412
|
+
opts: Dict = None,
|
|
2413
|
+
) -> models.DescribeLiveTranscodeDetailInfoResponse:
|
|
2414
|
+
"""
|
|
2415
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2416
|
+
支持查询某天或某段时间的转码详细信息。由于转码数据量较大,如果查询时间跨度太长可能会拉不到数据,可以尝试将查询时间范围缩小些再重试。
|
|
2417
|
+
"""
|
|
2418
|
+
|
|
2419
|
+
kwargs = {}
|
|
2420
|
+
kwargs["action"] = "DescribeLiveTranscodeDetailInfo"
|
|
2421
|
+
kwargs["params"] = request._serialize()
|
|
2422
|
+
kwargs["resp_cls"] = models.DescribeLiveTranscodeDetailInfoResponse
|
|
2423
|
+
kwargs["headers"] = request.headers
|
|
2424
|
+
kwargs["opts"] = opts or {}
|
|
2425
|
+
|
|
2426
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2427
|
+
|
|
2428
|
+
async def DescribeLiveTranscodeRules(
|
|
2429
|
+
self,
|
|
2430
|
+
request: models.DescribeLiveTranscodeRulesRequest,
|
|
2431
|
+
opts: Dict = None,
|
|
2432
|
+
) -> models.DescribeLiveTranscodeRulesResponse:
|
|
2433
|
+
"""
|
|
2434
|
+
获取转码规则列表
|
|
2435
|
+
"""
|
|
2436
|
+
|
|
2437
|
+
kwargs = {}
|
|
2438
|
+
kwargs["action"] = "DescribeLiveTranscodeRules"
|
|
2439
|
+
kwargs["params"] = request._serialize()
|
|
2440
|
+
kwargs["resp_cls"] = models.DescribeLiveTranscodeRulesResponse
|
|
2441
|
+
kwargs["headers"] = request.headers
|
|
2442
|
+
kwargs["opts"] = opts or {}
|
|
2443
|
+
|
|
2444
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2445
|
+
|
|
2446
|
+
async def DescribeLiveTranscodeTemplate(
|
|
2447
|
+
self,
|
|
2448
|
+
request: models.DescribeLiveTranscodeTemplateRequest,
|
|
2449
|
+
opts: Dict = None,
|
|
2450
|
+
) -> models.DescribeLiveTranscodeTemplateResponse:
|
|
2451
|
+
"""
|
|
2452
|
+
获取单个转码模板。
|
|
2453
|
+
"""
|
|
2454
|
+
|
|
2455
|
+
kwargs = {}
|
|
2456
|
+
kwargs["action"] = "DescribeLiveTranscodeTemplate"
|
|
2457
|
+
kwargs["params"] = request._serialize()
|
|
2458
|
+
kwargs["resp_cls"] = models.DescribeLiveTranscodeTemplateResponse
|
|
2459
|
+
kwargs["headers"] = request.headers
|
|
2460
|
+
kwargs["opts"] = opts or {}
|
|
2461
|
+
|
|
2462
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2463
|
+
|
|
2464
|
+
async def DescribeLiveTranscodeTemplates(
|
|
2465
|
+
self,
|
|
2466
|
+
request: models.DescribeLiveTranscodeTemplatesRequest,
|
|
2467
|
+
opts: Dict = None,
|
|
2468
|
+
) -> models.DescribeLiveTranscodeTemplatesResponse:
|
|
2469
|
+
"""
|
|
2470
|
+
获取转码模板列表。
|
|
2471
|
+
"""
|
|
2472
|
+
|
|
2473
|
+
kwargs = {}
|
|
2474
|
+
kwargs["action"] = "DescribeLiveTranscodeTemplates"
|
|
2475
|
+
kwargs["params"] = request._serialize()
|
|
2476
|
+
kwargs["resp_cls"] = models.DescribeLiveTranscodeTemplatesResponse
|
|
2477
|
+
kwargs["headers"] = request.headers
|
|
2478
|
+
kwargs["opts"] = opts or {}
|
|
2479
|
+
|
|
2480
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2481
|
+
|
|
2482
|
+
async def DescribeLiveTranscodeTotalInfo(
|
|
2483
|
+
self,
|
|
2484
|
+
request: models.DescribeLiveTranscodeTotalInfoRequest,
|
|
2485
|
+
opts: Dict = None,
|
|
2486
|
+
) -> models.DescribeLiveTranscodeTotalInfoResponse:
|
|
2487
|
+
"""
|
|
2488
|
+
查询转码总量数据,可查询近三个月内的数据。
|
|
2489
|
+
注意:
|
|
2490
|
+
如果是查询某一天内,则返回5分钟粒度数据;
|
|
2491
|
+
如果是查询跨天或指定域名, 则返回1小时粒度数据。
|
|
2492
|
+
"""
|
|
2493
|
+
|
|
2494
|
+
kwargs = {}
|
|
2495
|
+
kwargs["action"] = "DescribeLiveTranscodeTotalInfo"
|
|
2496
|
+
kwargs["params"] = request._serialize()
|
|
2497
|
+
kwargs["resp_cls"] = models.DescribeLiveTranscodeTotalInfoResponse
|
|
2498
|
+
kwargs["headers"] = request.headers
|
|
2499
|
+
kwargs["opts"] = opts or {}
|
|
2500
|
+
|
|
2501
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2502
|
+
|
|
2503
|
+
async def DescribeLiveWatermark(
|
|
2504
|
+
self,
|
|
2505
|
+
request: models.DescribeLiveWatermarkRequest,
|
|
2506
|
+
opts: Dict = None,
|
|
2507
|
+
) -> models.DescribeLiveWatermarkResponse:
|
|
2508
|
+
"""
|
|
2509
|
+
获取单个水印信息。
|
|
2510
|
+
"""
|
|
2511
|
+
|
|
2512
|
+
kwargs = {}
|
|
2513
|
+
kwargs["action"] = "DescribeLiveWatermark"
|
|
2514
|
+
kwargs["params"] = request._serialize()
|
|
2515
|
+
kwargs["resp_cls"] = models.DescribeLiveWatermarkResponse
|
|
2516
|
+
kwargs["headers"] = request.headers
|
|
2517
|
+
kwargs["opts"] = opts or {}
|
|
2518
|
+
|
|
2519
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2520
|
+
|
|
2521
|
+
async def DescribeLiveWatermarkRules(
|
|
2522
|
+
self,
|
|
2523
|
+
request: models.DescribeLiveWatermarkRulesRequest,
|
|
2524
|
+
opts: Dict = None,
|
|
2525
|
+
) -> models.DescribeLiveWatermarkRulesResponse:
|
|
2526
|
+
"""
|
|
2527
|
+
获取水印规则列表。
|
|
2528
|
+
"""
|
|
2529
|
+
|
|
2530
|
+
kwargs = {}
|
|
2531
|
+
kwargs["action"] = "DescribeLiveWatermarkRules"
|
|
2532
|
+
kwargs["params"] = request._serialize()
|
|
2533
|
+
kwargs["resp_cls"] = models.DescribeLiveWatermarkRulesResponse
|
|
2534
|
+
kwargs["headers"] = request.headers
|
|
2535
|
+
kwargs["opts"] = opts or {}
|
|
2536
|
+
|
|
2537
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2538
|
+
|
|
2539
|
+
async def DescribeLiveWatermarks(
|
|
2540
|
+
self,
|
|
2541
|
+
request: models.DescribeLiveWatermarksRequest,
|
|
2542
|
+
opts: Dict = None,
|
|
2543
|
+
) -> models.DescribeLiveWatermarksResponse:
|
|
2544
|
+
"""
|
|
2545
|
+
查询水印列表。
|
|
2546
|
+
"""
|
|
2547
|
+
|
|
2548
|
+
kwargs = {}
|
|
2549
|
+
kwargs["action"] = "DescribeLiveWatermarks"
|
|
2550
|
+
kwargs["params"] = request._serialize()
|
|
2551
|
+
kwargs["resp_cls"] = models.DescribeLiveWatermarksResponse
|
|
2552
|
+
kwargs["headers"] = request.headers
|
|
2553
|
+
kwargs["opts"] = opts or {}
|
|
2554
|
+
|
|
2555
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2556
|
+
|
|
2557
|
+
async def DescribeLiveXP2PDetailInfoList(
|
|
2558
|
+
self,
|
|
2559
|
+
request: models.DescribeLiveXP2PDetailInfoListRequest,
|
|
2560
|
+
opts: Dict = None,
|
|
2561
|
+
) -> models.DescribeLiveXP2PDetailInfoListResponse:
|
|
2562
|
+
"""
|
|
2563
|
+
P2P流数据查询接口,用来获取流量、卡播和起播信息。
|
|
2564
|
+
"""
|
|
2565
|
+
|
|
2566
|
+
kwargs = {}
|
|
2567
|
+
kwargs["action"] = "DescribeLiveXP2PDetailInfoList"
|
|
2568
|
+
kwargs["params"] = request._serialize()
|
|
2569
|
+
kwargs["resp_cls"] = models.DescribeLiveXP2PDetailInfoListResponse
|
|
2570
|
+
kwargs["headers"] = request.headers
|
|
2571
|
+
kwargs["opts"] = opts or {}
|
|
2572
|
+
|
|
2573
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2574
|
+
|
|
2575
|
+
async def DescribeLogDownloadList(
|
|
2576
|
+
self,
|
|
2577
|
+
request: models.DescribeLogDownloadListRequest,
|
|
2578
|
+
opts: Dict = None,
|
|
2579
|
+
) -> models.DescribeLogDownloadListResponse:
|
|
2580
|
+
"""
|
|
2581
|
+
批量获取日志URL。
|
|
2582
|
+
"""
|
|
2583
|
+
|
|
2584
|
+
kwargs = {}
|
|
2585
|
+
kwargs["action"] = "DescribeLogDownloadList"
|
|
2586
|
+
kwargs["params"] = request._serialize()
|
|
2587
|
+
kwargs["resp_cls"] = models.DescribeLogDownloadListResponse
|
|
2588
|
+
kwargs["headers"] = request.headers
|
|
2589
|
+
kwargs["opts"] = opts or {}
|
|
2590
|
+
|
|
2591
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2592
|
+
|
|
2593
|
+
async def DescribeMonitorReport(
|
|
2594
|
+
self,
|
|
2595
|
+
request: models.DescribeMonitorReportRequest,
|
|
2596
|
+
opts: Dict = None,
|
|
2597
|
+
) -> models.DescribeMonitorReportResponse:
|
|
2598
|
+
"""
|
|
2599
|
+
用来查询监播场次7天内的智能识别、断流、低帧率等信息的汇总报告。
|
|
2600
|
+
"""
|
|
2601
|
+
|
|
2602
|
+
kwargs = {}
|
|
2603
|
+
kwargs["action"] = "DescribeMonitorReport"
|
|
2604
|
+
kwargs["params"] = request._serialize()
|
|
2605
|
+
kwargs["resp_cls"] = models.DescribeMonitorReportResponse
|
|
2606
|
+
kwargs["headers"] = request.headers
|
|
2607
|
+
kwargs["opts"] = opts or {}
|
|
2608
|
+
|
|
2609
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2610
|
+
|
|
2611
|
+
async def DescribePlayErrorCodeDetailInfoList(
|
|
2612
|
+
self,
|
|
2613
|
+
request: models.DescribePlayErrorCodeDetailInfoListRequest,
|
|
2614
|
+
opts: Dict = None,
|
|
2615
|
+
) -> models.DescribePlayErrorCodeDetailInfoListResponse:
|
|
2616
|
+
"""
|
|
2617
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2618
|
+
查询下行播放错误码信息,某段时间内1分钟粒度的各http错误码出现的次数,包括4xx,5xx。
|
|
2619
|
+
"""
|
|
2620
|
+
|
|
2621
|
+
kwargs = {}
|
|
2622
|
+
kwargs["action"] = "DescribePlayErrorCodeDetailInfoList"
|
|
2623
|
+
kwargs["params"] = request._serialize()
|
|
2624
|
+
kwargs["resp_cls"] = models.DescribePlayErrorCodeDetailInfoListResponse
|
|
2625
|
+
kwargs["headers"] = request.headers
|
|
2626
|
+
kwargs["opts"] = opts or {}
|
|
2627
|
+
|
|
2628
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2629
|
+
|
|
2630
|
+
async def DescribePlayErrorCodeSumInfoList(
|
|
2631
|
+
self,
|
|
2632
|
+
request: models.DescribePlayErrorCodeSumInfoListRequest,
|
|
2633
|
+
opts: Dict = None,
|
|
2634
|
+
) -> models.DescribePlayErrorCodeSumInfoListResponse:
|
|
2635
|
+
"""
|
|
2636
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2637
|
+
查询下行播放错误码信息。
|
|
2638
|
+
"""
|
|
2639
|
+
|
|
2640
|
+
kwargs = {}
|
|
2641
|
+
kwargs["action"] = "DescribePlayErrorCodeSumInfoList"
|
|
2642
|
+
kwargs["params"] = request._serialize()
|
|
2643
|
+
kwargs["resp_cls"] = models.DescribePlayErrorCodeSumInfoListResponse
|
|
2644
|
+
kwargs["headers"] = request.headers
|
|
2645
|
+
kwargs["opts"] = opts or {}
|
|
2646
|
+
|
|
2647
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2648
|
+
|
|
2649
|
+
async def DescribeProIspPlaySumInfoList(
|
|
2650
|
+
self,
|
|
2651
|
+
request: models.DescribeProIspPlaySumInfoListRequest,
|
|
2652
|
+
opts: Dict = None,
|
|
2653
|
+
) -> models.DescribeProIspPlaySumInfoListResponse:
|
|
2654
|
+
"""
|
|
2655
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2656
|
+
查询某段时间内每个国家地区每个省份每个运营商的平均每秒流量,总流量,总请求数信息。
|
|
2657
|
+
"""
|
|
2658
|
+
|
|
2659
|
+
kwargs = {}
|
|
2660
|
+
kwargs["action"] = "DescribeProIspPlaySumInfoList"
|
|
2661
|
+
kwargs["params"] = request._serialize()
|
|
2662
|
+
kwargs["resp_cls"] = models.DescribeProIspPlaySumInfoListResponse
|
|
2663
|
+
kwargs["headers"] = request.headers
|
|
2664
|
+
kwargs["opts"] = opts or {}
|
|
2665
|
+
|
|
2666
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2667
|
+
|
|
2668
|
+
async def DescribeProvinceIspPlayInfoList(
|
|
2669
|
+
self,
|
|
2670
|
+
request: models.DescribeProvinceIspPlayInfoListRequest,
|
|
2671
|
+
opts: Dict = None,
|
|
2672
|
+
) -> models.DescribeProvinceIspPlayInfoListResponse:
|
|
2673
|
+
"""
|
|
2674
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2675
|
+
查询某省份某运营商下行播放数据,包括带宽,流量,请求数,并发连接数信息。
|
|
2676
|
+
"""
|
|
2677
|
+
|
|
2678
|
+
kwargs = {}
|
|
2679
|
+
kwargs["action"] = "DescribeProvinceIspPlayInfoList"
|
|
2680
|
+
kwargs["params"] = request._serialize()
|
|
2681
|
+
kwargs["resp_cls"] = models.DescribeProvinceIspPlayInfoListResponse
|
|
2682
|
+
kwargs["headers"] = request.headers
|
|
2683
|
+
kwargs["opts"] = opts or {}
|
|
2684
|
+
|
|
2685
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2686
|
+
|
|
2687
|
+
async def DescribePullStreamConfigs(
|
|
2688
|
+
self,
|
|
2689
|
+
request: models.DescribePullStreamConfigsRequest,
|
|
2690
|
+
opts: Dict = None,
|
|
2691
|
+
) -> models.DescribePullStreamConfigsResponse:
|
|
2692
|
+
"""
|
|
2693
|
+
查询直播拉流配置。该接口已下线,请使用新接口 DescribeLivePullStreamTasks。
|
|
2694
|
+
"""
|
|
2695
|
+
|
|
2696
|
+
kwargs = {}
|
|
2697
|
+
kwargs["action"] = "DescribePullStreamConfigs"
|
|
2698
|
+
kwargs["params"] = request._serialize()
|
|
2699
|
+
kwargs["resp_cls"] = models.DescribePullStreamConfigsResponse
|
|
2700
|
+
kwargs["headers"] = request.headers
|
|
2701
|
+
kwargs["opts"] = opts or {}
|
|
2702
|
+
|
|
2703
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2704
|
+
|
|
2705
|
+
async def DescribePullTransformPushInfo(
|
|
2706
|
+
self,
|
|
2707
|
+
request: models.DescribePullTransformPushInfoRequest,
|
|
2708
|
+
opts: Dict = None,
|
|
2709
|
+
) -> models.DescribePullTransformPushInfoResponse:
|
|
2710
|
+
"""
|
|
2711
|
+
查询拉流转推任务的时长信息。
|
|
2712
|
+
"""
|
|
2713
|
+
|
|
2714
|
+
kwargs = {}
|
|
2715
|
+
kwargs["action"] = "DescribePullTransformPushInfo"
|
|
2716
|
+
kwargs["params"] = request._serialize()
|
|
2717
|
+
kwargs["resp_cls"] = models.DescribePullTransformPushInfoResponse
|
|
2718
|
+
kwargs["headers"] = request.headers
|
|
2719
|
+
kwargs["opts"] = opts or {}
|
|
2720
|
+
|
|
2721
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2722
|
+
|
|
2723
|
+
async def DescribePushBandwidthAndFluxList(
|
|
2724
|
+
self,
|
|
2725
|
+
request: models.DescribePushBandwidthAndFluxListRequest,
|
|
2726
|
+
opts: Dict = None,
|
|
2727
|
+
) -> models.DescribePushBandwidthAndFluxListResponse:
|
|
2728
|
+
"""
|
|
2729
|
+
直播推流带宽和流量数据查询。
|
|
2730
|
+
推流计费会先取全球推流用量和全球播放用量进行比较,满足计费条件后再按各地区用量出账。详情参见[计费文档](https://cloud.tencent.com/document/product/267/34175)。
|
|
2731
|
+
"""
|
|
2732
|
+
|
|
2733
|
+
kwargs = {}
|
|
2734
|
+
kwargs["action"] = "DescribePushBandwidthAndFluxList"
|
|
2735
|
+
kwargs["params"] = request._serialize()
|
|
2736
|
+
kwargs["resp_cls"] = models.DescribePushBandwidthAndFluxListResponse
|
|
2737
|
+
kwargs["headers"] = request.headers
|
|
2738
|
+
kwargs["opts"] = opts or {}
|
|
2739
|
+
|
|
2740
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2741
|
+
|
|
2742
|
+
async def DescribeRecordTask(
|
|
2743
|
+
self,
|
|
2744
|
+
request: models.DescribeRecordTaskRequest,
|
|
2745
|
+
opts: Dict = None,
|
|
2746
|
+
) -> models.DescribeRecordTaskResponse:
|
|
2747
|
+
"""
|
|
2748
|
+
查询指定时间段范围内启动和结束的录制任务列表。
|
|
2749
|
+
- 使用前提
|
|
2750
|
+
1. 仅用于查询由 CreateRecordTask 接口创建的录制任务。
|
|
2751
|
+
2. 不能查询被 DeleteRecordTask 接口删除以及已过期(平台侧保留3个月)的录制任务。
|
|
2752
|
+
"""
|
|
2753
|
+
|
|
2754
|
+
kwargs = {}
|
|
2755
|
+
kwargs["action"] = "DescribeRecordTask"
|
|
2756
|
+
kwargs["params"] = request._serialize()
|
|
2757
|
+
kwargs["resp_cls"] = models.DescribeRecordTaskResponse
|
|
2758
|
+
kwargs["headers"] = request.headers
|
|
2759
|
+
kwargs["opts"] = opts or {}
|
|
2760
|
+
|
|
2761
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2762
|
+
|
|
2763
|
+
async def DescribeScreenShotSheetNumList(
|
|
2764
|
+
self,
|
|
2765
|
+
request: models.DescribeScreenShotSheetNumListRequest,
|
|
2766
|
+
opts: Dict = None,
|
|
2767
|
+
) -> models.DescribeScreenShotSheetNumListResponse:
|
|
2768
|
+
"""
|
|
2769
|
+
接口用来查询直播增值业务--截图的张数
|
|
2770
|
+
"""
|
|
2771
|
+
|
|
2772
|
+
kwargs = {}
|
|
2773
|
+
kwargs["action"] = "DescribeScreenShotSheetNumList"
|
|
2774
|
+
kwargs["params"] = request._serialize()
|
|
2775
|
+
kwargs["resp_cls"] = models.DescribeScreenShotSheetNumListResponse
|
|
2776
|
+
kwargs["headers"] = request.headers
|
|
2777
|
+
kwargs["opts"] = opts or {}
|
|
2778
|
+
|
|
2779
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2780
|
+
|
|
2781
|
+
async def DescribeScreenshotTask(
|
|
2782
|
+
self,
|
|
2783
|
+
request: models.DescribeScreenshotTaskRequest,
|
|
2784
|
+
opts: Dict = None,
|
|
2785
|
+
) -> models.DescribeScreenshotTaskResponse:
|
|
2786
|
+
"""
|
|
2787
|
+
查询指定时间段范围内启动和结束的截图任务列表。
|
|
2788
|
+
- 使用前提
|
|
2789
|
+
1. 仅用于查询由 CreateScreenshotTask接口创建的截图任务。
|
|
2790
|
+
2. 不能查询被 DeleteScreenshotTask接口删除以及已过期(平台侧保留3个月)的截图任务。
|
|
2791
|
+
"""
|
|
2792
|
+
|
|
2793
|
+
kwargs = {}
|
|
2794
|
+
kwargs["action"] = "DescribeScreenshotTask"
|
|
2795
|
+
kwargs["params"] = request._serialize()
|
|
2796
|
+
kwargs["resp_cls"] = models.DescribeScreenshotTaskResponse
|
|
2797
|
+
kwargs["headers"] = request.headers
|
|
2798
|
+
kwargs["opts"] = opts or {}
|
|
2799
|
+
|
|
2800
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2801
|
+
|
|
2802
|
+
async def DescribeStreamDayPlayInfoList(
|
|
2803
|
+
self,
|
|
2804
|
+
request: models.DescribeStreamDayPlayInfoListRequest,
|
|
2805
|
+
opts: Dict = None,
|
|
2806
|
+
) -> models.DescribeStreamDayPlayInfoListResponse:
|
|
2807
|
+
"""
|
|
2808
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2809
|
+
查询天维度每条流的播放数据,包括总流量等。
|
|
2810
|
+
"""
|
|
2811
|
+
|
|
2812
|
+
kwargs = {}
|
|
2813
|
+
kwargs["action"] = "DescribeStreamDayPlayInfoList"
|
|
2814
|
+
kwargs["params"] = request._serialize()
|
|
2815
|
+
kwargs["resp_cls"] = models.DescribeStreamDayPlayInfoListResponse
|
|
2816
|
+
kwargs["headers"] = request.headers
|
|
2817
|
+
kwargs["opts"] = opts or {}
|
|
2818
|
+
|
|
2819
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2820
|
+
|
|
2821
|
+
async def DescribeStreamPlayInfoList(
|
|
2822
|
+
self,
|
|
2823
|
+
request: models.DescribeStreamPlayInfoListRequest,
|
|
2824
|
+
opts: Dict = None,
|
|
2825
|
+
) -> models.DescribeStreamPlayInfoListResponse:
|
|
2826
|
+
"""
|
|
2827
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2828
|
+
查询播放数据,支持按流名称查询详细播放数据,也可按播放域名查询详细总数据,数据延迟4分钟左右。
|
|
2829
|
+
"""
|
|
2830
|
+
|
|
2831
|
+
kwargs = {}
|
|
2832
|
+
kwargs["action"] = "DescribeStreamPlayInfoList"
|
|
2833
|
+
kwargs["params"] = request._serialize()
|
|
2834
|
+
kwargs["resp_cls"] = models.DescribeStreamPlayInfoListResponse
|
|
2835
|
+
kwargs["headers"] = request.headers
|
|
2836
|
+
kwargs["opts"] = opts or {}
|
|
2837
|
+
|
|
2838
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2839
|
+
|
|
2840
|
+
async def DescribeStreamPushInfoList(
|
|
2841
|
+
self,
|
|
2842
|
+
request: models.DescribeStreamPushInfoListRequest,
|
|
2843
|
+
opts: Dict = None,
|
|
2844
|
+
) -> models.DescribeStreamPushInfoListResponse:
|
|
2845
|
+
"""
|
|
2846
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2847
|
+
查询流id的上行推流质量数据,包括音视频的帧率,码率,流逝时间,编码格式等。
|
|
2848
|
+
"""
|
|
2849
|
+
|
|
2850
|
+
kwargs = {}
|
|
2851
|
+
kwargs["action"] = "DescribeStreamPushInfoList"
|
|
2852
|
+
kwargs["params"] = request._serialize()
|
|
2853
|
+
kwargs["resp_cls"] = models.DescribeStreamPushInfoListResponse
|
|
2854
|
+
kwargs["headers"] = request.headers
|
|
2855
|
+
kwargs["opts"] = opts or {}
|
|
2856
|
+
|
|
2857
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2858
|
+
|
|
2859
|
+
async def DescribeTimeShiftRecordDetail(
|
|
2860
|
+
self,
|
|
2861
|
+
request: models.DescribeTimeShiftRecordDetailRequest,
|
|
2862
|
+
opts: Dict = None,
|
|
2863
|
+
) -> models.DescribeTimeShiftRecordDetailResponse:
|
|
2864
|
+
"""
|
|
2865
|
+
前提调用 DescribeTimeShiftStreamList 获得请求必要参数。查询指定范围内的时移流录制详情,最大支持24小时范围查询。
|
|
2866
|
+
"""
|
|
2867
|
+
|
|
2868
|
+
kwargs = {}
|
|
2869
|
+
kwargs["action"] = "DescribeTimeShiftRecordDetail"
|
|
2870
|
+
kwargs["params"] = request._serialize()
|
|
2871
|
+
kwargs["resp_cls"] = models.DescribeTimeShiftRecordDetailResponse
|
|
2872
|
+
kwargs["headers"] = request.headers
|
|
2873
|
+
kwargs["opts"] = opts or {}
|
|
2874
|
+
|
|
2875
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2876
|
+
|
|
2877
|
+
async def DescribeTimeShiftStreamList(
|
|
2878
|
+
self,
|
|
2879
|
+
request: models.DescribeTimeShiftStreamListRequest,
|
|
2880
|
+
opts: Dict = None,
|
|
2881
|
+
) -> models.DescribeTimeShiftStreamListResponse:
|
|
2882
|
+
"""
|
|
2883
|
+
查询某个时间范围内所有时移流列表。最大支持查询24小时内的数据。
|
|
2884
|
+
"""
|
|
2885
|
+
|
|
2886
|
+
kwargs = {}
|
|
2887
|
+
kwargs["action"] = "DescribeTimeShiftStreamList"
|
|
2888
|
+
kwargs["params"] = request._serialize()
|
|
2889
|
+
kwargs["resp_cls"] = models.DescribeTimeShiftStreamListResponse
|
|
2890
|
+
kwargs["headers"] = request.headers
|
|
2891
|
+
kwargs["opts"] = opts or {}
|
|
2892
|
+
|
|
2893
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2894
|
+
|
|
2895
|
+
async def DescribeTopClientIpSumInfoList(
|
|
2896
|
+
self,
|
|
2897
|
+
request: models.DescribeTopClientIpSumInfoListRequest,
|
|
2898
|
+
opts: Dict = None,
|
|
2899
|
+
) -> models.DescribeTopClientIpSumInfoListResponse:
|
|
2900
|
+
"""
|
|
2901
|
+
该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
2902
|
+
查询某段时间top n客户端ip汇总信息(暂支持top 1000)
|
|
2903
|
+
"""
|
|
2904
|
+
|
|
2905
|
+
kwargs = {}
|
|
2906
|
+
kwargs["action"] = "DescribeTopClientIpSumInfoList"
|
|
2907
|
+
kwargs["params"] = request._serialize()
|
|
2908
|
+
kwargs["resp_cls"] = models.DescribeTopClientIpSumInfoListResponse
|
|
2909
|
+
kwargs["headers"] = request.headers
|
|
2910
|
+
kwargs["opts"] = opts or {}
|
|
2911
|
+
|
|
2912
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2913
|
+
|
|
2914
|
+
async def DescribeTranscodeTaskNum(
|
|
2915
|
+
self,
|
|
2916
|
+
request: models.DescribeTranscodeTaskNumRequest,
|
|
2917
|
+
opts: Dict = None,
|
|
2918
|
+
) -> models.DescribeTranscodeTaskNumResponse:
|
|
2919
|
+
"""
|
|
2920
|
+
查询转码任务数。
|
|
2921
|
+
"""
|
|
2922
|
+
|
|
2923
|
+
kwargs = {}
|
|
2924
|
+
kwargs["action"] = "DescribeTranscodeTaskNum"
|
|
2925
|
+
kwargs["params"] = request._serialize()
|
|
2926
|
+
kwargs["resp_cls"] = models.DescribeTranscodeTaskNumResponse
|
|
2927
|
+
kwargs["headers"] = request.headers
|
|
2928
|
+
kwargs["opts"] = opts or {}
|
|
2929
|
+
|
|
2930
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2931
|
+
|
|
2932
|
+
async def DescribeUploadStreamNums(
|
|
2933
|
+
self,
|
|
2934
|
+
request: models.DescribeUploadStreamNumsRequest,
|
|
2935
|
+
opts: Dict = None,
|
|
2936
|
+
) -> models.DescribeUploadStreamNumsResponse:
|
|
2937
|
+
"""
|
|
2938
|
+
直播上行路数查询。
|
|
2939
|
+
"""
|
|
2940
|
+
|
|
2941
|
+
kwargs = {}
|
|
2942
|
+
kwargs["action"] = "DescribeUploadStreamNums"
|
|
2943
|
+
kwargs["params"] = request._serialize()
|
|
2944
|
+
kwargs["resp_cls"] = models.DescribeUploadStreamNumsResponse
|
|
2945
|
+
kwargs["headers"] = request.headers
|
|
2946
|
+
kwargs["opts"] = opts or {}
|
|
2947
|
+
|
|
2948
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2949
|
+
|
|
2950
|
+
async def DescribeVisitTopSumInfoList(
|
|
2951
|
+
self,
|
|
2952
|
+
request: models.DescribeVisitTopSumInfoListRequest,
|
|
2953
|
+
opts: Dict = None,
|
|
2954
|
+
) -> models.DescribeVisitTopSumInfoListResponse:
|
|
2955
|
+
"""
|
|
2956
|
+
查询某时间段top n的域名或流id信息(暂支持top 1000)。
|
|
2957
|
+
"""
|
|
2958
|
+
|
|
2959
|
+
kwargs = {}
|
|
2960
|
+
kwargs["action"] = "DescribeVisitTopSumInfoList"
|
|
2961
|
+
kwargs["params"] = request._serialize()
|
|
2962
|
+
kwargs["resp_cls"] = models.DescribeVisitTopSumInfoListResponse
|
|
2963
|
+
kwargs["headers"] = request.headers
|
|
2964
|
+
kwargs["opts"] = opts or {}
|
|
2965
|
+
|
|
2966
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2967
|
+
|
|
2968
|
+
async def DropLiveStream(
|
|
2969
|
+
self,
|
|
2970
|
+
request: models.DropLiveStreamRequest,
|
|
2971
|
+
opts: Dict = None,
|
|
2972
|
+
) -> models.DropLiveStreamResponse:
|
|
2973
|
+
"""
|
|
2974
|
+
断开推流连接,但可以重新推流。
|
|
2975
|
+
注:对已经不活跃的流,调用该断流接口时,接口返回成功。
|
|
2976
|
+
"""
|
|
2977
|
+
|
|
2978
|
+
kwargs = {}
|
|
2979
|
+
kwargs["action"] = "DropLiveStream"
|
|
2980
|
+
kwargs["params"] = request._serialize()
|
|
2981
|
+
kwargs["resp_cls"] = models.DropLiveStreamResponse
|
|
2982
|
+
kwargs["headers"] = request.headers
|
|
2983
|
+
kwargs["opts"] = opts or {}
|
|
2984
|
+
|
|
2985
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2986
|
+
|
|
2987
|
+
async def EnableLiveDomain(
|
|
2988
|
+
self,
|
|
2989
|
+
request: models.EnableLiveDomainRequest,
|
|
2990
|
+
opts: Dict = None,
|
|
2991
|
+
) -> models.EnableLiveDomainResponse:
|
|
2992
|
+
"""
|
|
2993
|
+
启用状态为停用的直播域名。
|
|
2994
|
+
"""
|
|
2995
|
+
|
|
2996
|
+
kwargs = {}
|
|
2997
|
+
kwargs["action"] = "EnableLiveDomain"
|
|
2998
|
+
kwargs["params"] = request._serialize()
|
|
2999
|
+
kwargs["resp_cls"] = models.EnableLiveDomainResponse
|
|
3000
|
+
kwargs["headers"] = request.headers
|
|
3001
|
+
kwargs["opts"] = opts or {}
|
|
3002
|
+
|
|
3003
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3004
|
+
|
|
3005
|
+
async def EnableOptimalSwitching(
|
|
3006
|
+
self,
|
|
3007
|
+
request: models.EnableOptimalSwitchingRequest,
|
|
3008
|
+
opts: Dict = None,
|
|
3009
|
+
) -> models.EnableOptimalSwitchingResponse:
|
|
3010
|
+
"""
|
|
3011
|
+
启用择优调度。
|
|
3012
|
+
注意:流维度的择优调度,当主备流结束后自动失效。
|
|
3013
|
+
"""
|
|
3014
|
+
|
|
3015
|
+
kwargs = {}
|
|
3016
|
+
kwargs["action"] = "EnableOptimalSwitching"
|
|
3017
|
+
kwargs["params"] = request._serialize()
|
|
3018
|
+
kwargs["resp_cls"] = models.EnableOptimalSwitchingResponse
|
|
3019
|
+
kwargs["headers"] = request.headers
|
|
3020
|
+
kwargs["opts"] = opts or {}
|
|
3021
|
+
|
|
3022
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3023
|
+
|
|
3024
|
+
async def ForbidLiveDomain(
|
|
3025
|
+
self,
|
|
3026
|
+
request: models.ForbidLiveDomainRequest,
|
|
3027
|
+
opts: Dict = None,
|
|
3028
|
+
) -> models.ForbidLiveDomainResponse:
|
|
3029
|
+
"""
|
|
3030
|
+
停止使用某个直播域名。
|
|
3031
|
+
"""
|
|
3032
|
+
|
|
3033
|
+
kwargs = {}
|
|
3034
|
+
kwargs["action"] = "ForbidLiveDomain"
|
|
3035
|
+
kwargs["params"] = request._serialize()
|
|
3036
|
+
kwargs["resp_cls"] = models.ForbidLiveDomainResponse
|
|
3037
|
+
kwargs["headers"] = request.headers
|
|
3038
|
+
kwargs["opts"] = opts or {}
|
|
3039
|
+
|
|
3040
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3041
|
+
|
|
3042
|
+
async def ForbidLiveStream(
|
|
3043
|
+
self,
|
|
3044
|
+
request: models.ForbidLiveStreamRequest,
|
|
3045
|
+
opts: Dict = None,
|
|
3046
|
+
) -> models.ForbidLiveStreamResponse:
|
|
3047
|
+
"""
|
|
3048
|
+
禁止某条流的推送,可以预设某个时刻将流恢复。
|
|
3049
|
+
注意:
|
|
3050
|
+
1. 默认只要流名称正确,禁推就会生效。
|
|
3051
|
+
2. 如需要推流域名+推流路径+流名称 强匹配生效禁推,需提单联系售后开启配置。
|
|
3052
|
+
3. 如果配置了域名分组,需填写准确推流域名,才可断掉当前推流。
|
|
3053
|
+
"""
|
|
3054
|
+
|
|
3055
|
+
kwargs = {}
|
|
3056
|
+
kwargs["action"] = "ForbidLiveStream"
|
|
3057
|
+
kwargs["params"] = request._serialize()
|
|
3058
|
+
kwargs["resp_cls"] = models.ForbidLiveStreamResponse
|
|
3059
|
+
kwargs["headers"] = request.headers
|
|
3060
|
+
kwargs["opts"] = opts or {}
|
|
3061
|
+
|
|
3062
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3063
|
+
|
|
3064
|
+
async def ModifyCaster(
|
|
3065
|
+
self,
|
|
3066
|
+
request: models.ModifyCasterRequest,
|
|
3067
|
+
opts: Dict = None,
|
|
3068
|
+
) -> models.ModifyCasterResponse:
|
|
3069
|
+
"""
|
|
3070
|
+
该接口用来设置导播台的描述、名称、录制模板id等参数。
|
|
3071
|
+
"""
|
|
3072
|
+
|
|
3073
|
+
kwargs = {}
|
|
3074
|
+
kwargs["action"] = "ModifyCaster"
|
|
3075
|
+
kwargs["params"] = request._serialize()
|
|
3076
|
+
kwargs["resp_cls"] = models.ModifyCasterResponse
|
|
3077
|
+
kwargs["headers"] = request.headers
|
|
3078
|
+
kwargs["opts"] = opts or {}
|
|
3079
|
+
|
|
3080
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3081
|
+
|
|
3082
|
+
async def ModifyCasterInputInfo(
|
|
3083
|
+
self,
|
|
3084
|
+
request: models.ModifyCasterInputInfoRequest,
|
|
3085
|
+
opts: Dict = None,
|
|
3086
|
+
) -> models.ModifyCasterInputInfoResponse:
|
|
3087
|
+
"""
|
|
3088
|
+
该接口用来修改已经设置过的输入源信息,如源地址,源类型等。
|
|
3089
|
+
设置前,需保证待修改的输入源已经存在。若不存在,需使用AddCasterInputInfo接口。
|
|
3090
|
+
"""
|
|
3091
|
+
|
|
3092
|
+
kwargs = {}
|
|
3093
|
+
kwargs["action"] = "ModifyCasterInputInfo"
|
|
3094
|
+
kwargs["params"] = request._serialize()
|
|
3095
|
+
kwargs["resp_cls"] = models.ModifyCasterInputInfoResponse
|
|
3096
|
+
kwargs["headers"] = request.headers
|
|
3097
|
+
kwargs["opts"] = opts or {}
|
|
3098
|
+
|
|
3099
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3100
|
+
|
|
3101
|
+
async def ModifyCasterLayoutInfo(
|
|
3102
|
+
self,
|
|
3103
|
+
request: models.ModifyCasterLayoutInfoRequest,
|
|
3104
|
+
opts: Dict = None,
|
|
3105
|
+
) -> models.ModifyCasterLayoutInfoResponse:
|
|
3106
|
+
"""
|
|
3107
|
+
该接口用来修改布局参数
|
|
3108
|
+
"""
|
|
3109
|
+
|
|
3110
|
+
kwargs = {}
|
|
3111
|
+
kwargs["action"] = "ModifyCasterLayoutInfo"
|
|
3112
|
+
kwargs["params"] = request._serialize()
|
|
3113
|
+
kwargs["resp_cls"] = models.ModifyCasterLayoutInfoResponse
|
|
3114
|
+
kwargs["headers"] = request.headers
|
|
3115
|
+
kwargs["opts"] = opts or {}
|
|
3116
|
+
|
|
3117
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3118
|
+
|
|
3119
|
+
async def ModifyCasterMarkPicInfo(
|
|
3120
|
+
self,
|
|
3121
|
+
request: models.ModifyCasterMarkPicInfoRequest,
|
|
3122
|
+
opts: Dict = None,
|
|
3123
|
+
) -> models.ModifyCasterMarkPicInfoResponse:
|
|
3124
|
+
"""
|
|
3125
|
+
该接口用来修改导播台水印信息。
|
|
3126
|
+
注意,修改的Index对应的水印需已存在
|
|
3127
|
+
"""
|
|
3128
|
+
|
|
3129
|
+
kwargs = {}
|
|
3130
|
+
kwargs["action"] = "ModifyCasterMarkPicInfo"
|
|
3131
|
+
kwargs["params"] = request._serialize()
|
|
3132
|
+
kwargs["resp_cls"] = models.ModifyCasterMarkPicInfoResponse
|
|
3133
|
+
kwargs["headers"] = request.headers
|
|
3134
|
+
kwargs["opts"] = opts or {}
|
|
3135
|
+
|
|
3136
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3137
|
+
|
|
3138
|
+
async def ModifyCasterMarkWordInfo(
|
|
3139
|
+
self,
|
|
3140
|
+
request: models.ModifyCasterMarkWordInfoRequest,
|
|
3141
|
+
opts: Dict = None,
|
|
3142
|
+
) -> models.ModifyCasterMarkWordInfoResponse:
|
|
3143
|
+
"""
|
|
3144
|
+
该接口用来修改导播台文本配置。
|
|
3145
|
+
"""
|
|
3146
|
+
|
|
3147
|
+
kwargs = {}
|
|
3148
|
+
kwargs["action"] = "ModifyCasterMarkWordInfo"
|
|
3149
|
+
kwargs["params"] = request._serialize()
|
|
3150
|
+
kwargs["resp_cls"] = models.ModifyCasterMarkWordInfoResponse
|
|
3151
|
+
kwargs["headers"] = request.headers
|
|
3152
|
+
kwargs["opts"] = opts or {}
|
|
3153
|
+
|
|
3154
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3155
|
+
|
|
3156
|
+
async def ModifyCasterOutputInfo(
|
|
3157
|
+
self,
|
|
3158
|
+
request: models.ModifyCasterOutputInfoRequest,
|
|
3159
|
+
opts: Dict = None,
|
|
3160
|
+
) -> models.ModifyCasterOutputInfoResponse:
|
|
3161
|
+
"""
|
|
3162
|
+
该接口用来修改导播台的推流信息。
|
|
3163
|
+
注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
|
|
3164
|
+
"""
|
|
3165
|
+
|
|
3166
|
+
kwargs = {}
|
|
3167
|
+
kwargs["action"] = "ModifyCasterOutputInfo"
|
|
3168
|
+
kwargs["params"] = request._serialize()
|
|
3169
|
+
kwargs["resp_cls"] = models.ModifyCasterOutputInfoResponse
|
|
3170
|
+
kwargs["headers"] = request.headers
|
|
3171
|
+
kwargs["opts"] = opts or {}
|
|
3172
|
+
|
|
3173
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3174
|
+
|
|
3175
|
+
async def ModifyLiveCallbackTemplate(
|
|
3176
|
+
self,
|
|
3177
|
+
request: models.ModifyLiveCallbackTemplateRequest,
|
|
3178
|
+
opts: Dict = None,
|
|
3179
|
+
) -> models.ModifyLiveCallbackTemplateResponse:
|
|
3180
|
+
"""
|
|
3181
|
+
修改回调模板。
|
|
3182
|
+
"""
|
|
3183
|
+
|
|
3184
|
+
kwargs = {}
|
|
3185
|
+
kwargs["action"] = "ModifyLiveCallbackTemplate"
|
|
3186
|
+
kwargs["params"] = request._serialize()
|
|
3187
|
+
kwargs["resp_cls"] = models.ModifyLiveCallbackTemplateResponse
|
|
3188
|
+
kwargs["headers"] = request.headers
|
|
3189
|
+
kwargs["opts"] = opts or {}
|
|
3190
|
+
|
|
3191
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3192
|
+
|
|
3193
|
+
async def ModifyLiveDomainCertBindings(
|
|
3194
|
+
self,
|
|
3195
|
+
request: models.ModifyLiveDomainCertBindingsRequest,
|
|
3196
|
+
opts: Dict = None,
|
|
3197
|
+
) -> models.ModifyLiveDomainCertBindingsResponse:
|
|
3198
|
+
"""
|
|
3199
|
+
批量绑定证书对应的播放域名,并更新启用状态。
|
|
3200
|
+
新建自有证书将自动上传至腾讯云ssl。
|
|
3201
|
+
"""
|
|
3202
|
+
|
|
3203
|
+
kwargs = {}
|
|
3204
|
+
kwargs["action"] = "ModifyLiveDomainCertBindings"
|
|
3205
|
+
kwargs["params"] = request._serialize()
|
|
3206
|
+
kwargs["resp_cls"] = models.ModifyLiveDomainCertBindingsResponse
|
|
3207
|
+
kwargs["headers"] = request.headers
|
|
3208
|
+
kwargs["opts"] = opts or {}
|
|
3209
|
+
|
|
3210
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3211
|
+
|
|
3212
|
+
async def ModifyLiveDomainReferer(
|
|
3213
|
+
self,
|
|
3214
|
+
request: models.ModifyLiveDomainRefererRequest,
|
|
3215
|
+
opts: Dict = None,
|
|
3216
|
+
) -> models.ModifyLiveDomainRefererResponse:
|
|
3217
|
+
"""
|
|
3218
|
+
设置直播域名 Referer 黑白名单。
|
|
3219
|
+
由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
|
|
3220
|
+
"""
|
|
3221
|
+
|
|
3222
|
+
kwargs = {}
|
|
3223
|
+
kwargs["action"] = "ModifyLiveDomainReferer"
|
|
3224
|
+
kwargs["params"] = request._serialize()
|
|
3225
|
+
kwargs["resp_cls"] = models.ModifyLiveDomainRefererResponse
|
|
3226
|
+
kwargs["headers"] = request.headers
|
|
3227
|
+
kwargs["opts"] = opts or {}
|
|
3228
|
+
|
|
3229
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3230
|
+
|
|
3231
|
+
async def ModifyLivePadTemplate(
|
|
3232
|
+
self,
|
|
3233
|
+
request: models.ModifyLivePadTemplateRequest,
|
|
3234
|
+
opts: Dict = None,
|
|
3235
|
+
) -> models.ModifyLivePadTemplateResponse:
|
|
3236
|
+
"""
|
|
3237
|
+
修改直播垫片模板。
|
|
3238
|
+
"""
|
|
3239
|
+
|
|
3240
|
+
kwargs = {}
|
|
3241
|
+
kwargs["action"] = "ModifyLivePadTemplate"
|
|
3242
|
+
kwargs["params"] = request._serialize()
|
|
3243
|
+
kwargs["resp_cls"] = models.ModifyLivePadTemplateResponse
|
|
3244
|
+
kwargs["headers"] = request.headers
|
|
3245
|
+
kwargs["opts"] = opts or {}
|
|
3246
|
+
|
|
3247
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3248
|
+
|
|
3249
|
+
async def ModifyLivePlayAuthKey(
|
|
3250
|
+
self,
|
|
3251
|
+
request: models.ModifyLivePlayAuthKeyRequest,
|
|
3252
|
+
opts: Dict = None,
|
|
3253
|
+
) -> models.ModifyLivePlayAuthKeyResponse:
|
|
3254
|
+
"""
|
|
3255
|
+
修改播放鉴权key
|
|
3256
|
+
"""
|
|
3257
|
+
|
|
3258
|
+
kwargs = {}
|
|
3259
|
+
kwargs["action"] = "ModifyLivePlayAuthKey"
|
|
3260
|
+
kwargs["params"] = request._serialize()
|
|
3261
|
+
kwargs["resp_cls"] = models.ModifyLivePlayAuthKeyResponse
|
|
3262
|
+
kwargs["headers"] = request.headers
|
|
3263
|
+
kwargs["opts"] = opts or {}
|
|
3264
|
+
|
|
3265
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3266
|
+
|
|
3267
|
+
async def ModifyLivePlayDomain(
|
|
3268
|
+
self,
|
|
3269
|
+
request: models.ModifyLivePlayDomainRequest,
|
|
3270
|
+
opts: Dict = None,
|
|
3271
|
+
) -> models.ModifyLivePlayDomainResponse:
|
|
3272
|
+
"""
|
|
3273
|
+
修改播放域名信息。
|
|
3274
|
+
"""
|
|
3275
|
+
|
|
3276
|
+
kwargs = {}
|
|
3277
|
+
kwargs["action"] = "ModifyLivePlayDomain"
|
|
3278
|
+
kwargs["params"] = request._serialize()
|
|
3279
|
+
kwargs["resp_cls"] = models.ModifyLivePlayDomainResponse
|
|
3280
|
+
kwargs["headers"] = request.headers
|
|
3281
|
+
kwargs["opts"] = opts or {}
|
|
3282
|
+
|
|
3283
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3284
|
+
|
|
3285
|
+
async def ModifyLivePullStreamTask(
|
|
3286
|
+
self,
|
|
3287
|
+
request: models.ModifyLivePullStreamTaskRequest,
|
|
3288
|
+
opts: Dict = None,
|
|
3289
|
+
) -> models.ModifyLivePullStreamTaskResponse:
|
|
3290
|
+
"""
|
|
3291
|
+
更新直播拉流任务。
|
|
3292
|
+
1. 不支持修改拉流源类型,如需更换,请创建新任务。
|
|
3293
|
+
"""
|
|
3294
|
+
|
|
3295
|
+
kwargs = {}
|
|
3296
|
+
kwargs["action"] = "ModifyLivePullStreamTask"
|
|
3297
|
+
kwargs["params"] = request._serialize()
|
|
3298
|
+
kwargs["resp_cls"] = models.ModifyLivePullStreamTaskResponse
|
|
3299
|
+
kwargs["headers"] = request.headers
|
|
3300
|
+
kwargs["opts"] = opts or {}
|
|
3301
|
+
|
|
3302
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3303
|
+
|
|
3304
|
+
async def ModifyLivePushAuthKey(
|
|
3305
|
+
self,
|
|
3306
|
+
request: models.ModifyLivePushAuthKeyRequest,
|
|
3307
|
+
opts: Dict = None,
|
|
3308
|
+
) -> models.ModifyLivePushAuthKeyResponse:
|
|
3309
|
+
"""
|
|
3310
|
+
修改直播推流鉴权key
|
|
3311
|
+
"""
|
|
3312
|
+
|
|
3313
|
+
kwargs = {}
|
|
3314
|
+
kwargs["action"] = "ModifyLivePushAuthKey"
|
|
3315
|
+
kwargs["params"] = request._serialize()
|
|
3316
|
+
kwargs["resp_cls"] = models.ModifyLivePushAuthKeyResponse
|
|
3317
|
+
kwargs["headers"] = request.headers
|
|
3318
|
+
kwargs["opts"] = opts or {}
|
|
3319
|
+
|
|
3320
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3321
|
+
|
|
3322
|
+
async def ModifyLiveRecordTemplate(
|
|
3323
|
+
self,
|
|
3324
|
+
request: models.ModifyLiveRecordTemplateRequest,
|
|
3325
|
+
opts: Dict = None,
|
|
3326
|
+
) -> models.ModifyLiveRecordTemplateResponse:
|
|
3327
|
+
"""
|
|
3328
|
+
修改录制模板配置。
|
|
3329
|
+
"""
|
|
3330
|
+
|
|
3331
|
+
kwargs = {}
|
|
3332
|
+
kwargs["action"] = "ModifyLiveRecordTemplate"
|
|
3333
|
+
kwargs["params"] = request._serialize()
|
|
3334
|
+
kwargs["resp_cls"] = models.ModifyLiveRecordTemplateResponse
|
|
3335
|
+
kwargs["headers"] = request.headers
|
|
3336
|
+
kwargs["opts"] = opts or {}
|
|
3337
|
+
|
|
3338
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3339
|
+
|
|
3340
|
+
async def ModifyLiveSnapshotTemplate(
|
|
3341
|
+
self,
|
|
3342
|
+
request: models.ModifyLiveSnapshotTemplateRequest,
|
|
3343
|
+
opts: Dict = None,
|
|
3344
|
+
) -> models.ModifyLiveSnapshotTemplateResponse:
|
|
3345
|
+
"""
|
|
3346
|
+
修改截图模板配置。
|
|
3347
|
+
"""
|
|
3348
|
+
|
|
3349
|
+
kwargs = {}
|
|
3350
|
+
kwargs["action"] = "ModifyLiveSnapshotTemplate"
|
|
3351
|
+
kwargs["params"] = request._serialize()
|
|
3352
|
+
kwargs["resp_cls"] = models.ModifyLiveSnapshotTemplateResponse
|
|
3353
|
+
kwargs["headers"] = request.headers
|
|
3354
|
+
kwargs["opts"] = opts or {}
|
|
3355
|
+
|
|
3356
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3357
|
+
|
|
3358
|
+
async def ModifyLiveStreamMonitor(
|
|
3359
|
+
self,
|
|
3360
|
+
request: models.ModifyLiveStreamMonitorRequest,
|
|
3361
|
+
opts: Dict = None,
|
|
3362
|
+
) -> models.ModifyLiveStreamMonitorResponse:
|
|
3363
|
+
"""
|
|
3364
|
+
该接口用来修改直播流监播任务的配置。
|
|
3365
|
+
"""
|
|
3366
|
+
|
|
3367
|
+
kwargs = {}
|
|
3368
|
+
kwargs["action"] = "ModifyLiveStreamMonitor"
|
|
3369
|
+
kwargs["params"] = request._serialize()
|
|
3370
|
+
kwargs["resp_cls"] = models.ModifyLiveStreamMonitorResponse
|
|
3371
|
+
kwargs["headers"] = request.headers
|
|
3372
|
+
kwargs["opts"] = opts or {}
|
|
3373
|
+
|
|
3374
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3375
|
+
|
|
3376
|
+
async def ModifyLiveTimeShiftTemplate(
|
|
3377
|
+
self,
|
|
3378
|
+
request: models.ModifyLiveTimeShiftTemplateRequest,
|
|
3379
|
+
opts: Dict = None,
|
|
3380
|
+
) -> models.ModifyLiveTimeShiftTemplateResponse:
|
|
3381
|
+
"""
|
|
3382
|
+
修改直播时移模板。
|
|
3383
|
+
"""
|
|
3384
|
+
|
|
3385
|
+
kwargs = {}
|
|
3386
|
+
kwargs["action"] = "ModifyLiveTimeShiftTemplate"
|
|
3387
|
+
kwargs["params"] = request._serialize()
|
|
3388
|
+
kwargs["resp_cls"] = models.ModifyLiveTimeShiftTemplateResponse
|
|
3389
|
+
kwargs["headers"] = request.headers
|
|
3390
|
+
kwargs["opts"] = opts or {}
|
|
3391
|
+
|
|
3392
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3393
|
+
|
|
3394
|
+
async def ModifyLiveTranscodeTemplate(
|
|
3395
|
+
self,
|
|
3396
|
+
request: models.ModifyLiveTranscodeTemplateRequest,
|
|
3397
|
+
opts: Dict = None,
|
|
3398
|
+
) -> models.ModifyLiveTranscodeTemplateResponse:
|
|
3399
|
+
"""
|
|
3400
|
+
修改转码模板配置。
|
|
3401
|
+
"""
|
|
3402
|
+
|
|
3403
|
+
kwargs = {}
|
|
3404
|
+
kwargs["action"] = "ModifyLiveTranscodeTemplate"
|
|
3405
|
+
kwargs["params"] = request._serialize()
|
|
3406
|
+
kwargs["resp_cls"] = models.ModifyLiveTranscodeTemplateResponse
|
|
3407
|
+
kwargs["headers"] = request.headers
|
|
3408
|
+
kwargs["opts"] = opts or {}
|
|
3409
|
+
|
|
3410
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3411
|
+
|
|
3412
|
+
async def ModifyPullStreamConfig(
|
|
3413
|
+
self,
|
|
3414
|
+
request: models.ModifyPullStreamConfigRequest,
|
|
3415
|
+
opts: Dict = None,
|
|
3416
|
+
) -> models.ModifyPullStreamConfigResponse:
|
|
3417
|
+
"""
|
|
3418
|
+
更新拉流配置。该接口为已下线接口,请使用新接口 ModifyLivePullStreamTask。
|
|
3419
|
+
"""
|
|
3420
|
+
|
|
3421
|
+
kwargs = {}
|
|
3422
|
+
kwargs["action"] = "ModifyPullStreamConfig"
|
|
3423
|
+
kwargs["params"] = request._serialize()
|
|
3424
|
+
kwargs["resp_cls"] = models.ModifyPullStreamConfigResponse
|
|
3425
|
+
kwargs["headers"] = request.headers
|
|
3426
|
+
kwargs["opts"] = opts or {}
|
|
3427
|
+
|
|
3428
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3429
|
+
|
|
3430
|
+
async def ModifyPullStreamStatus(
|
|
3431
|
+
self,
|
|
3432
|
+
request: models.ModifyPullStreamStatusRequest,
|
|
3433
|
+
opts: Dict = None,
|
|
3434
|
+
) -> models.ModifyPullStreamStatusResponse:
|
|
3435
|
+
"""
|
|
3436
|
+
修改直播拉流配置的状态。该接口已下线,请使用新接口 ModifyLivePullStreamTask。
|
|
3437
|
+
"""
|
|
3438
|
+
|
|
3439
|
+
kwargs = {}
|
|
3440
|
+
kwargs["action"] = "ModifyPullStreamStatus"
|
|
3441
|
+
kwargs["params"] = request._serialize()
|
|
3442
|
+
kwargs["resp_cls"] = models.ModifyPullStreamStatusResponse
|
|
3443
|
+
kwargs["headers"] = request.headers
|
|
3444
|
+
kwargs["opts"] = opts or {}
|
|
3445
|
+
|
|
3446
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3447
|
+
|
|
3448
|
+
async def ReleaseCaster(
|
|
3449
|
+
self,
|
|
3450
|
+
request: models.ReleaseCasterRequest,
|
|
3451
|
+
opts: Dict = None,
|
|
3452
|
+
) -> models.ReleaseCasterResponse:
|
|
3453
|
+
"""
|
|
3454
|
+
调用该接口,释放导播台实例,但保留所有的配置。
|
|
3455
|
+
执行该接口,预监与主监画面停止,第三方推流停止。
|
|
3456
|
+
点播文件与直播地址将停止展示,客户自行推到导播台的流需要手动停止。
|
|
3457
|
+
"""
|
|
3458
|
+
|
|
3459
|
+
kwargs = {}
|
|
3460
|
+
kwargs["action"] = "ReleaseCaster"
|
|
3461
|
+
kwargs["params"] = request._serialize()
|
|
3462
|
+
kwargs["resp_cls"] = models.ReleaseCasterResponse
|
|
3463
|
+
kwargs["headers"] = request.headers
|
|
3464
|
+
kwargs["opts"] = opts or {}
|
|
3465
|
+
|
|
3466
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3467
|
+
|
|
3468
|
+
async def RestartLivePullStreamTask(
|
|
3469
|
+
self,
|
|
3470
|
+
request: models.RestartLivePullStreamTaskRequest,
|
|
3471
|
+
opts: Dict = None,
|
|
3472
|
+
) -> models.RestartLivePullStreamTaskResponse:
|
|
3473
|
+
"""
|
|
3474
|
+
将正在运行的拉流转推任务进行重启。
|
|
3475
|
+
注意:
|
|
3476
|
+
1. 重启任务会造成推流中断。
|
|
3477
|
+
2. 点播源任务的重启,会根据VodRefreshType决定是续播还是从头开始播。
|
|
3478
|
+
"""
|
|
3479
|
+
|
|
3480
|
+
kwargs = {}
|
|
3481
|
+
kwargs["action"] = "RestartLivePullStreamTask"
|
|
3482
|
+
kwargs["params"] = request._serialize()
|
|
3483
|
+
kwargs["resp_cls"] = models.RestartLivePullStreamTaskResponse
|
|
3484
|
+
kwargs["headers"] = request.headers
|
|
3485
|
+
kwargs["opts"] = opts or {}
|
|
3486
|
+
|
|
3487
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3488
|
+
|
|
3489
|
+
async def ResumeDelayLiveStream(
|
|
3490
|
+
self,
|
|
3491
|
+
request: models.ResumeDelayLiveStreamRequest,
|
|
3492
|
+
opts: Dict = None,
|
|
3493
|
+
) -> models.ResumeDelayLiveStreamResponse:
|
|
3494
|
+
"""
|
|
3495
|
+
取消直播流设置的延时配置,恢复实时直播画面。
|
|
3496
|
+
"""
|
|
3497
|
+
|
|
3498
|
+
kwargs = {}
|
|
3499
|
+
kwargs["action"] = "ResumeDelayLiveStream"
|
|
3500
|
+
kwargs["params"] = request._serialize()
|
|
3501
|
+
kwargs["resp_cls"] = models.ResumeDelayLiveStreamResponse
|
|
3502
|
+
kwargs["headers"] = request.headers
|
|
3503
|
+
kwargs["opts"] = opts or {}
|
|
3504
|
+
|
|
3505
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3506
|
+
|
|
3507
|
+
async def ResumeLiveStream(
|
|
3508
|
+
self,
|
|
3509
|
+
request: models.ResumeLiveStreamRequest,
|
|
3510
|
+
opts: Dict = None,
|
|
3511
|
+
) -> models.ResumeLiveStreamResponse:
|
|
3512
|
+
"""
|
|
3513
|
+
恢复某条流的推流。
|
|
3514
|
+
"""
|
|
3515
|
+
|
|
3516
|
+
kwargs = {}
|
|
3517
|
+
kwargs["action"] = "ResumeLiveStream"
|
|
3518
|
+
kwargs["params"] = request._serialize()
|
|
3519
|
+
kwargs["resp_cls"] = models.ResumeLiveStreamResponse
|
|
3520
|
+
kwargs["headers"] = request.headers
|
|
3521
|
+
kwargs["opts"] = opts or {}
|
|
3522
|
+
|
|
3523
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3524
|
+
|
|
3525
|
+
async def SendLiveCloudEffect(
|
|
3526
|
+
self,
|
|
3527
|
+
request: models.SendLiveCloudEffectRequest,
|
|
3528
|
+
opts: Dict = None,
|
|
3529
|
+
) -> models.SendLiveCloudEffectResponse:
|
|
3530
|
+
"""
|
|
3531
|
+
使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
|
|
3532
|
+
"""
|
|
3533
|
+
|
|
3534
|
+
kwargs = {}
|
|
3535
|
+
kwargs["action"] = "SendLiveCloudEffect"
|
|
3536
|
+
kwargs["params"] = request._serialize()
|
|
3537
|
+
kwargs["resp_cls"] = models.SendLiveCloudEffectResponse
|
|
3538
|
+
kwargs["headers"] = request.headers
|
|
3539
|
+
kwargs["opts"] = opts or {}
|
|
3540
|
+
|
|
3541
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3542
|
+
|
|
3543
|
+
async def StartLivePadStream(
|
|
3544
|
+
self,
|
|
3545
|
+
request: models.StartLivePadStreamRequest,
|
|
3546
|
+
opts: Dict = None,
|
|
3547
|
+
) -> models.StartLivePadStreamResponse:
|
|
3548
|
+
"""
|
|
3549
|
+
使用该接口将直播流开始切入垫片。
|
|
3550
|
+
"""
|
|
3551
|
+
|
|
3552
|
+
kwargs = {}
|
|
3553
|
+
kwargs["action"] = "StartLivePadStream"
|
|
3554
|
+
kwargs["params"] = request._serialize()
|
|
3555
|
+
kwargs["resp_cls"] = models.StartLivePadStreamResponse
|
|
3556
|
+
kwargs["headers"] = request.headers
|
|
3557
|
+
kwargs["opts"] = opts or {}
|
|
3558
|
+
|
|
3559
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3560
|
+
|
|
3561
|
+
async def StartLiveStreamMonitor(
|
|
3562
|
+
self,
|
|
3563
|
+
request: models.StartLiveStreamMonitorRequest,
|
|
3564
|
+
opts: Dict = None,
|
|
3565
|
+
) -> models.StartLiveStreamMonitorResponse:
|
|
3566
|
+
"""
|
|
3567
|
+
该接口用来启动直播流监播任务。
|
|
3568
|
+
"""
|
|
3569
|
+
|
|
3570
|
+
kwargs = {}
|
|
3571
|
+
kwargs["action"] = "StartLiveStreamMonitor"
|
|
3572
|
+
kwargs["params"] = request._serialize()
|
|
3573
|
+
kwargs["resp_cls"] = models.StartLiveStreamMonitorResponse
|
|
3574
|
+
kwargs["headers"] = request.headers
|
|
3575
|
+
kwargs["opts"] = opts or {}
|
|
3576
|
+
|
|
3577
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3578
|
+
|
|
3579
|
+
async def StopCasterPgm(
|
|
3580
|
+
self,
|
|
3581
|
+
request: models.StopCasterPgmRequest,
|
|
3582
|
+
opts: Dict = None,
|
|
3583
|
+
) -> models.StopCasterPgmResponse:
|
|
3584
|
+
"""
|
|
3585
|
+
该接口用来停止导播台的主监输出。
|
|
3586
|
+
停止主监后,对应的推流到腾讯云直播源站和推流到其他第三方平台均将会停止。
|
|
3587
|
+
"""
|
|
3588
|
+
|
|
3589
|
+
kwargs = {}
|
|
3590
|
+
kwargs["action"] = "StopCasterPgm"
|
|
3591
|
+
kwargs["params"] = request._serialize()
|
|
3592
|
+
kwargs["resp_cls"] = models.StopCasterPgmResponse
|
|
3593
|
+
kwargs["headers"] = request.headers
|
|
3594
|
+
kwargs["opts"] = opts or {}
|
|
3595
|
+
|
|
3596
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3597
|
+
|
|
3598
|
+
async def StopCasterPvw(
|
|
3599
|
+
self,
|
|
3600
|
+
request: models.StopCasterPvwRequest,
|
|
3601
|
+
opts: Dict = None,
|
|
3602
|
+
) -> models.StopCasterPvwResponse:
|
|
3603
|
+
"""
|
|
3604
|
+
该接口用来停止导播台的预监任务。
|
|
3605
|
+
"""
|
|
3606
|
+
|
|
3607
|
+
kwargs = {}
|
|
3608
|
+
kwargs["action"] = "StopCasterPvw"
|
|
3609
|
+
kwargs["params"] = request._serialize()
|
|
3610
|
+
kwargs["resp_cls"] = models.StopCasterPvwResponse
|
|
3611
|
+
kwargs["headers"] = request.headers
|
|
3612
|
+
kwargs["opts"] = opts or {}
|
|
3613
|
+
|
|
3614
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3615
|
+
|
|
3616
|
+
async def StopLivePadStream(
|
|
3617
|
+
self,
|
|
3618
|
+
request: models.StopLivePadStreamRequest,
|
|
3619
|
+
opts: Dict = None,
|
|
3620
|
+
) -> models.StopLivePadStreamResponse:
|
|
3621
|
+
"""
|
|
3622
|
+
使用该接口将直播流停止切入垫片。
|
|
3623
|
+
"""
|
|
3624
|
+
|
|
3625
|
+
kwargs = {}
|
|
3626
|
+
kwargs["action"] = "StopLivePadStream"
|
|
3627
|
+
kwargs["params"] = request._serialize()
|
|
3628
|
+
kwargs["resp_cls"] = models.StopLivePadStreamResponse
|
|
3629
|
+
kwargs["headers"] = request.headers
|
|
3630
|
+
kwargs["opts"] = opts or {}
|
|
3631
|
+
|
|
3632
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3633
|
+
|
|
3634
|
+
async def StopLiveRecord(
|
|
3635
|
+
self,
|
|
3636
|
+
request: models.StopLiveRecordRequest,
|
|
3637
|
+
opts: Dict = None,
|
|
3638
|
+
) -> models.StopLiveRecordResponse:
|
|
3639
|
+
"""
|
|
3640
|
+
说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
|
|
3641
|
+
"""
|
|
3642
|
+
|
|
3643
|
+
kwargs = {}
|
|
3644
|
+
kwargs["action"] = "StopLiveRecord"
|
|
3645
|
+
kwargs["params"] = request._serialize()
|
|
3646
|
+
kwargs["resp_cls"] = models.StopLiveRecordResponse
|
|
3647
|
+
kwargs["headers"] = request.headers
|
|
3648
|
+
kwargs["opts"] = opts or {}
|
|
3649
|
+
|
|
3650
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3651
|
+
|
|
3652
|
+
async def StopLiveStreamMonitor(
|
|
3653
|
+
self,
|
|
3654
|
+
request: models.StopLiveStreamMonitorRequest,
|
|
3655
|
+
opts: Dict = None,
|
|
3656
|
+
) -> models.StopLiveStreamMonitorResponse:
|
|
3657
|
+
"""
|
|
3658
|
+
该接口用来停止直播流监播任务。
|
|
3659
|
+
"""
|
|
3660
|
+
|
|
3661
|
+
kwargs = {}
|
|
3662
|
+
kwargs["action"] = "StopLiveStreamMonitor"
|
|
3663
|
+
kwargs["params"] = request._serialize()
|
|
3664
|
+
kwargs["resp_cls"] = models.StopLiveStreamMonitorResponse
|
|
3665
|
+
kwargs["headers"] = request.headers
|
|
3666
|
+
kwargs["opts"] = opts or {}
|
|
3667
|
+
|
|
3668
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3669
|
+
|
|
3670
|
+
async def StopRecordTask(
|
|
3671
|
+
self,
|
|
3672
|
+
request: models.StopRecordTaskRequest,
|
|
3673
|
+
opts: Dict = None,
|
|
3674
|
+
) -> models.StopRecordTaskResponse:
|
|
3675
|
+
"""
|
|
3676
|
+
提前结束录制,中止运行中的录制任务并生成录制文件。任务被成功终止后,本次任务将不再启动。
|
|
3677
|
+
"""
|
|
3678
|
+
|
|
3679
|
+
kwargs = {}
|
|
3680
|
+
kwargs["action"] = "StopRecordTask"
|
|
3681
|
+
kwargs["params"] = request._serialize()
|
|
3682
|
+
kwargs["resp_cls"] = models.StopRecordTaskResponse
|
|
3683
|
+
kwargs["headers"] = request.headers
|
|
3684
|
+
kwargs["opts"] = opts or {}
|
|
3685
|
+
|
|
3686
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3687
|
+
|
|
3688
|
+
async def StopScreenshotTask(
|
|
3689
|
+
self,
|
|
3690
|
+
request: models.StopScreenshotTaskRequest,
|
|
3691
|
+
opts: Dict = None,
|
|
3692
|
+
) -> models.StopScreenshotTaskResponse:
|
|
3693
|
+
"""
|
|
3694
|
+
提前结束截图,中止运行中的截图任务。任务被成功终止后,本次任务将不再启动。
|
|
3695
|
+
"""
|
|
3696
|
+
|
|
3697
|
+
kwargs = {}
|
|
3698
|
+
kwargs["action"] = "StopScreenshotTask"
|
|
3699
|
+
kwargs["params"] = request._serialize()
|
|
3700
|
+
kwargs["resp_cls"] = models.StopScreenshotTaskResponse
|
|
3701
|
+
kwargs["headers"] = request.headers
|
|
3702
|
+
kwargs["opts"] = opts or {}
|
|
3703
|
+
|
|
3704
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3705
|
+
|
|
3706
|
+
async def SwitchBackupStream(
|
|
3707
|
+
self,
|
|
3708
|
+
request: models.SwitchBackupStreamRequest,
|
|
3709
|
+
opts: Dict = None,
|
|
3710
|
+
) -> models.SwitchBackupStreamResponse:
|
|
3711
|
+
"""
|
|
3712
|
+
调用该接口实现切换当前播放所使用的主备流。
|
|
3713
|
+
"""
|
|
3714
|
+
|
|
3715
|
+
kwargs = {}
|
|
3716
|
+
kwargs["action"] = "SwitchBackupStream"
|
|
3717
|
+
kwargs["params"] = request._serialize()
|
|
3718
|
+
kwargs["resp_cls"] = models.SwitchBackupStreamResponse
|
|
3719
|
+
kwargs["headers"] = request.headers
|
|
3720
|
+
kwargs["opts"] = opts or {}
|
|
3721
|
+
|
|
3722
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3723
|
+
|
|
3724
|
+
async def UnBindLiveDomainCert(
|
|
3725
|
+
self,
|
|
3726
|
+
request: models.UnBindLiveDomainCertRequest,
|
|
3727
|
+
opts: Dict = None,
|
|
3728
|
+
) -> models.UnBindLiveDomainCertResponse:
|
|
3729
|
+
"""
|
|
3730
|
+
解绑域名证书
|
|
3731
|
+
"""
|
|
3732
|
+
|
|
3733
|
+
kwargs = {}
|
|
3734
|
+
kwargs["action"] = "UnBindLiveDomainCert"
|
|
3735
|
+
kwargs["params"] = request._serialize()
|
|
3736
|
+
kwargs["resp_cls"] = models.UnBindLiveDomainCertResponse
|
|
3737
|
+
kwargs["headers"] = request.headers
|
|
3738
|
+
kwargs["opts"] = opts or {}
|
|
3739
|
+
|
|
3740
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3741
|
+
|
|
3742
|
+
async def UpdateLiveWatermark(
|
|
3743
|
+
self,
|
|
3744
|
+
request: models.UpdateLiveWatermarkRequest,
|
|
3745
|
+
opts: Dict = None,
|
|
3746
|
+
) -> models.UpdateLiveWatermarkResponse:
|
|
3747
|
+
"""
|
|
3748
|
+
更新水印。
|
|
3749
|
+
"""
|
|
3750
|
+
|
|
3751
|
+
kwargs = {}
|
|
3752
|
+
kwargs["action"] = "UpdateLiveWatermark"
|
|
3753
|
+
kwargs["params"] = request._serialize()
|
|
3754
|
+
kwargs["resp_cls"] = models.UpdateLiveWatermarkResponse
|
|
3755
|
+
kwargs["headers"] = request.headers
|
|
3756
|
+
kwargs["opts"] = opts or {}
|
|
3757
|
+
|
|
3758
|
+
return await self.call_and_deserialize(**kwargs)
|