tencentcloud-sdk-nodejs
Version:
644 lines (639 loc) • 90.5 kB
TypeScript
import { AbstractClient } from "../../../common/abstract_client";
import { ClientConfig } from "../../../common/interface";
import { DescribeCasterDisplayInfoResponse, DescribeLiveXP2PDetailInfoListResponse, DescribeOriginStreamInfoResponse, DescribeLiveWatermarkRulesResponse, StartLiveAvatarRoomRequest, ModifyPullStreamStatusRequest, DeleteLiveRecordTemplateRequest, ModifyLiveTimeShiftTemplateResponse, DescribeLiveTranscodeTemplatesRequest, DescribeBackupStreamListResponse, DescribeLiveSnapshotTemplateRequest, DescribePlayErrorCodeDetailInfoListRequest, DescribeAuditKeywordsResponse, DescribeCasterOutputInfosResponse, DescribeLiveStreamPublishedListRequest, DescribeGroupProIspPlayInfoListResponse, DescribeDeliverBandwidthListResponse, DescribeLiveTranscodeDetailInfoRequest, DescribeLiveSnapshotTemplatesRequest, CreateLiveWatermarkRuleResponse, CreateCasterPvwResponse, DescribeCasterMarkPicInfosRequest, AddLiveWatermarkRequest, DescribeLiveDomainCertRequest, DescribeLiveEnhanceInfoListRequest, StopRecordTaskRequest, ModifyLiveDomainCertBindingsRequest, StopCasterPgmResponse, CreateCasterPgmRequest, SendLiveCloudEffectRequest, DescribeCasterPlayUrlResponse, CancelCommonMixStreamResponse, DescribeLiveCertsResponse, ResumeDelayLiveStreamRequest, DescribeCallbackRecordsListRequest, DescribeTopClientIpSumInfoListResponse, DescribeLiveStreamStateResponse, DeleteLiveWatermarkRuleRequest, DescribeLiveWatermarksRequest, DescribeLiveWatermarkRulesRequest, EnableOptimalSwitchingRequest, DescribeCasterInputInfosResponse, AddCasterMarkWordInfoResponse, ModifyLiveTranscodeTemplateResponse, DescribeStreamDayPlayInfoListRequest, DeleteLiveTimeShiftRuleResponse, DescribeSceneVideoTaskResponse, DescribeLivePadRulesResponse, CreatePullStreamConfigRequest, DescribeLiveCertsRequest, DescribeLiveCertResponse, DescribeVisitTopSumInfoListRequest, StopLivePadStreamResponse, DescribePushBandwidthAndFluxListResponse, DescribeLiveStreamOnlineListResponse, DescribeCasterMarkWordInfosResponse, DescribeStreamPushInfoListResponse, DescribeLiveDomainPlayInfoListRequest, DeleteLiveWatermarkRuleResponse, DeleteCasterMarkWordInfoResponse, DescribeLiveTranscodeTemplatesResponse, DescribeLogDownloadListResponse, ReleaseCasterRequest, DeleteLivePadTemplateResponse, DescribeLiveAvatarTemporaryScriptListResponse, CreateVideoRedrawTaskRequest, DeleteLiveTranscodeTemplateRequest, StopLiveAvatarRoomResponse, StopRecordTaskResponse, DescribeTranscodeTaskNumResponse, DescribeStreamPlayInfoListResponse, DescribeLivePullStreamTaskStatusResponse, ModifyLiveTranscodeTemplateRequest, DeleteLivePadRuleResponse, DescribeLiveRecordTemplateRequest, CreateLiveTranscodeTemplateRequest, DescribeLiveTimeShiftTemplatesResponse, DescribeLiveAvatarRoomsRequest, ModifyLiveStreamMonitorResponse, ForbidLiveDomainResponse, CreateRecordTaskRequest, DescribeLivePadTemplateResponse, ResumeLiveStreamRequest, DescribeBillBandwidthAndFluxListResponse, DescribeLiveDomainPlayInfoListResponse, DescribeLiveStreamMonitorListRequest, DescribeLivePullStreamTasksRequest, DeleteLiveStreamMonitorResponse, DeleteLiveCallbackTemplateRequest, ModifyCasterInputInfoRequest, DescribeCasterOutputInfosRequest, CreateLiveCallbackTemplateResponse, DescribeLiveCallbackTemplateRequest, DescribeLiveCloudEffectConfigResponse, CreateLiveStreamMonitorRequest, CreateLiveRecordRuleResponse, DescribeLiveTranscodeTemplateRequest, GenerateLiveAvatarScriptBroadcastRequest, CreateLiveWatermarkRuleRequest, DeleteRecordTaskRequest, DescribeStreamDayPlayInfoListResponse, CreateSceneVideoTaskRequest, DeleteLivePadRuleRequest, CreateLiveSnapshotRuleResponse, DescribeLiveStreamEventListResponse, DescribeLiveTranscodeTotalInfoRequest, DescribeLivePushAuthKeyRequest, DescribeCasterEmergencyStatusResponse, DescribeCasterTransitionTypesResponse, StartLiveAvatarRoomResponse, RestartLivePullStreamTaskResponse, CreateCasterRequest, AddCasterOutputInfoRequest, DescribeUploadStreamNumsResponse, DescribeLiveTranscodeDetailInfoResponse, DeleteLiveTranscodeTemplateResponse, StartLiveStreamMonitorResponse, CreateScreenshotTaskResponse, DeleteLiveCallbackRuleResponse, DescribeStreamPlayInfoListRequest, DescribeCasterDisplayInfoRequest, ModifyOriginStreamInfoRequest, CreateCasterInputPushUrlResponse, DescribeLivePlayAuthKeyRequest, CreateLiveTimeShiftRuleResponse, DeleteLiveTranscodeRuleResponse, SendTemporaryScriptToAvatarRoomResponse, CreateCasterInputPushUrlRequest, DescribeLiveCloudEffectListResponse, DescribeLivePadTemplatesResponse, CreateCasterPgmFromPvwResponse, DescribeLiveTranscodeRulesRequest, DeleteLivePullStreamTaskRequest, CopyLiveAvatarRoomResponse, CreateAuditKeywordsRequest, DescribeLiveAvatarImageListResponse, DescribeAIGCTaskStatusRequest, DescribeSceneVideoTaskRequest, StopLiveRecordResponse, DeleteCasterResponse, DescribeLiveAvatarBackgroundListRequest, DeleteScreenshotTaskRequest, ModifyCasterLayoutInfoResponse, DescribeTimeShiftStreamListResponse, DescribePlayErrorCodeSumInfoListRequest, AddDelayLiveStreamRequest, DescribeLiveStreamEventListRequest, StopCasterPvwRequest, DeleteLiveRecordResponse, DescribeLivePadStreamListRequest, DescribeDeliverLogDownListResponse, DescribeBackupStreamListRequest, DescribeDeliverLogDownListRequest, DescribeLiveTimeShiftTemplatesRequest, StopLiveStreamMonitorResponse, ModifyLivePlayDomainResponse, DescribeScreenShotSheetNumListRequest, DescribeLiveDomainCertBindingsResponse, ModifyLiveAvatarScriptResponse, StopScreenshotTaskResponse, CreateLivePadTemplateResponse, DescribeLiveRecordTemplatesResponse, DescribeScreenshotTaskRequest, DescribeLivePadStreamListResponse, DeletePullStreamConfigResponse, ModifyLivePlayDomainRequest, InsertTaskTemporaryFilesResponse, DescribePlayErrorCodeDetailInfoListResponse, DescribeLiveCloudEffectConfigRequest, DescribeGroupProIspPlayInfoListRequest, CreateCasterPgmResponse, ReleaseCasterResponse, DescribeLiveTranscodeRulesResponse, DeleteAuditKeywordsRequest, CreateCasterPvwRequest, ModifyCasterLayoutInfoRequest, DeleteLiveAvatarRoomResponse, AddCasterLayoutInfoResponse, DeleteLivePullStreamTaskResponse, DescribeStreamPushInfoListRequest, ResumeLiveStreamResponse, DeletePullStreamConfigRequest, ModifyCasterResponse, DescribeLiveWatermarksResponse, CreatePullStreamConfigResponse, ModifyLivePadTemplateResponse, DescribeTopClientIpSumInfoListRequest, CreateLiveCloudEffectResponse, DescribeCallbackRecordsListResponse, DeleteLiveWatermarkRequest, UpdateLiveWatermarkRequest, CreateLiveRecordRequest, DescribeLiveStreamPushInfoListResponse, CancelCommonMixStreamRequest, DescribeLiveAvatarImageListRequest, SwitchBackupStreamRequest, DescribePullTransformPushInfoListRequest, DeleteLiveStreamMonitorRequest, DescribeLiveDelayInfoListResponse, CreateLiveSnapshotTemplateResponse, ModifyCasterMarkPicInfoRequest, DescribeProIspPlaySumInfoListRequest, UnBindLiveDomainCertResponse, CreateLiveAvatarScriptResponse, CopyLiveAvatarRoomRequest, DeleteLiveRecordRequest, StopLiveRecordRequest, DeleteLiveCallbackTemplateResponse, CreateSceneVideoTaskResponse, CreateLivePadTemplateRequest, CopyCasterRequest, CreateAuditKeywordsResponse, DescribeLivePullStreamTasksResponse, SendTemporaryScriptToAvatarRoomRequest, CreateAuditKeywordLibRequest, DescribeAreaBillBandwidthAndFluxListRequest, ModifyCasterOutputInfoResponse, ModifyLiveDomainRefererResponse, DescribeMonitorReportResponse, DescribeLiveStreamOnlineListRequest, DescribeRecordTaskRequest, ModifyLiveAvatarScriptRequest, DescribeCasterLayoutInfosResponse, ModifyLiveCallbackTemplateResponse, DescribeLiveCallbackTemplatesResponse, DescribeLivePushAuthKeyResponse, DescribeLivePullStreamTaskStatusRequest, RestartLivePullStreamTaskRequest, DescribeCasterTransitionTypesRequest, ModifyCasterMarkWordInfoResponse, EnableOptimalSwitchingResponse, DescribeLiveStreamMonitorRequest, DescribeLiveSnapshotRulesRequest, SwitchCasterToEmergencyRequest, DeleteLiveRecordRuleResponse, DeleteLiveRecordRuleRequest, StopScreenshotTaskRequest, DescribePullTransformPushInfoRequest, DescribeBillBandwidthAndFluxListRequest, AddCasterLayoutInfoRequest, GenerateLiveAvatarScriptBroadcastResponse, InsertTaskTemporaryFilesRequest, DescribeLiveCallbackTemplateResponse, CreateLivePullStreamTaskRequest, DeleteLiveSnapshotTemplateRequest, CreateScreenshotTaskRequest, DescribeAreaBillBandwidthAndFluxListResponse, DescribeCasterResponse, DescribeLiveAvatarScriptsResponse, CreateLivePullStreamTaskResponse, ModifyLivePushAuthKeyRequest, DescribeProIspPlaySumInfoListResponse, DescribeLivePlayAuthKeyResponse, DescribeLiveCallbackTemplatesRequest, CreateLivePadRuleRequest, DeleteLiveSnapshotRuleRequest, CreateLiveTimeShiftRuleRequest, StopCasterPvwResponse, DeleteLiveAvatarScriptResponse, DescribeLiveDomainRequest, DescribePushBandwidthAndFluxListRequest, CreateLiveRecordRuleRequest, ModifyLiveStreamMonitorRequest, ModifyLiveSnapshotTemplateResponse, DeleteLivePadTemplateRequest, DescribeTimeShiftStreamListRequest, DescribeLiveWatermarkRequest, DescribeLiveAvatarRoomsResponse, DescribeLiveDomainsResponse, ModifyLiveTimeShiftTemplateRequest, ModifyLiveDomainCertBindingsResponse, DescribeLiveRecordRulesRequest, DescribeCasterUserStatusRequest, DescribeLiveStreamMonitorResponse, ModifyPullStreamStatusResponse, DeleteLiveTimeShiftRuleRequest, CreateLiveCallbackTemplateRequest, CreateAuditKeywordLibResponse, DeleteRecordTaskResponse, ModifyCasterOutputInfoRequest, CreateLiveTranscodeRuleRequest, DropLiveStreamRequest, CreateCommonMixStreamRequest, DeleteCasterMarkPicInfoRequest, CreateCasterResponse, DescribeLiveSnapshotTemplateResponse, CreateLiveTimeShiftTemplateRequest, DescribeLiveDomainRefererResponse, DescribeLivePadTemplateRequest, DeleteLiveAvatarScriptRequest, DescribeHttpStatusInfoListRequest, StartLiveStreamMonitorRequest, DescribeCasterRequest, DescribeAIGCTaskStatusResponse, DeleteLiveDomainRequest, DeleteLiveTimeShiftTemplateResponse, ModifyLivePushAuthKeyResponse, DescribeScreenshotTaskResponse, ModifyPullStreamConfigRequest, DescribeProvinceIspPlayInfoListResponse, DescribeLivePackageInfoResponse, CreateLiveCallbackRuleRequest, DescribeLiveAvatarBackgroundListResponse, DescribeLiveDomainsRequest, DescribeLiveTimeShiftBillInfoListResponse, DescribeLiveCallbackRulesRequest, DescribeConcurrentRecordStreamNumRequest, DeleteCasterInputInfoRequest, DeleteScreenshotTaskResponse, DescribePullTransformPushInfoResponse, DescribeLiveCloudEffectListRequest, DescribeLiveStreamStateRequest, CreateLiveRecordTemplateResponse, AddCasterMarkWordInfoRequest, DescribeLiveAvatarTimbreListRequest, ModifyLivePlayAuthKeyResponse, DescribeLiveTimeShiftRulesResponse, CreateLiveAvatarRoomRequest, DeleteLiveCallbackRuleRequest, DescribeAllStreamPlayInfoListResponse, DescribeCasterInputInfosRequest, DescribeCasterMarkWordInfosRequest, DescribeVisitTopSumInfoListResponse, DescribeLiveRecordRulesResponse, StopLiveStreamMonitorRequest, StopLiveAvatarRoomRequest, DeleteLiveSnapshotTemplateResponse, CreateCommonMixStreamResponse, ModifyLiveDomainRefererRequest, DescribeLiveTimeShiftWriteSizeInfoListRequest, DescribeCasterUserStatusResponse, ModifyLivePullStreamTaskRequest, DescribeLogDownloadListRequest, DeleteLiveWatermarkResponse, DropLiveStreamResponse, DescribeAuditKeywordsRequest, DescribeLiveRecordTemplatesRequest, CreateLiveCallbackRuleResponse, DescribeTimeShiftRecordDetailRequest, CreateLiveTimeShiftTemplateResponse, DeleteCasterOutputInfoResponse, DescribeLivePadRulesRequest, DescribeCasterMarkPicInfosResponse, DescribePullStreamConfigsResponse, DescribeTranscodeTaskNumRequest, DescribeLiveCallbackRulesResponse, CreateRecordTaskResponse, ResumeDelayLiveStreamResponse, DescribeLiveDomainCertBindingsRequest, CreateLiveRecordTemplateRequest, CreateVideoRedrawTaskResponse, AddCasterOutputInfoResponse, DescribeHttpStatusInfoListResponse, DescribeUploadStreamNumsRequest, CreateLiveSnapshotRuleRequest, EnableLiveDomainResponse, DeleteCasterMarkPicInfoResponse, StopCasterPgmRequest, DeleteLiveAvatarRoomRequest, CreateLiveStreamMonitorResponse, DescribeCasterLayoutInfosRequest, AuthenticateDomainOwnerRequest, AddCasterMarkPicInfoResponse, CopyCasterResponse, AddCasterInputInfoRequest, ModifyLivePlayAuthKeyRequest, DescribeLiveDelayInfoListRequest, DescribeLiveTranscodeTemplateResponse, DescribeScreenShotSheetNumListResponse, ModifyLivePullStreamTaskResponse, DescribeLiveSnapshotRulesResponse, DeleteCasterRequest, DescribeLiveDomainCertResponse, AuthenticateDomainOwnerResponse, DeleteLiveTranscodeRuleRequest, AddLiveWatermarkResponse, AddCasterInputInfoResponse, ForbidLiveStreamRequest, ModifyCasterMarkWordInfoRequest, DescribeConcurrentRecordStreamNumResponse, DeleteLiveRecordTemplateResponse, DescribePullStreamConfigsRequest, ModifyOriginStreamInfoResponse, DescribePlayErrorCodeSumInfoListResponse, DescribeCasterListRequest, UnBindLiveDomainCertRequest, CreateLiveRecordResponse, UpdateLiveWatermarkResponse, ModifyLiveSnapshotTemplateRequest, DescribeLiveRecordTemplateResponse, DescribeLiveTimeShiftRulesRequest, DescribeOriginStreamInfoRequest, DescribeLiveTimeShiftBillInfoListRequest, ModifyCasterRequest, DescribeCasterEmergencyStatusRequest, DescribeLiveCertRequest, DeleteCasterLayoutInfoRequest, ModifyCasterMarkPicInfoResponse, DescribeDeliverBandwidthListRequest, DeleteAuditKeywordsResponse, DescribeLiveAvatarTemporaryScriptListRequest, DeleteCasterMarkWordInfoRequest, ModifyLiveRecordTemplateResponse, StopLivePadStreamRequest, AddLiveDomainRequest, DescribeLivePackageInfoRequest, DescribeLiveStreamMonitorListResponse, DeleteLiveTimeShiftTemplateRequest, SwitchBackupStreamResponse, AddLiveDomainResponse, ModifyPullStreamConfigResponse, CreateLiveCloudEffectRequest, DescribeProvinceIspPlayInfoListRequest, ModifyLiveAvatarRoomResponse, CreateLivePadRuleResponse, DescribeLiveWatermarkResponse, CloseSourceStreamRequest, DescribeLiveStreamPushInfoListRequest, ModifyCasterInputInfoResponse, StartLivePadStreamResponse, DeleteCasterInputInfoResponse, ForbidLiveStreamResponse, DescribeLiveSnapshotTemplatesResponse, DescribeRecordTaskResponse, CreateLiveAvatarRoomResponse, ModifyLiveAvatarRoomRequest, DescribeCasterPlayUrlRequest, DeleteLiveSnapshotRuleResponse, ForbidLiveDomainRequest, DescribeLiveAvatarScriptsRequest, DescribeLiveTimeShiftWriteSizeInfoListResponse, DescribeCasterListResponse, ModifyLiveRecordTemplateRequest, StartLivePadStreamRequest, DescribeLiveDomainRefererRequest, DescribeLiveAvatarTimbreListResponse, DescribeLiveStreamPublishedListResponse, AddDelayLiveStreamResponse, DescribeLivePadTemplatesRequest, EnableLiveDomainRequest, DescribeLiveTranscodeTotalInfoResponse, SendLiveCloudEffectResponse, DescribeLiveEnhanceInfoListResponse, CreateLiveTranscodeRuleResponse, CreateLiveTranscodeTemplateResponse, ModifyLivePadTemplateRequest, CreateLiveSnapshotTemplateRequest, ModifyLiveCallbackTemplateRequest, DeleteCasterLayoutInfoResponse, SwitchCasterToEmergencyResponse, DescribeMonitorReportRequest, DescribeAllStreamPlayInfoListRequest, DescribeLiveDomainResponse, DescribeLiveXP2PDetailInfoListRequest, DescribePullTransformPushInfoListResponse, CreateCasterPgmFromPvwRequest, CreateLiveAvatarScriptRequest, DeleteCasterOutputInfoRequest, DescribeTimeShiftRecordDetailResponse, DeleteLiveDomainResponse, AddCasterMarkPicInfoRequest, CloseSourceStreamResponse } from "./live_models";
/**
* live client
* @class
*/
export declare class Client extends AbstractClient {
constructor(clientConfig: ClientConfig);
/**
* 该接口用来查询账号下所有的导播台列表
*/
DescribeCasterList(req?: DescribeCasterListRequest, cb?: (error: string, rep: DescribeCasterListResponse) => void): Promise<DescribeCasterListResponse>;
/**
* 调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
*/
DescribeLiveAvatarScripts(req: DescribeLiveAvatarScriptsRequest, cb?: (error: string, rep: DescribeLiveAvatarScriptsResponse) => void): Promise<DescribeLiveAvatarScriptsResponse>;
/**
* 查询水印列表。
*/
DescribeLiveWatermarks(req: DescribeLiveWatermarksRequest, cb?: (error: string, rep: DescribeLiveWatermarksResponse) => void): Promise<DescribeLiveWatermarksResponse>;
/**
* 查询并发录制路数,对慢直播和普通直播适用。
*/
DescribeConcurrentRecordStreamNum(req: DescribeConcurrentRecordStreamNumRequest, cb?: (error: string, rep: DescribeConcurrentRecordStreamNumResponse) => void): Promise<DescribeConcurrentRecordStreamNumResponse>;
/**
* - 使用前提
1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2838)。
- 模式说明
该接口支持两种录制模式:
1. 定时录制模式【默认模式】。
需要传入开始时间与结束时间,录制任务根据起止时间自动开始与结束。在所设置结束时间过期之前(且未调用StopLiveRecord提前终止任务),录制任务都是有效的,期间多次断流然后重推都会启动录制任务。
2. 实时视频录制模式。
忽略传入的开始时间,在录制任务创建后立即开始录制,录制时长支持最大为30分钟,如果传入的结束时间与当前时间差大于30分钟,则按30分钟计算,实时视频录制主要用于录制精彩视频场景,时长建议控制在5分钟以内。
- 注意事项
1. 调用接口超时设置应大于3秒,小于3秒重试以及按不同起止时间调用都有可能产生重复录制任务,进而导致额外录制费用。
2. 受限于音视频文件格式(FLV/MP4/HLS)对编码类型的支持,视频编码类型支持 H.264,音频编码类型支持 AAC。
3. 为避免恶意或非主观的频繁 API 请求,对定时录制模式最大创建任务数做了限制:其中,当天可以创建的最大任务数不超过4000(不含已删除的任务);当前时刻并发运行的任务数不超过400。有超出此限制的需要提工单申请。
4. 此调用方式暂时不支持海外推流录制。
*/
CreateLiveRecord(req: CreateLiveRecordRequest, cb?: (error: string, rep: CreateLiveRecordResponse) => void): Promise<CreateLiveRecordResponse>;
/**
* 更新水印。
*/
UpdateLiveWatermark(req: UpdateLiveWatermarkRequest, cb?: (error: string, rep: UpdateLiveWatermarkResponse) => void): Promise<UpdateLiveWatermarkResponse>;
/**
* 修改录制模板配置。
*/
ModifyLiveRecordTemplate(req: ModifyLiveRecordTemplateRequest, cb?: (error: string, rep: ModifyLiveRecordTemplateResponse) => void): Promise<ModifyLiveRecordTemplateResponse>;
/**
* 查询指定时间段范围内启动和结束的录制任务列表。
- 使用前提
1. 仅用于查询由 CreateRecordTask 接口创建的录制任务。
2. 不能查询被 DeleteRecordTask 接口删除以及已过期(平台侧保留3个月)的录制任务。
*/
DescribeRecordTask(req: DescribeRecordTaskRequest, cb?: (error: string, rep: DescribeRecordTaskResponse) => void): Promise<DescribeRecordTaskResponse>;
/**
* 该接口用来停止导播台的预监任务。
*/
StopCasterPvw(req: StopCasterPvwRequest, cb?: (error: string, rep: StopCasterPvwResponse) => void): Promise<StopCasterPvwResponse>;
/**
* 创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
创建规则后生效时间为10分钟,规则仅对推流时间晚于配置生效时间的流有效,对正在直播的流不生效。
*/
CreateLiveWatermarkRule(req: CreateLiveWatermarkRuleRequest, cb?: (error: string, rep: CreateLiveWatermarkRuleResponse) => void): Promise<CreateLiveWatermarkRuleResponse>;
/**
* 断开推流连接,但可以重新推流。
注:对已经不活跃的流,调用该断流接口时,接口返回成功。
*/
DropLiveStream(req: DropLiveStreamRequest, cb?: (error: string, rep: DropLiveStreamResponse) => void): Promise<DropLiveStreamResponse>;
/**
* 用于查询推断流事件。<br>
注意:
1. 该接口提供离线推断流记录查询功能,不可作为重要业务场景强依赖接口。
2. 该接口可通过使用IsFilter进行过滤,返回推流历史记录。
*/
DescribeLiveStreamEventList(req: DescribeLiveStreamEventListRequest, cb?: (error: string, rep: DescribeLiveStreamEventListResponse) => void): Promise<DescribeLiveStreamEventListResponse>;
/**
* 该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
注意:当前最多支持16路混流。
最佳实践:https://cloud.tencent.com/document/product/267/45566
*/
CreateCommonMixStream(req: CreateCommonMixStreamRequest, cb?: (error: string, rep: CreateCommonMixStreamResponse) => void): Promise<CreateCommonMixStreamResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询某段时间内5分钟粒度的各播放http状态码的个数。
备注:数据延迟1小时,如10:00-10:59点的数据12点才能查到。
*/
DescribeHttpStatusInfoList(req: DescribeHttpStatusInfoListRequest, cb?: (error: string, rep: DescribeHttpStatusInfoListResponse) => void): Promise<DescribeHttpStatusInfoListResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询某省份某运营商下行播放数据,包括带宽,流量,请求数,并发连接数信息。
*/
DescribeProvinceIspPlayInfoList(req: DescribeProvinceIspPlayInfoListRequest, cb?: (error: string, rep: DescribeProvinceIspPlayInfoListResponse) => void): Promise<DescribeProvinceIspPlayInfoListResponse>;
/**
* 修改播放域名信息。
*/
ModifyLivePlayDomain(req: ModifyLivePlayDomainRequest, cb?: (error: string, rep: ModifyLivePlayDomainResponse) => void): Promise<ModifyLivePlayDomainResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询流id的上行推流质量数据,包括音视频的帧率,码率,流逝时间,编码格式等。
*/
DescribeStreamPushInfoList(req: DescribeStreamPushInfoListRequest, cb?: (error: string, rep: DescribeStreamPushInfoListResponse) => void): Promise<DescribeStreamPushInfoListResponse>;
/**
* 该接口用来启动直播流监播任务。
*/
StartLiveStreamMonitor(req: StartLiveStreamMonitorRequest, cb?: (error: string, rep: StartLiveStreamMonitorResponse) => void): Promise<StartLiveStreamMonitorResponse>;
/**
* 获取截图规则列表
*/
DescribeLiveSnapshotRules(req?: DescribeLiveSnapshotRulesRequest, cb?: (error: string, rep: DescribeLiveSnapshotRulesResponse) => void): Promise<DescribeLiveSnapshotRulesResponse>;
/**
* 调用该接口,用于启动数字人(包括AIGC数字人)直播间。
*/
StartLiveAvatarRoom(req: StartLiveAvatarRoomRequest, cb?: (error: string, rep: StartLiveAvatarRoomResponse) => void): Promise<StartLiveAvatarRoomResponse>;
/**
* 使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
*/
DescribeLiveCloudEffectList(req: DescribeLiveCloudEffectListRequest, cb?: (error: string, rep: DescribeLiveCloudEffectListResponse) => void): Promise<DescribeLiveCloudEffectListResponse>;
/**
* 调用该接口,释放导播台实例,但保留所有的配置。
执行该接口,预监与主监画面停止,第三方推流停止。
点播文件与直播地址将停止展示,客户自行推到导播台的流需要手动停止。
*/
ReleaseCaster(req: ReleaseCasterRequest, cb?: (error: string, rep: ReleaseCasterResponse) => void): Promise<ReleaseCasterResponse>;
/**
* 查询某个时间范围内所有时移流列表。最大支持查询24小时内的数据。
*/
DescribeTimeShiftStreamList(req: DescribeTimeShiftStreamListRequest, cb?: (error: string, rep: DescribeTimeShiftStreamListResponse) => void): Promise<DescribeTimeShiftStreamListResponse>;
/**
* 该接口用来向导播台中添加一个输入源,该输入源可以是拉流地址、或是一个文件链接
*/
AddCasterInputInfo(req: AddCasterInputInfoRequest, cb?: (error: string, rep: AddCasterInputInfoResponse) => void): Promise<AddCasterInputInfoResponse>;
/**
* 创建直播垫片模板。
*/
CreateLivePadTemplate(req: CreateLivePadTemplateRequest, cb?: (error: string, rep: CreateLivePadTemplateResponse) => void): Promise<CreateLivePadTemplateResponse>;
/**
* 获取截图模板列表。
*/
DescribeLiveSnapshotTemplates(req?: DescribeLiveSnapshotTemplatesRequest, cb?: (error: string, rep: DescribeLiveSnapshotTemplatesResponse) => void): Promise<DescribeLiveSnapshotTemplatesResponse>;
/**
* 查询直播域名 Referer 黑白名单配置。
由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
*/
DescribeLiveDomainReferer(req: DescribeLiveDomainRefererRequest, cb?: (error: string, rep: DescribeLiveDomainRefererResponse) => void): Promise<DescribeLiveDomainRefererResponse>;
/**
* 支持直播时移写入量数据查询。
*/
DescribeLiveTimeShiftWriteSizeInfoList(req: DescribeLiveTimeShiftWriteSizeInfoListRequest, cb?: (error: string, rep: DescribeLiveTimeShiftWriteSizeInfoListResponse) => void): Promise<DescribeLiveTimeShiftWriteSizeInfoListResponse>;
/**
* 设置直播域名 Referer 黑白名单。
由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
*/
ModifyLiveDomainReferer(req: ModifyLiveDomainRefererRequest, cb?: (error: string, rep: ModifyLiveDomainRefererResponse) => void): Promise<ModifyLiveDomainRefererResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询某段时间top n客户端ip汇总信息(暂支持top 1000)
*/
DescribeTopClientIpSumInfoList(req: DescribeTopClientIpSumInfoListRequest, cb?: (error: string, rep: DescribeTopClientIpSumInfoListResponse) => void): Promise<DescribeTopClientIpSumInfoListResponse>;
/**
* 创建关键词库,直播审核功能使用。
*/
CreateAuditKeywordLib(req: CreateAuditKeywordLibRequest, cb?: (error: string, rep: CreateAuditKeywordLibResponse) => void): Promise<CreateAuditKeywordLibResponse>;
/**
* 该接口用来生成导播台推流地址
*/
CreateCasterInputPushUrl(req: CreateCasterInputPushUrlRequest, cb?: (error: string, rep: CreateCasterInputPushUrlResponse) => void): Promise<CreateCasterInputPushUrlResponse>;
/**
* 该接口用来查询某个导播台的推流信息列表。
*/
DescribeCasterOutputInfos(req: DescribeCasterOutputInfosRequest, cb?: (error: string, rep: DescribeCasterOutputInfosResponse) => void): Promise<DescribeCasterOutputInfosResponse>;
/**
* 获取直播源站配置信息,支持直播源站格式。
*/
DescribeOriginStreamInfo(req: DescribeOriginStreamInfoRequest, cb?: (error: string, rep: DescribeOriginStreamInfoResponse) => void): Promise<DescribeOriginStreamInfoResponse>;
/**
* 创建一个在指定时间启动、结束的截图任务,并使用指定截图模板ID对应的配置进行截图。
- 注意事项
1. 断流会结束当前截图。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常截图,与是否多次推、断流无关。
2. 使用上避免创建时间段相互重叠的截图任务。若同一条流当前存在多个时段重叠的任务,为避免重复系统将启动最多3个截图任务。
3. 创建的截图任务记录在平台侧只保留3个月。
4. 当前截图任务管理API(CreateScreenshotTask/StopScreenshotTask/DeleteScreenshotTask)与旧API(CreateLiveInstantSnapshot/StopLiveInstantSnapshot)不兼容,两套接口不能混用。
5. 避免 创建截图任务 与 推流 操作同时进行,可能导致因截图任务未生效而引起任务延迟启动问题,两者操作间隔建议大于3秒。
*/
CreateScreenshotTask(req: CreateScreenshotTaskRequest, cb?: (error: string, rep: CreateScreenshotTaskResponse) => void): Promise<CreateScreenshotTaskResponse>;
/**
* 获取录制模板列表。
*/
DescribeLiveRecordTemplates(req: DescribeLiveRecordTemplatesRequest, cb?: (error: string, rep: DescribeLiveRecordTemplatesResponse) => void): Promise<DescribeLiveRecordTemplatesResponse>;
/**
* 调用该接口,用于停止数字人直播间。
*/
StopLiveAvatarRoom(req: StopLiveAvatarRoomRequest, cb?: (error: string, rep: StopLiveAvatarRoomResponse) => void): Promise<StopLiveAvatarRoomResponse>;
/**
* 该接口用来停止直播流监播任务。
*/
StopLiveStreamMonitor(req: StopLiveStreamMonitorRequest, cb?: (error: string, rep: StopLiveStreamMonitorResponse) => void): Promise<StopLiveStreamMonitorResponse>;
/**
* 验证用户是否拥有特定直播域名。
*/
AuthenticateDomainOwner(req: AuthenticateDomainOwnerRequest, cb?: (error: string, rep: AuthenticateDomainOwnerResponse) => void): Promise<AuthenticateDomainOwnerResponse>;
/**
* 修改播放鉴权key
*/
ModifyLivePlayAuthKey(req: ModifyLivePlayAuthKeyRequest, cb?: (error: string, rep: ModifyLivePlayAuthKeyResponse) => void): Promise<ModifyLivePlayAuthKeyResponse>;
/**
* 查询某时间段top n的域名或流id信息(暂支持top 1000)。
*/
DescribeVisitTopSumInfoList(req: DescribeVisitTopSumInfoListRequest, cb?: (error: string, rep: DescribeVisitTopSumInfoListResponse) => void): Promise<DescribeVisitTopSumInfoListResponse>;
/**
* 该接口用来修改导播台文本配置。
*/
ModifyCasterMarkWordInfo(req: ModifyCasterMarkWordInfoRequest, cb?: (error: string, rep: ModifyCasterMarkWordInfoResponse) => void): Promise<ModifyCasterMarkWordInfoResponse>;
/**
* 该接口用来增加导播台的布局参数。
*/
AddCasterLayoutInfo(req: AddCasterLayoutInfoRequest, cb?: (error: string, rep: AddCasterLayoutInfoResponse) => void): Promise<AddCasterLayoutInfoResponse>;
/**
* 获取域名证书信息。
*/
DescribeLiveDomainCert(req: DescribeLiveDomainCertRequest, cb?: (error: string, rep: DescribeLiveDomainCertResponse) => void): Promise<DescribeLiveDomainCertResponse>;
/**
* 添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。 水印数量上限 100,超过后需要先删除,再添加。
*/
AddLiveWatermark(req: AddLiveWatermarkRequest, cb?: (error: string, rep: AddLiveWatermarkResponse) => void): Promise<AddLiveWatermarkResponse>;
/**
* 海外分区直播播放带宽和流量数据查询。
*/
DescribeAreaBillBandwidthAndFluxList(req: DescribeAreaBillBandwidthAndFluxListRequest, cb?: (error: string, rep: DescribeAreaBillBandwidthAndFluxListResponse) => void): Promise<DescribeAreaBillBandwidthAndFluxListResponse>;
/**
* 该接口用来查询某个导播台的文本列表。
*/
DescribeCasterMarkWordInfos(req: DescribeCasterMarkWordInfosRequest, cb?: (error: string, rep: DescribeCasterMarkWordInfosResponse) => void): Promise<DescribeCasterMarkWordInfosResponse>;
/**
* 该接口用来将布局信息从导播台中删除
*/
DeleteCasterLayoutInfo(req: DeleteCasterLayoutInfoRequest, cb?: (error: string, rep: DeleteCasterLayoutInfoResponse) => void): Promise<DeleteCasterLayoutInfoResponse>;
/**
* 删除水印规则
*/
DeleteLiveWatermarkRule(req: DeleteLiveWatermarkRuleRequest, cb?: (error: string, rep: DeleteLiveWatermarkRuleResponse) => void): Promise<DeleteLiveWatermarkRuleResponse>;
/**
* 查询直播转推计费带宽,查询时间范围最大支持3个月内的数据,时间跨度最长31天。
*/
DescribeDeliverBandwidthList(req: DescribeDeliverBandwidthListRequest, cb?: (error: string, rep: DescribeDeliverBandwidthListResponse) => void): Promise<DescribeDeliverBandwidthListResponse>;
/**
* 删除回调规则。
*/
DeleteLiveCallbackRule(req: DeleteLiveCallbackRuleRequest, cb?: (error: string, rep: DeleteLiveCallbackRuleResponse) => void): Promise<DeleteLiveCallbackRuleResponse>;
/**
* 更新拉流配置。该接口为已下线接口,请使用新接口 ModifyLivePullStreamTask。
*/
ModifyPullStreamConfig(req: ModifyPullStreamConfigRequest, cb?: (error: string, rep: ModifyPullStreamConfigResponse) => void): Promise<ModifyPullStreamConfigResponse>;
/**
* 创建截图模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveSnapshotRule](/document/product/267/32625)接口,将模板id绑定到流使用。
<br>截图相关文档:[直播截图](/document/product/267/32737)。
*/
CreateLiveSnapshotTemplate(req: CreateLiveSnapshotTemplateRequest, cb?: (error: string, rep: CreateLiveSnapshotTemplateResponse) => void): Promise<CreateLiveSnapshotTemplateResponse>;
/**
* 返回正在直播中的流列表。适用于推流成功后查询在线流信息。
注意:
1. 该接口仅提供辅助查询在线流列表功能,业务重要场景不可强依赖该接口。
2. 该接口仅适用于流数少于2万路的情况,对于流数较大用户请联系售后。
*/
DescribeLiveStreamOnlineList(req: DescribeLiveStreamOnlineListRequest, cb?: (error: string, rep: DescribeLiveStreamOnlineListResponse) => void): Promise<DescribeLiveStreamOnlineListResponse>;
/**
* 启用择优调度。
注意:流维度的择优调度,当主备流结束后自动失效。
*/
EnableOptimalSwitching(req: EnableOptimalSwitchingRequest, cb?: (error: string, rep: EnableOptimalSwitchingResponse) => void): Promise<EnableOptimalSwitchingResponse>;
/**
* 删除回调模板。
*/
DeleteLiveCallbackTemplate(req: DeleteLiveCallbackTemplateRequest, cb?: (error: string, rep: DeleteLiveCallbackTemplateResponse) => void): Promise<DeleteLiveCallbackTemplateResponse>;
/**
* 该接口用来修改导播台水印信息。
注意,修改的Index对应的水印需已存在
*/
ModifyCasterMarkPicInfo(req: ModifyCasterMarkPicInfoRequest, cb?: (error: string, rep: ModifyCasterMarkPicInfoResponse) => void): Promise<ModifyCasterMarkPicInfoResponse>;
/**
* 该接口用来获取导播台视频流的播放url,用来在页面上拉流展示。
*/
DescribeCasterPlayUrl(req: DescribeCasterPlayUrlRequest, cb?: (error: string, rep: DescribeCasterPlayUrlResponse) => void): Promise<DescribeCasterPlayUrlResponse>;
/**
* 查询直播推流鉴权key
*/
DescribeLivePushAuthKey(req: DescribeLivePushAuthKeyRequest, cb?: (error: string, rep: DescribeLivePushAuthKeyResponse) => void): Promise<DescribeLivePushAuthKeyResponse>;
/**
* 删除直播拉流配置。该接口已下线,请使用新接口 DeleteLivePullStreamTask。
*/
DeletePullStreamConfig(req: DeletePullStreamConfigRequest, cb?: (error: string, rep: DeletePullStreamConfigResponse) => void): Promise<DeletePullStreamConfigResponse>;
/**
* 该接口用来修改布局参数
*/
ModifyCasterLayoutInfo(req: ModifyCasterLayoutInfoRequest, cb?: (error: string, rep: ModifyCasterLayoutInfoResponse) => void): Promise<ModifyCasterLayoutInfoResponse>;
/**
* 前提调用 DescribeTimeShiftStreamList 获得请求必要参数。查询指定范围内的时移流录制详情,最大支持24小时范围查询。
*/
DescribeTimeShiftRecordDetail(req: DescribeTimeShiftRecordDetailRequest, cb?: (error: string, rep: DescribeTimeShiftRecordDetailResponse) => void): Promise<DescribeTimeShiftRecordDetailResponse>;
/**
* 获取单个录制模板。
*/
DescribeLiveRecordTemplate(req: DescribeLiveRecordTemplateRequest, cb?: (error: string, rep: DescribeLiveRecordTemplateResponse) => void): Promise<DescribeLiveRecordTemplateResponse>;
/**
* 获取单个转码模板。
*/
DescribeLiveTranscodeTemplate(req: DescribeLiveTranscodeTemplateRequest, cb?: (error: string, rep: DescribeLiveTranscodeTemplateResponse) => void): Promise<DescribeLiveTranscodeTemplateResponse>;
/**
* 提前结束截图,中止运行中的截图任务。任务被成功终止后,本次任务将不再启动。
*/
StopScreenshotTask(req: StopScreenshotTaskRequest, cb?: (error: string, rep: StopScreenshotTaskResponse) => void): Promise<StopScreenshotTaskResponse>;
/**
* 为导播台添加文本配置。
*/
AddCasterMarkWordInfo(req: AddCasterMarkWordInfoRequest, cb?: (error: string, rep: AddCasterMarkWordInfoResponse) => void): Promise<AddCasterMarkWordInfoResponse>;
/**
* 用来查询监播场次7天内的智能识别、断流、低帧率等信息的汇总报告。
*/
DescribeMonitorReport(req: DescribeMonitorReportRequest, cb?: (error: string, rep: DescribeMonitorReportResponse) => void): Promise<DescribeMonitorReportResponse>;
/**
* 查询直播拉流配置。该接口已下线,请使用新接口 DescribeLivePullStreamTasks。
*/
DescribePullStreamConfigs(req: DescribePullStreamConfigsRequest, cb?: (error: string, rep: DescribePullStreamConfigsResponse) => void): Promise<DescribePullStreamConfigsResponse>;
/**
* 该接口用来查询某个特定监播任务的配置。
*/
DescribeLiveStreamMonitor(req: DescribeLiveStreamMonitorRequest, cb?: (error: string, rep: DescribeLiveStreamMonitorResponse) => void): Promise<DescribeLiveStreamMonitorResponse>;
/**
* 使用该接口查询云端特效配置信息。
*/
DescribeLiveCloudEffectConfig(req?: DescribeLiveCloudEffectConfigRequest, cb?: (error: string, rep: DescribeLiveCloudEffectConfigResponse) => void): Promise<DescribeLiveCloudEffectConfigResponse>;
/**
* 使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
*/
SendLiveCloudEffect(req: SendLiveCloudEffectRequest, cb?: (error: string, rep: SendLiveCloudEffectResponse) => void): Promise<SendLiveCloudEffectResponse>;
/**
* 删除水印。
*/
DeleteLiveWatermark(req: DeleteLiveWatermarkRequest, cb?: (error: string, rep: DeleteLiveWatermarkResponse) => void): Promise<DeleteLiveWatermarkResponse>;
/**
* 该接口用来设置导播台的描述、名称、录制模板id等参数。
*/
ModifyCaster(req: ModifyCasterRequest, cb?: (error: string, rep: ModifyCasterResponse) => void): Promise<ModifyCasterResponse>;
/**
* 查询绑定证书的域名列表。
*/
DescribeLiveDomainCertBindings(req: DescribeLiveDomainCertBindingsRequest, cb?: (error: string, rep: DescribeLiveDomainCertBindingsResponse) => void): Promise<DescribeLiveDomainCertBindingsResponse>;
/**
* 创建直播时移规则,需要先调用[CreateLiveTimeShiftTemplate](/document/product/267/86169)接口创建直播时移模板,将返回的模板id绑定到流使用。
<br>直播时移相关文档:[直播时移](/document/product/267/86134)。
*/
CreateLiveTimeShiftRule(req: CreateLiveTimeShiftRuleRequest, cb?: (error: string, rep: CreateLiveTimeShiftRuleResponse) => void): Promise<CreateLiveTimeShiftRuleResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询下行播放错误码信息。
*/
DescribePlayErrorCodeSumInfoList(req: DescribePlayErrorCodeSumInfoListRequest, cb?: (error: string, rep: DescribePlayErrorCodeSumInfoListResponse) => void): Promise<DescribePlayErrorCodeSumInfoListResponse>;
/**
* 针对大型活动直播,通过对直播流设置延时来控制现场与观众播放画面的时间间隔,避免突发状况造成影响。
注意:如果在推流前设置延播,需要提前5分钟设置,目前该接口只支持流粒度。
*/
AddDelayLiveStream(req: AddDelayLiveStreamRequest, cb?: (error: string, rep: AddDelayLiveStreamResponse) => void): Promise<AddDelayLiveStreamResponse>;
/**
* 直播上行路数查询。
数据延迟3小时左右。
*/
DescribeUploadStreamNums(req: DescribeUploadStreamNumsRequest, cb?: (error: string, rep: DescribeUploadStreamNumsResponse) => void): Promise<DescribeUploadStreamNumsResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询天维度每条流的播放数据,包括总流量等。
*/
DescribeStreamDayPlayInfoList(req: DescribeStreamDayPlayInfoListRequest, cb?: (error: string, rep: DescribeStreamDayPlayInfoListResponse) => void): Promise<DescribeStreamDayPlayInfoListResponse>;
/**
* 使用该接口查询垫片流列表。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
*/
DescribeLivePadStreamList(req: DescribeLivePadStreamListRequest, cb?: (error: string, rep: DescribeLivePadStreamListResponse) => void): Promise<DescribeLivePadStreamListResponse>;
/**
* 修改转码模板配置。
*/
ModifyLiveTranscodeTemplate(req: ModifyLiveTranscodeTemplateRequest, cb?: (error: string, rep: ModifyLiveTranscodeTemplateResponse) => void): Promise<ModifyLiveTranscodeTemplateResponse>;
/**
* 删除转码规则。
DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配。其中TemplateId必填,其余参数为空时也需要传空字符串进行强匹配。
*/
DeleteLiveTranscodeRule(req: DeleteLiveTranscodeRuleRequest, cb?: (error: string, rep: DeleteLiveTranscodeRuleResponse) => void): Promise<DeleteLiveTranscodeRuleResponse>;
/**
* 查询转码总量数据,可查询近三个月内的数据。
注意:
如果是查询某一天内,则返回5分钟粒度数据;
如果是查询跨天或指定域名, 则返回1小时粒度数据。
*/
DescribeLiveTranscodeTotalInfo(req: DescribeLiveTranscodeTotalInfoRequest, cb?: (error: string, rep: DescribeLiveTranscodeTotalInfoResponse) => void): Promise<DescribeLiveTranscodeTotalInfoResponse>;
/**
* 删除截图规则。
*/
DeleteLiveSnapshotRule(req: DeleteLiveSnapshotRuleRequest, cb?: (error: string, rep: DeleteLiveSnapshotRuleResponse) => void): Promise<DeleteLiveSnapshotRuleResponse>;
/**
* 删除接口 CreateLivePullStreamTask 创建的拉流任务。
注意:
1. 入参中的 TaskId 为 CreateLivePullStreamTask 接口创建时返回的TaskId。
2. 也可通过 DescribeLivePullStreamTasks 进行查询创建的任务。
*/
DeleteLivePullStreamTask(req: DeleteLivePullStreamTaskRequest, cb?: (error: string, rep: DeleteLivePullStreamTaskResponse) => void): Promise<DeleteLivePullStreamTaskResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
支持查询某天或某段时间的转码详细信息。由于转码数据量较大,如果查询时间跨度太长可能会拉不到数据,可以尝试将查询时间范围缩小些再重试。
*/
DescribeLiveTranscodeDetailInfo(req: DescribeLiveTranscodeDetailInfoRequest, cb?: (error: string, rep: DescribeLiveTranscodeDetailInfoResponse) => void): Promise<DescribeLiveTranscodeDetailInfoResponse>;
/**
* 修改直播垫片模板。
*/
ModifyLivePadTemplate(req: ModifyLivePadTemplateRequest, cb?: (error: string, rep: ModifyLivePadTemplateResponse) => void): Promise<ModifyLivePadTemplateResponse>;
/**
* 获取单个水印信息。
*/
DescribeLiveWatermark(req: DescribeLiveWatermarkRequest, cb?: (error: string, rep: DescribeLiveWatermarkResponse) => void): Promise<DescribeLiveWatermarkResponse>;
/**
* 调用该接口,用于修改数字人(包括AIGC数字人)直播间。
*/
ModifyLiveAvatarRoom(req: ModifyLiveAvatarRoomRequest, cb?: (error: string, rep: ModifyLiveAvatarRoomResponse) => void): Promise<ModifyLiveAvatarRoomResponse>;
/**
* 获取证书信息
*/
DescribeLiveCert(req: DescribeLiveCertRequest, cb?: (error: string, rep: DescribeLiveCertResponse) => void): Promise<DescribeLiveCertResponse>;
/**
* 批量绑定证书对应的播放域名,并更新启用状态。
新建自有证书将自动上传至腾讯云ssl。
*/
ModifyLiveDomainCertBindings(req: ModifyLiveDomainCertBindingsRequest, cb?: (error: string, rep: ModifyLiveDomainCertBindingsResponse) => void): Promise<ModifyLiveDomainCertBindingsResponse>;
/**
* 批量获取转推日志的URL。
*/
DescribeDeliverLogDownList(req: DescribeDeliverLogDownListRequest, cb?: (error: string, rep: DescribeDeliverLogDownListResponse) => void): Promise<DescribeDeliverLogDownListResponse>;
/**
* 该接口用来启动主监任务,并将获取主监画面的播放地址。
*/
CreateCasterPgm(req: CreateCasterPgmRequest, cb?: (error: string, rep: CreateCasterPgmResponse) => void): Promise<CreateCasterPgmResponse>;
/**
* 更新直播拉流任务。
1. 不支持修改拉流源类型,如需更换,请创建新任务。
*/
ModifyLivePullStreamTask(req: ModifyLivePullStreamTaskRequest, cb?: (error: string, rep: ModifyLivePullStreamTaskResponse) => void): Promise<ModifyLivePullStreamTaskResponse>;
/**
* 查询直播增强用量明细信息。
*/
DescribeLiveEnhanceInfoList(req: DescribeLiveEnhanceInfoListRequest, cb?: (error: string, rep: DescribeLiveEnhanceInfoListResponse) => void): Promise<DescribeLiveEnhanceInfoListResponse>;
/**
* 查询拉流转推任务的时长信息。
*/
DescribePullTransformPushInfo(req: DescribePullTransformPushInfoRequest, cb?: (error: string, rep: DescribePullTransformPushInfoResponse) => void): Promise<DescribePullTransformPushInfoResponse>;
/**
* 创建回调模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveCallbackRule](/document/product/267/32638)接口将模板 ID 绑定到域名/路径使用。
<br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
注意:至少填写一个回调 URL。
*/
CreateLiveCallbackTemplate(req: CreateLiveCallbackTemplateRequest, cb?: (error: string, rep: CreateLiveCallbackTemplateResponse) => void): Promise<CreateLiveCallbackTemplateResponse>;
/**
* 删除关键词信息。
*/
DeleteAuditKeywords(req: DeleteAuditKeywordsRequest, cb?: (error: string, rep: DeleteAuditKeywordsResponse) => void): Promise<DeleteAuditKeywordsResponse>;
/**
* 根据域名状态、类型等信息查询用户的域名信息。
*/
DescribeLiveDomains(req: DescribeLiveDomainsRequest, cb?: (error: string, rep: DescribeLiveDomainsResponse) => void): Promise<DescribeLiveDomainsResponse>;
/**
* 该接口用来查询某个导播台的布局列表
*/
DescribeCasterLayoutInfos(req: DescribeCasterLayoutInfosRequest, cb?: (error: string, rep: DescribeCasterLayoutInfosResponse) => void): Promise<DescribeCasterLayoutInfosResponse>;
/**
* 该接口用来修改导播台的推流信息。
注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
*/
ModifyCasterOutputInfo(req: ModifyCasterOutputInfoRequest, cb?: (error: string, rep: ModifyCasterOutputInfoResponse) => void): Promise<ModifyCasterOutputInfoResponse>;
/**
* 该接口用来启动预监任务,并将获取预监画面的播放地址。
*/
CreateCasterPvw(req: CreateCasterPvwRequest, cb?: (error: string, rep: CreateCasterPvwResponse) => void): Promise<CreateCasterPvwResponse>;
/**
* 该接口用于查询场景化视频任务进展及结果。
*/
DescribeSceneVideoTask(req: DescribeSceneVideoTaskRequest, cb?: (error: string, rep: DescribeSceneVideoTaskResponse) => void): Promise<DescribeSceneVideoTaskResponse>;
/**
* 该接口用来查询某个导播台的水印列表。
*/
DescribeCasterMarkPicInfos(req: DescribeCasterMarkPicInfosRequest, cb?: (error: string, rep: DescribeCasterMarkPicInfosResponse) => void): Promise<DescribeCasterMarkPicInfosResponse>;
/**
* 获取单个回调模板。
*/
DescribeLiveCallbackTemplate(req: DescribeLiveCallbackTemplateRequest, cb?: (error: string, rep: DescribeLiveCallbackTemplateResponse) => void): Promise<DescribeLiveCallbackTemplateResponse>;
/**
* 删除已添加的直播域名
*/
DeleteLiveDomain(req: DeleteLiveDomainRequest, cb?: (error: string, rep: DeleteLiveDomainResponse) => void): Promise<DeleteLiveDomainResponse>;
/**
* 调用该接口,用于修改数字人直播间话术。
*/
ModifyLiveAvatarScript(req: ModifyLiveAvatarScriptRequest, cb?: (error: string, rep: ModifyLiveAvatarScriptResponse) => void): Promise<ModifyLiveAvatarScriptResponse>;
/**
* 修改回调模板。
*/
ModifyLiveCallbackTemplate(req: ModifyLiveCallbackTemplateRequest, cb?: (error: string, rep: ModifyLiveCallbackTemplateResponse) => void): Promise<ModifyLiveCallbackTemplateResponse>;
/**
* 该接口用来新增图片水印。
*/
AddCasterMarkPicInfo(req: AddCasterMarkPicInfoRequest, cb?: (error: string, rep: AddCasterMarkPicInfoResponse) => void): Promise<AddCasterMarkPicInfoResponse>;
/**
* 删除直播时移模板。
*/
DeleteLiveTimeShiftTemplate(req: DeleteLiveTimeShiftTemplateRequest, cb?: (error: string, rep: DeleteLiveTimeShiftTemplateResponse) => void): Promise<DeleteLiveTimeShiftTemplateResponse>;
/**
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
查询按省份和运营商分组的下行播放数据。
*/
DescribeGroupProIspPlayInfoList(req: DescribeGroupProIspPlayInfoListRequest, cb?: (error: string, rep: DescribeGroupProIspPlayInfoListResponse) => void): Promise<DescribeGroupProIspPlayInfoListResponse>;
/**
* 查询拉流转推任务流数据统计信息。
*/
DescribePullTransformPushInfoList(req: DescribePullTransformPushInfoListRequest, cb?: (error: string, rep: DescribePullTransformPushInfoListResponse) => void): Promise<DescribePullTransformPushInfoListResponse>;
/**
* 该接口用来创建新的导播台
*/
CreateCaster(req: CreateCasterRequest, cb?: (error: string, rep: CreateCasterResponse) => void): Promise<CreateCasterResponse>;
/**
* 删除转码模板。
*/
DeleteLiveTranscodeTemplate(req: DeleteLiveTranscodeTemplateRequest, cb?: (error: string, rep: DeleteLiveTranscodeTemplateResponse) => void): Promise<DeleteLiveTranscodeTemplateResponse>;
/**
* 查询直播拉流任务状态信息。
*/
DescribeLivePullStreamTaskStatus(req: DescribeLivePullStreamTaskStatusRequest, cb?: (error: string, rep: DescribeLivePullStreamTaskStatusResponse) => void): Promise<DescribeLivePullStreamTaskStatusResponse>;
/**
* 调用该接口实现切换当前播放所使用的主备流。
*/
SwitchBackupStream(req: SwitchBackupStreamRequest, cb?: (error: string, rep: SwitchBackupStreamResponse) => void): Promise<SwitchBackupStreamResponse>;
/**
* 获取单个截图模板。
*/
DescribeLiveSnapshotTemplate(req: DescribeLiveSnapshotTemplateRequest, cb?: (error: string, rep: DescribeLiveSnapshotTemplateResponse) => void): Promise<DescribeLiveSnapshotTemplateResponse>;
/**
* 获取回调模板列表
*/
DescribeLiveCallbackTemplates(req?: DescribeLiveCallbackTemplatesRequest, cb?: (error: string, rep: DescribeLiveCallbackTemplatesResponse) => void): Promise<DescribeLiveCallbackTemplatesResponse>;
/**
* 提前结束录制,中止运行中的录制任务并生成录制文件。任务被成功终止后,本次任务将不再启动。
*/
StopRecordTask(req: StopRecordTaskRequest, cb?: (error: string, rep: StopRecordTaskResponse) => void): Promise<StopRecordTaskResponse>;
/**
* 修改直播时移模板。
*/
ModifyLiveTimeShiftTemplate(req: ModifyLiveTimeShiftTemplateRequest, cb?: (error: string, rep: ModifyLiveTimeShiftTemplateResponse) => void): Promise<ModifyLiveTimeShiftTemplateResponse>;
/**
* 该接口用来创建直播流监播任务。
*/
CreateLiveStreamMonitor(req: CreateLiveStreamMonitorRequest, cb?: (error: string, rep: CreateLiveStreamMonitorResponse) => void): Promise<CreateLiveStreamMonitorResponse>;
/**
* 创建直播垫片规则。
*/
CreateLivePadRule(req: CreateLivePadRuleRequest, cb?: (error: string, rep: CreateLivePadRuleResponse) => void): Promise<CreateLivePadRuleResponse>;
/**
* 说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
*/
StopLiveRecord(req: StopLiveRecordRequest, cb?: (error: string, rep: StopLiveRecordResponse) => void): Promise<StopLiveRecordResponse>;
/**
* 查询视频转绘任务
*/
DescribeAIGCTaskStatus(req: DescribeAIGCTaskStatusRequest, cb?: (error: string, rep: DescribeAIGCTaskStatusResponse) => void): Promise<DescribeAIGCTaskStatusResponse>;
/**
* 该接口用来删除一个导播台的所有信息。
注意,调用该接口后,所有的导播台信息将被清除,包括正在直播的内容也将直接中断。
*/
DeleteCaster(req: DeleteCasterRequest, cb?: (error: string, rep: DeleteCasterResponse) => void): Promise<DeleteCasterResponse>;
/**
* 获取单个直播垫片模板
*/
DescribeLivePadTemplate(req: DescribeLivePadTemplateRequest, cb?: (error: string, rep: DescribeLivePadTemplateResponse) => void): Promise<DescribeLivePadTemplateResponse>;
/**
* 接口用来查询直播增值业务--截图的张数
*/
DescribeScreenShotSheetNumList(req: DescribeScreenShotSheetNumListRequest, cb?: (error: string, rep: DescribeScreenShotSheetNumListResponse) => void): Promise<DescribeScreenShotSheetNumListResponse>;
/**
* 解绑域名证书
*/
UnBindLiveDomainCert(req: UnBindLiveDomainCertRequest, cb?: (error: string, rep: UnBindLiveDomainCertResponse) => void): Promise<UnBindLiveDomainCertResponse>;
/**
* 删除录制任务配置。删除操作不影响正在运行当中的任务,仅对删除之后新的推流有效。
*/
DeleteRecordTask(req: DeleteRecordTaskRequest, cb?: (error: string, rep: DeleteRecordTaskResponse) => void): Promise<DeleteRecordTaskResponse>;
/**
* 调用该接口,获取可用的数字人形象信息列表。包括官方预制形象,以及个人定制形象。
*/
DescribeLiveAvatarImageList(req?: DescribeLiveAvatarImageListRequest, cb?: (error: string, rep: DescribeLiveAvatarImageListResponse) => void): Promise<DescribeLiveAvatarImageListResponse>;
/**
* 批量获取日志URL。
日志数据打包存在一定延迟,24小时候数据包趋于完整。
*/
DescribeLogDownloadList(req: DescribeLogDownloadListRequest, cb?: (error: string, rep: DescribeLogDownloadListResponse) => void): Promise<DescribeLogDownloadListResponse>;
/**
* 调用该接口,用于触发话术播报生成,并返回音频播报URL。
*/
GenerateLiveAvatarScriptBroadcast(req: GenerateLiveAvatarScriptBroadcastRequest, cb?: (error: string, rep: GenerateLiveAvatarScriptBroadcastResponse) => void): Promise<GenerateLiveAvatarScriptBroadcastResponse>;
/**
* 获取直播时移模板。
*/
DescribeLiveTimeShiftTemplates(req?: DescribeLiveTimeShiftTemplatesRequest, cb?: (error: string, rep: DescribeLiveTimeShiftTemplatesResponse) => void): Promise<DescribeLiveTimeShiftTemplatesResponse>;
/**
* 获取录制规则列表
*/
DescribeLiveRecordRules(req?: DescribeLiveRecordRulesRequest, cb?: (error: string, rep: DescribeLiveRecordRulesResponse) => void): Promise<DescribeLiveRecordRulesResponse>;
/**
* 该接口用来删除导播台的推流信息。
注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
*/
DeleteCasterOutputInfo(req: DeleteCasterOutputInfoRequest, cb?: (error: string, rep: DeleteCasterOutputInfoResponse) => void): Promise<DeleteCasterOutputInfoResponse>;
/**
* 调用该接口,用于删除已有的数字人直播间。
*/
DeleteLiveAvatarRoom(req: DeleteLiveAvatarRoomRequest, cb?: (error: string, rep: DeleteLiveAvatarRoomResponse) => void): Promise<DeleteLiveAvatarRoomResponse>;
/**
* 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
*/
AddCasterOutputInfo(req: AddCasterOutputInfoRequest, cb?: (error: string, rep: AddCasterOutputInfoResponse) => void): Promise<AddCasterOutputInfoResponse>;
/**
* P2P流数据查询接口,用来获取流量、卡播和起播信息。
*/
DescribeLiveXP2PDetailInfoList(req: DescribeLiveXP2PDetailInfoListRequest, cb?: (error: string, rep: DescribeLiveXP2PDetailInfoListResponse) => void): Promise<DescribeLiveXP2PDetailInfoListResponse>;
/**
* 获取直播延播列表。
*/
DescribeLiveDelayInfoList(req?: DescribeLiveDelayInfoListRequest, cb?: (error: string, rep: DescribeLiveDelayInfoListResponse) => void): Promise<DescribeLiveDelayInfoListResponse>;
/**
* 获取直播时移规则列表。
*/
DescribeLiveTimeShiftRules(req?: DescribeLiveTimeShiftRulesRequest, cb?: (error: string, rep: DescribeLiveTimeShiftRulesResponse) => void): Promise<DescribeLiveTimeShiftRulesResponse>;
/**
* 删除录制规则。
*/
DeleteLiveRecordRule(req: DeleteLiveRecordRuleRequest, cb?: (error: string, rep: DeleteLiveRecordRuleResponse) => voi