Documentation ¶
Index ¶
- Constants
- type AddDelayLiveStreamRequest
- type AddDelayLiveStreamRequestParams
- type AddDelayLiveStreamResponse
- type AddDelayLiveStreamResponseParams
- type AddLiveDomainRequest
- type AddLiveDomainRequestParams
- type AddLiveDomainResponse
- type AddLiveDomainResponseParams
- type AddLiveWatermarkRequest
- type AddLiveWatermarkRequestParams
- type AddLiveWatermarkResponse
- type AddLiveWatermarkResponseParams
- type AuthenticateDomainOwnerRequest
- type AuthenticateDomainOwnerRequestParams
- type AuthenticateDomainOwnerResponse
- type AuthenticateDomainOwnerResponseParams
- type BandwidthInfo
- type BatchDomainOperateErrors
- type BillDataInfo
- type CallBackRuleInfo
- type CallBackTemplateInfo
- type CancelCommonMixStreamRequest
- type CancelCommonMixStreamRequestParams
- type CancelCommonMixStreamResponse
- type CancelCommonMixStreamResponseParams
- type CdnPlayStatData
- type CertInfo
- type Client
- func (c *Client) AddDelayLiveStream(request *AddDelayLiveStreamRequest) (response *AddDelayLiveStreamResponse, err error)
- func (c *Client) AddDelayLiveStreamWithContext(ctx context.Context, request *AddDelayLiveStreamRequest) (response *AddDelayLiveStreamResponse, err error)
- func (c *Client) AddLiveDomain(request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
- func (c *Client) AddLiveDomainWithContext(ctx context.Context, request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
- func (c *Client) AddLiveWatermark(request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
- func (c *Client) AddLiveWatermarkWithContext(ctx context.Context, request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
- func (c *Client) AuthenticateDomainOwner(request *AuthenticateDomainOwnerRequest) (response *AuthenticateDomainOwnerResponse, err error)
- func (c *Client) AuthenticateDomainOwnerWithContext(ctx context.Context, request *AuthenticateDomainOwnerRequest) (response *AuthenticateDomainOwnerResponse, err error)
- func (c *Client) CancelCommonMixStream(request *CancelCommonMixStreamRequest) (response *CancelCommonMixStreamResponse, err error)
- func (c *Client) CancelCommonMixStreamWithContext(ctx context.Context, request *CancelCommonMixStreamRequest) (response *CancelCommonMixStreamResponse, err error)
- func (c *Client) CreateCommonMixStream(request *CreateCommonMixStreamRequest) (response *CreateCommonMixStreamResponse, err error)
- func (c *Client) CreateCommonMixStreamWithContext(ctx context.Context, request *CreateCommonMixStreamRequest) (response *CreateCommonMixStreamResponse, err error)
- func (c *Client) CreateLiveCallbackRule(request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
- func (c *Client) CreateLiveCallbackRuleWithContext(ctx context.Context, request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
- func (c *Client) CreateLiveCallbackTemplate(request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
- func (c *Client) CreateLiveCallbackTemplateWithContext(ctx context.Context, request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
- func (c *Client) CreateLivePullStreamTask(request *CreateLivePullStreamTaskRequest) (response *CreateLivePullStreamTaskResponse, err error)
- func (c *Client) CreateLivePullStreamTaskWithContext(ctx context.Context, request *CreateLivePullStreamTaskRequest) (response *CreateLivePullStreamTaskResponse, err error)
- func (c *Client) CreateLiveRecord(request *CreateLiveRecordRequest) (response *CreateLiveRecordResponse, err error)
- func (c *Client) CreateLiveRecordRule(request *CreateLiveRecordRuleRequest) (response *CreateLiveRecordRuleResponse, err error)
- func (c *Client) CreateLiveRecordRuleWithContext(ctx context.Context, request *CreateLiveRecordRuleRequest) (response *CreateLiveRecordRuleResponse, err error)
- func (c *Client) CreateLiveRecordTemplate(request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
- func (c *Client) CreateLiveRecordTemplateWithContext(ctx context.Context, request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
- func (c *Client) CreateLiveRecordWithContext(ctx context.Context, request *CreateLiveRecordRequest) (response *CreateLiveRecordResponse, err error)
- func (c *Client) CreateLiveSnapshotRule(request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
- func (c *Client) CreateLiveSnapshotRuleWithContext(ctx context.Context, request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
- func (c *Client) CreateLiveSnapshotTemplate(request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
- func (c *Client) CreateLiveSnapshotTemplateWithContext(ctx context.Context, request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
- func (c *Client) CreateLiveTimeShiftRule(request *CreateLiveTimeShiftRuleRequest) (response *CreateLiveTimeShiftRuleResponse, err error)
- func (c *Client) CreateLiveTimeShiftRuleWithContext(ctx context.Context, request *CreateLiveTimeShiftRuleRequest) (response *CreateLiveTimeShiftRuleResponse, err error)
- func (c *Client) CreateLiveTimeShiftTemplate(request *CreateLiveTimeShiftTemplateRequest) (response *CreateLiveTimeShiftTemplateResponse, err error)
- func (c *Client) CreateLiveTimeShiftTemplateWithContext(ctx context.Context, request *CreateLiveTimeShiftTemplateRequest) (response *CreateLiveTimeShiftTemplateResponse, err error)
- func (c *Client) CreateLiveTranscodeRule(request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
- func (c *Client) CreateLiveTranscodeRuleWithContext(ctx context.Context, request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
- func (c *Client) CreateLiveTranscodeTemplate(request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
- func (c *Client) CreateLiveTranscodeTemplateWithContext(ctx context.Context, request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
- func (c *Client) CreateLiveWatermarkRule(request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
- func (c *Client) CreateLiveWatermarkRuleWithContext(ctx context.Context, request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
- func (c *Client) CreateRecordTask(request *CreateRecordTaskRequest) (response *CreateRecordTaskResponse, err error)
- func (c *Client) CreateRecordTaskWithContext(ctx context.Context, request *CreateRecordTaskRequest) (response *CreateRecordTaskResponse, err error)
- func (c *Client) CreateScreenshotTask(request *CreateScreenshotTaskRequest) (response *CreateScreenshotTaskResponse, err error)
- func (c *Client) CreateScreenshotTaskWithContext(ctx context.Context, request *CreateScreenshotTaskRequest) (response *CreateScreenshotTaskResponse, err error)
- func (c *Client) DeleteLiveCallbackRule(request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
- func (c *Client) DeleteLiveCallbackRuleWithContext(ctx context.Context, request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
- func (c *Client) DeleteLiveCallbackTemplate(request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
- func (c *Client) DeleteLiveCallbackTemplateWithContext(ctx context.Context, request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
- func (c *Client) DeleteLiveDomain(request *DeleteLiveDomainRequest) (response *DeleteLiveDomainResponse, err error)
- func (c *Client) DeleteLiveDomainWithContext(ctx context.Context, request *DeleteLiveDomainRequest) (response *DeleteLiveDomainResponse, err error)
- func (c *Client) DeleteLivePullStreamTask(request *DeleteLivePullStreamTaskRequest) (response *DeleteLivePullStreamTaskResponse, err error)
- func (c *Client) DeleteLivePullStreamTaskWithContext(ctx context.Context, request *DeleteLivePullStreamTaskRequest) (response *DeleteLivePullStreamTaskResponse, err error)
- func (c *Client) DeleteLiveRecord(request *DeleteLiveRecordRequest) (response *DeleteLiveRecordResponse, err error)
- func (c *Client) DeleteLiveRecordRule(request *DeleteLiveRecordRuleRequest) (response *DeleteLiveRecordRuleResponse, err error)
- func (c *Client) DeleteLiveRecordRuleWithContext(ctx context.Context, request *DeleteLiveRecordRuleRequest) (response *DeleteLiveRecordRuleResponse, err error)
- func (c *Client) DeleteLiveRecordTemplate(request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
- func (c *Client) DeleteLiveRecordTemplateWithContext(ctx context.Context, request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
- func (c *Client) DeleteLiveRecordWithContext(ctx context.Context, request *DeleteLiveRecordRequest) (response *DeleteLiveRecordResponse, err error)
- func (c *Client) DeleteLiveSnapshotRule(request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
- func (c *Client) DeleteLiveSnapshotRuleWithContext(ctx context.Context, request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
- func (c *Client) DeleteLiveSnapshotTemplate(request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
- func (c *Client) DeleteLiveSnapshotTemplateWithContext(ctx context.Context, request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
- func (c *Client) DeleteLiveTimeShiftRule(request *DeleteLiveTimeShiftRuleRequest) (response *DeleteLiveTimeShiftRuleResponse, err error)
- func (c *Client) DeleteLiveTimeShiftRuleWithContext(ctx context.Context, request *DeleteLiveTimeShiftRuleRequest) (response *DeleteLiveTimeShiftRuleResponse, err error)
- func (c *Client) DeleteLiveTimeShiftTemplate(request *DeleteLiveTimeShiftTemplateRequest) (response *DeleteLiveTimeShiftTemplateResponse, err error)
- func (c *Client) DeleteLiveTimeShiftTemplateWithContext(ctx context.Context, request *DeleteLiveTimeShiftTemplateRequest) (response *DeleteLiveTimeShiftTemplateResponse, err error)
- func (c *Client) DeleteLiveTranscodeRule(request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
- func (c *Client) DeleteLiveTranscodeRuleWithContext(ctx context.Context, request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
- func (c *Client) DeleteLiveTranscodeTemplate(request *DeleteLiveTranscodeTemplateRequest) (response *DeleteLiveTranscodeTemplateResponse, err error)
- func (c *Client) DeleteLiveTranscodeTemplateWithContext(ctx context.Context, request *DeleteLiveTranscodeTemplateRequest) (response *DeleteLiveTranscodeTemplateResponse, err error)
- func (c *Client) DeleteLiveWatermark(request *DeleteLiveWatermarkRequest) (response *DeleteLiveWatermarkResponse, err error)
- func (c *Client) DeleteLiveWatermarkRule(request *DeleteLiveWatermarkRuleRequest) (response *DeleteLiveWatermarkRuleResponse, err error)
- func (c *Client) DeleteLiveWatermarkRuleWithContext(ctx context.Context, request *DeleteLiveWatermarkRuleRequest) (response *DeleteLiveWatermarkRuleResponse, err error)
- func (c *Client) DeleteLiveWatermarkWithContext(ctx context.Context, request *DeleteLiveWatermarkRequest) (response *DeleteLiveWatermarkResponse, err error)
- func (c *Client) DeleteRecordTask(request *DeleteRecordTaskRequest) (response *DeleteRecordTaskResponse, err error)
- func (c *Client) DeleteRecordTaskWithContext(ctx context.Context, request *DeleteRecordTaskRequest) (response *DeleteRecordTaskResponse, err error)
- func (c *Client) DescribeAllStreamPlayInfoList(request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)
- func (c *Client) DescribeAllStreamPlayInfoListWithContext(ctx context.Context, request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)
- func (c *Client) DescribeBillBandwidthAndFluxList(request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
- func (c *Client) DescribeBillBandwidthAndFluxListWithContext(ctx context.Context, request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
- func (c *Client) DescribeConcurrentRecordStreamNum(request *DescribeConcurrentRecordStreamNumRequest) (response *DescribeConcurrentRecordStreamNumResponse, err error)
- func (c *Client) DescribeConcurrentRecordStreamNumWithContext(ctx context.Context, request *DescribeConcurrentRecordStreamNumRequest) (response *DescribeConcurrentRecordStreamNumResponse, err error)
- func (c *Client) DescribeDeliverBandwidthList(request *DescribeDeliverBandwidthListRequest) (response *DescribeDeliverBandwidthListResponse, err error)
- func (c *Client) DescribeDeliverBandwidthListWithContext(ctx context.Context, request *DescribeDeliverBandwidthListRequest) (response *DescribeDeliverBandwidthListResponse, err error)
- func (c *Client) DescribeGroupProIspPlayInfoList(request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
- func (c *Client) DescribeGroupProIspPlayInfoListWithContext(ctx context.Context, request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
- func (c *Client) DescribeHttpStatusInfoList(request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
- func (c *Client) DescribeHttpStatusInfoListWithContext(ctx context.Context, request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
- func (c *Client) DescribeLiveCallbackRules(request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
- func (c *Client) DescribeLiveCallbackRulesWithContext(ctx context.Context, request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplate(request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplateWithContext(ctx context.Context, request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplates(request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplatesWithContext(ctx context.Context, request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
- func (c *Client) DescribeLiveCert(request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
- func (c *Client) DescribeLiveCertWithContext(ctx context.Context, request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
- func (c *Client) DescribeLiveCerts(request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
- func (c *Client) DescribeLiveCertsWithContext(ctx context.Context, request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
- func (c *Client) DescribeLiveDelayInfoList(request *DescribeLiveDelayInfoListRequest) (response *DescribeLiveDelayInfoListResponse, err error)
- func (c *Client) DescribeLiveDelayInfoListWithContext(ctx context.Context, request *DescribeLiveDelayInfoListRequest) (response *DescribeLiveDelayInfoListResponse, err error)
- func (c *Client) DescribeLiveDomain(request *DescribeLiveDomainRequest) (response *DescribeLiveDomainResponse, err error)
- func (c *Client) DescribeLiveDomainCert(request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
- func (c *Client) DescribeLiveDomainCertBindings(request *DescribeLiveDomainCertBindingsRequest) (response *DescribeLiveDomainCertBindingsResponse, err error)
- func (c *Client) DescribeLiveDomainCertBindingsWithContext(ctx context.Context, request *DescribeLiveDomainCertBindingsRequest) (response *DescribeLiveDomainCertBindingsResponse, err error)
- func (c *Client) DescribeLiveDomainCertWithContext(ctx context.Context, request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
- func (c *Client) DescribeLiveDomainReferer(request *DescribeLiveDomainRefererRequest) (response *DescribeLiveDomainRefererResponse, err error)
- func (c *Client) DescribeLiveDomainRefererWithContext(ctx context.Context, request *DescribeLiveDomainRefererRequest) (response *DescribeLiveDomainRefererResponse, err error)
- func (c *Client) DescribeLiveDomainWithContext(ctx context.Context, request *DescribeLiveDomainRequest) (response *DescribeLiveDomainResponse, err error)
- func (c *Client) DescribeLiveDomains(request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
- func (c *Client) DescribeLiveDomainsWithContext(ctx context.Context, request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
- func (c *Client) DescribeLiveForbidStreamList(request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
- func (c *Client) DescribeLiveForbidStreamListWithContext(ctx context.Context, request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
- func (c *Client) DescribeLivePlayAuthKey(request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
- func (c *Client) DescribeLivePlayAuthKeyWithContext(ctx context.Context, request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
- func (c *Client) DescribeLivePullStreamTasks(request *DescribeLivePullStreamTasksRequest) (response *DescribeLivePullStreamTasksResponse, err error)
- func (c *Client) DescribeLivePullStreamTasksWithContext(ctx context.Context, request *DescribeLivePullStreamTasksRequest) (response *DescribeLivePullStreamTasksResponse, err error)
- func (c *Client) DescribeLivePushAuthKey(request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
- func (c *Client) DescribeLivePushAuthKeyWithContext(ctx context.Context, request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
- func (c *Client) DescribeLiveRecordRules(request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
- func (c *Client) DescribeLiveRecordRulesWithContext(ctx context.Context, request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
- func (c *Client) DescribeLiveRecordTemplate(request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
- func (c *Client) DescribeLiveRecordTemplateWithContext(ctx context.Context, request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
- func (c *Client) DescribeLiveRecordTemplates(request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
- func (c *Client) DescribeLiveRecordTemplatesWithContext(ctx context.Context, request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
- func (c *Client) DescribeLiveSnapshotRules(request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
- func (c *Client) DescribeLiveSnapshotRulesWithContext(ctx context.Context, request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplate(request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplateWithContext(ctx context.Context, request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplates(request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplatesWithContext(ctx context.Context, request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeLiveStreamEventList(request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
- func (c *Client) DescribeLiveStreamEventListWithContext(ctx context.Context, request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
- func (c *Client) DescribeLiveStreamOnlineList(request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
- func (c *Client) DescribeLiveStreamOnlineListWithContext(ctx context.Context, request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
- func (c *Client) DescribeLiveStreamPublishedList(request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
- func (c *Client) DescribeLiveStreamPublishedListWithContext(ctx context.Context, request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
- func (c *Client) DescribeLiveStreamPushInfoList(request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
- func (c *Client) DescribeLiveStreamPushInfoListWithContext(ctx context.Context, request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
- func (c *Client) DescribeLiveStreamState(request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
- func (c *Client) DescribeLiveStreamStateWithContext(ctx context.Context, request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
- func (c *Client) DescribeLiveTimeShiftBillInfoList(request *DescribeLiveTimeShiftBillInfoListRequest) (response *DescribeLiveTimeShiftBillInfoListResponse, err error)
- func (c *Client) DescribeLiveTimeShiftBillInfoListWithContext(ctx context.Context, request *DescribeLiveTimeShiftBillInfoListRequest) (response *DescribeLiveTimeShiftBillInfoListResponse, err error)
- func (c *Client) DescribeLiveTimeShiftRules(request *DescribeLiveTimeShiftRulesRequest) (response *DescribeLiveTimeShiftRulesResponse, err error)
- func (c *Client) DescribeLiveTimeShiftRulesWithContext(ctx context.Context, request *DescribeLiveTimeShiftRulesRequest) (response *DescribeLiveTimeShiftRulesResponse, err error)
- func (c *Client) DescribeLiveTimeShiftTemplates(request *DescribeLiveTimeShiftTemplatesRequest) (response *DescribeLiveTimeShiftTemplatesResponse, err error)
- func (c *Client) DescribeLiveTimeShiftTemplatesWithContext(ctx context.Context, request *DescribeLiveTimeShiftTemplatesRequest) (response *DescribeLiveTimeShiftTemplatesResponse, err error)
- func (c *Client) DescribeLiveTranscodeDetailInfo(request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
- func (c *Client) DescribeLiveTranscodeDetailInfoWithContext(ctx context.Context, request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
- func (c *Client) DescribeLiveTranscodeRules(request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
- func (c *Client) DescribeLiveTranscodeRulesWithContext(ctx context.Context, request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplate(request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplateWithContext(ctx context.Context, request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplates(request *DescribeLiveTranscodeTemplatesRequest) (response *DescribeLiveTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplatesWithContext(ctx context.Context, request *DescribeLiveTranscodeTemplatesRequest) (response *DescribeLiveTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeLiveTranscodeTotalInfo(request *DescribeLiveTranscodeTotalInfoRequest) (response *DescribeLiveTranscodeTotalInfoResponse, err error)
- func (c *Client) DescribeLiveTranscodeTotalInfoWithContext(ctx context.Context, request *DescribeLiveTranscodeTotalInfoRequest) (response *DescribeLiveTranscodeTotalInfoResponse, err error)
- func (c *Client) DescribeLiveWatermark(request *DescribeLiveWatermarkRequest) (response *DescribeLiveWatermarkResponse, err error)
- func (c *Client) DescribeLiveWatermarkRules(request *DescribeLiveWatermarkRulesRequest) (response *DescribeLiveWatermarkRulesResponse, err error)
- func (c *Client) DescribeLiveWatermarkRulesWithContext(ctx context.Context, request *DescribeLiveWatermarkRulesRequest) (response *DescribeLiveWatermarkRulesResponse, err error)
- func (c *Client) DescribeLiveWatermarkWithContext(ctx context.Context, request *DescribeLiveWatermarkRequest) (response *DescribeLiveWatermarkResponse, err error)
- func (c *Client) DescribeLiveWatermarks(request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
- func (c *Client) DescribeLiveWatermarksWithContext(ctx context.Context, request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
- func (c *Client) DescribePlayErrorCodeDetailInfoList(request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
- func (c *Client) DescribePlayErrorCodeDetailInfoListWithContext(ctx context.Context, request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
- func (c *Client) DescribePlayErrorCodeSumInfoList(request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
- func (c *Client) DescribePlayErrorCodeSumInfoListWithContext(ctx context.Context, request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
- func (c *Client) DescribeProvinceIspPlayInfoList(request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
- func (c *Client) DescribeProvinceIspPlayInfoListWithContext(ctx context.Context, request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
- func (c *Client) DescribeRecordTask(request *DescribeRecordTaskRequest) (response *DescribeRecordTaskResponse, err error)
- func (c *Client) DescribeRecordTaskWithContext(ctx context.Context, request *DescribeRecordTaskRequest) (response *DescribeRecordTaskResponse, err error)
- func (c *Client) DescribeScreenShotSheetNumList(request *DescribeScreenShotSheetNumListRequest) (response *DescribeScreenShotSheetNumListResponse, err error)
- func (c *Client) DescribeScreenShotSheetNumListWithContext(ctx context.Context, request *DescribeScreenShotSheetNumListRequest) (response *DescribeScreenShotSheetNumListResponse, err error)
- func (c *Client) DescribeStreamDayPlayInfoList(request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamDayPlayInfoListWithContext(ctx context.Context, request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamPlayInfoList(request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamPlayInfoListWithContext(ctx context.Context, request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamPushInfoList(request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
- func (c *Client) DescribeStreamPushInfoListWithContext(ctx context.Context, request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
- func (c *Client) DescribeTimeShiftRecordDetail(request *DescribeTimeShiftRecordDetailRequest) (response *DescribeTimeShiftRecordDetailResponse, err error)
- func (c *Client) DescribeTimeShiftRecordDetailWithContext(ctx context.Context, request *DescribeTimeShiftRecordDetailRequest) (response *DescribeTimeShiftRecordDetailResponse, err error)
- func (c *Client) DescribeTimeShiftStreamList(request *DescribeTimeShiftStreamListRequest) (response *DescribeTimeShiftStreamListResponse, err error)
- func (c *Client) DescribeTimeShiftStreamListWithContext(ctx context.Context, request *DescribeTimeShiftStreamListRequest) (response *DescribeTimeShiftStreamListResponse, err error)
- func (c *Client) DescribeTopClientIpSumInfoList(request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
- func (c *Client) DescribeTopClientIpSumInfoListWithContext(ctx context.Context, request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
- func (c *Client) DescribeTranscodeTaskNum(request *DescribeTranscodeTaskNumRequest) (response *DescribeTranscodeTaskNumResponse, err error)
- func (c *Client) DescribeTranscodeTaskNumWithContext(ctx context.Context, request *DescribeTranscodeTaskNumRequest) (response *DescribeTranscodeTaskNumResponse, err error)
- func (c *Client) DescribeUploadStreamNums(request *DescribeUploadStreamNumsRequest) (response *DescribeUploadStreamNumsResponse, err error)
- func (c *Client) DescribeUploadStreamNumsWithContext(ctx context.Context, request *DescribeUploadStreamNumsRequest) (response *DescribeUploadStreamNumsResponse, err error)
- func (c *Client) DescribeVisitTopSumInfoList(request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
- func (c *Client) DescribeVisitTopSumInfoListWithContext(ctx context.Context, request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
- func (c *Client) DropLiveStream(request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
- func (c *Client) DropLiveStreamWithContext(ctx context.Context, request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
- func (c *Client) EnableLiveDomain(request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
- func (c *Client) EnableLiveDomainWithContext(ctx context.Context, request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
- func (c *Client) ForbidLiveDomain(request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
- func (c *Client) ForbidLiveDomainWithContext(ctx context.Context, request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
- func (c *Client) ForbidLiveStream(request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
- func (c *Client) ForbidLiveStreamWithContext(ctx context.Context, request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
- func (c *Client) ModifyLiveCallbackTemplate(request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
- func (c *Client) ModifyLiveCallbackTemplateWithContext(ctx context.Context, request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
- func (c *Client) ModifyLiveDomainCertBindings(request *ModifyLiveDomainCertBindingsRequest) (response *ModifyLiveDomainCertBindingsResponse, err error)
- func (c *Client) ModifyLiveDomainCertBindingsWithContext(ctx context.Context, request *ModifyLiveDomainCertBindingsRequest) (response *ModifyLiveDomainCertBindingsResponse, err error)
- func (c *Client) ModifyLiveDomainReferer(request *ModifyLiveDomainRefererRequest) (response *ModifyLiveDomainRefererResponse, err error)
- func (c *Client) ModifyLiveDomainRefererWithContext(ctx context.Context, request *ModifyLiveDomainRefererRequest) (response *ModifyLiveDomainRefererResponse, err error)
- func (c *Client) ModifyLivePlayAuthKey(request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
- func (c *Client) ModifyLivePlayAuthKeyWithContext(ctx context.Context, request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
- func (c *Client) ModifyLivePlayDomain(request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
- func (c *Client) ModifyLivePlayDomainWithContext(ctx context.Context, request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
- func (c *Client) ModifyLivePullStreamTask(request *ModifyLivePullStreamTaskRequest) (response *ModifyLivePullStreamTaskResponse, err error)
- func (c *Client) ModifyLivePullStreamTaskWithContext(ctx context.Context, request *ModifyLivePullStreamTaskRequest) (response *ModifyLivePullStreamTaskResponse, err error)
- func (c *Client) ModifyLivePushAuthKey(request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
- func (c *Client) ModifyLivePushAuthKeyWithContext(ctx context.Context, request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
- func (c *Client) ModifyLiveRecordTemplate(request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
- func (c *Client) ModifyLiveRecordTemplateWithContext(ctx context.Context, request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
- func (c *Client) ModifyLiveSnapshotTemplate(request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
- func (c *Client) ModifyLiveSnapshotTemplateWithContext(ctx context.Context, request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
- func (c *Client) ModifyLiveTimeShiftTemplate(request *ModifyLiveTimeShiftTemplateRequest) (response *ModifyLiveTimeShiftTemplateResponse, err error)
- func (c *Client) ModifyLiveTimeShiftTemplateWithContext(ctx context.Context, request *ModifyLiveTimeShiftTemplateRequest) (response *ModifyLiveTimeShiftTemplateResponse, err error)
- func (c *Client) ModifyLiveTranscodeTemplate(request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
- func (c *Client) ModifyLiveTranscodeTemplateWithContext(ctx context.Context, request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
- func (c *Client) ResumeDelayLiveStream(request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
- func (c *Client) ResumeDelayLiveStreamWithContext(ctx context.Context, request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
- func (c *Client) ResumeLiveStream(request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
- func (c *Client) ResumeLiveStreamWithContext(ctx context.Context, request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
- func (c *Client) StopLiveRecord(request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
- func (c *Client) StopLiveRecordWithContext(ctx context.Context, request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
- func (c *Client) StopRecordTask(request *StopRecordTaskRequest) (response *StopRecordTaskResponse, err error)
- func (c *Client) StopRecordTaskWithContext(ctx context.Context, request *StopRecordTaskRequest) (response *StopRecordTaskResponse, err error)
- func (c *Client) UnBindLiveDomainCert(request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
- func (c *Client) UnBindLiveDomainCertWithContext(ctx context.Context, request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
- func (c *Client) UpdateLiveWatermark(request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
- func (c *Client) UpdateLiveWatermarkWithContext(ctx context.Context, request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
- type ClientIpPlaySumInfo
- type CommonMixControlParams
- type CommonMixCropParams
- type CommonMixInputParam
- type CommonMixLayoutParams
- type CommonMixOutputParams
- type ConcurrentRecordStreamNum
- type CreateCommonMixStreamRequest
- type CreateCommonMixStreamRequestParams
- type CreateCommonMixStreamResponse
- type CreateCommonMixStreamResponseParams
- type CreateLiveCallbackRuleRequest
- type CreateLiveCallbackRuleRequestParams
- type CreateLiveCallbackRuleResponse
- type CreateLiveCallbackRuleResponseParams
- type CreateLiveCallbackTemplateRequest
- type CreateLiveCallbackTemplateRequestParams
- type CreateLiveCallbackTemplateResponse
- type CreateLiveCallbackTemplateResponseParams
- type CreateLivePullStreamTaskRequest
- type CreateLivePullStreamTaskRequestParams
- type CreateLivePullStreamTaskResponse
- type CreateLivePullStreamTaskResponseParams
- type CreateLiveRecordRequest
- type CreateLiveRecordRequestParams
- type CreateLiveRecordResponse
- type CreateLiveRecordResponseParams
- type CreateLiveRecordRuleRequest
- type CreateLiveRecordRuleRequestParams
- type CreateLiveRecordRuleResponse
- type CreateLiveRecordRuleResponseParams
- type CreateLiveRecordTemplateRequest
- type CreateLiveRecordTemplateRequestParams
- type CreateLiveRecordTemplateResponse
- type CreateLiveRecordTemplateResponseParams
- type CreateLiveSnapshotRuleRequest
- type CreateLiveSnapshotRuleRequestParams
- type CreateLiveSnapshotRuleResponse
- type CreateLiveSnapshotRuleResponseParams
- type CreateLiveSnapshotTemplateRequest
- type CreateLiveSnapshotTemplateRequestParams
- type CreateLiveSnapshotTemplateResponse
- type CreateLiveSnapshotTemplateResponseParams
- type CreateLiveTimeShiftRuleRequest
- type CreateLiveTimeShiftRuleRequestParams
- type CreateLiveTimeShiftRuleResponse
- type CreateLiveTimeShiftRuleResponseParams
- type CreateLiveTimeShiftTemplateRequest
- type CreateLiveTimeShiftTemplateRequestParams
- type CreateLiveTimeShiftTemplateResponse
- type CreateLiveTimeShiftTemplateResponseParams
- type CreateLiveTranscodeRuleRequest
- type CreateLiveTranscodeRuleRequestParams
- type CreateLiveTranscodeRuleResponse
- type CreateLiveTranscodeRuleResponseParams
- type CreateLiveTranscodeTemplateRequest
- type CreateLiveTranscodeTemplateRequestParams
- type CreateLiveTranscodeTemplateResponse
- type CreateLiveTranscodeTemplateResponseParams
- type CreateLiveWatermarkRuleRequest
- type CreateLiveWatermarkRuleRequestParams
- type CreateLiveWatermarkRuleResponse
- type CreateLiveWatermarkRuleResponseParams
- type CreateRecordTaskRequest
- type CreateRecordTaskRequestParams
- type CreateRecordTaskResponse
- type CreateRecordTaskResponseParams
- type CreateScreenshotTaskRequest
- type CreateScreenshotTaskRequestParams
- type CreateScreenshotTaskResponse
- type CreateScreenshotTaskResponseParams
- type DayStreamPlayInfo
- type DelayInfo
- type DeleteLiveCallbackRuleRequest
- type DeleteLiveCallbackRuleRequestParams
- type DeleteLiveCallbackRuleResponse
- type DeleteLiveCallbackRuleResponseParams
- type DeleteLiveCallbackTemplateRequest
- type DeleteLiveCallbackTemplateRequestParams
- type DeleteLiveCallbackTemplateResponse
- type DeleteLiveCallbackTemplateResponseParams
- type DeleteLiveDomainRequest
- type DeleteLiveDomainRequestParams
- type DeleteLiveDomainResponse
- type DeleteLiveDomainResponseParams
- type DeleteLivePullStreamTaskRequest
- type DeleteLivePullStreamTaskRequestParams
- type DeleteLivePullStreamTaskResponse
- type DeleteLivePullStreamTaskResponseParams
- type DeleteLiveRecordRequest
- type DeleteLiveRecordRequestParams
- type DeleteLiveRecordResponse
- type DeleteLiveRecordResponseParams
- type DeleteLiveRecordRuleRequest
- type DeleteLiveRecordRuleRequestParams
- type DeleteLiveRecordRuleResponse
- type DeleteLiveRecordRuleResponseParams
- type DeleteLiveRecordTemplateRequest
- type DeleteLiveRecordTemplateRequestParams
- type DeleteLiveRecordTemplateResponse
- type DeleteLiveRecordTemplateResponseParams
- type DeleteLiveSnapshotRuleRequest
- type DeleteLiveSnapshotRuleRequestParams
- type DeleteLiveSnapshotRuleResponse
- type DeleteLiveSnapshotRuleResponseParams
- type DeleteLiveSnapshotTemplateRequest
- type DeleteLiveSnapshotTemplateRequestParams
- type DeleteLiveSnapshotTemplateResponse
- type DeleteLiveSnapshotTemplateResponseParams
- type DeleteLiveTimeShiftRuleRequest
- type DeleteLiveTimeShiftRuleRequestParams
- type DeleteLiveTimeShiftRuleResponse
- type DeleteLiveTimeShiftRuleResponseParams
- type DeleteLiveTimeShiftTemplateRequest
- type DeleteLiveTimeShiftTemplateRequestParams
- type DeleteLiveTimeShiftTemplateResponse
- type DeleteLiveTimeShiftTemplateResponseParams
- type DeleteLiveTranscodeRuleRequest
- type DeleteLiveTranscodeRuleRequestParams
- type DeleteLiveTranscodeRuleResponse
- type DeleteLiveTranscodeRuleResponseParams
- type DeleteLiveTranscodeTemplateRequest
- type DeleteLiveTranscodeTemplateRequestParams
- type DeleteLiveTranscodeTemplateResponse
- type DeleteLiveTranscodeTemplateResponseParams
- type DeleteLiveWatermarkRequest
- type DeleteLiveWatermarkRequestParams
- type DeleteLiveWatermarkResponse
- type DeleteLiveWatermarkResponseParams
- type DeleteLiveWatermarkRuleRequest
- type DeleteLiveWatermarkRuleRequestParams
- type DeleteLiveWatermarkRuleResponse
- type DeleteLiveWatermarkRuleResponseParams
- type DeleteRecordTaskRequest
- type DeleteRecordTaskRequestParams
- type DeleteRecordTaskResponse
- type DeleteRecordTaskResponseParams
- type DescribeAllStreamPlayInfoListRequest
- type DescribeAllStreamPlayInfoListRequestParams
- type DescribeAllStreamPlayInfoListResponse
- type DescribeAllStreamPlayInfoListResponseParams
- type DescribeBillBandwidthAndFluxListRequest
- type DescribeBillBandwidthAndFluxListRequestParams
- type DescribeBillBandwidthAndFluxListResponse
- type DescribeBillBandwidthAndFluxListResponseParams
- type DescribeConcurrentRecordStreamNumRequest
- type DescribeConcurrentRecordStreamNumRequestParams
- type DescribeConcurrentRecordStreamNumResponse
- type DescribeConcurrentRecordStreamNumResponseParams
- type DescribeDeliverBandwidthListRequest
- type DescribeDeliverBandwidthListRequestParams
- type DescribeDeliverBandwidthListResponse
- type DescribeDeliverBandwidthListResponseParams
- type DescribeGroupProIspPlayInfoListRequest
- type DescribeGroupProIspPlayInfoListRequestParams
- type DescribeGroupProIspPlayInfoListResponse
- type DescribeGroupProIspPlayInfoListResponseParams
- type DescribeHttpStatusInfoListRequest
- type DescribeHttpStatusInfoListRequestParams
- type DescribeHttpStatusInfoListResponse
- type DescribeHttpStatusInfoListResponseParams
- type DescribeLiveCallbackRulesRequest
- type DescribeLiveCallbackRulesRequestParams
- type DescribeLiveCallbackRulesResponse
- type DescribeLiveCallbackRulesResponseParams
- type DescribeLiveCallbackTemplateRequest
- type DescribeLiveCallbackTemplateRequestParams
- type DescribeLiveCallbackTemplateResponse
- type DescribeLiveCallbackTemplateResponseParams
- type DescribeLiveCallbackTemplatesRequest
- type DescribeLiveCallbackTemplatesRequestParams
- type DescribeLiveCallbackTemplatesResponse
- type DescribeLiveCallbackTemplatesResponseParams
- type DescribeLiveCertRequest
- type DescribeLiveCertRequestParams
- type DescribeLiveCertResponse
- type DescribeLiveCertResponseParams
- type DescribeLiveCertsRequest
- type DescribeLiveCertsRequestParams
- type DescribeLiveCertsResponse
- type DescribeLiveCertsResponseParams
- type DescribeLiveDelayInfoListRequest
- type DescribeLiveDelayInfoListRequestParams
- type DescribeLiveDelayInfoListResponse
- type DescribeLiveDelayInfoListResponseParams
- type DescribeLiveDomainCertBindingsRequest
- type DescribeLiveDomainCertBindingsRequestParams
- type DescribeLiveDomainCertBindingsResponse
- type DescribeLiveDomainCertBindingsResponseParams
- type DescribeLiveDomainCertRequest
- type DescribeLiveDomainCertRequestParams
- type DescribeLiveDomainCertResponse
- type DescribeLiveDomainCertResponseParams
- type DescribeLiveDomainRefererRequest
- type DescribeLiveDomainRefererRequestParams
- type DescribeLiveDomainRefererResponse
- type DescribeLiveDomainRefererResponseParams
- type DescribeLiveDomainRequest
- type DescribeLiveDomainRequestParams
- type DescribeLiveDomainResponse
- type DescribeLiveDomainResponseParams
- type DescribeLiveDomainsRequest
- type DescribeLiveDomainsRequestParams
- type DescribeLiveDomainsResponse
- type DescribeLiveDomainsResponseParams
- type DescribeLiveForbidStreamListRequest
- type DescribeLiveForbidStreamListRequestParams
- type DescribeLiveForbidStreamListResponse
- type DescribeLiveForbidStreamListResponseParams
- type DescribeLivePlayAuthKeyRequest
- type DescribeLivePlayAuthKeyRequestParams
- type DescribeLivePlayAuthKeyResponse
- type DescribeLivePlayAuthKeyResponseParams
- type DescribeLivePullStreamTasksRequest
- type DescribeLivePullStreamTasksRequestParams
- type DescribeLivePullStreamTasksResponse
- type DescribeLivePullStreamTasksResponseParams
- type DescribeLivePushAuthKeyRequest
- type DescribeLivePushAuthKeyRequestParams
- type DescribeLivePushAuthKeyResponse
- type DescribeLivePushAuthKeyResponseParams
- type DescribeLiveRecordRulesRequest
- type DescribeLiveRecordRulesRequestParams
- type DescribeLiveRecordRulesResponse
- type DescribeLiveRecordRulesResponseParams
- type DescribeLiveRecordTemplateRequest
- type DescribeLiveRecordTemplateRequestParams
- type DescribeLiveRecordTemplateResponse
- type DescribeLiveRecordTemplateResponseParams
- type DescribeLiveRecordTemplatesRequest
- type DescribeLiveRecordTemplatesRequestParams
- type DescribeLiveRecordTemplatesResponse
- type DescribeLiveRecordTemplatesResponseParams
- type DescribeLiveSnapshotRulesRequest
- type DescribeLiveSnapshotRulesRequestParams
- type DescribeLiveSnapshotRulesResponse
- type DescribeLiveSnapshotRulesResponseParams
- type DescribeLiveSnapshotTemplateRequest
- type DescribeLiveSnapshotTemplateRequestParams
- type DescribeLiveSnapshotTemplateResponse
- type DescribeLiveSnapshotTemplateResponseParams
- type DescribeLiveSnapshotTemplatesRequest
- type DescribeLiveSnapshotTemplatesRequestParams
- type DescribeLiveSnapshotTemplatesResponse
- type DescribeLiveSnapshotTemplatesResponseParams
- type DescribeLiveStreamEventListRequest
- type DescribeLiveStreamEventListRequestParams
- type DescribeLiveStreamEventListResponse
- type DescribeLiveStreamEventListResponseParams
- type DescribeLiveStreamOnlineListRequest
- type DescribeLiveStreamOnlineListRequestParams
- type DescribeLiveStreamOnlineListResponse
- type DescribeLiveStreamOnlineListResponseParams
- type DescribeLiveStreamPublishedListRequest
- type DescribeLiveStreamPublishedListRequestParams
- type DescribeLiveStreamPublishedListResponse
- type DescribeLiveStreamPublishedListResponseParams
- type DescribeLiveStreamPushInfoListRequest
- type DescribeLiveStreamPushInfoListRequestParams
- type DescribeLiveStreamPushInfoListResponse
- type DescribeLiveStreamPushInfoListResponseParams
- type DescribeLiveStreamStateRequest
- type DescribeLiveStreamStateRequestParams
- type DescribeLiveStreamStateResponse
- type DescribeLiveStreamStateResponseParams
- type DescribeLiveTimeShiftBillInfoListRequest
- type DescribeLiveTimeShiftBillInfoListRequestParams
- type DescribeLiveTimeShiftBillInfoListResponse
- type DescribeLiveTimeShiftBillInfoListResponseParams
- type DescribeLiveTimeShiftRulesRequest
- type DescribeLiveTimeShiftRulesRequestParams
- type DescribeLiveTimeShiftRulesResponse
- type DescribeLiveTimeShiftRulesResponseParams
- type DescribeLiveTimeShiftTemplatesRequest
- type DescribeLiveTimeShiftTemplatesRequestParams
- type DescribeLiveTimeShiftTemplatesResponse
- type DescribeLiveTimeShiftTemplatesResponseParams
- type DescribeLiveTranscodeDetailInfoRequest
- type DescribeLiveTranscodeDetailInfoRequestParams
- type DescribeLiveTranscodeDetailInfoResponse
- type DescribeLiveTranscodeDetailInfoResponseParams
- type DescribeLiveTranscodeRulesRequest
- type DescribeLiveTranscodeRulesRequestParams
- type DescribeLiveTranscodeRulesResponse
- type DescribeLiveTranscodeRulesResponseParams
- type DescribeLiveTranscodeTemplateRequest
- type DescribeLiveTranscodeTemplateRequestParams
- type DescribeLiveTranscodeTemplateResponse
- type DescribeLiveTranscodeTemplateResponseParams
- type DescribeLiveTranscodeTemplatesRequest
- type DescribeLiveTranscodeTemplatesRequestParams
- type DescribeLiveTranscodeTemplatesResponse
- type DescribeLiveTranscodeTemplatesResponseParams
- type DescribeLiveTranscodeTotalInfoRequest
- type DescribeLiveTranscodeTotalInfoRequestParams
- type DescribeLiveTranscodeTotalInfoResponse
- type DescribeLiveTranscodeTotalInfoResponseParams
- type DescribeLiveWatermarkRequest
- type DescribeLiveWatermarkRequestParams
- type DescribeLiveWatermarkResponse
- type DescribeLiveWatermarkResponseParams
- type DescribeLiveWatermarkRulesRequest
- type DescribeLiveWatermarkRulesRequestParams
- type DescribeLiveWatermarkRulesResponse
- type DescribeLiveWatermarkRulesResponseParams
- type DescribeLiveWatermarksRequest
- type DescribeLiveWatermarksRequestParams
- type DescribeLiveWatermarksResponse
- type DescribeLiveWatermarksResponseParams
- type DescribePlayErrorCodeDetailInfoListRequest
- type DescribePlayErrorCodeDetailInfoListRequestParams
- type DescribePlayErrorCodeDetailInfoListResponse
- type DescribePlayErrorCodeDetailInfoListResponseParams
- type DescribePlayErrorCodeSumInfoListRequest
- type DescribePlayErrorCodeSumInfoListRequestParams
- type DescribePlayErrorCodeSumInfoListResponse
- type DescribePlayErrorCodeSumInfoListResponseParams
- type DescribeProvinceIspPlayInfoListRequest
- type DescribeProvinceIspPlayInfoListRequestParams
- type DescribeProvinceIspPlayInfoListResponse
- type DescribeProvinceIspPlayInfoListResponseParams
- type DescribeRecordTaskRequest
- type DescribeRecordTaskRequestParams
- type DescribeRecordTaskResponse
- type DescribeRecordTaskResponseParams
- type DescribeScreenShotSheetNumListRequest
- type DescribeScreenShotSheetNumListRequestParams
- type DescribeScreenShotSheetNumListResponse
- type DescribeScreenShotSheetNumListResponseParams
- type DescribeStreamDayPlayInfoListRequest
- type DescribeStreamDayPlayInfoListRequestParams
- type DescribeStreamDayPlayInfoListResponse
- type DescribeStreamDayPlayInfoListResponseParams
- type DescribeStreamPlayInfoListRequest
- type DescribeStreamPlayInfoListRequestParams
- type DescribeStreamPlayInfoListResponse
- type DescribeStreamPlayInfoListResponseParams
- type DescribeStreamPushInfoListRequest
- type DescribeStreamPushInfoListRequestParams
- type DescribeStreamPushInfoListResponse
- type DescribeStreamPushInfoListResponseParams
- type DescribeTimeShiftRecordDetailRequest
- type DescribeTimeShiftRecordDetailRequestParams
- type DescribeTimeShiftRecordDetailResponse
- type DescribeTimeShiftRecordDetailResponseParams
- type DescribeTimeShiftStreamListRequest
- type DescribeTimeShiftStreamListRequestParams
- type DescribeTimeShiftStreamListResponse
- type DescribeTimeShiftStreamListResponseParams
- type DescribeTopClientIpSumInfoListRequest
- type DescribeTopClientIpSumInfoListRequestParams
- type DescribeTopClientIpSumInfoListResponse
- type DescribeTopClientIpSumInfoListResponseParams
- type DescribeTranscodeTaskNumRequest
- type DescribeTranscodeTaskNumRequestParams
- type DescribeTranscodeTaskNumResponse
- type DescribeTranscodeTaskNumResponseParams
- type DescribeUploadStreamNumsRequest
- type DescribeUploadStreamNumsRequestParams
- type DescribeUploadStreamNumsResponse
- type DescribeUploadStreamNumsResponseParams
- type DescribeVisitTopSumInfoListRequest
- type DescribeVisitTopSumInfoListRequestParams
- type DescribeVisitTopSumInfoListResponse
- type DescribeVisitTopSumInfoListResponseParams
- type DomainCertInfo
- type DomainInfo
- type DropLiveStreamRequest
- type DropLiveStreamRequestParams
- type DropLiveStreamResponse
- type DropLiveStreamResponseParams
- type EnableLiveDomainRequest
- type EnableLiveDomainRequestParams
- type EnableLiveDomainResponse
- type EnableLiveDomainResponseParams
- type FlvSpecialParam
- type ForbidLiveDomainRequest
- type ForbidLiveDomainRequestParams
- type ForbidLiveDomainResponse
- type ForbidLiveDomainResponseParams
- type ForbidLiveStreamRequest
- type ForbidLiveStreamRequestParams
- type ForbidLiveStreamResponse
- type ForbidLiveStreamResponseParams
- type ForbidStreamInfo
- type GroupProIspDataInfo
- type HlsSpecialParam
- type HttpCodeInfo
- type HttpCodeValue
- type HttpStatusData
- type HttpStatusInfo
- type LiveCertDomainInfo
- type LiveDomainCertBindings
- type ModifyLiveCallbackTemplateRequest
- type ModifyLiveCallbackTemplateRequestParams
- type ModifyLiveCallbackTemplateResponse
- type ModifyLiveCallbackTemplateResponseParams
- type ModifyLiveDomainCertBindingsRequest
- type ModifyLiveDomainCertBindingsRequestParams
- type ModifyLiveDomainCertBindingsResponse
- type ModifyLiveDomainCertBindingsResponseParams
- type ModifyLiveDomainRefererRequest
- type ModifyLiveDomainRefererRequestParams
- type ModifyLiveDomainRefererResponse
- type ModifyLiveDomainRefererResponseParams
- type ModifyLivePlayAuthKeyRequest
- type ModifyLivePlayAuthKeyRequestParams
- type ModifyLivePlayAuthKeyResponse
- type ModifyLivePlayAuthKeyResponseParams
- type ModifyLivePlayDomainRequest
- type ModifyLivePlayDomainRequestParams
- type ModifyLivePlayDomainResponse
- type ModifyLivePlayDomainResponseParams
- type ModifyLivePullStreamTaskRequest
- type ModifyLivePullStreamTaskRequestParams
- type ModifyLivePullStreamTaskResponse
- type ModifyLivePullStreamTaskResponseParams
- type ModifyLivePushAuthKeyRequest
- type ModifyLivePushAuthKeyRequestParams
- type ModifyLivePushAuthKeyResponse
- type ModifyLivePushAuthKeyResponseParams
- type ModifyLiveRecordTemplateRequest
- type ModifyLiveRecordTemplateRequestParams
- type ModifyLiveRecordTemplateResponse
- type ModifyLiveRecordTemplateResponseParams
- type ModifyLiveSnapshotTemplateRequest
- type ModifyLiveSnapshotTemplateRequestParams
- type ModifyLiveSnapshotTemplateResponse
- type ModifyLiveSnapshotTemplateResponseParams
- type ModifyLiveTimeShiftTemplateRequest
- type ModifyLiveTimeShiftTemplateRequestParams
- type ModifyLiveTimeShiftTemplateResponse
- type ModifyLiveTimeShiftTemplateResponseParams
- type ModifyLiveTranscodeTemplateRequest
- type ModifyLiveTranscodeTemplateRequestParams
- type ModifyLiveTranscodeTemplateResponse
- type ModifyLiveTranscodeTemplateResponseParams
- type MonitorStreamPlayInfo
- type PlayAuthKeyInfo
- type PlayCodeTotalInfo
- type PlayDataInfoByStream
- type PlayStatInfo
- type PlaySumStatInfo
- type ProIspPlayCodeDataInfo
- type PublishTime
- type PullPushWatermarkInfo
- type PullStreamTaskInfo
- type PushAuthKeyInfo
- type PushDataInfo
- type PushQualityData
- type RecentPullInfo
- type RecordParam
- type RecordTask
- type RecordTemplateInfo
- type RefererAuthConfig
- type ResumeDelayLiveStreamRequest
- type ResumeDelayLiveStreamRequestParams
- type ResumeDelayLiveStreamResponse
- type ResumeDelayLiveStreamResponseParams
- type ResumeLiveStreamRequest
- type ResumeLiveStreamRequestParams
- type ResumeLiveStreamResponse
- type ResumeLiveStreamResponseParams
- type RuleInfo
- type SnapshotTemplateInfo
- type StopLiveRecordRequest
- type StopLiveRecordRequestParams
- type StopLiveRecordResponse
- type StopLiveRecordResponseParams
- type StopRecordTaskRequest
- type StopRecordTaskRequestParams
- type StopRecordTaskResponse
- type StopRecordTaskResponseParams
- type StreamEventInfo
- type StreamName
- type StreamOnlineInfo
- type TemplateInfo
- type TimeShiftBillData
- type TimeShiftRecord
- type TimeShiftStreamInfo
- type TimeShiftTemplate
- type TimeValue
- type TranscodeDetailInfo
- type TranscodeTaskNum
- type TranscodeTotalInfo
- type UnBindLiveDomainCertRequest
- type UnBindLiveDomainCertRequestParams
- type UnBindLiveDomainCertResponse
- type UnBindLiveDomainCertResponseParams
- type UpdateLiveWatermarkRequest
- type UpdateLiveWatermarkRequestParams
- type UpdateLiveWatermarkResponse
- type UpdateLiveWatermarkResponseParams
- type WatermarkInfo
Constants ¶
const ( // DryRun operation. A request will not be successful if the `DryRun` parameter is passed in. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to manipulate the AI API. FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" // Failed to change the task status. FAILEDOPERATION_ALTERTASKSTATE = "FailedOperation.AlterTaskState" // You do not have permission to perform this operation. FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" // Failed to call the third-party service. FAILEDOPERATION_CALLOTHERSVRERROR = "FailedOperation.CallOtherSvrError" // Failed to call the internal service. FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" // The canceled stream mix session does not exist. FAILEDOPERATION_CANCELSESSIONNOTEXIST = "FailedOperation.CancelSessionNotExist" // Failed to delete the certificate because it has been issued. FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" // Free certificates cannot be deleted within one hour of application. FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" // The certificate already exists. FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists" // The certificate is invalid. FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid" // The certificate and the private key do not match. FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch" // The certificate does not exist. FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // The template is in use. FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" // CDN configuration failed. FAILEDOPERATION_CONFIGCDNFAILED = "FailedOperation.ConfigCDNFailed" // The COS bucket does not exist. FAILEDOPERATION_COSBUCKETNOTEXIST = "FailedOperation.CosBucketNotExist" // You don’t have permission to access the COS bucket. FAILEDOPERATION_COSBUCKETNOTPERMISSION = "FailedOperation.CosBucketNotPermission" // The COS role does not exist. Please go to the “Feature Configuration > Live Screencapture & Porn Detection” page of the CSS console to grant the permission. FAILEDOPERATION_COSROLENOTEXISTS = "FailedOperation.CosRoleNotExists" // The domain name cannot be deleted because it incurred traffic in the last 2 days and is in locked state. FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" // The domain has already been added. FAILEDOPERATION_DOMAINADDED = "FailedOperation.DomainAdded" // Failed to configure the domain rule. FAILEDOPERATION_DOMAINGSLBFAIL = "FailedOperation.DomainGslbFail" // The domain has not been verified. FAILEDOPERATION_DOMAINNEEDREALNAME = "FailedOperation.DomainNeedRealName" // The ownership of the domain has not been verified. FAILEDOPERATION_DOMAINNEEDVERIFYOWNER = "FailedOperation.DomainNeedVerifyOwner" // The number of free certificates exceeded the limit. FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" // Unable to get the watermark URL. FAILEDOPERATION_GETPICTUREURLERROR = "FailedOperation.GetPictureUrlError" // Failed to get the input stream length and width. FAILEDOPERATION_GETSTREAMRESOLUTIONERROR = "FailedOperation.GetStreamResolutionError" // No live stream. FAILEDOPERATION_HASNOTLIVINGSTREAM = "FailedOperation.HasNotLivingStream" // The number of domain names exceeded the upper limit (100). FAILEDOPERATION_HOSTOUTLIMIT = "FailedOperation.HostOutLimit" // Invalid certificate status. FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" // Invalid parameter. FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" // An exception occurred while manipulating the VOD API. FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" // The billing platform returned an error of insufficient balance. FAILEDOPERATION_JIFEINOENOUGHFUND = "FailedOperation.JiFeiNoEnoughFund" // The CA system is busy. Try again later. FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" // You do not have permission to operate this project. FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" // You haven’t completed identity verification. FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" // No records found. FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" // The domain’s parent domain has already been added. FAILEDOPERATION_PARENTDOMAINADDED = "FailedOperation.ParentDomainAdded" // Failed to start stream mix. FAILEDOPERATION_PROCESSMIXERROR = "FailedOperation.ProcessMixError" // Failed to query the upload information. FAILEDOPERATION_QUERYUPLOADINFOFAILED = "FailedOperation.QueryUploadInfoFailed" // The rule already exists. FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" // The user has no valid traffic package. FAILEDOPERATION_SDKNOPACKAGE = "FailedOperation.SdkNoPackage" // The stream does not exist. FAILEDOPERATION_STREAMNOTEXIST = "FailedOperation.StreamNotExist" // The domain’s subdomain has already been added. FAILEDOPERATION_SUBDOMAINADDED = "FailedOperation.SubDomainAdded" // Failed to unbind the tag. Try unbinding it manually. FAILEDOPERATION_TAGUNBINDERROR = "FailedOperation.TagUnbindError" // Internal error. INTERNALERROR = "InternalError" // For the transcoding template adding API. INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" // Error calling internal service. INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" // Chinese domain names are not supported currently. Please check the domain name format. INTERNALERROR_CHINESECHARACTERDETECTED = "InternalError.ChineseCharacterDetected" // The template is in use. INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" // The template does not exist. INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" // The number of templates exceeded the limit. INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" // The configuration does not exist. INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" // Database connection error. INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" // The certificate is in use. INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" // The certificate does not exist. INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" // The certificate is invalid. INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" // The certificate has expired. INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" // There is no related domain name. INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" // The certificate key does not match. INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" // DB execution error. INTERNALERROR_DBERROR = "InternalError.DBError" // The domain name is already connected elsewhere. Please check whether the entered domain name is correct, and if yes, you can add it again after successful ownership verification. INTERNALERROR_DOMAINALREADYEXIST = "InternalError.DomainAlreadyExist" // The domain name format is incorrect. Please enter a valid one. INTERNALERROR_DOMAINFORMATERROR = "InternalError.DomainFormatError" // Failed to add the GSLB rule. INTERNALERROR_DOMAINGSLBFAIL = "InternalError.DomainGslbFail" // The domain name is already connected elsewhere. Please check whether the entered domain name is correct, and if yes, you can add it again after successful ownership verification. INTERNALERROR_DOMAINISFAMOUS = "InternalError.DomainIsFamous" // Your domain name is unavailable. Please enter a correct domain name. INTERNALERROR_DOMAINISLIMITED = "InternalError.DomainIsLimited" // The domain name has no ICP filing. INTERNALERROR_DOMAINNORECORD = "InternalError.DomainNoRecord" // The domain name does not exist. INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" // The domain name length exceeds the limit. INTERNALERROR_DOMAINTOOLONG = "InternalError.DomainTooLong" // Error getting user account. INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" // Error getting the configuration. INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" // Failed to get the stream information. INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" // Error getting the live stream source information. INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" // An error occurred while getting the watermark. INTERNALERROR_GETWATERMARKERROR = "InternalError.GetWatermarkError" // No live stream. INTERNALERROR_HASNOTLIVINGSTREAM = "InternalError.HasNotLivingStream" // Parameter check failed. INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" // Invalid request. INTERNALERROR_INVALIDREQUEST = "InternalError.InvalidRequest" // Account information error. INTERNALERROR_INVALIDUSER = "InternalError.InvalidUser" // The billing platform returned other errors. INTERNALERROR_JIFEIOTHERERROR = "InternalError.JiFeiOtherError" // Internal network error. INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" // The record does not exist. INTERNALERROR_NOTFOUND = "InternalError.NotFound" // No permission to operate. INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" // The playback domain name does not exist. INTERNALERROR_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" // The transcoding template name already exists. INTERNALERROR_PROCESSORALREADYEXIST = "InternalError.ProcessorAlreadyExist" // The push domain name does not exist. INTERNALERROR_PUSHDOMAINNORECORD = "InternalError.PushDomainNoRecord" // Failed to query the playback information by ISP and district. INTERNALERROR_QUERYPROISPPLAYINFOERROR = "InternalError.QueryProIspPlayInfoError" // Failed to query the upload information. INTERNALERROR_QUERYUPLOADINFOFAILED = "InternalError.QueryUploadInfoFailed" // The rule has already been configured. INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" // The rule is in use. INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" // The rule does not exist. INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" // The rule exceeds the limit. INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" // Exceptional stream status. INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" // Internal system error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Failed to update data. INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" // Failed to add the watermark. INTERNALERROR_WATERMARKADDERROR = "InternalError.WatermarkAddError" // An internal error occurred while modifying the watermark. INTERNALERROR_WATERMARKEDITERROR = "InternalError.WatermarkEditError" // The watermark does not exist. INTERNALERROR_WATERMARKNOTEXIST = "InternalError.WatermarkNotExist" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Incorrect template name. INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" // Incorrect custom COS filename. INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" // The canceled session does not exist. INVALIDPARAMETER_CANCELSESSIONNOTEXIST = "InvalidParameter.CancelSessionNotExist" // Incorrect Tencent Cloud-hosted certificate ID. INVALIDPARAMETER_CLOUDCRTIDERROR = "InvalidParameter.CloudCrtIdError" // The gifted Tencent Cloud domain name has expired. INVALIDPARAMETER_CLOUDDOMAINISSTOP = "InvalidParameter.CloudDomainIsStop" // INVALIDPARAMETER_CONFINUSED = "InvalidParameter.ConfInUsed" // INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" // The certificate is in use. INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" // The certificate does not exist. INVALIDPARAMETER_CRTDATENOTFOUND = "InvalidParameter.CrtDateNotFound" // The certificate is invalid. INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" // The certificate has expired. INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" // Unable to find the domain. INVALIDPARAMETER_CRTDOMAINNOTFOUND = "InvalidParameter.CrtDomainNotFound" // The certificate key does not match. INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch" // The certificate content or private key was not provided. INVALIDPARAMETER_CRTORKEYNOTEXIST = "InvalidParameter.CrtOrKeyNotExist" // The domain name already exists. INVALIDPARAMETER_DOMAINALREADYEXIST = "InvalidParameter.DomainAlreadyExist" // The domain name format is incorrect. Please enter a valid one. INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" // This domain name is on the blocklist. INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" // A blocklisted domain name is used. INVALIDPARAMETER_DOMAINISFAMOUS = "InvalidParameter.DomainIsFamous" // The domain name is restricted. Please submit a ticket for application to remove the restrictions. INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" // The domain name exceeds the length limit. INVALIDPARAMETER_DOMAINTOOLONG = "InvalidParameter.DomainTooLong" // The GOP of an adaptive bitrate template is required and must be the same for each stream. INVALIDPARAMETER_GOPMUSTEQUALANDEXISTS = "InvalidParameter.GopMustEqualAndExists" // The number of inputs exceeds the limit. INVALIDPARAMETER_INPUTNUMLIMITEXCEEDED = "InvalidParameter.InputNumLimitExceeded" // Invalid background length and width. INVALIDPARAMETER_INVALIDBACKGROUDRESOLUTION = "InvalidParameter.InvalidBackgroudResolution" // Invalid output bitrate. INVALIDPARAMETER_INVALIDBITRATE = "InvalidParameter.InvalidBitrate" // Invalid callback URL. INVALIDPARAMETER_INVALIDCALLBACKURL = "InvalidParameter.InvalidCallbackUrl" // The cropped area overflows the original image. INVALIDPARAMETER_INVALIDCROPPARAM = "InvalidParameter.InvalidCropParam" // Invalid layer parameter. INVALIDPARAMETER_INVALIDLAYERPARAM = "InvalidParameter.InvalidLayerParam" // INVALIDPARAMETER_INVALIDMIXINPUTPARAM = "InvalidParameter.InvalidMixInputParam" // INVALIDPARAMETER_INVALIDOUTPUTPARAM = "InvalidParameter.InvalidOutputParam" // The output stream ID is already used. INVALIDPARAMETER_INVALIDOUTPUTSTREAMID = "InvalidParameter.InvalidOutputStreamID" // Invalid output type. Please check whether `OutputPram-StreamId` and `OutputType` match. INVALIDPARAMETER_INVALIDOUTPUTTYPE = "InvalidParameter.InvalidOutputType" // The watermark ID was not set. INVALIDPARAMETER_INVALIDPICTUREID = "InvalidParameter.InvalidPictureID" // Invalid corner radius of the rounded rectangle. INVALIDPARAMETER_INVALIDROUNDRECTRADIUS = "InvalidParameter.InvalidRoundRectRadius" // Invalid source URL. INVALIDPARAMETER_INVALIDSOURCEURL = "InvalidParameter.InvalidSourceUrl" // The time period of the task exceeded the limit. INVALIDPARAMETER_INVALIDTASKTIME = "InvalidParameter.InvalidTaskTime" // Invalid destination URL. INVALIDPARAMETER_INVALIDTOURL = "InvalidParameter.InvalidToUrl" // Incorrect `VodFileName`. INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" // Invalid watermark parameter. INVALIDPARAMETER_INVALIDWATERMARK = "InvalidParameter.InvalidWatermark" // It is not allowed to add a Mini Program domain name deleted in the same month. INVALIDPARAMETER_MPHOSTDELETE = "InvalidParameter.MpHostDelete" // The WeChat Mini Program plug-in is unauthorized. INVALIDPARAMETER_MPPLUGINNOUSE = "InvalidParameter.MpPluginNoUse" // Other errors. INVALIDPARAMETER_OTHERERROR = "InvalidParameter.OtherError" // INVALIDPARAMETER_PROCESSORALREADYEXIST = "InvalidParameter.ProcessorAlreadyExist" // INVALIDPARAMETER_RULENOTFOUND = "InvalidParameter.RuleNotFound" // The output stream of the same session has changed. INVALIDPARAMETER_SESSIONOUTPUTSTREAMCHANGED = "InvalidParameter.SessionOutputStreamChanged" // The task does not exist. INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" // The number of tasks reached the limit. INVALIDPARAMETER_TASKNUMMORETHANLIMIT = "InvalidParameter.TaskNumMoreThanLimit" // The template does not match the number of input streams. INVALIDPARAMETER_TEMPLATENOTMATCHINPUTNUM = "InvalidParameter.TemplateNotMatchInputNum" // No permission to access the external URL. INVALIDPARAMETER_TOURLNOPERMISSION = "InvalidParameter.ToUrlNoPermission" // Failed to resolve the domain name. INVALIDPARAMETER_URLNOTSAFE = "InvalidParameter.UrlNotSafe" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Quota exceeded. LIMITEXCEEDED = "LimitExceeded" // The current number of concurrent tasks exceeds the limit. LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" // The number of tasks created on the day exceeds the limit. LIMITEXCEEDED_MAXIMUMTASK = "LimitExceeded.MaximumTask" // Reached the API rate limit. LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" // Parameter missing. MISSINGPARAMETER = "MissingParameter" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resources. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource is not found. RESOURCENOTFOUND = "ResourceNotFound" // The channel does not exist. RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" // The certificate does not exist. RESOURCENOTFOUND_CRTDATENOTFOUND = "ResourceNotFound.CrtDateNotFound" // No certificate was found. RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" // The domain name has no ICP filing. RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" // The domain name does not exist or is not matched. RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" // RESOURCENOTFOUND_EMPTYDATA = "ResourceNotFound.EmptyData" // You are blocked. RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" // Service suspended. RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" // This API is not supported for the user. RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" // The playback domain name does not exist. RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord" // The push domain name does not exist. RESOURCENOTFOUND_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord" // The service has been suspended due to account arrears. Please top up it to a positive balance to activate the service first. RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" // The `TaskId` does not exist. RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" // You disabled the service. RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" // The LVB service has not been activated. RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" // The user does not exist. RESOURCENOTFOUND_USERNOTFOUNT = "ResourceNotFound.UserNotFount" // The watermark does not exist. RESOURCENOTFOUND_WATERMARKNOTEXIST = "ResourceNotFound.WatermarkNotExist" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The VOD service has not been activated. RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" // The stream does not exist. RESOURCEUNAVAILABLE_STREAMNOTEXIST = "ResourceUnavailable.StreamNotExist" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Not a LVB code/new console mode UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode" )
const APIVersion = "2018-08-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDelayLiveStreamRequest ¶
type AddDelayLiveStreamRequest struct { *tchttp.BaseRequest // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Delay time in seconds, up to 600s. DelayTime *uint64 `json:"DelayTime,omitempty" name:"DelayTime"` // Expiration time of the configured delayed playback in UTC format, such as 2018-11-29T19:00:00Z. // Notes: // 1. The configuration will expire after 7 days by default and can last up to 7 days. // 2. The Beijing time is in UTC+8. This value should be in the format as required by ISO 8601. For more information, please see [ISO Date and Time Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
func NewAddDelayLiveStreamRequest ¶
func NewAddDelayLiveStreamRequest() (request *AddDelayLiveStreamRequest)
func (*AddDelayLiveStreamRequest) FromJsonString ¶
func (r *AddDelayLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDelayLiveStreamRequest) ToJsonString ¶
func (r *AddDelayLiveStreamRequest) ToJsonString() string
type AddDelayLiveStreamRequestParams ¶
type AddDelayLiveStreamRequestParams struct { // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Delay time in seconds, up to 600s. DelayTime *uint64 `json:"DelayTime,omitempty" name:"DelayTime"` // Expiration time of the configured delayed playback in UTC format, such as 2018-11-29T19:00:00Z. // Notes: // 1. The configuration will expire after 7 days by default and can last up to 7 days. // 2. The Beijing time is in UTC+8. This value should be in the format as required by ISO 8601. For more information, please see [ISO Date and Time Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
Predefined struct for user
type AddDelayLiveStreamResponse ¶
type AddDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *AddDelayLiveStreamResponseParams `json:"Response"` }
func NewAddDelayLiveStreamResponse ¶
func NewAddDelayLiveStreamResponse() (response *AddDelayLiveStreamResponse)
func (*AddDelayLiveStreamResponse) FromJsonString ¶
func (r *AddDelayLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDelayLiveStreamResponse) ToJsonString ¶
func (r *AddDelayLiveStreamResponse) ToJsonString() string
type AddDelayLiveStreamResponseParams ¶
type AddDelayLiveStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddLiveDomainRequest ¶
type AddLiveDomainRequest struct { *tchttp.BaseRequest // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Domain name type. // 0: push domain name. // 1: playback domain name. DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // Pull domain name type: // 1: Mainland China. // 2: global. // 3: outside Mainland China. // Default value: 1. PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"` // Whether it is LCB: // 0: LVB, // 1: LCB. // Default value: 0. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // Whether it is LVB on Mini Program. // 0: LVB. // 1: LVB on Mini Program. // Default value: 0. IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"` // The domain verification type. // Valid values (the value of this parameter must be the same as `VerifyType` of the `AuthenticateDomainOwner` API): // dnsCheck: Check immediately whether the verification DNS record has been added successfully. If so, record this verification result. // fileCheck: Check immediately whether the verification HTML file has been uploaded successfully. If so, record this verification result. // dbCheck: Check whether the domain has already been verified. // If you do not pass a value, `dbCheck` will be used. VerifyOwnerType *string `json:"VerifyOwnerType,omitempty" name:"VerifyOwnerType"` }
func NewAddLiveDomainRequest ¶
func NewAddLiveDomainRequest() (request *AddLiveDomainRequest)
func (*AddLiveDomainRequest) FromJsonString ¶
func (r *AddLiveDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddLiveDomainRequest) ToJsonString ¶
func (r *AddLiveDomainRequest) ToJsonString() string
type AddLiveDomainRequestParams ¶
type AddLiveDomainRequestParams struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Domain name type. // 0: push domain name. // 1: playback domain name. DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // Pull domain name type: // 1: Mainland China. // 2: global. // 3: outside Mainland China. // Default value: 1. PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"` // Whether it is LCB: // 0: LVB, // 1: LCB. // Default value: 0. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // Whether it is LVB on Mini Program. // 0: LVB. // 1: LVB on Mini Program. // Default value: 0. IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"` // The domain verification type. // Valid values (the value of this parameter must be the same as `VerifyType` of the `AuthenticateDomainOwner` API): // dnsCheck: Check immediately whether the verification DNS record has been added successfully. If so, record this verification result. // fileCheck: Check immediately whether the verification HTML file has been uploaded successfully. If so, record this verification result. // dbCheck: Check whether the domain has already been verified. // If you do not pass a value, `dbCheck` will be used. VerifyOwnerType *string `json:"VerifyOwnerType,omitempty" name:"VerifyOwnerType"` }
Predefined struct for user
type AddLiveDomainResponse ¶
type AddLiveDomainResponse struct { *tchttp.BaseResponse Response *AddLiveDomainResponseParams `json:"Response"` }
func NewAddLiveDomainResponse ¶
func NewAddLiveDomainResponse() (response *AddLiveDomainResponse)
func (*AddLiveDomainResponse) FromJsonString ¶
func (r *AddLiveDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddLiveDomainResponse) ToJsonString ¶
func (r *AddLiveDomainResponse) ToJsonString() string
type AddLiveDomainResponseParams ¶
type AddLiveDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddLiveWatermarkRequest ¶
type AddLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark image URL. // Unallowed characters in the URL: // ;(){}$>`#"\'| PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // Watermark name. // Up to 16 bytes. WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // Display position: X-axis offset in %. Default value: 0. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // Display position: Y-axis offset in %. Default value: 0. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // Watermark width or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original width is used by default. Width *int64 `json:"Width,omitempty" name:"Width"` // Watermark height, which is set by entering a percentage of the live stream image’s original height. You are advised to set either the height or width as the other will be scaled proportionally to avoid distortions. Default value: original height. Height *int64 `json:"Height,omitempty" name:"Height"` }
func NewAddLiveWatermarkRequest ¶
func NewAddLiveWatermarkRequest() (request *AddLiveWatermarkRequest)
func (*AddLiveWatermarkRequest) FromJsonString ¶
func (r *AddLiveWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddLiveWatermarkRequest) ToJsonString ¶
func (r *AddLiveWatermarkRequest) ToJsonString() string
type AddLiveWatermarkRequestParams ¶
type AddLiveWatermarkRequestParams struct { // Watermark image URL. // Unallowed characters in the URL: // ;(){}$>`#"\'| PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // Watermark name. // Up to 16 bytes. WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // Display position: X-axis offset in %. Default value: 0. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // Display position: Y-axis offset in %. Default value: 0. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // Watermark width or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original width is used by default. Width *int64 `json:"Width,omitempty" name:"Width"` // Watermark height, which is set by entering a percentage of the live stream image’s original height. You are advised to set either the height or width as the other will be scaled proportionally to avoid distortions. Default value: original height. Height *int64 `json:"Height,omitempty" name:"Height"` }
Predefined struct for user
type AddLiveWatermarkResponse ¶
type AddLiveWatermarkResponse struct { *tchttp.BaseResponse Response *AddLiveWatermarkResponseParams `json:"Response"` }
func NewAddLiveWatermarkResponse ¶
func NewAddLiveWatermarkResponse() (response *AddLiveWatermarkResponse)
func (*AddLiveWatermarkResponse) FromJsonString ¶
func (r *AddLiveWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddLiveWatermarkResponse) ToJsonString ¶
func (r *AddLiveWatermarkResponse) ToJsonString() string
type AddLiveWatermarkResponseParams ¶
type AddLiveWatermarkResponseParams struct { // Watermark ID. WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AuthenticateDomainOwnerRequest ¶
type AuthenticateDomainOwnerRequest struct { *tchttp.BaseRequest // The domain to verify. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The verification type. Valid values: // dnsCheck: Check immediately whether the verification DNS record has been added successfully. If so, record this verification result. // fileCheck: Check immediately whether the verification HTML file has been uploaded successfully. If so, record this verification result. // dbCheck: Check whether the domain has already been successfully verified. VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"` }
func NewAuthenticateDomainOwnerRequest ¶
func NewAuthenticateDomainOwnerRequest() (request *AuthenticateDomainOwnerRequest)
func (*AuthenticateDomainOwnerRequest) FromJsonString ¶
func (r *AuthenticateDomainOwnerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AuthenticateDomainOwnerRequest) ToJsonString ¶
func (r *AuthenticateDomainOwnerRequest) ToJsonString() string
type AuthenticateDomainOwnerRequestParams ¶
type AuthenticateDomainOwnerRequestParams struct { // The domain to verify. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The verification type. Valid values: // dnsCheck: Check immediately whether the verification DNS record has been added successfully. If so, record this verification result. // fileCheck: Check immediately whether the verification HTML file has been uploaded successfully. If so, record this verification result. // dbCheck: Check whether the domain has already been successfully verified. VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"` }
Predefined struct for user
type AuthenticateDomainOwnerResponse ¶
type AuthenticateDomainOwnerResponse struct { *tchttp.BaseResponse Response *AuthenticateDomainOwnerResponseParams `json:"Response"` }
func NewAuthenticateDomainOwnerResponse ¶
func NewAuthenticateDomainOwnerResponse() (response *AuthenticateDomainOwnerResponse)
func (*AuthenticateDomainOwnerResponse) FromJsonString ¶
func (r *AuthenticateDomainOwnerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AuthenticateDomainOwnerResponse) ToJsonString ¶
func (r *AuthenticateDomainOwnerResponse) ToJsonString() string
type AuthenticateDomainOwnerResponseParams ¶
type AuthenticateDomainOwnerResponseParams struct { // The content verified. // If `VerifyType` is `dnsCheck`, this is the TXT record that should be added for verification. // If `VerifyType` is `fileCheck`, this is the file that should be uploaded for verification. Content *string `json:"Content,omitempty" name:"Content"` // The verification status. // If the value of this parameter is 0 or greater, the domain has been verified. // If the value of this parameter is smaller than 0, the domain has not been verified. Status *int64 `json:"Status,omitempty" name:"Status"` // The primary domain of the domain verified. // Verification is not required if another domain under the same primary domain has been successfully verified. MainDomain *string `json:"MainDomain,omitempty" name:"MainDomain"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BandwidthInfo ¶
type BatchDomainOperateErrors ¶
type BatchDomainOperateErrors struct { // The domain that the API failed to operate. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The API 3.0 error code. Code *string `json:"Code,omitempty" name:"Code"` // The API 3.0 error message. Message *string `json:"Message,omitempty" name:"Message"` }
type BillDataInfo ¶
type BillDataInfo struct { // Time point in the format of `yyyy-mm-dd HH:MM:SS`. Time *string `json:"Time,omitempty" name:"Time"` // Bandwidth in Mbps. Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // Traffic in MB. Flux *float64 `json:"Flux,omitempty" name:"Flux"` // Time point of peak value in the format of `yyyy-mm-dd HH:MM:SS`. As raw data is at a 5-minute granularity, if data at a 1-hour or 1-day granularity is queried, the time point of peak bandwidth value at the corresponding granularity will be returned. PeakTime *string `json:"PeakTime,omitempty" name:"PeakTime"` }
type CallBackRuleInfo ¶
type CallBackRuleInfo struct { // The rule creation time. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // The rule update time. // Note: Beijing time (UTC+8) is used. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` }
type CallBackTemplateInfo ¶
type CallBackTemplateInfo struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // Stream starting callback URL. StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // Stream mixing callback URL (disused) StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"` // Interruption callback URL. StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // Recording callback URL. RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // Screencapturing callback URL. SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // Porn detection callback URL. PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // Callback authentication key. CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` // The push error callback URL. // Note: This field may return null, indicating that no valid values can be obtained. PushExceptionNotifyUrl *string `json:"PushExceptionNotifyUrl,omitempty" name:"PushExceptionNotifyUrl"` // The audio/video moderation callback URL. // Note: This field may return null, indicating that no valid values can be obtained. AudioAuditNotifyUrl *string `json:"AudioAuditNotifyUrl,omitempty" name:"AudioAuditNotifyUrl"` }
type CancelCommonMixStreamRequest ¶
type CancelCommonMixStreamRequest struct { *tchttp.BaseRequest // ID of stream mix session (from applying for stream mix to canceling stream mix). // This value is the same as the `MixStreamSessionId` in `CreateCommonMixStream`. MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"` }
func NewCancelCommonMixStreamRequest ¶
func NewCancelCommonMixStreamRequest() (request *CancelCommonMixStreamRequest)
func (*CancelCommonMixStreamRequest) FromJsonString ¶
func (r *CancelCommonMixStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelCommonMixStreamRequest) ToJsonString ¶
func (r *CancelCommonMixStreamRequest) ToJsonString() string
type CancelCommonMixStreamRequestParams ¶
type CancelCommonMixStreamRequestParams struct { // ID of stream mix session (from applying for stream mix to canceling stream mix). // This value is the same as the `MixStreamSessionId` in `CreateCommonMixStream`. MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"` }
Predefined struct for user
type CancelCommonMixStreamResponse ¶
type CancelCommonMixStreamResponse struct { *tchttp.BaseResponse Response *CancelCommonMixStreamResponseParams `json:"Response"` }
func NewCancelCommonMixStreamResponse ¶
func NewCancelCommonMixStreamResponse() (response *CancelCommonMixStreamResponse)
func (*CancelCommonMixStreamResponse) FromJsonString ¶
func (r *CancelCommonMixStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelCommonMixStreamResponse) ToJsonString ¶
func (r *CancelCommonMixStreamResponse) ToJsonString() string
type CancelCommonMixStreamResponseParams ¶
type CancelCommonMixStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CdnPlayStatData ¶
type CdnPlayStatData struct { // Time point in the format of `yyyy-mm-dd HH:MM:SS`. Time *string `json:"Time,omitempty" name:"Time"` // Bandwidth in Mbps. Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // Traffic in MB. Flux *float64 `json:"Flux,omitempty" name:"Flux"` // Number of new requests. Request *uint64 `json:"Request,omitempty" name:"Request"` // Number of concurrent connections. Online *uint64 `json:"Online,omitempty" name:"Online"` }
type CertInfo ¶
type CertInfo struct { // Certificate ID. CertId *int64 `json:"CertId,omitempty" name:"CertId"` // Certificate name. CertName *string `json:"CertName,omitempty" name:"CertName"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // The creation time in UTC format. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Certificate content. HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // Certificate type. // 0: user-added certificate // 1: Tencent Cloud-hosted certificate CertType *int64 `json:"CertType,omitempty" name:"CertType"` // The certificate expiration time in UTC format. // Note: Beijing time (UTC+8) is used. CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` // List of domain names that use this certificate. DomainList []*string `json:"DomainList,omitempty" name:"DomainList"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddDelayLiveStream ¶
func (c *Client) AddDelayLiveStream(request *AddDelayLiveStreamRequest) (response *AddDelayLiveStreamResponse, err error)
AddDelayLiveStream This API is used to set a delay in playing the images of large live streaming events, in case of emergencies.
Note: if you are to set the delay before stream push, set it at least 5 minutes before the push. This API supports configuration only by stream.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AddDelayLiveStreamWithContext ¶
func (c *Client) AddDelayLiveStreamWithContext(ctx context.Context, request *AddDelayLiveStreamRequest) (response *AddDelayLiveStreamResponse, err error)
AddDelayLiveStream This API is used to set a delay in playing the images of large live streaming events, in case of emergencies.
Note: if you are to set the delay before stream push, set it at least 5 minutes before the push. This API supports configuration only by stream.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AddLiveDomain ¶
func (c *Client) AddLiveDomain(request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
AddLiveDomain This API is used to add a domain name. Only one domain name can be submitted at a time, and it must have an ICP filing.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_DOMAINADDED = "FailedOperation.DomainAdded" FAILEDOPERATION_DOMAINGSLBFAIL = "FailedOperation.DomainGslbFail" FAILEDOPERATION_DOMAINNEEDREALNAME = "FailedOperation.DomainNeedRealName" FAILEDOPERATION_DOMAINNEEDVERIFYOWNER = "FailedOperation.DomainNeedVerifyOwner" FAILEDOPERATION_HOSTOUTLIMIT = "FailedOperation.HostOutLimit" FAILEDOPERATION_PARENTDOMAINADDED = "FailedOperation.ParentDomainAdded" FAILEDOPERATION_SUBDOMAINADDED = "FailedOperation.SubDomainAdded" INTERNALERROR = "InternalError" INTERNALERROR_CHINESECHARACTERDETECTED = "InternalError.ChineseCharacterDetected" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINALREADYEXIST = "InternalError.DomainAlreadyExist" INTERNALERROR_DOMAINFORMATERROR = "InternalError.DomainFormatError" INTERNALERROR_DOMAINGSLBFAIL = "InternalError.DomainGslbFail" INTERNALERROR_DOMAINISFAMOUS = "InternalError.DomainIsFamous" INTERNALERROR_DOMAINISLIMITED = "InternalError.DomainIsLimited" INTERNALERROR_DOMAINNORECORD = "InternalError.DomainNoRecord" INTERNALERROR_DOMAINTOOLONG = "InternalError.DomainTooLong" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_INVALIDUSER = "InternalError.InvalidUser" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALREADYEXIST = "InvalidParameter.DomainAlreadyExist" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" INVALIDPARAMETER_DOMAINISFAMOUS = "InvalidParameter.DomainIsFamous" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" INVALIDPARAMETER_DOMAINTOOLONG = "InvalidParameter.DomainTooLong" INVALIDPARAMETER_MPHOSTDELETE = "InvalidParameter.MpHostDelete" INVALIDPARAMETER_MPPLUGINNOUSE = "InvalidParameter.MpPluginNoUse" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) AddLiveDomainWithContext ¶
func (c *Client) AddLiveDomainWithContext(ctx context.Context, request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
AddLiveDomain This API is used to add a domain name. Only one domain name can be submitted at a time, and it must have an ICP filing.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_DOMAINADDED = "FailedOperation.DomainAdded" FAILEDOPERATION_DOMAINGSLBFAIL = "FailedOperation.DomainGslbFail" FAILEDOPERATION_DOMAINNEEDREALNAME = "FailedOperation.DomainNeedRealName" FAILEDOPERATION_DOMAINNEEDVERIFYOWNER = "FailedOperation.DomainNeedVerifyOwner" FAILEDOPERATION_HOSTOUTLIMIT = "FailedOperation.HostOutLimit" FAILEDOPERATION_PARENTDOMAINADDED = "FailedOperation.ParentDomainAdded" FAILEDOPERATION_SUBDOMAINADDED = "FailedOperation.SubDomainAdded" INTERNALERROR = "InternalError" INTERNALERROR_CHINESECHARACTERDETECTED = "InternalError.ChineseCharacterDetected" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINALREADYEXIST = "InternalError.DomainAlreadyExist" INTERNALERROR_DOMAINFORMATERROR = "InternalError.DomainFormatError" INTERNALERROR_DOMAINGSLBFAIL = "InternalError.DomainGslbFail" INTERNALERROR_DOMAINISFAMOUS = "InternalError.DomainIsFamous" INTERNALERROR_DOMAINISLIMITED = "InternalError.DomainIsLimited" INTERNALERROR_DOMAINNORECORD = "InternalError.DomainNoRecord" INTERNALERROR_DOMAINTOOLONG = "InternalError.DomainTooLong" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_INVALIDUSER = "InternalError.InvalidUser" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALREADYEXIST = "InvalidParameter.DomainAlreadyExist" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" INVALIDPARAMETER_DOMAINISFAMOUS = "InvalidParameter.DomainIsFamous" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" INVALIDPARAMETER_DOMAINTOOLONG = "InvalidParameter.DomainTooLong" INVALIDPARAMETER_MPHOSTDELETE = "InvalidParameter.MpHostDelete" INVALIDPARAMETER_MPPLUGINNOUSE = "InvalidParameter.MpPluginNoUse" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) AddLiveWatermark ¶
func (c *Client) AddLiveWatermark(request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
AddLiveWatermark After a watermark is added and a watermark ID is successfully returned, you need to call the [CreateLiveWatermarkRule](https://intl.cloud.tencent.com/document/product/267/32629?from_cn_redirect=1) API to bind the watermark ID to a stream.
After the number of watermarks exceeds the upper limit of 100, to add a new watermark, you must delete an old one first.
error code that may be returned:
INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_WATERMARKADDERROR = "InternalError.WatermarkAddError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTFOUNT = "ResourceNotFound.UserNotFount"
func (*Client) AddLiveWatermarkWithContext ¶
func (c *Client) AddLiveWatermarkWithContext(ctx context.Context, request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
AddLiveWatermark After a watermark is added and a watermark ID is successfully returned, you need to call the [CreateLiveWatermarkRule](https://intl.cloud.tencent.com/document/product/267/32629?from_cn_redirect=1) API to bind the watermark ID to a stream.
After the number of watermarks exceeds the upper limit of 100, to add a new watermark, you must delete an old one first.
error code that may be returned:
INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_WATERMARKADDERROR = "InternalError.WatermarkAddError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTFOUNT = "ResourceNotFound.UserNotFount"
func (*Client) AuthenticateDomainOwner ¶
func (c *Client) AuthenticateDomainOwner(request *AuthenticateDomainOwnerRequest) (response *AuthenticateDomainOwnerResponse, err error)
AuthenticateDomainOwner This API is used to verify the ownership of a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError"
func (*Client) AuthenticateDomainOwnerWithContext ¶
func (c *Client) AuthenticateDomainOwnerWithContext(ctx context.Context, request *AuthenticateDomainOwnerRequest) (response *AuthenticateDomainOwnerResponse, err error)
AuthenticateDomainOwner This API is used to verify the ownership of a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError"
func (*Client) CancelCommonMixStream ¶
func (c *Client) CancelCommonMixStream(request *CancelCommonMixStreamRequest) (response *CancelCommonMixStreamResponse, err error)
CancelCommonMixStream This API is used to cancel a stream mix. It can be used basically in the same way as `mix_streamv2.cancel_mix_stream`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRERROR = "FailedOperation.CallOtherSvrError" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_CANCELSESSIONNOTEXIST = "FailedOperation.CancelSessionNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CANCELSESSIONNOTEXIST = "InvalidParameter.CancelSessionNotExist" INVALIDPARAMETER_OTHERERROR = "InvalidParameter.OtherError" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CancelCommonMixStreamWithContext ¶
func (c *Client) CancelCommonMixStreamWithContext(ctx context.Context, request *CancelCommonMixStreamRequest) (response *CancelCommonMixStreamResponse, err error)
CancelCommonMixStream This API is used to cancel a stream mix. It can be used basically in the same way as `mix_streamv2.cancel_mix_stream`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRERROR = "FailedOperation.CallOtherSvrError" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_CANCELSESSIONNOTEXIST = "FailedOperation.CancelSessionNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CANCELSESSIONNOTEXIST = "InvalidParameter.CancelSessionNotExist" INVALIDPARAMETER_OTHERERROR = "InvalidParameter.OtherError" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateCommonMixStream ¶
func (c *Client) CreateCommonMixStream(request *CreateCommonMixStreamRequest) (response *CreateCommonMixStreamResponse, err error)
CreateCommonMixStream This API is used to create a general stream mix. It can be used basically in the same way as the legacy `mix_streamv2.start_mix_stream_advanced` API.
Note: currently, up to 16 streams can be mixed.
Best practice: https://intl.cloud.tencent.com/document/product/267/45566?from_cn_redirect=1
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRERROR = "FailedOperation.CallOtherSvrError" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_CANCELSESSIONNOTEXIST = "FailedOperation.CancelSessionNotExist" FAILEDOPERATION_GETPICTUREURLERROR = "FailedOperation.GetPictureUrlError" FAILEDOPERATION_GETSTREAMRESOLUTIONERROR = "FailedOperation.GetStreamResolutionError" FAILEDOPERATION_PROCESSMIXERROR = "FailedOperation.ProcessMixError" FAILEDOPERATION_STREAMNOTEXIST = "FailedOperation.StreamNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JIFEIOTHERERROR = "InternalError.JiFeiOtherError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CANCELSESSIONNOTEXIST = "InvalidParameter.CancelSessionNotExist" INVALIDPARAMETER_INPUTNUMLIMITEXCEEDED = "InvalidParameter.InputNumLimitExceeded" INVALIDPARAMETER_INVALIDBACKGROUDRESOLUTION = "InvalidParameter.InvalidBackgroudResolution" INVALIDPARAMETER_INVALIDBITRATE = "InvalidParameter.InvalidBitrate" INVALIDPARAMETER_INVALIDCROPPARAM = "InvalidParameter.InvalidCropParam" INVALIDPARAMETER_INVALIDLAYERPARAM = "InvalidParameter.InvalidLayerParam" INVALIDPARAMETER_INVALIDOUTPUTSTREAMID = "InvalidParameter.InvalidOutputStreamID" INVALIDPARAMETER_INVALIDOUTPUTTYPE = "InvalidParameter.InvalidOutputType" INVALIDPARAMETER_INVALIDPICTUREID = "InvalidParameter.InvalidPictureID" INVALIDPARAMETER_INVALIDROUNDRECTRADIUS = "InvalidParameter.InvalidRoundRectRadius" INVALIDPARAMETER_OTHERERROR = "InvalidParameter.OtherError" INVALIDPARAMETER_SESSIONOUTPUTSTREAMCHANGED = "InvalidParameter.SessionOutputStreamChanged" INVALIDPARAMETER_TEMPLATENOTMATCHINPUTNUM = "InvalidParameter.TemplateNotMatchInputNum" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateCommonMixStreamWithContext ¶
func (c *Client) CreateCommonMixStreamWithContext(ctx context.Context, request *CreateCommonMixStreamRequest) (response *CreateCommonMixStreamResponse, err error)
CreateCommonMixStream This API is used to create a general stream mix. It can be used basically in the same way as the legacy `mix_streamv2.start_mix_stream_advanced` API.
Note: currently, up to 16 streams can be mixed.
Best practice: https://intl.cloud.tencent.com/document/product/267/45566?from_cn_redirect=1
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRERROR = "FailedOperation.CallOtherSvrError" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_CANCELSESSIONNOTEXIST = "FailedOperation.CancelSessionNotExist" FAILEDOPERATION_GETPICTUREURLERROR = "FailedOperation.GetPictureUrlError" FAILEDOPERATION_GETSTREAMRESOLUTIONERROR = "FailedOperation.GetStreamResolutionError" FAILEDOPERATION_PROCESSMIXERROR = "FailedOperation.ProcessMixError" FAILEDOPERATION_STREAMNOTEXIST = "FailedOperation.StreamNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JIFEIOTHERERROR = "InternalError.JiFeiOtherError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CANCELSESSIONNOTEXIST = "InvalidParameter.CancelSessionNotExist" INVALIDPARAMETER_INPUTNUMLIMITEXCEEDED = "InvalidParameter.InputNumLimitExceeded" INVALIDPARAMETER_INVALIDBACKGROUDRESOLUTION = "InvalidParameter.InvalidBackgroudResolution" INVALIDPARAMETER_INVALIDBITRATE = "InvalidParameter.InvalidBitrate" INVALIDPARAMETER_INVALIDCROPPARAM = "InvalidParameter.InvalidCropParam" INVALIDPARAMETER_INVALIDLAYERPARAM = "InvalidParameter.InvalidLayerParam" INVALIDPARAMETER_INVALIDOUTPUTSTREAMID = "InvalidParameter.InvalidOutputStreamID" INVALIDPARAMETER_INVALIDOUTPUTTYPE = "InvalidParameter.InvalidOutputType" INVALIDPARAMETER_INVALIDPICTUREID = "InvalidParameter.InvalidPictureID" INVALIDPARAMETER_INVALIDROUNDRECTRADIUS = "InvalidParameter.InvalidRoundRectRadius" INVALIDPARAMETER_OTHERERROR = "InvalidParameter.OtherError" INVALIDPARAMETER_SESSIONOUTPUTSTREAMCHANGED = "InvalidParameter.SessionOutputStreamChanged" INVALIDPARAMETER_TEMPLATENOTMATCHINPUTNUM = "InvalidParameter.TemplateNotMatchInputNum" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveCallbackRule ¶
func (c *Client) CreateLiveCallbackRule(request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
CreateLiveCallbackRule To create a callback rule, you need to first call the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API to create a callback template and bind the returned template ID to the domain name/path.
<br>Callback protocol-related document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCallbackRuleWithContext ¶
func (c *Client) CreateLiveCallbackRuleWithContext(ctx context.Context, request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
CreateLiveCallbackRule To create a callback rule, you need to first call the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API to create a callback template and bind the returned template ID to the domain name/path.
<br>Callback protocol-related document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCallbackTemplate ¶
func (c *Client) CreateLiveCallbackTemplate(request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
CreateLiveCallbackTemplate This API is used to create a callback template. Up to 50 templates can be created. After the template ID is returned, you need to call the [CreateLiveCallbackRule](https://intl.cloud.tencent.com/document/product/267/32638?from_cn_redirect=1) API to bind the template ID to a domain name/path.
<br>For information about callback protocols, see [How to Receive Event Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
Note: You need to specify at least one callback URL.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETER_URLNOTSAFE = "InvalidParameter.UrlNotSafe" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCallbackTemplateWithContext ¶
func (c *Client) CreateLiveCallbackTemplateWithContext(ctx context.Context, request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
CreateLiveCallbackTemplate This API is used to create a callback template. Up to 50 templates can be created. After the template ID is returned, you need to call the [CreateLiveCallbackRule](https://intl.cloud.tencent.com/document/product/267/32638?from_cn_redirect=1) API to bind the template ID to a domain name/path.
<br>For information about callback protocols, see [How to Receive Event Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
Note: You need to specify at least one callback URL.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETER_URLNOTSAFE = "InvalidParameter.UrlNotSafe" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLivePullStreamTask ¶
func (c *Client) CreateLivePullStreamTask(request *CreateLivePullStreamTaskRequest) (response *CreateLivePullStreamTaskResponse, err error)
CreateLivePullStreamTask This API is used to create a task to pull streams from video files or an external live streaming source and publish them to a specified destination URL.
Notes:
1. By default, you can have at most 20 stream pulling tasks at a time. You can submit a ticket to raise the limit.
2. Only H.264 and H.265 are supported for video. If the source video is in a different format, please transcode it first.
3. Only AAC is supported for audio. If the source audio is in a different format, please transcode it first.
4. You can enable auto deletion in the console to delete expired tasks automatically.
5. The pull and relay feature is a paid feature. For its billing details, see [Relay](https://intl.cloud.tencent.com/document/product/267/53308?from_cn_redirect=1).
6. CSS is only responsible for pulling and relaying content. Please make sure that your content is authorized and complies with relevant laws and regulations. In case of copyright infringement or violation of laws or regulations, CSS will suspend its service for you and reserves the right to seek legal remedies.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCALLBACKURL = "InvalidParameter.InvalidCallbackUrl" INVALIDPARAMETER_INVALIDMIXINPUTPARAM = "InvalidParameter.InvalidMixInputParam" INVALIDPARAMETER_INVALIDOUTPUTPARAM = "InvalidParameter.InvalidOutputParam" INVALIDPARAMETER_INVALIDSOURCEURL = "InvalidParameter.InvalidSourceUrl" INVALIDPARAMETER_INVALIDTASKTIME = "InvalidParameter.InvalidTaskTime" INVALIDPARAMETER_INVALIDTOURL = "InvalidParameter.InvalidToUrl" INVALIDPARAMETER_INVALIDWATERMARK = "InvalidParameter.InvalidWatermark" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" INVALIDPARAMETER_TASKNUMMORETHANLIMIT = "InvalidParameter.TaskNumMoreThanLimit" INVALIDPARAMETER_TOURLNOPERMISSION = "InvalidParameter.ToUrlNoPermission" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreateLivePullStreamTaskWithContext ¶
func (c *Client) CreateLivePullStreamTaskWithContext(ctx context.Context, request *CreateLivePullStreamTaskRequest) (response *CreateLivePullStreamTaskResponse, err error)
CreateLivePullStreamTask This API is used to create a task to pull streams from video files or an external live streaming source and publish them to a specified destination URL.
Notes:
1. By default, you can have at most 20 stream pulling tasks at a time. You can submit a ticket to raise the limit.
2. Only H.264 and H.265 are supported for video. If the source video is in a different format, please transcode it first.
3. Only AAC is supported for audio. If the source audio is in a different format, please transcode it first.
4. You can enable auto deletion in the console to delete expired tasks automatically.
5. The pull and relay feature is a paid feature. For its billing details, see [Relay](https://intl.cloud.tencent.com/document/product/267/53308?from_cn_redirect=1).
6. CSS is only responsible for pulling and relaying content. Please make sure that your content is authorized and complies with relevant laws and regulations. In case of copyright infringement or violation of laws or regulations, CSS will suspend its service for you and reserves the right to seek legal remedies.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCALLBACKURL = "InvalidParameter.InvalidCallbackUrl" INVALIDPARAMETER_INVALIDMIXINPUTPARAM = "InvalidParameter.InvalidMixInputParam" INVALIDPARAMETER_INVALIDOUTPUTPARAM = "InvalidParameter.InvalidOutputParam" INVALIDPARAMETER_INVALIDSOURCEURL = "InvalidParameter.InvalidSourceUrl" INVALIDPARAMETER_INVALIDTASKTIME = "InvalidParameter.InvalidTaskTime" INVALIDPARAMETER_INVALIDTOURL = "InvalidParameter.InvalidToUrl" INVALIDPARAMETER_INVALIDWATERMARK = "InvalidParameter.InvalidWatermark" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" INVALIDPARAMETER_TASKNUMMORETHANLIMIT = "InvalidParameter.TaskNumMoreThanLimit" INVALIDPARAMETER_TOURLNOPERMISSION = "InvalidParameter.ToUrlNoPermission" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreateLiveRecord ¶
func (c *Client) CreateLiveRecord(request *CreateLiveRecordRequest) (response *CreateLiveRecordResponse, err error)
CreateLiveRecord - Prerequisites
Recording files are stored on the VOD platform, so if you need to use the recording feature, you must first activate the VOD service.
After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing mode. For more information, please see the [corresponding document](https://intl.cloud.tencent.com/document/product/266/2838?from_cn_redirect=1).
- Mode description
This API supports two recording modes: 1. Scheduled recording mode **(default mode)**. The start time and end time need to be passed in, according to which the recording task will start and end automatically. Before the set end time expires (provided that `StopLiveRecord` is not called to terminate the task prematurely), the recording task is valid and will be started even after the push is interrupted and restarted multiple times. 2. Real-time video recording mode. The start time passed in will be ignored, and recording will be started immediately after the recording task is created. The recording duration can be up to 30 minutes. If the end time passed in is more than 30 minutes after the current time, it will be counted as 30 minutes. Real-time video recording is mainly used for recording highlight scenes, and you are recommended to keep the duration within 5 minutes.
- Precautions
The API call timeout period should be set to more than 3 seconds; otherwise, retries and calls by different start/end time values may result in repeated recording tasks and thus incur additional recording fees.
Subject to the audio and video file formats (FLV/MP4/HLS), the video codec of H.264 and audio codec of AAC are supported.
In order to avoid malicious or unintended frequent API requests, the maximum number of tasks that can be created in scheduled recording mode is limited: up to 4,000 tasks can be created per day (excluding deleted ones), and up to 400 ones can run concurrently. If you need a higher upper limit, please submit a ticket for application.
This calling method does not support recording streams outside Mainland China for the time being.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" LIMITEXCEEDED_MAXIMUMTASK = "LimitExceeded.MaximumTask" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" RESOURCEUNAVAILABLE_STREAMNOTEXIST = "ResourceUnavailable.StreamNotExist"
func (*Client) CreateLiveRecordRule ¶
func (c *Client) CreateLiveRecordRule(request *CreateLiveRecordRuleRequest) (response *CreateLiveRecordRuleResponse, err error)
CreateLiveRecordRule To create a recording rule, you need to first call the [CreateLiveRecordTemplate](https://intl.cloud.tencent.com/document/product/267/32614?from_cn_redirect=1) API to create a recording template and bind the returned template ID to the stream.
<br>Recording-related document: [LVB Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveRecordRuleWithContext ¶
func (c *Client) CreateLiveRecordRuleWithContext(ctx context.Context, request *CreateLiveRecordRuleRequest) (response *CreateLiveRecordRuleResponse, err error)
CreateLiveRecordRule To create a recording rule, you need to first call the [CreateLiveRecordTemplate](https://intl.cloud.tencent.com/document/product/267/32614?from_cn_redirect=1) API to create a recording template and bind the returned template ID to the stream.
<br>Recording-related document: [LVB Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveRecordTemplate ¶
func (c *Client) CreateLiveRecordTemplate(request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
CreateLiveRecordTemplate This API is used to create a recording template. You can create up to 50 templates. To use a template, you need to call the [CreateLiveRecordRule](https://intl.cloud.tencent.com/document/product/267/32615?from_cn_redirect=1) API to bind the template ID returned by this API to a stream.
<br>More on recording: [Live Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1)
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveRecordTemplateWithContext ¶
func (c *Client) CreateLiveRecordTemplateWithContext(ctx context.Context, request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
CreateLiveRecordTemplate This API is used to create a recording template. You can create up to 50 templates. To use a template, you need to call the [CreateLiveRecordRule](https://intl.cloud.tencent.com/document/product/267/32615?from_cn_redirect=1) API to bind the template ID returned by this API to a stream.
<br>More on recording: [Live Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1)
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveRecordWithContext ¶
func (c *Client) CreateLiveRecordWithContext(ctx context.Context, request *CreateLiveRecordRequest) (response *CreateLiveRecordResponse, err error)
CreateLiveRecord - Prerequisites
Recording files are stored on the VOD platform, so if you need to use the recording feature, you must first activate the VOD service.
After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing mode. For more information, please see the [corresponding document](https://intl.cloud.tencent.com/document/product/266/2838?from_cn_redirect=1).
- Mode description
This API supports two recording modes: 1. Scheduled recording mode **(default mode)**. The start time and end time need to be passed in, according to which the recording task will start and end automatically. Before the set end time expires (provided that `StopLiveRecord` is not called to terminate the task prematurely), the recording task is valid and will be started even after the push is interrupted and restarted multiple times. 2. Real-time video recording mode. The start time passed in will be ignored, and recording will be started immediately after the recording task is created. The recording duration can be up to 30 minutes. If the end time passed in is more than 30 minutes after the current time, it will be counted as 30 minutes. Real-time video recording is mainly used for recording highlight scenes, and you are recommended to keep the duration within 5 minutes.
- Precautions
The API call timeout period should be set to more than 3 seconds; otherwise, retries and calls by different start/end time values may result in repeated recording tasks and thus incur additional recording fees.
Subject to the audio and video file formats (FLV/MP4/HLS), the video codec of H.264 and audio codec of AAC are supported.
In order to avoid malicious or unintended frequent API requests, the maximum number of tasks that can be created in scheduled recording mode is limited: up to 4,000 tasks can be created per day (excluding deleted ones), and up to 400 ones can run concurrently. If you need a higher upper limit, please submit a ticket for application.
This calling method does not support recording streams outside Mainland China for the time being.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" LIMITEXCEEDED_MAXIMUMTASK = "LimitExceeded.MaximumTask" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" RESOURCEUNAVAILABLE_STREAMNOTEXIST = "ResourceUnavailable.StreamNotExist"
func (*Client) CreateLiveSnapshotRule ¶
func (c *Client) CreateLiveSnapshotRule(request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
CreateLiveSnapshotRule This API is used to create a screencapturing rule. You need to first call the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API to create a screencapturing template to bind the returned template ID to the stream.
<br>Screencapturing document: [LVB Screencapturing](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
Note: only one screencapturing template can be associated with one domain name.
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveSnapshotRuleWithContext ¶
func (c *Client) CreateLiveSnapshotRuleWithContext(ctx context.Context, request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
CreateLiveSnapshotRule This API is used to create a screencapturing rule. You need to first call the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API to create a screencapturing template to bind the returned template ID to the stream.
<br>Screencapturing document: [LVB Screencapturing](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
Note: only one screencapturing template can be associated with one domain name.
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveSnapshotTemplate ¶
func (c *Client) CreateLiveSnapshotTemplate(request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
CreateLiveSnapshotTemplate This API is used to create a screencapture template. After a template ID is returned, you need to call the [CreateLiveSnapshotRule](https://intl.cloud.tencent.com/document/product/267/32625?from_cn_redirect=1) API to bind the template ID to a stream. You can create up to 50 screencapture templates.
<br>To learn more about the live screencapture feature, see [Live Screencapture](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_COSBUCKETNOTEXIST = "FailedOperation.CosBucketNotExist" FAILEDOPERATION_COSBUCKETNOTPERMISSION = "FailedOperation.CosBucketNotPermission" FAILEDOPERATION_COSROLENOTEXISTS = "FailedOperation.CosRoleNotExists" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveSnapshotTemplateWithContext ¶
func (c *Client) CreateLiveSnapshotTemplateWithContext(ctx context.Context, request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
CreateLiveSnapshotTemplate This API is used to create a screencapture template. After a template ID is returned, you need to call the [CreateLiveSnapshotRule](https://intl.cloud.tencent.com/document/product/267/32625?from_cn_redirect=1) API to bind the template ID to a stream. You can create up to 50 screencapture templates.
<br>To learn more about the live screencapture feature, see [Live Screencapture](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_COSBUCKETNOTEXIST = "FailedOperation.CosBucketNotExist" FAILEDOPERATION_COSBUCKETNOTPERMISSION = "FailedOperation.CosBucketNotPermission" FAILEDOPERATION_COSROLENOTEXISTS = "FailedOperation.CosRoleNotExists" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTimeShiftRule ¶
func (c *Client) CreateLiveTimeShiftRule(request *CreateLiveTimeShiftRuleRequest) (response *CreateLiveTimeShiftRuleResponse, err error)
CreateLiveTimeShiftRule This API is used to create a time shifting rule. You need to first call the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/86169?from_cn_redirect=1) API to create a time shifting template, and then call this API to bind the template ID returned to a stream.
<br>More about time shifting: [Time Shifting](https://intl.cloud.tencent.com/document/product/267/86134?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveTimeShiftRuleWithContext ¶
func (c *Client) CreateLiveTimeShiftRuleWithContext(ctx context.Context, request *CreateLiveTimeShiftRuleRequest) (response *CreateLiveTimeShiftRuleResponse, err error)
CreateLiveTimeShiftRule This API is used to create a time shifting rule. You need to first call the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/86169?from_cn_redirect=1) API to create a time shifting template, and then call this API to bind the template ID returned to a stream.
<br>More about time shifting: [Time Shifting](https://intl.cloud.tencent.com/document/product/267/86134?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) CreateLiveTimeShiftTemplate ¶
func (c *Client) CreateLiveTimeShiftTemplate(request *CreateLiveTimeShiftTemplateRequest) (response *CreateLiveTimeShiftTemplateResponse, err error)
CreateLiveTimeShiftTemplate This API is used to create a time shifting template.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTimeShiftTemplateWithContext ¶
func (c *Client) CreateLiveTimeShiftTemplateWithContext(ctx context.Context, request *CreateLiveTimeShiftTemplateRequest) (response *CreateLiveTimeShiftTemplateResponse, err error)
CreateLiveTimeShiftTemplate This API is used to create a time shifting template.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeRule ¶
func (c *Client) CreateLiveTranscodeRule(request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
CreateLiveTranscodeRule This API is used to create a transcoding rule that binds a template ID to a stream. Up to 50 transcoding rules can be created in total. Before you call this API, you need to first call [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) to get the template ID.
<br>Related document: [Live Remuxing and Transcoding](https://intl.cloud.tencent.com/document/product/267/32736?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeRuleWithContext ¶
func (c *Client) CreateLiveTranscodeRuleWithContext(ctx context.Context, request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
CreateLiveTranscodeRule This API is used to create a transcoding rule that binds a template ID to a stream. Up to 50 transcoding rules can be created in total. Before you call this API, you need to first call [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) to get the template ID.
<br>Related document: [Live Remuxing and Transcoding](https://intl.cloud.tencent.com/document/product/267/32736?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeTemplate ¶
func (c *Client) CreateLiveTranscodeTemplate(request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
CreateLiveTranscodeTemplate This API is used to create a transcoding template. Up to 50 transcoding templates can be created in total. To use a template, you need to call [CreateLiveTranscodeRule](https://intl.cloud.tencent.com/document/product/267/32647?from_cn_redirect=1) to bind the template ID returned by this API to a stream.
<br>For more information about transcoding, see [Live Remuxing and Transcoding](https://intl.cloud.tencent.com/document/product/267/32736?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_PROCESSORALREADYEXIST = "InternalError.ProcessorAlreadyExist" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_GOPMUSTEQUALANDEXISTS = "InvalidParameter.GopMustEqualAndExists" INVALIDPARAMETER_PROCESSORALREADYEXIST = "InvalidParameter.ProcessorAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeTemplateWithContext ¶
func (c *Client) CreateLiveTranscodeTemplateWithContext(ctx context.Context, request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
CreateLiveTranscodeTemplate This API is used to create a transcoding template. Up to 50 transcoding templates can be created in total. To use a template, you need to call [CreateLiveTranscodeRule](https://intl.cloud.tencent.com/document/product/267/32647?from_cn_redirect=1) to bind the template ID returned by this API to a stream.
<br>For more information about transcoding, see [Live Remuxing and Transcoding](https://intl.cloud.tencent.com/document/product/267/32736?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_PROCESSORALREADYEXIST = "InternalError.ProcessorAlreadyExist" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_GOPMUSTEQUALANDEXISTS = "InvalidParameter.GopMustEqualAndExists" INVALIDPARAMETER_PROCESSORALREADYEXIST = "InvalidParameter.ProcessorAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveWatermarkRule ¶
func (c *Client) CreateLiveWatermarkRule(request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
CreateLiveWatermarkRule To create a watermarking rule, you need to first call the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API to add a watermark and bind the returned watermark ID to the stream.
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveWatermarkRuleWithContext ¶
func (c *Client) CreateLiveWatermarkRuleWithContext(ctx context.Context, request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
CreateLiveWatermarkRule To create a watermarking rule, you need to first call the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API to add a watermark and bind the returned watermark ID to the stream.
error code that may be returned:
FAILEDOPERATION_RULEALREADYEXIST = "FailedOperation.RuleAlreadyExist" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFNOTFOUND = "InvalidParameter.ConfNotFound" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateRecordTask ¶
func (c *Client) CreateRecordTask(request *CreateRecordTaskRequest) (response *CreateRecordTaskResponse, err error)
CreateRecordTask This API is used to create a recording task that starts and ends at specific times and records videos according to a specific recording template.
- Prerequisites
1. Because recording files are saved in VOD, you must first activate VOD.
2. Storage and playback traffic fees are charged for storing and playing the videos recorded. For details, see [Purchase Guide](https://intl.cloud.tencent.com/document/product/266/2837).
- Notes
1. If streaming is interrupted, the current recording will stop and a recording file will be generated. When streaming resumes, as long as it’s before the end time of the task, recording will start again.
2. Avoid creating recording tasks with overlapping time periods. If there are multiple tasks with overlapping time periods for the same stream, the system will start three recording tasks at most to avoid repeated recording.
3. Task records are kept for three months by the platform.
4. Do not use the new [CreateRecordTask](https://intl.cloud.tencent.com/document/product/267/45983?from_cn_redirect=1), [StopRecordTask](https://intl.cloud.tencent.com/document/product/267/45981?from_cn_redirect=1), and [DeleteRecordTask] APIs together with the old `CreateLiveRecord`, `StopLiveRecord`, and `DeleteLiveRecord` APIs.
5. Do not create recording tasks and push streams at the same time. After creating a recording task, we recommend you wait at least three seconds before pushing streams.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRecordTaskWithContext ¶
func (c *Client) CreateRecordTaskWithContext(ctx context.Context, request *CreateRecordTaskRequest) (response *CreateRecordTaskResponse, err error)
CreateRecordTask This API is used to create a recording task that starts and ends at specific times and records videos according to a specific recording template.
- Prerequisites
1. Because recording files are saved in VOD, you must first activate VOD.
2. Storage and playback traffic fees are charged for storing and playing the videos recorded. For details, see [Purchase Guide](https://intl.cloud.tencent.com/document/product/266/2837).
- Notes
1. If streaming is interrupted, the current recording will stop and a recording file will be generated. When streaming resumes, as long as it’s before the end time of the task, recording will start again.
2. Avoid creating recording tasks with overlapping time periods. If there are multiple tasks with overlapping time periods for the same stream, the system will start three recording tasks at most to avoid repeated recording.
3. Task records are kept for three months by the platform.
4. Do not use the new [CreateRecordTask](https://intl.cloud.tencent.com/document/product/267/45983?from_cn_redirect=1), [StopRecordTask](https://intl.cloud.tencent.com/document/product/267/45981?from_cn_redirect=1), and [DeleteRecordTask] APIs together with the old `CreateLiveRecord`, `StopLiveRecord`, and `DeleteLiveRecord` APIs.
5. Do not create recording tasks and push streams at the same time. After creating a recording task, we recommend you wait at least three seconds before pushing streams.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateScreenshotTask ¶
func (c *Client) CreateScreenshotTask(request *CreateScreenshotTaskRequest) (response *CreateScreenshotTaskResponse, err error)
CreateScreenshotTask This API is used to create a screencapturing task that has a specific start and end time and takes screenshots according to the template configured.
- Note
1. If the stream is interrupted, screencapturing will stop. However, the task will still be valid before the specified end time, and screencapturing will be performed as required after the stream is resumed.
2. Avoid creating screencapturing tasks with overlapping time periods. The system will execute at most three screencapturing tasks on the same stream at a time.
3. Task records are only kept for three months.
4. The new screencapturing APIs (CreateScreenshotTask/StopScreenshotTask/DeleteScreenshotTask) are not compatible with the legacy ones (CreateLiveInstantSnapshot/StopLiveInstantSnapshot). Do not mix them when you call APIs to manage screencapturing tasks.
5. If you create a screencapturing task and publish the stream at the same time, the task may fail to be executed at the specified time. After creating a screencapturing task, we recommend you wait at least three seconds before publishing the stream.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateScreenshotTaskWithContext ¶
func (c *Client) CreateScreenshotTaskWithContext(ctx context.Context, request *CreateScreenshotTaskRequest) (response *CreateScreenshotTaskResponse, err error)
CreateScreenshotTask This API is used to create a screencapturing task that has a specific start and end time and takes screenshots according to the template configured.
- Note
1. If the stream is interrupted, screencapturing will stop. However, the task will still be valid before the specified end time, and screencapturing will be performed as required after the stream is resumed.
2. Avoid creating screencapturing tasks with overlapping time periods. The system will execute at most three screencapturing tasks on the same stream at a time.
3. Task records are only kept for three months.
4. The new screencapturing APIs (CreateScreenshotTask/StopScreenshotTask/DeleteScreenshotTask) are not compatible with the legacy ones (CreateLiveInstantSnapshot/StopLiveInstantSnapshot). Do not mix them when you call APIs to manage screencapturing tasks.
5. If you create a screencapturing task and publish the stream at the same time, the task may fail to be executed at the specified time. After creating a screencapturing task, we recommend you wait at least three seconds before publishing the stream.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteLiveCallbackRule ¶
func (c *Client) DeleteLiveCallbackRule(request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
DeleteLiveCallbackRule This API is used to delete a callback rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DeleteLiveCallbackRuleWithContext ¶
func (c *Client) DeleteLiveCallbackRuleWithContext(ctx context.Context, request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
DeleteLiveCallbackRule This API is used to delete a callback rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DeleteLiveCallbackTemplate ¶
func (c *Client) DeleteLiveCallbackTemplate(request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
DeleteLiveCallbackTemplate This API deletes a callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveCallbackTemplateWithContext ¶
func (c *Client) DeleteLiveCallbackTemplateWithContext(ctx context.Context, request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
DeleteLiveCallbackTemplate This API deletes a callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveDomain ¶
func (c *Client) DeleteLiveDomain(request *DeleteLiveDomainRequest) (response *DeleteLiveDomainResponse, err error)
DeleteLiveDomain This API is used to delete an added LVB domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_JIFEINOENOUGHFUND = "FailedOperation.JiFeiNoEnoughFund" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" FAILEDOPERATION_TAGUNBINDERROR = "FailedOperation.TagUnbindError" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINALREADYEXIST = "InvalidParameter.DomainAlreadyExist" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveDomainWithContext ¶
func (c *Client) DeleteLiveDomainWithContext(ctx context.Context, request *DeleteLiveDomainRequest) (response *DeleteLiveDomainResponse, err error)
DeleteLiveDomain This API is used to delete an added LVB domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_JIFEINOENOUGHFUND = "FailedOperation.JiFeiNoEnoughFund" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" FAILEDOPERATION_TAGUNBINDERROR = "FailedOperation.TagUnbindError" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINALREADYEXIST = "InvalidParameter.DomainAlreadyExist" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLivePullStreamTask ¶
func (c *Client) DeleteLivePullStreamTask(request *DeleteLivePullStreamTaskRequest) (response *DeleteLivePullStreamTaskResponse, err error)
DeleteLivePullStreamTask This API is used to delete a task created by `CreateLivePullStreamTask`.
Notes:
1. For the `TaskId` request parameter, pass in the task ID returned by the `CreateLivePullStreamTask` API.
2. You can query the ID of a task using the `DescribeLivePullStreamTasks` API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeleteLivePullStreamTaskWithContext ¶
func (c *Client) DeleteLivePullStreamTaskWithContext(ctx context.Context, request *DeleteLivePullStreamTaskRequest) (response *DeleteLivePullStreamTaskResponse, err error)
DeleteLivePullStreamTask This API is used to delete a task created by `CreateLivePullStreamTask`.
Notes:
1. For the `TaskId` request parameter, pass in the task ID returned by the `CreateLivePullStreamTask` API.
2. You can query the ID of a task using the `DescribeLivePullStreamTasks` API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeleteLiveRecord ¶
func (c *Client) DeleteLiveRecord(request *DeleteLiveRecordRequest) (response *DeleteLiveRecordResponse, err error)
DeleteLiveRecord Note: The `DeleteLiveRecord` API is only used to delete the record of recording tasks but not stop recording or deleting an ongoing recording task. If you need to stop a recording task, please use the [StopLiveRecord](https://intl.cloud.tencent.com/document/product/267/30146?from_cn_redirect=1) API.
error code that may be returned:
FAILEDOPERATION_ALTERTASKSTATE = "FailedOperation.AlterTaskState" INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveRecordRule ¶
func (c *Client) DeleteLiveRecordRule(request *DeleteLiveRecordRuleRequest) (response *DeleteLiveRecordRuleResponse, err error)
DeleteLiveRecordRule This API is used to delete a recording rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveRecordRuleWithContext ¶
func (c *Client) DeleteLiveRecordRuleWithContext(ctx context.Context, request *DeleteLiveRecordRuleRequest) (response *DeleteLiveRecordRuleResponse, err error)
DeleteLiveRecordRule This API is used to delete a recording rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveRecordTemplate ¶
func (c *Client) DeleteLiveRecordTemplate(request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
DeleteLiveRecordTemplate This API is used to delete a recording template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveRecordTemplateWithContext ¶
func (c *Client) DeleteLiveRecordTemplateWithContext(ctx context.Context, request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
DeleteLiveRecordTemplate This API is used to delete a recording template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveRecordWithContext ¶
func (c *Client) DeleteLiveRecordWithContext(ctx context.Context, request *DeleteLiveRecordRequest) (response *DeleteLiveRecordResponse, err error)
DeleteLiveRecord Note: The `DeleteLiveRecord` API is only used to delete the record of recording tasks but not stop recording or deleting an ongoing recording task. If you need to stop a recording task, please use the [StopLiveRecord](https://intl.cloud.tencent.com/document/product/267/30146?from_cn_redirect=1) API.
error code that may be returned:
FAILEDOPERATION_ALTERTASKSTATE = "FailedOperation.AlterTaskState" INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveSnapshotRule ¶
func (c *Client) DeleteLiveSnapshotRule(request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
DeleteLiveSnapshotRule This API is used to delete a screencapturing rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveSnapshotRuleWithContext ¶
func (c *Client) DeleteLiveSnapshotRuleWithContext(ctx context.Context, request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
DeleteLiveSnapshotRule This API is used to delete a screencapturing rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveSnapshotTemplate ¶
func (c *Client) DeleteLiveSnapshotTemplate(request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
DeleteLiveSnapshotTemplate This API is used to delete a screencapturing template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveSnapshotTemplateWithContext ¶
func (c *Client) DeleteLiveSnapshotTemplateWithContext(ctx context.Context, request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
DeleteLiveSnapshotTemplate This API is used to delete a screencapturing template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTimeShiftRule ¶
func (c *Client) DeleteLiveTimeShiftRule(request *DeleteLiveTimeShiftRuleRequest) (response *DeleteLiveTimeShiftRuleResponse, err error)
DeleteLiveTimeShiftRule This API is used to delete a time shifting rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTimeShiftRuleWithContext ¶
func (c *Client) DeleteLiveTimeShiftRuleWithContext(ctx context.Context, request *DeleteLiveTimeShiftRuleRequest) (response *DeleteLiveTimeShiftRuleResponse, err error)
DeleteLiveTimeShiftRule This API is used to delete a time shifting rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTimeShiftTemplate ¶
func (c *Client) DeleteLiveTimeShiftTemplate(request *DeleteLiveTimeShiftTemplateRequest) (response *DeleteLiveTimeShiftTemplateResponse, err error)
DeleteLiveTimeShiftTemplate This API is used to delete a time shifting template.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTimeShiftTemplateWithContext ¶
func (c *Client) DeleteLiveTimeShiftTemplateWithContext(ctx context.Context, request *DeleteLiveTimeShiftTemplateRequest) (response *DeleteLiveTimeShiftTemplateResponse, err error)
DeleteLiveTimeShiftTemplate This API is used to delete a time shifting template.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTranscodeRule ¶
func (c *Client) DeleteLiveTranscodeRule(request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
DeleteLiveTranscodeRule This API is used to delete a transcoding rule.
`DomainName+AppName+StreamName+TemplateId` uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. `TemplateId` is required. Even if other parameters are empty, you still need to pass in an empty string to make a strong match.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_RULENOTFOUND = "InvalidParameter.RuleNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTranscodeRuleWithContext ¶
func (c *Client) DeleteLiveTranscodeRuleWithContext(ctx context.Context, request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
DeleteLiveTranscodeRule This API is used to delete a transcoding rule.
`DomainName+AppName+StreamName+TemplateId` uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. `TemplateId` is required. Even if other parameters are empty, you still need to pass in an empty string to make a strong match.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_RULENOTFOUND = "InvalidParameter.RuleNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTranscodeTemplate ¶
func (c *Client) DeleteLiveTranscodeTemplate(request *DeleteLiveTranscodeTemplateRequest) (response *DeleteLiveTranscodeTemplateResponse, err error)
DeleteLiveTranscodeTemplate This API is used to delete a transcoding template.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveTranscodeTemplateWithContext ¶
func (c *Client) DeleteLiveTranscodeTemplateWithContext(ctx context.Context, request *DeleteLiveTranscodeTemplateRequest) (response *DeleteLiveTranscodeTemplateResponse, err error)
DeleteLiveTranscodeTemplate This API is used to delete a transcoding template.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveWatermark ¶
func (c *Client) DeleteLiveWatermark(request *DeleteLiveWatermarkRequest) (response *DeleteLiveWatermarkResponse, err error)
DeleteLiveWatermark This API is used to delete a watermark.
error code that may be returned:
INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETWATERMARKERROR = "InternalError.GetWatermarkError" INTERNALERROR_WATERMARKNOTEXIST = "InternalError.WatermarkNotExist" INVALIDPARAMETER_CONFINUSED = "InvalidParameter.ConfInUsed" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_WATERMARKNOTEXIST = "ResourceNotFound.WatermarkNotExist"
func (*Client) DeleteLiveWatermarkRule ¶
func (c *Client) DeleteLiveWatermarkRule(request *DeleteLiveWatermarkRuleRequest) (response *DeleteLiveWatermarkRuleResponse, err error)
DeleteLiveWatermarkRule This API is used to delete a watermarking rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveWatermarkRuleWithContext ¶
func (c *Client) DeleteLiveWatermarkRuleWithContext(ctx context.Context, request *DeleteLiveWatermarkRuleRequest) (response *DeleteLiveWatermarkRuleResponse, err error)
DeleteLiveWatermarkRule This API is used to delete a watermarking rule.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DeleteLiveWatermarkWithContext ¶
func (c *Client) DeleteLiveWatermarkWithContext(ctx context.Context, request *DeleteLiveWatermarkRequest) (response *DeleteLiveWatermarkResponse, err error)
DeleteLiveWatermark This API is used to delete a watermark.
error code that may be returned:
INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETWATERMARKERROR = "InternalError.GetWatermarkError" INTERNALERROR_WATERMARKNOTEXIST = "InternalError.WatermarkNotExist" INVALIDPARAMETER_CONFINUSED = "InvalidParameter.ConfInUsed" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_WATERMARKNOTEXIST = "ResourceNotFound.WatermarkNotExist"
func (*Client) DeleteRecordTask ¶
func (c *Client) DeleteRecordTask(request *DeleteRecordTaskRequest) (response *DeleteRecordTaskResponse, err error)
DeleteRecordTask This API is used to delete a recording task configuration. The deletion does not affect running tasks and takes effect only for new pushes.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRecordTaskWithContext ¶
func (c *Client) DeleteRecordTaskWithContext(ctx context.Context, request *DeleteRecordTaskRequest) (response *DeleteRecordTaskResponse, err error)
DeleteRecordTask This API is used to delete a recording task configuration. The deletion does not affect running tasks and takes effect only for new pushes.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllStreamPlayInfoList ¶
func (c *Client) DescribeAllStreamPlayInfoList(request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)
DescribeAllStreamPlayInfoList This API is used to get the playback data of all streams at a specified time point (accurate to the minute).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeAllStreamPlayInfoListWithContext ¶
func (c *Client) DescribeAllStreamPlayInfoListWithContext(ctx context.Context, request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)
DescribeAllStreamPlayInfoList This API is used to get the playback data of all streams at a specified time point (accurate to the minute).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeBillBandwidthAndFluxList ¶
func (c *Client) DescribeBillBandwidthAndFluxList(request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
DescribeBillBandwidthAndFluxList This API is used to query the data of billable LVB bandwidth and traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeBillBandwidthAndFluxListWithContext ¶
func (c *Client) DescribeBillBandwidthAndFluxListWithContext(ctx context.Context, request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
DescribeBillBandwidthAndFluxList This API is used to query the data of billable LVB bandwidth and traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeConcurrentRecordStreamNum ¶
func (c *Client) DescribeConcurrentRecordStreamNum(request *DescribeConcurrentRecordStreamNumRequest) (response *DescribeConcurrentRecordStreamNumResponse, err error)
DescribeConcurrentRecordStreamNum This API is used to query the number of concurrent recording channels, which is applicable to LCB and LVB.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeConcurrentRecordStreamNumWithContext ¶
func (c *Client) DescribeConcurrentRecordStreamNumWithContext(ctx context.Context, request *DescribeConcurrentRecordStreamNumRequest) (response *DescribeConcurrentRecordStreamNumResponse, err error)
DescribeConcurrentRecordStreamNum This API is used to query the number of concurrent recording channels, which is applicable to LCB and LVB.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeDeliverBandwidthList ¶
func (c *Client) DescribeDeliverBandwidthList(request *DescribeDeliverBandwidthListRequest) (response *DescribeDeliverBandwidthListResponse, err error)
DescribeDeliverBandwidthList This API is used to query the billable bandwidth of live stream relaying in the last 3 months. The query period is up to 31 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDeliverBandwidthListWithContext ¶
func (c *Client) DescribeDeliverBandwidthListWithContext(ctx context.Context, request *DescribeDeliverBandwidthListRequest) (response *DescribeDeliverBandwidthListResponse, err error)
DescribeDeliverBandwidthList This API is used to query the billable bandwidth of live stream relaying in the last 3 months. The query period is up to 31 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupProIspPlayInfoList ¶
func (c *Client) DescribeGroupProIspPlayInfoList(request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
DescribeGroupProIspPlayInfoList This API is used to query the downstream playback data by district and ISP.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupProIspPlayInfoListWithContext ¶
func (c *Client) DescribeGroupProIspPlayInfoListWithContext(ctx context.Context, request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
DescribeGroupProIspPlayInfoList This API is used to query the downstream playback data by district and ISP.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeHttpStatusInfoList ¶
func (c *Client) DescribeHttpStatusInfoList(request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
DescribeHttpStatusInfoList This API is used to query the number of each playback HTTP status code at a 5-minute granularity in a certain period of time.
Note: data can be queried one hour after it is generated. For example, data between 10:00 and 10:59 cannot be queried until 12:00.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeHttpStatusInfoListWithContext ¶
func (c *Client) DescribeHttpStatusInfoListWithContext(ctx context.Context, request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
DescribeHttpStatusInfoList This API is used to query the number of each playback HTTP status code at a 5-minute granularity in a certain period of time.
Note: data can be queried one hour after it is generated. For example, data between 10:00 and 10:59 cannot be queried until 12:00.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCallbackRules ¶
func (c *Client) DescribeLiveCallbackRules(request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
DescribeLiveCallbackRules This API is used to get the callback rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveCallbackRulesWithContext ¶
func (c *Client) DescribeLiveCallbackRulesWithContext(ctx context.Context, request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
DescribeLiveCallbackRules This API is used to get the callback rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveCallbackTemplate ¶
func (c *Client) DescribeLiveCallbackTemplate(request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
DescribeLiveCallbackTemplate This API is used to get a single callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCallbackTemplateWithContext ¶
func (c *Client) DescribeLiveCallbackTemplateWithContext(ctx context.Context, request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
DescribeLiveCallbackTemplate This API is used to get a single callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCallbackTemplates ¶
func (c *Client) DescribeLiveCallbackTemplates(request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
DescribeLiveCallbackTemplates This API is used to get the callback template list.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveCallbackTemplatesWithContext ¶
func (c *Client) DescribeLiveCallbackTemplatesWithContext(ctx context.Context, request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
DescribeLiveCallbackTemplates This API is used to get the callback template list.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveCert ¶
func (c *Client) DescribeLiveCert(request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
DescribeLiveCert This API is used to get certificate information.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCertWithContext ¶
func (c *Client) DescribeLiveCertWithContext(ctx context.Context, request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
DescribeLiveCert This API is used to get certificate information.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCerts ¶
func (c *Client) DescribeLiveCerts(request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
DescribeLiveCerts This API is used to get the certificate information list.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveCertsWithContext ¶
func (c *Client) DescribeLiveCertsWithContext(ctx context.Context, request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
DescribeLiveCerts This API is used to get the certificate information list.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDelayInfoList ¶
func (c *Client) DescribeLiveDelayInfoList(request *DescribeLiveDelayInfoListRequest) (response *DescribeLiveDelayInfoListResponse, err error)
DescribeLiveDelayInfoList This API is used to get the list of delayed playbacks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveDelayInfoListWithContext ¶
func (c *Client) DescribeLiveDelayInfoListWithContext(ctx context.Context, request *DescribeLiveDelayInfoListRequest) (response *DescribeLiveDelayInfoListResponse, err error)
DescribeLiveDelayInfoList This API is used to get the list of delayed playbacks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveDomain ¶
func (c *Client) DescribeLiveDomain(request *DescribeLiveDomainRequest) (response *DescribeLiveDomainResponse, err error)
DescribeLiveDomain This API is used to query the LVB domain name information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainCert ¶
func (c *Client) DescribeLiveDomainCert(request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
DescribeLiveDomainCert This API is used to get the domain name certificate information.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainCertBindings ¶
func (c *Client) DescribeLiveDomainCertBindings(request *DescribeLiveDomainCertBindingsRequest) (response *DescribeLiveDomainCertBindingsResponse, err error)
DescribeLiveDomainCertBindings This API is used to query domains bound with certificates.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainCertBindingsWithContext ¶
func (c *Client) DescribeLiveDomainCertBindingsWithContext(ctx context.Context, request *DescribeLiveDomainCertBindingsRequest) (response *DescribeLiveDomainCertBindingsResponse, err error)
DescribeLiveDomainCertBindings This API is used to query domains bound with certificates.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainCertWithContext ¶
func (c *Client) DescribeLiveDomainCertWithContext(ctx context.Context, request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
DescribeLiveDomainCert This API is used to get the domain name certificate information.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainReferer ¶
func (c *Client) DescribeLiveDomainReferer(request *DescribeLiveDomainRefererRequest) (response *DescribeLiveDomainRefererResponse, err error)
DescribeLiveDomainReferer This API is used to query referer allowlist/blocklist configuration of a live streaming domain name.
Referer information is included in HTTP requests. After you enable referer configuration, live streams using RTMP or WebRTC for playback will not authenticate the referer and can be played back normally. To make the referer configuration effective, the HTTP-FLV or HLS protocol is recommended for playback.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainRefererWithContext ¶
func (c *Client) DescribeLiveDomainRefererWithContext(ctx context.Context, request *DescribeLiveDomainRefererRequest) (response *DescribeLiveDomainRefererResponse, err error)
DescribeLiveDomainReferer This API is used to query referer allowlist/blocklist configuration of a live streaming domain name.
Referer information is included in HTTP requests. After you enable referer configuration, live streams using RTMP or WebRTC for playback will not authenticate the referer and can be played back normally. To make the referer configuration effective, the HTTP-FLV or HLS protocol is recommended for playback.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainWithContext ¶
func (c *Client) DescribeLiveDomainWithContext(ctx context.Context, request *DescribeLiveDomainRequest) (response *DescribeLiveDomainResponse, err error)
DescribeLiveDomain This API is used to query the LVB domain name information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomains ¶
func (c *Client) DescribeLiveDomains(request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
DescribeLiveDomains This API is used to query domain names by domain name status and type.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" RESOURCENOTFOUND_EMPTYDATA = "ResourceNotFound.EmptyData" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveDomainsWithContext ¶
func (c *Client) DescribeLiveDomainsWithContext(ctx context.Context, request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
DescribeLiveDomains This API is used to query domain names by domain name status and type.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" RESOURCENOTFOUND_EMPTYDATA = "ResourceNotFound.EmptyData" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveForbidStreamList ¶
func (c *Client) DescribeLiveForbidStreamList(request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
DescribeLiveForbidStreamList This API is used to get the list of disabled streams.
Note: this API is used for query only and should not be relied too much upon in important business scenarios.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveForbidStreamListWithContext ¶
func (c *Client) DescribeLiveForbidStreamListWithContext(ctx context.Context, request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
DescribeLiveForbidStreamList This API is used to get the list of disabled streams.
Note: this API is used for query only and should not be relied too much upon in important business scenarios.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLivePlayAuthKey ¶
func (c *Client) DescribeLivePlayAuthKey(request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
DescribeLivePlayAuthKey This API is used to query the playback authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLivePlayAuthKeyWithContext ¶
func (c *Client) DescribeLivePlayAuthKeyWithContext(ctx context.Context, request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
DescribeLivePlayAuthKey This API is used to query the playback authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLivePullStreamTasks ¶
func (c *Client) DescribeLivePullStreamTasks(request *DescribeLivePullStreamTasksRequest) (response *DescribeLivePullStreamTasksResponse, err error)
DescribeLivePullStreamTasks This API is used to query the stream pulling tasks created by `CreateLivePullStreamTask`.
The tasks returned are sorted by last updated time in descending order.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLivePullStreamTasksWithContext ¶
func (c *Client) DescribeLivePullStreamTasksWithContext(ctx context.Context, request *DescribeLivePullStreamTasksRequest) (response *DescribeLivePullStreamTasksResponse, err error)
DescribeLivePullStreamTasks This API is used to query the stream pulling tasks created by `CreateLivePullStreamTask`.
The tasks returned are sorted by last updated time in descending order.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLivePushAuthKey ¶
func (c *Client) DescribeLivePushAuthKey(request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
DescribeLivePushAuthKey This API is used to query the LVB push authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PUSHDOMAINNORECORD = "InternalError.PushDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLivePushAuthKeyWithContext ¶
func (c *Client) DescribeLivePushAuthKeyWithContext(ctx context.Context, request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
DescribeLivePushAuthKey This API is used to query the LVB push authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PUSHDOMAINNORECORD = "InternalError.PushDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordRules ¶
func (c *Client) DescribeLiveRecordRules(request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
DescribeLiveRecordRules This API is used to get the list of recording rules.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordRulesWithContext ¶
func (c *Client) DescribeLiveRecordRulesWithContext(ctx context.Context, request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
DescribeLiveRecordRules This API is used to get the list of recording rules.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordTemplate ¶
func (c *Client) DescribeLiveRecordTemplate(request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
DescribeLiveRecordTemplate This API is used to get a single recording template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordTemplateWithContext ¶
func (c *Client) DescribeLiveRecordTemplateWithContext(ctx context.Context, request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
DescribeLiveRecordTemplate This API is used to get a single recording template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordTemplates ¶
func (c *Client) DescribeLiveRecordTemplates(request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
DescribeLiveRecordTemplates This API is used to get the recording template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveRecordTemplatesWithContext ¶
func (c *Client) DescribeLiveRecordTemplatesWithContext(ctx context.Context, request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
DescribeLiveRecordTemplates This API is used to get the recording template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveSnapshotRules ¶
func (c *Client) DescribeLiveSnapshotRules(request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
DescribeLiveSnapshotRules This API is used to get the screencapturing rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveSnapshotRulesWithContext ¶
func (c *Client) DescribeLiveSnapshotRulesWithContext(ctx context.Context, request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
DescribeLiveSnapshotRules This API is used to get the screencapturing rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveSnapshotTemplate ¶
func (c *Client) DescribeLiveSnapshotTemplate(request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
DescribeLiveSnapshotTemplate This API is used to get a single screencapturing template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveSnapshotTemplateWithContext ¶
func (c *Client) DescribeLiveSnapshotTemplateWithContext(ctx context.Context, request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
DescribeLiveSnapshotTemplate This API is used to get a single screencapturing template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveSnapshotTemplates ¶
func (c *Client) DescribeLiveSnapshotTemplates(request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
DescribeLiveSnapshotTemplates This API is used to get the screencapturing template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveSnapshotTemplatesWithContext ¶
func (c *Client) DescribeLiveSnapshotTemplatesWithContext(ctx context.Context, request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
DescribeLiveSnapshotTemplates This API is used to get the screencapturing template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveStreamEventList ¶
func (c *Client) DescribeLiveStreamEventList(request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
DescribeLiveStreamEventList This API is used to query stream push/interruption events.<br>
Notes:
1. This API is used to query stream push/interruption records, and should not be relied too much upon in important business scenarios.
2. You can use the `IsFilter` parameter of this API to filter and get required push records.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamEventListWithContext ¶
func (c *Client) DescribeLiveStreamEventListWithContext(ctx context.Context, request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
DescribeLiveStreamEventList This API is used to query stream push/interruption events.<br>
Notes:
1. This API is used to query stream push/interruption records, and should not be relied too much upon in important business scenarios.
2. You can use the `IsFilter` parameter of this API to filter and get required push records.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamOnlineList ¶
func (c *Client) DescribeLiveStreamOnlineList(request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
DescribeLiveStreamOnlineList This API is used to get the list of ongoing live streams. It queries the information of live streams after they are pushed successfully.
Notes:
1. This API is used to query the list of active live streams only, and should not be relied too much upon in important business scenarios.
2. This API can query up to 20,000 streams. To query more streams, please contact our after-sales service team.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamOnlineListWithContext ¶
func (c *Client) DescribeLiveStreamOnlineListWithContext(ctx context.Context, request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
DescribeLiveStreamOnlineList This API is used to get the list of ongoing live streams. It queries the information of live streams after they are pushed successfully.
Notes:
1. This API is used to query the list of active live streams only, and should not be relied too much upon in important business scenarios.
2. This API can query up to 20,000 streams. To query more streams, please contact our after-sales service team.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamPublishedList ¶
func (c *Client) DescribeLiveStreamPublishedList(request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
DescribeLiveStreamPublishedList This API is used to return the list of pushed streams. <br>
Note: Up to 10,000 entries can be queried per page. More data can be obtained by adjusting the query time range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamPublishedListWithContext ¶
func (c *Client) DescribeLiveStreamPublishedListWithContext(ctx context.Context, request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
DescribeLiveStreamPublishedList This API is used to return the list of pushed streams. <br>
Note: Up to 10,000 entries can be queried per page. More data can be obtained by adjusting the query time range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamPushInfoList ¶
func (c *Client) DescribeLiveStreamPushInfoList(request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
DescribeLiveStreamPushInfoList This API is used to query the push information of all real-time streams, including client IP, server IP, frame rate, bitrate, domain name, and push start time.
error code that may be returned:
FAILEDOPERATION_HASNOTLIVINGSTREAM = "FailedOperation.HasNotLivingStream" FAILEDOPERATION_QUERYUPLOADINFOFAILED = "FailedOperation.QueryUploadInfoFailed" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDREQUEST = "InternalError.InvalidRequest" INTERNALERROR_QUERYPROISPPLAYINFOERROR = "InternalError.QueryProIspPlayInfoError" INTERNALERROR_QUERYUPLOADINFOFAILED = "InternalError.QueryUploadInfoFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveStreamPushInfoListWithContext ¶
func (c *Client) DescribeLiveStreamPushInfoListWithContext(ctx context.Context, request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
DescribeLiveStreamPushInfoList This API is used to query the push information of all real-time streams, including client IP, server IP, frame rate, bitrate, domain name, and push start time.
error code that may be returned:
FAILEDOPERATION_HASNOTLIVINGSTREAM = "FailedOperation.HasNotLivingStream" FAILEDOPERATION_QUERYUPLOADINFOFAILED = "FailedOperation.QueryUploadInfoFailed" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDREQUEST = "InternalError.InvalidRequest" INTERNALERROR_QUERYPROISPPLAYINFOERROR = "InternalError.QueryProIspPlayInfoError" INTERNALERROR_QUERYUPLOADINFOFAILED = "InternalError.QueryUploadInfoFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveStreamState ¶
func (c *Client) DescribeLiveStreamState(request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
DescribeLiveStreamState This API is used to get the stream status, which may be active, inactive, or disabled.
Notes:
This API allows you to query the status of a stream in real time. Given external factors such as network jitter, note the following when you determine whether a host is online:
1. If possible, use your own logic of stream starting/stopping in a room, such as streaming signaling on the client and the online heartbeat of a host, to determine whether the host is online.
2. If your application does not provide the room management feature, use the following methods to determine whether a host is online:
2.1 Use the [live stream callback](https://intl.cloud.tencent.com/document/product/267/20388?from_cn_redirect=1).
2.2 Call [DescribeLiveStreamOnlineList](https://intl.cloud.tencent.com/document/api/267/20472?from_cn_redirect=1) on a regular basis (interval > 1 min).
2.3 Call this API.
2.4 A host is considered to be online if the result returned by any of the above methods indicates so. If an API call times out or a parsing error occurs, to minimize the impact on your business, CSS will also consider the host online.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveStreamStateWithContext ¶
func (c *Client) DescribeLiveStreamStateWithContext(ctx context.Context, request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
DescribeLiveStreamState This API is used to get the stream status, which may be active, inactive, or disabled.
Notes:
This API allows you to query the status of a stream in real time. Given external factors such as network jitter, note the following when you determine whether a host is online:
1. If possible, use your own logic of stream starting/stopping in a room, such as streaming signaling on the client and the online heartbeat of a host, to determine whether the host is online.
2. If your application does not provide the room management feature, use the following methods to determine whether a host is online:
2.1 Use the [live stream callback](https://intl.cloud.tencent.com/document/product/267/20388?from_cn_redirect=1).
2.2 Call [DescribeLiveStreamOnlineList](https://intl.cloud.tencent.com/document/api/267/20472?from_cn_redirect=1) on a regular basis (interval > 1 min).
2.3 Call this API.
2.4 A host is considered to be online if the result returned by any of the above methods indicates so. If an API call times out or a parsing error occurs, to minimize the impact on your business, CSS will also consider the host online.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveTimeShiftBillInfoList ¶
func (c *Client) DescribeLiveTimeShiftBillInfoList(request *DescribeLiveTimeShiftBillInfoListRequest) (response *DescribeLiveTimeShiftBillInfoListResponse, err error)
DescribeLiveTimeShiftBillInfoList This API is used to query the time-shift video length, time-shift days, and total time-shift period of push domains. The data returned is on a five-minute basis. You can use it for reconciliation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTimeShiftBillInfoListWithContext ¶
func (c *Client) DescribeLiveTimeShiftBillInfoListWithContext(ctx context.Context, request *DescribeLiveTimeShiftBillInfoListRequest) (response *DescribeLiveTimeShiftBillInfoListResponse, err error)
DescribeLiveTimeShiftBillInfoList This API is used to query the time-shift video length, time-shift days, and total time-shift period of push domains. The data returned is on a five-minute basis. You can use it for reconciliation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTimeShiftRules ¶
func (c *Client) DescribeLiveTimeShiftRules(request *DescribeLiveTimeShiftRulesRequest) (response *DescribeLiveTimeShiftRulesResponse, err error)
DescribeLiveTimeShiftRules This API is used to query time shifting rules.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTimeShiftRulesWithContext ¶
func (c *Client) DescribeLiveTimeShiftRulesWithContext(ctx context.Context, request *DescribeLiveTimeShiftRulesRequest) (response *DescribeLiveTimeShiftRulesResponse, err error)
DescribeLiveTimeShiftRules This API is used to query time shifting rules.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTimeShiftTemplates ¶
func (c *Client) DescribeLiveTimeShiftTemplates(request *DescribeLiveTimeShiftTemplatesRequest) (response *DescribeLiveTimeShiftTemplatesResponse, err error)
DescribeLiveTimeShiftTemplates This API is used to query time shifting templates.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTimeShiftTemplatesWithContext ¶
func (c *Client) DescribeLiveTimeShiftTemplatesWithContext(ctx context.Context, request *DescribeLiveTimeShiftTemplatesRequest) (response *DescribeLiveTimeShiftTemplatesResponse, err error)
DescribeLiveTimeShiftTemplates This API is used to query time shifting templates.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INTERNALERROR_RULEOUTLIMIT = "InternalError.RuleOutLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTranscodeDetailInfo ¶
func (c *Client) DescribeLiveTranscodeDetailInfo(request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
DescribeLiveTranscodeDetailInfo This API is used to query the transcoding details of a particular day or a specific time period. Querying may fail if the amount of data queried is too large. In such cases, try shortening the time period.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTranscodeDetailInfoWithContext ¶
func (c *Client) DescribeLiveTranscodeDetailInfoWithContext(ctx context.Context, request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
DescribeLiveTranscodeDetailInfo This API is used to query the transcoding details of a particular day or a specific time period. Querying may fail if the amount of data queried is too large. In such cases, try shortening the time period.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTranscodeRules ¶
func (c *Client) DescribeLiveTranscodeRules(request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
DescribeLiveTranscodeRules This API is used to get the list of transcoding rules.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTranscodeRulesWithContext ¶
func (c *Client) DescribeLiveTranscodeRulesWithContext(ctx context.Context, request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
DescribeLiveTranscodeRules This API is used to get the list of transcoding rules.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveTranscodeTemplate ¶
func (c *Client) DescribeLiveTranscodeTemplate(request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
DescribeLiveTranscodeTemplate This API is used to get a single transcoding template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTranscodeTemplateWithContext ¶
func (c *Client) DescribeLiveTranscodeTemplateWithContext(ctx context.Context, request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
DescribeLiveTranscodeTemplate This API is used to get a single transcoding template.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTranscodeTemplates ¶
func (c *Client) DescribeLiveTranscodeTemplates(request *DescribeLiveTranscodeTemplatesRequest) (response *DescribeLiveTranscodeTemplatesResponse, err error)
DescribeLiveTranscodeTemplates This API is used to get the transcoding template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTranscodeTemplatesWithContext ¶
func (c *Client) DescribeLiveTranscodeTemplatesWithContext(ctx context.Context, request *DescribeLiveTranscodeTemplatesRequest) (response *DescribeLiveTranscodeTemplatesResponse, err error)
DescribeLiveTranscodeTemplates This API is used to get the transcoding template list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) DescribeLiveTranscodeTotalInfo ¶
func (c *Client) DescribeLiveTranscodeTotalInfo(request *DescribeLiveTranscodeTotalInfoRequest) (response *DescribeLiveTranscodeTotalInfoResponse, err error)
DescribeLiveTranscodeTotalInfo This API is used to query transcoding usage. You can use it to query data in the past three months.
Notes:
If the start time and end time are on the same day, the data returned will be on a 5-minute basis.
If the start time and end time are not on the same day or if the data of specified domains is queried, the data returned will be on an hourly basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeLiveTranscodeTotalInfoWithContext ¶
func (c *Client) DescribeLiveTranscodeTotalInfoWithContext(ctx context.Context, request *DescribeLiveTranscodeTotalInfoRequest) (response *DescribeLiveTranscodeTotalInfoResponse, err error)
DescribeLiveTranscodeTotalInfo This API is used to query transcoding usage. You can use it to query data in the past three months.
Notes:
If the start time and end time are on the same day, the data returned will be on a 5-minute basis.
If the start time and end time are not on the same day or if the data of specified domains is queried, the data returned will be on an hourly basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeLiveWatermark ¶
func (c *Client) DescribeLiveWatermark(request *DescribeLiveWatermarkRequest) (response *DescribeLiveWatermarkResponse, err error)
DescribeLiveWatermark This API is used to get the information of a single watermark.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveWatermarkRules ¶
func (c *Client) DescribeLiveWatermarkRules(request *DescribeLiveWatermarkRulesRequest) (response *DescribeLiveWatermarkRulesResponse, err error)
DescribeLiveWatermarkRules This API is used to get the watermarking rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveWatermarkRulesWithContext ¶
func (c *Client) DescribeLiveWatermarkRulesWithContext(ctx context.Context, request *DescribeLiveWatermarkRulesRequest) (response *DescribeLiveWatermarkRulesResponse, err error)
DescribeLiveWatermarkRules This API is used to get the watermarking rule list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveWatermarkWithContext ¶
func (c *Client) DescribeLiveWatermarkWithContext(ctx context.Context, request *DescribeLiveWatermarkRequest) (response *DescribeLiveWatermarkResponse, err error)
DescribeLiveWatermark This API is used to get the information of a single watermark.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveWatermarks ¶
func (c *Client) DescribeLiveWatermarks(request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
DescribeLiveWatermarks This API is used to query the watermark list.
error code that may be returned:
RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeLiveWatermarksWithContext ¶
func (c *Client) DescribeLiveWatermarksWithContext(ctx context.Context, request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
DescribeLiveWatermarks This API is used to query the watermark list.
error code that may be returned:
RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribePlayErrorCodeDetailInfoList ¶
func (c *Client) DescribePlayErrorCodeDetailInfoList(request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
DescribePlayErrorCodeDetailInfoList This API is used to query the information of downstream playback error codes, i.e., the occurrences of each HTTP error code (4xx and 5xx) at a 1-minute granularity in a certain period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribePlayErrorCodeDetailInfoListWithContext ¶
func (c *Client) DescribePlayErrorCodeDetailInfoListWithContext(ctx context.Context, request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
DescribePlayErrorCodeDetailInfoList This API is used to query the information of downstream playback error codes, i.e., the occurrences of each HTTP error code (4xx and 5xx) at a 1-minute granularity in a certain period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribePlayErrorCodeSumInfoList ¶
func (c *Client) DescribePlayErrorCodeSumInfoList(request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
DescribePlayErrorCodeSumInfoList This API is used to query the information of downstream playback error codes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribePlayErrorCodeSumInfoListWithContext ¶
func (c *Client) DescribePlayErrorCodeSumInfoListWithContext(ctx context.Context, request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
DescribePlayErrorCodeSumInfoList This API is used to query the information of downstream playback error codes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeProvinceIspPlayInfoList ¶
func (c *Client) DescribeProvinceIspPlayInfoList(request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
DescribeProvinceIspPlayInfoList This API is used to query the downstream playback data of a specified ISP in a specified district, including bandwidth, traffic, number of requests, and number of concurrent connections.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_HASNOTLIVINGSTREAM = "InternalError.HasNotLivingStream" INTERNALERROR_INVALIDREQUEST = "InternalError.InvalidRequest" INTERNALERROR_QUERYPROISPPLAYINFOERROR = "InternalError.QueryProIspPlayInfoError" INTERNALERROR_QUERYUPLOADINFOFAILED = "InternalError.QueryUploadInfoFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeProvinceIspPlayInfoListWithContext ¶
func (c *Client) DescribeProvinceIspPlayInfoListWithContext(ctx context.Context, request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
DescribeProvinceIspPlayInfoList This API is used to query the downstream playback data of a specified ISP in a specified district, including bandwidth, traffic, number of requests, and number of concurrent connections.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_HASNOTLIVINGSTREAM = "InternalError.HasNotLivingStream" INTERNALERROR_INVALIDREQUEST = "InternalError.InvalidRequest" INTERNALERROR_QUERYPROISPPLAYINFOERROR = "InternalError.QueryProIspPlayInfoError" INTERNALERROR_QUERYUPLOADINFOFAILED = "InternalError.QueryUploadInfoFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeRecordTask ¶
func (c *Client) DescribeRecordTask(request *DescribeRecordTaskRequest) (response *DescribeRecordTaskResponse, err error)
DescribeRecordTask This API is used to retrieve a list of recording tasks that were started and ended within a specified time range.
- Prerequisites:
1. This API is only used to query recording tasks created by the CreateRecordTask interface.
2. It cannot retrieve recording tasks that have been deleted by the DeleteRecordTask interface or tasks that have expired (platform retains for 3 months).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRecordTaskWithContext ¶
func (c *Client) DescribeRecordTaskWithContext(ctx context.Context, request *DescribeRecordTaskRequest) (response *DescribeRecordTaskResponse, err error)
DescribeRecordTask This API is used to retrieve a list of recording tasks that were started and ended within a specified time range.
- Prerequisites:
1. This API is only used to query recording tasks created by the CreateRecordTask interface.
2. It cannot retrieve recording tasks that have been deleted by the DeleteRecordTask interface or tasks that have expired (platform retains for 3 months).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScreenShotSheetNumList ¶
func (c *Client) DescribeScreenShotSheetNumList(request *DescribeScreenShotSheetNumListRequest) (response *DescribeScreenShotSheetNumListResponse, err error)
DescribeScreenShotSheetNumList The API is used to query the number of screenshots as an LVB value-added service.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeScreenShotSheetNumListWithContext ¶
func (c *Client) DescribeScreenShotSheetNumListWithContext(ctx context.Context, request *DescribeScreenShotSheetNumListRequest) (response *DescribeScreenShotSheetNumListResponse, err error)
DescribeScreenShotSheetNumList The API is used to query the number of screenshots as an LVB value-added service.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamDayPlayInfoList ¶
func (c *Client) DescribeStreamDayPlayInfoList(request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
DescribeStreamDayPlayInfoList This API is used to query the playback data of each stream at the day level, including the total traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamDayPlayInfoListWithContext ¶
func (c *Client) DescribeStreamDayPlayInfoListWithContext(ctx context.Context, request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
DescribeStreamDayPlayInfoList This API is used to query the playback data of each stream at the day level, including the total traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamPlayInfoList ¶
func (c *Client) DescribeStreamPlayInfoList(request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
DescribeStreamPlayInfoList This API is used to query the playback data. It supports querying the playback details by stream name and aggregated data by playback domain name. Data in the last 4 minutes or so cannot be queried due to delay.
Note: to query by `AppName`, you need to submit a ticket first. After your application succeeds, it will take about 5 business days (subject to the time in the reply) for the configuration to take effect.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamPlayInfoListWithContext ¶
func (c *Client) DescribeStreamPlayInfoListWithContext(ctx context.Context, request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
DescribeStreamPlayInfoList This API is used to query the playback data. It supports querying the playback details by stream name and aggregated data by playback domain name. Data in the last 4 minutes or so cannot be queried due to delay.
Note: to query by `AppName`, you need to submit a ticket first. After your application succeeds, it will take about 5 business days (subject to the time in the reply) for the configuration to take effect.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamPushInfoList ¶
func (c *Client) DescribeStreamPushInfoList(request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
DescribeStreamPushInfoList This API is used to get the push data of a stream, including the audio/video frame rate, bitrate, elapsed time, and codec.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeStreamPushInfoListWithContext ¶
func (c *Client) DescribeStreamPushInfoListWithContext(ctx context.Context, request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
DescribeStreamPushInfoList This API is used to get the push data of a stream, including the audio/video frame rate, bitrate, elapsed time, and codec.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeTimeShiftRecordDetail ¶
func (c *Client) DescribeTimeShiftRecordDetail(request *DescribeTimeShiftRecordDetailRequest) (response *DescribeTimeShiftRecordDetailResponse, err error)
DescribeTimeShiftRecordDetail This API is used to query the time shifting details of a specific time period (up to 24 hours). You need to call `DescribeTimeShiftStreamList` first to get the request parameters of this API.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTimeShiftRecordDetailWithContext ¶
func (c *Client) DescribeTimeShiftRecordDetailWithContext(ctx context.Context, request *DescribeTimeShiftRecordDetailRequest) (response *DescribeTimeShiftRecordDetailResponse, err error)
DescribeTimeShiftRecordDetail This API is used to query the time shifting details of a specific time period (up to 24 hours). You need to call `DescribeTimeShiftStreamList` first to get the request parameters of this API.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTimeShiftStreamList ¶
func (c *Client) DescribeTimeShiftStreamList(request *DescribeTimeShiftStreamListRequest) (response *DescribeTimeShiftStreamListResponse, err error)
DescribeTimeShiftStreamList This API is used to query the time shifted streams in a specific time period (up to 24 hours).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTimeShiftStreamListWithContext ¶
func (c *Client) DescribeTimeShiftStreamListWithContext(ctx context.Context, request *DescribeTimeShiftStreamListRequest) (response *DescribeTimeShiftStreamListResponse, err error)
DescribeTimeShiftStreamList This API is used to query the time shifted streams in a specific time period (up to 24 hours).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopClientIpSumInfoList ¶
func (c *Client) DescribeTopClientIpSumInfoList(request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
DescribeTopClientIpSumInfoList This API is used to query the information of the top n client IPs in a certain period of time (top 1,000 is supported currently).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeTopClientIpSumInfoListWithContext ¶
func (c *Client) DescribeTopClientIpSumInfoListWithContext(ctx context.Context, request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
DescribeTopClientIpSumInfoList This API is used to query the information of the top n client IPs in a certain period of time (top 1,000 is supported currently).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeTranscodeTaskNum ¶
func (c *Client) DescribeTranscodeTaskNum(request *DescribeTranscodeTaskNumRequest) (response *DescribeTranscodeTaskNumResponse, err error)
DescribeTranscodeTaskNum This API is used to query the number of transcoding tasks.
error code that may be returned:
RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeTranscodeTaskNumWithContext ¶
func (c *Client) DescribeTranscodeTaskNumWithContext(ctx context.Context, request *DescribeTranscodeTaskNumRequest) (response *DescribeTranscodeTaskNumResponse, err error)
DescribeTranscodeTaskNum This API is used to query the number of transcoding tasks.
error code that may be returned:
RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeUploadStreamNums ¶
func (c *Client) DescribeUploadStreamNums(request *DescribeUploadStreamNumsRequest) (response *DescribeUploadStreamNumsResponse, err error)
DescribeUploadStreamNums This API is used to query the number of LVB upstream channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeUploadStreamNumsWithContext ¶
func (c *Client) DescribeUploadStreamNumsWithContext(ctx context.Context, request *DescribeUploadStreamNumsRequest) (response *DescribeUploadStreamNumsResponse, err error)
DescribeUploadStreamNums This API is used to query the number of LVB upstream channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeVisitTopSumInfoList ¶
func (c *Client) DescribeVisitTopSumInfoList(request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
DescribeVisitTopSumInfoList This API is used to query the information of the top n domain names or stream IDs in a certain period of time (top 1,000 is supported currently).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DescribeVisitTopSumInfoListWithContext ¶
func (c *Client) DescribeVisitTopSumInfoListWithContext(ctx context.Context, request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
DescribeVisitTopSumInfoList This API is used to query the information of the top n domain names or stream IDs in a certain period of time (top 1,000 is supported currently).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) DropLiveStream ¶
func (c *Client) DropLiveStream(request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
DropLiveStream This API is used to pause a live stream. The stream can be resumed if it is paused.
Note: If you call this API to pause an inactive stream, the request will be considered successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DropLiveStreamWithContext ¶
func (c *Client) DropLiveStreamWithContext(ctx context.Context, request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
DropLiveStream This API is used to pause a live stream. The stream can be resumed if it is paused.
Note: If you call this API to pause an inactive stream, the request will be considered successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) EnableLiveDomain ¶
func (c *Client) EnableLiveDomain(request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
EnableLiveDomain This API is used to enable a disabled LVB domain name.
error code that may be returned:
FAILEDOPERATION_SDKNOPACKAGE = "FailedOperation.SdkNoPackage" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_CLOUDDOMAINISSTOP = "InvalidParameter.CloudDomainIsStop" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) EnableLiveDomainWithContext ¶
func (c *Client) EnableLiveDomainWithContext(ctx context.Context, request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
EnableLiveDomain This API is used to enable a disabled LVB domain name.
error code that may be returned:
FAILEDOPERATION_SDKNOPACKAGE = "FailedOperation.SdkNoPackage" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_CLOUDDOMAINISSTOP = "InvalidParameter.CloudDomainIsStop" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ForbidLiveDomain ¶
func (c *Client) ForbidLiveDomain(request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
ForbidLiveDomain This API is used to disable an LVB domain name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ForbidLiveDomainWithContext ¶
func (c *Client) ForbidLiveDomainWithContext(ctx context.Context, request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
ForbidLiveDomain This API is used to disable an LVB domain name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ForbidLiveStream ¶
func (c *Client) ForbidLiveStream(request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
ForbidLiveStream This API is used to disable a stream. You can set a time to resume the stream.
Note:
1. As long as the correct stream name is passed in, the stream will be disabled successfully.
2. If you want a stream to be disabled only if the push domain, push path, and stream name match, please submit a ticket.
3. If you have configured domain groups, you must pass in the correct push domain in order to disable a stream.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ForbidLiveStreamWithContext ¶
func (c *Client) ForbidLiveStreamWithContext(ctx context.Context, request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
ForbidLiveStream This API is used to disable a stream. You can set a time to resume the stream.
Note:
1. As long as the correct stream name is passed in, the stream will be disabled successfully.
2. If you want a stream to be disabled only if the push domain, push path, and stream name match, please submit a ticket.
3. If you have configured domain groups, you must pass in the correct push domain in order to disable a stream.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ModifyLiveCallbackTemplate ¶
func (c *Client) ModifyLiveCallbackTemplate(request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
ModifyLiveCallbackTemplate This API is used to modify a callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETER_URLNOTSAFE = "InvalidParameter.UrlNotSafe" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveCallbackTemplateWithContext ¶
func (c *Client) ModifyLiveCallbackTemplateWithContext(ctx context.Context, request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
ModifyLiveCallbackTemplate This API is used to modify a callback template.
error code that may be returned:
FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETER_URLNOTSAFE = "InvalidParameter.UrlNotSafe" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveDomainCertBindings ¶
func (c *Client) ModifyLiveDomainCertBindings(request *ModifyLiveDomainCertBindingsRequest) (response *ModifyLiveDomainCertBindingsResponse, err error)
ModifyLiveDomainCertBindings This API is used to bind a certificate to multiple playback domains and update the HTTPS configuration of the domains.
If a self-owned certificate is used, it will be automatically uploaded to Tencent Cloud’s SSL Certificate Service.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists" FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid" FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_CONFIGCDNFAILED = "FailedOperation.ConfigCDNFailed" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLOUDCRTIDERROR = "InvalidParameter.CloudCrtIdError" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATENOTFOUND = "InvalidParameter.CrtDateNotFound" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTDOMAINNOTFOUND = "InvalidParameter.CrtDomainNotFound" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch" INVALIDPARAMETER_CRTORKEYNOTEXIST = "InvalidParameter.CrtOrKeyNotExist" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" RESOURCENOTFOUND_CRTDATENOTFOUND = "ResourceNotFound.CrtDateNotFound" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveDomainCertBindingsWithContext ¶
func (c *Client) ModifyLiveDomainCertBindingsWithContext(ctx context.Context, request *ModifyLiveDomainCertBindingsRequest) (response *ModifyLiveDomainCertBindingsResponse, err error)
ModifyLiveDomainCertBindings This API is used to bind a certificate to multiple playback domains and update the HTTPS configuration of the domains.
If a self-owned certificate is used, it will be automatically uploaded to Tencent Cloud’s SSL Certificate Service.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists" FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid" FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_CONFIGCDNFAILED = "FailedOperation.ConfigCDNFailed" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLOUDCRTIDERROR = "InvalidParameter.CloudCrtIdError" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATENOTFOUND = "InvalidParameter.CrtDateNotFound" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTDOMAINNOTFOUND = "InvalidParameter.CrtDomainNotFound" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch" INVALIDPARAMETER_CRTORKEYNOTEXIST = "InvalidParameter.CrtOrKeyNotExist" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" RESOURCENOTFOUND_CRTDATENOTFOUND = "ResourceNotFound.CrtDateNotFound" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveDomainReferer ¶
func (c *Client) ModifyLiveDomainReferer(request *ModifyLiveDomainRefererRequest) (response *ModifyLiveDomainRefererResponse, err error)
ModifyLiveDomainReferer This API is used to configure referer allowlist/blocklist of a live streaming domain name.
Referer information is included in HTTP requests. After you enable referer configuration, live streams using RTMP or WebRTC for playback will not authenticate the referer and can be played back normally. To make the referer configuration effective, the HTTP-FLV or HLS protocol is recommended for playback.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveDomainRefererWithContext ¶
func (c *Client) ModifyLiveDomainRefererWithContext(ctx context.Context, request *ModifyLiveDomainRefererRequest) (response *ModifyLiveDomainRefererResponse, err error)
ModifyLiveDomainReferer This API is used to configure referer allowlist/blocklist of a live streaming domain name.
Referer information is included in HTTP requests. After you enable referer configuration, live streams using RTMP or WebRTC for playback will not authenticate the referer and can be played back normally. To make the referer configuration effective, the HTTP-FLV or HLS protocol is recommended for playback.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DOMAINNOTEXIST = "InternalError.DomainNotExist" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePlayAuthKey ¶
func (c *Client) ModifyLivePlayAuthKey(request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
ModifyLivePlayAuthKey This API is used to modify the playback authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePlayAuthKeyWithContext ¶
func (c *Client) ModifyLivePlayAuthKeyWithContext(ctx context.Context, request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
ModifyLivePlayAuthKey This API is used to modify the playback authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePlayDomain ¶
func (c *Client) ModifyLivePlayDomain(request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
ModifyLivePlayDomain This API is used to modify a playback domain name.
error code that may be returned:
FAILEDOPERATION_DOMAINGSLBFAIL = "FailedOperation.DomainGslbFail" INTERNALERROR = "InternalError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePlayDomainWithContext ¶
func (c *Client) ModifyLivePlayDomainWithContext(ctx context.Context, request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
ModifyLivePlayDomain This API is used to modify a playback domain name.
error code that may be returned:
FAILEDOPERATION_DOMAINGSLBFAIL = "FailedOperation.DomainGslbFail" INTERNALERROR = "InternalError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePullStreamTask ¶
func (c *Client) ModifyLivePullStreamTask(request *ModifyLivePullStreamTaskRequest) (response *ModifyLivePullStreamTaskResponse, err error)
ModifyLivePullStreamTask This API is used to modify a stream pulling task.
1. You cannot modify the destination URL. To publish to a new destination, please create a new task.
2. You cannot modify the source type. To use a different source type, please create a new task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCALLBACKURL = "InvalidParameter.InvalidCallbackUrl" INVALIDPARAMETER_INVALIDSOURCEURL = "InvalidParameter.InvalidSourceUrl" INVALIDPARAMETER_INVALIDTASKTIME = "InvalidParameter.InvalidTaskTime" INVALIDPARAMETER_INVALIDTOURL = "InvalidParameter.InvalidToUrl" INVALIDPARAMETER_INVALIDWATERMARK = "InvalidParameter.InvalidWatermark" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" INVALIDPARAMETER_TOURLNOPERMISSION = "InvalidParameter.ToUrlNoPermission" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ModifyLivePullStreamTaskWithContext ¶
func (c *Client) ModifyLivePullStreamTaskWithContext(ctx context.Context, request *ModifyLivePullStreamTaskRequest) (response *ModifyLivePullStreamTaskResponse, err error)
ModifyLivePullStreamTask This API is used to modify a stream pulling task.
1. You cannot modify the destination URL. To publish to a new destination, please create a new task.
2. You cannot modify the source type. To use a different source type, please create a new task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCALLBACKURL = "InvalidParameter.InvalidCallbackUrl" INVALIDPARAMETER_INVALIDSOURCEURL = "InvalidParameter.InvalidSourceUrl" INVALIDPARAMETER_INVALIDTASKTIME = "InvalidParameter.InvalidTaskTime" INVALIDPARAMETER_INVALIDTOURL = "InvalidParameter.InvalidToUrl" INVALIDPARAMETER_INVALIDWATERMARK = "InvalidParameter.InvalidWatermark" INVALIDPARAMETER_TASKNOTEXIST = "InvalidParameter.TaskNotExist" INVALIDPARAMETER_TOURLNOPERMISSION = "InvalidParameter.ToUrlNoPermission" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ModifyLivePushAuthKey ¶
func (c *Client) ModifyLivePushAuthKey(request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
ModifyLivePushAuthKey This API is used to modify the LVB push authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PUSHDOMAINNORECORD = "InternalError.PushDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLivePushAuthKeyWithContext ¶
func (c *Client) ModifyLivePushAuthKeyWithContext(ctx context.Context, request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
ModifyLivePushAuthKey This API is used to modify the LVB push authentication key.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PUSHDOMAINNORECORD = "InternalError.PushDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveRecordTemplate ¶
func (c *Client) ModifyLiveRecordTemplate(request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
ModifyLiveRecordTemplate This API is used to modify the recording template configuration.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveRecordTemplateWithContext ¶
func (c *Client) ModifyLiveRecordTemplateWithContext(ctx context.Context, request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
ModifyLiveRecordTemplate This API is used to modify the recording template configuration.
error code that may be returned:
FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveSnapshotTemplate ¶
func (c *Client) ModifyLiveSnapshotTemplate(request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
ModifyLiveSnapshotTemplate This API is used to modify the screencapturing template configuration.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_COSBUCKETNOTEXIST = "FailedOperation.CosBucketNotExist" FAILEDOPERATION_COSBUCKETNOTPERMISSION = "FailedOperation.CosBucketNotPermission" FAILEDOPERATION_COSROLENOTEXISTS = "FailedOperation.CosRoleNotExists" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveSnapshotTemplateWithContext ¶
func (c *Client) ModifyLiveSnapshotTemplateWithContext(ctx context.Context, request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
ModifyLiveSnapshotTemplate This API is used to modify the screencapturing template configuration.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_COSBUCKETNOTEXIST = "FailedOperation.CosBucketNotExist" FAILEDOPERATION_COSBUCKETNOTPERMISSION = "FailedOperation.CosBucketNotPermission" FAILEDOPERATION_COSROLENOTEXISTS = "FailedOperation.CosRoleNotExists" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COSCUSTOMFILENAMEERROR = "InvalidParameter.COSCustomFileNameError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveTimeShiftTemplate ¶
func (c *Client) ModifyLiveTimeShiftTemplate(request *ModifyLiveTimeShiftTemplateRequest) (response *ModifyLiveTimeShiftTemplateResponse, err error)
ModifyLiveTimeShiftTemplate This API is used to modify a time shifting template.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveTimeShiftTemplateWithContext ¶
func (c *Client) ModifyLiveTimeShiftTemplateWithContext(ctx context.Context, request *ModifyLiveTimeShiftTemplateRequest) (response *ModifyLiveTimeShiftTemplateResponse, err error)
ModifyLiveTimeShiftTemplate This API is used to modify a time shifting template.
error code that may be returned:
FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_CONFOUTLIMIT = "InternalError.ConfOutLimit" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveTranscodeTemplate ¶
func (c *Client) ModifyLiveTranscodeTemplate(request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
ModifyLiveTranscodeTemplate This API is used to modify the transcoding template configuration.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_PROCESSORALREADYEXIST = "InternalError.ProcessorAlreadyExist" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_GOPMUSTEQUALANDEXISTS = "InvalidParameter.GopMustEqualAndExists" INVALIDPARAMETER_PROCESSORALREADYEXIST = "InvalidParameter.ProcessorAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ModifyLiveTranscodeTemplateWithContext ¶
func (c *Client) ModifyLiveTranscodeTemplateWithContext(ctx context.Context, request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
ModifyLiveTranscodeTemplate This API is used to modify the transcoding template configuration.
error code that may be returned:
FAILEDOPERATION_AITRANSCODEOPTIONFAIL = "FailedOperation.AiTranscodeOptionFail" FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" INTERNALERROR = "InternalError" INTERNALERROR_ARGSNOTMATCH = "InternalError.ArgsNotMatch" INTERNALERROR_CONFINUSED = "InternalError.ConfInUsed" INTERNALERROR_CONFNOTFOUND = "InternalError.ConfNotFound" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_NOTFOUND = "InternalError.NotFound" INTERNALERROR_PROCESSORALREADYEXIST = "InternalError.ProcessorAlreadyExist" INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ARGSNOTMATCH = "InvalidParameter.ArgsNotMatch" INVALIDPARAMETER_GOPMUSTEQUALANDEXISTS = "InvalidParameter.GopMustEqualAndExists" INVALIDPARAMETER_PROCESSORALREADYEXIST = "InvalidParameter.ProcessorAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) ResumeDelayLiveStream ¶
func (c *Client) ResumeDelayLiveStream(request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
ResumeDelayLiveStream This API is used to cancel the delay setting and recover the real-time display of the live streaming image.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResumeDelayLiveStreamWithContext ¶
func (c *Client) ResumeDelayLiveStreamWithContext(ctx context.Context, request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
ResumeDelayLiveStream This API is used to cancel the delay setting and recover the real-time display of the live streaming image.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResumeLiveStream ¶
func (c *Client) ResumeLiveStream(request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
ResumeLiveStream This API is used to resume the push of a specific stream.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ResumeLiveStreamWithContext ¶
func (c *Client) ResumeLiveStreamWithContext(ctx context.Context, request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
ResumeLiveStream This API is used to resume the push of a specific stream.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" INTERNALERROR = "InternalError" INTERNALERROR_CALLOTHERSVRERROR = "InternalError.CallOtherSvrError" INTERNALERROR_CONFIGNOTEXIST = "InternalError.ConfigNotExist" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_GETSTREAMINFOERROR = "InternalError.GetStreamInfoError" INTERNALERROR_GETUPSTREAMINFOERROR = "InternalError.GetUpstreamInfoError" INTERNALERROR_NOTPERMMITOPERAT = "InternalError.NotPermmitOperat" INTERNALERROR_STREAMSTATUSERROR = "InternalError.StreamStatusError" INTERNALERROR_UPDATEDATAERROR = "InternalError.UpdateDataError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) StopLiveRecord ¶
func (c *Client) StopLiveRecord(request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
StopLiveRecord Note: Recording files are stored on the VOD platform. To use the recording feature, you need to activate a VOD account and ensure that it is available. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing method. For more information, please see the corresponding document.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) StopLiveRecordWithContext ¶
func (c *Client) StopLiveRecordWithContext(ctx context.Context, request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
StopLiveRecord Note: Recording files are stored on the VOD platform. To use the recording feature, you need to activate a VOD account and ensure that it is available. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing method. For more information, please see the corresponding document.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CHANNELNOTEXIST = "ResourceNotFound.ChannelNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) StopRecordTask ¶
func (c *Client) StopRecordTask(request *StopRecordTaskRequest) (response *StopRecordTaskResponse, err error)
StopRecordTask This API is used to terminate an ongoing recording task and generate a recording file.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) StopRecordTaskWithContext ¶
func (c *Client) StopRecordTaskWithContext(ctx context.Context, request *StopRecordTaskRequest) (response *StopRecordTaskResponse, err error)
StopRecordTask This API is used to terminate an ongoing recording task and generate a recording file.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnBindLiveDomainCert ¶
func (c *Client) UnBindLiveDomainCert(request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
UnBindLiveDomainCert This API is used to unbind a domain name certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) UnBindLiveDomainCertWithContext ¶
func (c *Client) UnBindLiveDomainCertWithContext(ctx context.Context, request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
UnBindLiveDomainCert This API is used to unbind a domain name certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService"
func (*Client) UpdateLiveWatermark ¶
func (c *Client) UpdateLiveWatermark(request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
UpdateLiveWatermark This API is used to update a watermark.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_WATERMARKEDITERROR = "InternalError.WatermarkEditError" INTERNALERROR_WATERMARKNOTEXIST = "InternalError.WatermarkNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_WATERMARKNOTEXIST = "ResourceNotFound.WatermarkNotExist"
func (*Client) UpdateLiveWatermarkWithContext ¶
func (c *Client) UpdateLiveWatermarkWithContext(ctx context.Context, request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
UpdateLiveWatermark This API is used to update a watermark.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" INTERNALERROR_WATERMARKEDITERROR = "InternalError.WatermarkEditError" INTERNALERROR_WATERMARKNOTEXIST = "InternalError.WatermarkNotExist" RESOURCENOTFOUND_FORBIDSERVICE = "ResourceNotFound.ForbidService" RESOURCENOTFOUND_FREEZESERVICE = "ResourceNotFound.FreezeService" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService" RESOURCENOTFOUND_USERDISABLESERVICE = "ResourceNotFound.UserDisableService" RESOURCENOTFOUND_WATERMARKNOTEXIST = "ResourceNotFound.WatermarkNotExist"
type ClientIpPlaySumInfo ¶
type ClientIpPlaySumInfo struct { // Client IP in dotted-decimal notation. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // District where the client is located. Province *string `json:"Province,omitempty" name:"Province"` // Total traffic. TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // Total number of requests. TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // Total number of failed requests. TotalFailedRequest *uint64 `json:"TotalFailedRequest,omitempty" name:"TotalFailedRequest"` // Country/region where the client is located. CountryArea *string `json:"CountryArea,omitempty" name:"CountryArea"` }
type CommonMixControlParams ¶
type CommonMixControlParams struct { // Value range: [0,1]. // If 1 is entered, when the layer resolution in the parameter is different from the actual video resolution, the video will be automatically cropped according to the resolution set by the layer. UseMixCropCenter *int64 `json:"UseMixCropCenter,omitempty" name:"UseMixCropCenter"` // Value range: [0,1]. // If this parameter is set to 1, when both `InputStreamList` and `OutputParams.OutputStreamType` are set to 1, you can copy a stream instead of canceling it. AllowCopy *int64 `json:"AllowCopy,omitempty" name:"AllowCopy"` // Valid values: 0, 1 // If you set this parameter to 1, SEI (Supplemental Enhanced Information) of the input streams will be passed through. PassInputSei *int64 `json:"PassInputSei,omitempty" name:"PassInputSei"` }
type CommonMixCropParams ¶
type CommonMixCropParams struct { // Crop width. Value range: [0,2000]. CropWidth *float64 `json:"CropWidth,omitempty" name:"CropWidth"` // Crop height. Value range: [0,2000]. CropHeight *float64 `json:"CropHeight,omitempty" name:"CropHeight"` // Starting crop X coordinate. Value range: [0,2000]. CropStartLocationX *float64 `json:"CropStartLocationX,omitempty" name:"CropStartLocationX"` // Starting crop Y coordinate. Value range: [0,2000]. CropStartLocationY *float64 `json:"CropStartLocationY,omitempty" name:"CropStartLocationY"` }
type CommonMixInputParam ¶
type CommonMixInputParam struct { // Input stream name, which can contain up to 80 bytes of letters, digits, and underscores. // The value should be the name of an input stream for stream mix when `LayoutParams.InputType` is set to `0` (audio and video), `4` (pure audio), or `5` (pure video). // The value can be a random name for identification, such as `Canvas1` or `Picture1`, when `LayoutParams.InputType` is set to `2` (image) or `3` (canvas). InputStreamName *string `json:"InputStreamName,omitempty" name:"InputStreamName"` // Input stream layout parameter. LayoutParams *CommonMixLayoutParams `json:"LayoutParams,omitempty" name:"LayoutParams"` // Input stream crop parameter. CropParams *CommonMixCropParams `json:"CropParams,omitempty" name:"CropParams"` }
type CommonMixLayoutParams ¶
type CommonMixLayoutParams struct { // Input layer. Value range: [1,16] // (1) For the background stream, i.e., the room owner’s image or the canvas, set this parameter to `1`. // (2) This parameter is required for audio-only stream mixing as well. // Note that two inputs cannot have the same `ImageLayer` value. ImageLayer *int64 `json:"ImageLayer,omitempty" name:"ImageLayer"` // Input type. Value range: [0,5]. // If this parameter is left empty, 0 will be used by default. // 0: the input stream is audio/video. // 2: the input stream is image. // 3: the input stream is canvas. // 4: the input stream is audio. // 5: the input stream is pure video. InputType *int64 `json:"InputType,omitempty" name:"InputType"` // Output height of input video image. Value range: // Pixel: [0,2000] // Percentage: [0.01,0.99] // If this parameter is left empty, the input stream height will be used by default. // If percentage is used, the expected output is (percentage * background height). ImageHeight *float64 `json:"ImageHeight,omitempty" name:"ImageHeight"` // Output width of input video image. Value range: // Pixel: [0,2000] // Percentage: [0.01,0.99] // If this parameter is left empty, the input stream width will be used by default. // If percentage is used, the expected output is (percentage * background width). ImageWidth *float64 `json:"ImageWidth,omitempty" name:"ImageWidth"` // X-axis offset of input in output video image. Value range: // Pixel: [0,2000] // Percentage: [0.01,0.99] // If this parameter is left empty, 0 will be used by default. // Horizontal offset from the top-left corner of main host background video image. // If percentage is used, the expected output is (percentage * background width). LocationX *float64 `json:"LocationX,omitempty" name:"LocationX"` // Y-axis offset of input in output video image. Value range: // Pixel: [0,2000] // Percentage: [0.01,0.99] // If this parameter is left empty, 0 will be used by default. // Vertical offset from the top-left corner of main host background video image. // If percentage is used, the expected output is (percentage * background width) LocationY *float64 `json:"LocationY,omitempty" name:"LocationY"` // When `InputType` is 3 (canvas), this value indicates the canvas color. // Commonly used colors include: // Red: 0xcc0033. // Yellow: 0xcc9900. // Green: 0xcccc33. // Blue: 0x99CCFF. // Black: 0x000000. // White: 0xFFFFFF. // Gray: 0x999999 Color *string `json:"Color,omitempty" name:"Color"` // When `InputType` is 2 (image), this value is the watermark ID. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
type CommonMixOutputParams ¶
type CommonMixOutputParams struct { // Output stream name. OutputStreamName *string `json:"OutputStreamName,omitempty" name:"OutputStreamName"` // Output stream type. Valid values: [0,1]. // If this parameter is left empty, 0 will be used by default. // If the output stream is a stream in the input stream list, enter 0. // If you want the stream mix result to be a new stream, enter 1. // If this value is 1, `output_stream_id` cannot appear in `input_stram_list`, and there cannot be a stream with the same ID on the LVB backend. OutputStreamType *int64 `json:"OutputStreamType,omitempty" name:"OutputStreamType"` // The output bitrate. Value range: 1-10000. // If you do not specify this, the system will select a bitrate automatically. OutputStreamBitRate *int64 `json:"OutputStreamBitRate,omitempty" name:"OutputStreamBitRate"` // Output stream GOP size. Value range: [1,10]. // If this parameter is left empty, the system will automatically determine. OutputStreamGop *int64 `json:"OutputStreamGop,omitempty" name:"OutputStreamGop"` // Output stream frame rate. Value range: [1,60]. // If this parameter is left empty, the system will automatically determine. OutputStreamFrameRate *int64 `json:"OutputStreamFrameRate,omitempty" name:"OutputStreamFrameRate"` // Output stream audio bitrate. Value range: [1,500] // If this parameter is left empty, the system will automatically determine. OutputAudioBitRate *int64 `json:"OutputAudioBitRate,omitempty" name:"OutputAudioBitRate"` // Output stream audio sample rate. Valid values: [96000, 88200, 64000, 48000, 44100, 32000,24000, 22050, 16000, 12000, 11025, 8000]. // If this parameter is left empty, the system will automatically determine. OutputAudioSampleRate *int64 `json:"OutputAudioSampleRate,omitempty" name:"OutputAudioSampleRate"` // Output stream audio sound channel. Valid values: [1,2]. // If this parameter is left empty, the system will automatically determine. OutputAudioChannels *int64 `json:"OutputAudioChannels,omitempty" name:"OutputAudioChannels"` // SEI information in output stream. If there are no special needs, leave it empty. MixSei *string `json:"MixSei,omitempty" name:"MixSei"` }
type CreateCommonMixStreamRequest ¶
type CreateCommonMixStreamRequest struct { *tchttp.BaseRequest // ID of a stream mix session (from applying for the stream mix to cancelling it). This parameter can contain up to 80 bytes of letters, digits, and underscores. MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"` // Input stream list for stream mix. InputStreamList []*CommonMixInputParam `json:"InputStreamList,omitempty" name:"InputStreamList"` // Output stream parameter for stream mix. OutputParams *CommonMixOutputParams `json:"OutputParams,omitempty" name:"OutputParams"` // Input template ID. If this parameter is set, the output will be generated according to the default template layout, and there is no need to enter the custom position parameters. // If this parameter is left empty, 0 will be used by default. // For two input sources, 10, 20, 30, 40, and 50 are supported. // For three input sources, 310, 390, and 391 are supported. // For four input sources, 410 is supported. // For five input sources, 510 and 590 are supported. // For six input sources, 610 is supported. MixStreamTemplateId *int64 `json:"MixStreamTemplateId,omitempty" name:"MixStreamTemplateId"` // Special control parameter for stream mix. If there are no special needs, leave it empty. ControlParams *CommonMixControlParams `json:"ControlParams,omitempty" name:"ControlParams"` }
func NewCreateCommonMixStreamRequest ¶
func NewCreateCommonMixStreamRequest() (request *CreateCommonMixStreamRequest)
func (*CreateCommonMixStreamRequest) FromJsonString ¶
func (r *CreateCommonMixStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCommonMixStreamRequest) ToJsonString ¶
func (r *CreateCommonMixStreamRequest) ToJsonString() string
type CreateCommonMixStreamRequestParams ¶
type CreateCommonMixStreamRequestParams struct { // ID of a stream mix session (from applying for the stream mix to cancelling it). This parameter can contain up to 80 bytes of letters, digits, and underscores. MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"` // Input stream list for stream mix. InputStreamList []*CommonMixInputParam `json:"InputStreamList,omitempty" name:"InputStreamList"` // Output stream parameter for stream mix. OutputParams *CommonMixOutputParams `json:"OutputParams,omitempty" name:"OutputParams"` // Input template ID. If this parameter is set, the output will be generated according to the default template layout, and there is no need to enter the custom position parameters. // If this parameter is left empty, 0 will be used by default. // For two input sources, 10, 20, 30, 40, and 50 are supported. // For three input sources, 310, 390, and 391 are supported. // For four input sources, 410 is supported. // For five input sources, 510 and 590 are supported. // For six input sources, 610 is supported. MixStreamTemplateId *int64 `json:"MixStreamTemplateId,omitempty" name:"MixStreamTemplateId"` // Special control parameter for stream mix. If there are no special needs, leave it empty. ControlParams *CommonMixControlParams `json:"ControlParams,omitempty" name:"ControlParams"` }
Predefined struct for user
type CreateCommonMixStreamResponse ¶
type CreateCommonMixStreamResponse struct { *tchttp.BaseResponse Response *CreateCommonMixStreamResponseParams `json:"Response"` }
func NewCreateCommonMixStreamResponse ¶
func NewCreateCommonMixStreamResponse() (response *CreateCommonMixStreamResponse)
func (*CreateCommonMixStreamResponse) FromJsonString ¶
func (r *CreateCommonMixStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCommonMixStreamResponse) ToJsonString ¶
func (r *CreateCommonMixStreamResponse) ToJsonString() string
type CreateCommonMixStreamResponseParams ¶
type CreateCommonMixStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveCallbackRuleRequest ¶
type CreateLiveCallbackRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveCallbackRuleRequest ¶
func NewCreateLiveCallbackRuleRequest() (request *CreateLiveCallbackRuleRequest)
func (*CreateLiveCallbackRuleRequest) FromJsonString ¶
func (r *CreateLiveCallbackRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveCallbackRuleRequest) ToJsonString ¶
func (r *CreateLiveCallbackRuleRequest) ToJsonString() string
type CreateLiveCallbackRuleRequestParams ¶
type CreateLiveCallbackRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type CreateLiveCallbackRuleResponse ¶
type CreateLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveCallbackRuleResponseParams `json:"Response"` }
func NewCreateLiveCallbackRuleResponse ¶
func NewCreateLiveCallbackRuleResponse() (response *CreateLiveCallbackRuleResponse)
func (*CreateLiveCallbackRuleResponse) FromJsonString ¶
func (r *CreateLiveCallbackRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveCallbackRuleResponse) ToJsonString ¶
func (r *CreateLiveCallbackRuleResponse) ToJsonString() string
type CreateLiveCallbackRuleResponseParams ¶
type CreateLiveCallbackRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveCallbackTemplateRequest ¶
type CreateLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // Template name. // Maximum length: 255 bytes. // Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. // Maximum length: 1,024 bytes. // Only letters, digits, underscores, and hyphens can be contained. Description *string `json:"Description,omitempty" name:"Description"` // Stream starting callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // Interruption callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // Recording callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // Screencapturing callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // Porn detection callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32741?from_cn_redirect=1). PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // Callback key. The callback URL is public. For the callback signature, please see the event message notification document. // [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` // Disused StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"` // The push error callback URL. PushExceptionNotifyUrl *string `json:"PushExceptionNotifyUrl,omitempty" name:"PushExceptionNotifyUrl"` }
func NewCreateLiveCallbackTemplateRequest ¶
func NewCreateLiveCallbackTemplateRequest() (request *CreateLiveCallbackTemplateRequest)
func (*CreateLiveCallbackTemplateRequest) FromJsonString ¶
func (r *CreateLiveCallbackTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveCallbackTemplateRequest) ToJsonString ¶
func (r *CreateLiveCallbackTemplateRequest) ToJsonString() string
type CreateLiveCallbackTemplateRequestParams ¶
type CreateLiveCallbackTemplateRequestParams struct { // Template name. // Maximum length: 255 bytes. // Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. // Maximum length: 1,024 bytes. // Only letters, digits, underscores, and hyphens can be contained. Description *string `json:"Description,omitempty" name:"Description"` // Stream starting callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // Interruption callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // Recording callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // Screencapturing callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // Porn detection callback URL, // Protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32741?from_cn_redirect=1). PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // Callback key. The callback URL is public. For the callback signature, please see the event message notification document. // [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` // Disused StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"` // The push error callback URL. PushExceptionNotifyUrl *string `json:"PushExceptionNotifyUrl,omitempty" name:"PushExceptionNotifyUrl"` }
Predefined struct for user
type CreateLiveCallbackTemplateResponse ¶
type CreateLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *CreateLiveCallbackTemplateResponseParams `json:"Response"` }
func NewCreateLiveCallbackTemplateResponse ¶
func NewCreateLiveCallbackTemplateResponse() (response *CreateLiveCallbackTemplateResponse)
func (*CreateLiveCallbackTemplateResponse) FromJsonString ¶
func (r *CreateLiveCallbackTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveCallbackTemplateResponse) ToJsonString ¶
func (r *CreateLiveCallbackTemplateResponse) ToJsonString() string
type CreateLiveCallbackTemplateResponseParams ¶
type CreateLiveCallbackTemplateResponseParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLivePullStreamTaskRequest ¶
type CreateLivePullStreamTaskRequest struct { *tchttp.BaseRequest // The source type. Valid values: // PullLivePushLive: Live streaming // PullVodPushLive: Video files // PullPicPushLive: Images SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // The source URL(s). // If `SourceType` is `PullLivePushLive`, you can specify only one source URL. // If `SourceType` is `PullVodPushLive`, you can specify at most 30 source URLs. // Supported file formats: FLV, MP4, HLS. // Supported protocols: HTTP, HTTPS, RTMP, RTMPS, RTSP, SRT. // Notes: // 1. We recommend you use FLV files as the source. Poorly interleaved MP4 files may result in playback stuttering. You can also re-interleave your MP4 files before adding them as the source. // 2. Do not use private network domains or malicious URLs. CSS will block accounts that do. // 3. To avoid push and playback issues, make sure the source files are properly interleaved. // 4. Supported video coding formats: H.264, H.265. // 5. Supported audio coding format: AAC. // 6. Use small video files, preferably not longer than one hour. Large files may take a long time to load or resume after pause. Relay may fail if the time consumed exceeds 15 seconds. SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"` // The push domain name. // The pulled stream is pushed to this domain. // Note: If the destination is not a CSS address and its format is different from that of CSS addresses, pass the full address to `ToUrl`. For details, see the description of the `ToUrl` parameter. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The application to push to. // The pulled stream is pushed to this application. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // The pulled stream is pushed under this name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time. Notes: // 1. The end time must be later than the start time. // 2. The end time and start time must be later than the current time. // 3. The end time and start time must be less than seven days apart. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` // The push parameter. // This is a custom parameter carried during push. // Example: // bak=1&test=2 PushArgs *string `json:"PushArgs,omitempty" name:"PushArgs"` // The events to listen for. If you do not pass this parameter, all events will be listened for. // TaskStart: Callback for starting a task // TaskExit: Callback for ending a task // VodSourceFileStart: Callback for starting to pull from video files // VodSourceFileFinish: Callback for stopping pulling from video files // ResetTaskConfig: Callback for modifying a task // // `TaskAlarm` indicates a warning event. `AlarmType` examples: // PullFileUnstable: Pull from video files is unstable. // PushStreamUnstable: Push is unstable. // PullFileFailed: Error pulling from video files. // PushStreamFailed: Push error. // FileEndEarly: The video file ended prematurely. CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"` // The number of times to loop video files. Default value: -1. // -1: Loop indefinitely // 0: Do not loop // > 0: The number of loop times. A task will end either when the videos are looped for the specified number of times or at the specified task end time, whichever is earlier. // This parameter is valid only when the source is video files. VodLoopTimes *string `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"` // The behavior after the source video files (`SourceUrls`) are changed. // ImmediateNewSource: Play the new videos immediately // ContinueBreakPoint: Play the new videos after the current video is finished playing (the remaining videos in the old playlist will not be played). // // This parameter is valid only if the source before the change is video files. VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"` // A custom callback URL. // Callbacks about pull and relay events will be sent to this URL. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // Other parameters. // For example, you can use `ignore_region` to ignore the region passed in and assign a region based on load distribution. ExtraCmd *string `json:"ExtraCmd,omitempty" name:"ExtraCmd"` // The remarks for a task, not longer than 512 bytes. Comment *string `json:"Comment,omitempty" name:"Comment"` // The complete destination URL. // If you specify this parameter, make sure you pass in an empty string for `DomainName`, `AppName`, and `StreamName`. // // Note: Make sure that the expiration time of the signature is later than the task end time. ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"` // The backup source type. // PullLivePushLive: Live streaming // PullVodPushLive: Video files // Notes: // 1. Backup sources are supported only if the primary source type is live streaming. // 2. When pull from the primary source is interrupted, the system will pull from the backup source. // 3. If the backup source is a video file, each time the video is finished, the system will check if the primary source is recovered and will switch back if it is. BackupSourceType *string `json:"BackupSourceType,omitempty" name:"BackupSourceType"` // The URL of the backup source. // You can specify only one backup source URL. BackupSourceUrl *string `json:"BackupSourceUrl,omitempty" name:"BackupSourceUrl"` // The information of watermarks to add. // Notes: // 1. You can add up to four watermarks to different locations of the video. // 2. Make sure you use publicly accessible URLs for the watermark images. // 3. Supported image formats include PNG, JPG, and GIF. WatermarkList []*PullPushWatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // Whether to use local mode when the source type is video files. The default is `0`. // 0: Do not use local mode // 1: Use local mode // Note: If you enable local mode, MP4 files will be downloaded to local storage, and the local files will be used for push. This ensures more reliable push. Pushing a local file will incur additional fees. VodLocalMode *int64 `json:"VodLocalMode,omitempty" name:"VodLocalMode"` }
func NewCreateLivePullStreamTaskRequest ¶
func NewCreateLivePullStreamTaskRequest() (request *CreateLivePullStreamTaskRequest)
func (*CreateLivePullStreamTaskRequest) FromJsonString ¶
func (r *CreateLivePullStreamTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLivePullStreamTaskRequest) ToJsonString ¶
func (r *CreateLivePullStreamTaskRequest) ToJsonString() string
type CreateLivePullStreamTaskRequestParams ¶
type CreateLivePullStreamTaskRequestParams struct { // The source type. Valid values: // PullLivePushLive: Live streaming // PullVodPushLive: Video files // PullPicPushLive: Images SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // The source URL(s). // If `SourceType` is `PullLivePushLive`, you can specify only one source URL. // If `SourceType` is `PullVodPushLive`, you can specify at most 30 source URLs. // Supported file formats: FLV, MP4, HLS. // Supported protocols: HTTP, HTTPS, RTMP, RTMPS, RTSP, SRT. // Notes: // 1. We recommend you use FLV files as the source. Poorly interleaved MP4 files may result in playback stuttering. You can also re-interleave your MP4 files before adding them as the source. // 2. Do not use private network domains or malicious URLs. CSS will block accounts that do. // 3. To avoid push and playback issues, make sure the source files are properly interleaved. // 4. Supported video coding formats: H.264, H.265. // 5. Supported audio coding format: AAC. // 6. Use small video files, preferably not longer than one hour. Large files may take a long time to load or resume after pause. Relay may fail if the time consumed exceeds 15 seconds. SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"` // The push domain name. // The pulled stream is pushed to this domain. // Note: If the destination is not a CSS address and its format is different from that of CSS addresses, pass the full address to `ToUrl`. For details, see the description of the `ToUrl` parameter. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The application to push to. // The pulled stream is pushed to this application. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // The pulled stream is pushed under this name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time. Notes: // 1. The end time must be later than the start time. // 2. The end time and start time must be later than the current time. // 3. The end time and start time must be less than seven days apart. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` // The push parameter. // This is a custom parameter carried during push. // Example: // bak=1&test=2 PushArgs *string `json:"PushArgs,omitempty" name:"PushArgs"` // The events to listen for. If you do not pass this parameter, all events will be listened for. // TaskStart: Callback for starting a task // TaskExit: Callback for ending a task // VodSourceFileStart: Callback for starting to pull from video files // VodSourceFileFinish: Callback for stopping pulling from video files // ResetTaskConfig: Callback for modifying a task // // `TaskAlarm` indicates a warning event. `AlarmType` examples: // PullFileUnstable: Pull from video files is unstable. // PushStreamUnstable: Push is unstable. // PullFileFailed: Error pulling from video files. // PushStreamFailed: Push error. // FileEndEarly: The video file ended prematurely. CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"` // The number of times to loop video files. Default value: -1. // -1: Loop indefinitely // 0: Do not loop // > 0: The number of loop times. A task will end either when the videos are looped for the specified number of times or at the specified task end time, whichever is earlier. // This parameter is valid only when the source is video files. VodLoopTimes *string `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"` // The behavior after the source video files (`SourceUrls`) are changed. // ImmediateNewSource: Play the new videos immediately // ContinueBreakPoint: Play the new videos after the current video is finished playing (the remaining videos in the old playlist will not be played). // // This parameter is valid only if the source before the change is video files. VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"` // A custom callback URL. // Callbacks about pull and relay events will be sent to this URL. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // Other parameters. // For example, you can use `ignore_region` to ignore the region passed in and assign a region based on load distribution. ExtraCmd *string `json:"ExtraCmd,omitempty" name:"ExtraCmd"` // The remarks for a task, not longer than 512 bytes. Comment *string `json:"Comment,omitempty" name:"Comment"` // The complete destination URL. // If you specify this parameter, make sure you pass in an empty string for `DomainName`, `AppName`, and `StreamName`. // // Note: Make sure that the expiration time of the signature is later than the task end time. ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"` // The backup source type. // PullLivePushLive: Live streaming // PullVodPushLive: Video files // Notes: // 1. Backup sources are supported only if the primary source type is live streaming. // 2. When pull from the primary source is interrupted, the system will pull from the backup source. // 3. If the backup source is a video file, each time the video is finished, the system will check if the primary source is recovered and will switch back if it is. BackupSourceType *string `json:"BackupSourceType,omitempty" name:"BackupSourceType"` // The URL of the backup source. // You can specify only one backup source URL. BackupSourceUrl *string `json:"BackupSourceUrl,omitempty" name:"BackupSourceUrl"` // The information of watermarks to add. // Notes: // 1. You can add up to four watermarks to different locations of the video. // 2. Make sure you use publicly accessible URLs for the watermark images. // 3. Supported image formats include PNG, JPG, and GIF. WatermarkList []*PullPushWatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // Whether to use local mode when the source type is video files. The default is `0`. // 0: Do not use local mode // 1: Use local mode // Note: If you enable local mode, MP4 files will be downloaded to local storage, and the local files will be used for push. This ensures more reliable push. Pushing a local file will incur additional fees. VodLocalMode *int64 `json:"VodLocalMode,omitempty" name:"VodLocalMode"` }
Predefined struct for user
type CreateLivePullStreamTaskResponse ¶
type CreateLivePullStreamTaskResponse struct { *tchttp.BaseResponse Response *CreateLivePullStreamTaskResponseParams `json:"Response"` }
func NewCreateLivePullStreamTaskResponse ¶
func NewCreateLivePullStreamTaskResponse() (response *CreateLivePullStreamTaskResponse)
func (*CreateLivePullStreamTaskResponse) FromJsonString ¶
func (r *CreateLivePullStreamTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLivePullStreamTaskResponse) ToJsonString ¶
func (r *CreateLivePullStreamTaskResponse) ToJsonString() string
type CreateLivePullStreamTaskResponseParams ¶
type CreateLivePullStreamTaskResponseParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveRecordRequest ¶
type CreateLiveRecordRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. This parameter must be set for multi-domain name push. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Recording start time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:10:01 is 2017-01-01+10%3a10%3a01. // In scheduled recording mode, this field must be set; in real-time video recording mode, this field is ignored. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Recording end time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:30:01 is 2017-01-01+10%3a30%3a01. // In scheduled recording mode, this field must be set; in real-time video recording mode, this field is optional. If the recording is set to real-time video recording mode through the `Highlight` parameter, the set end time should not be more than 30 minutes after the current time. If the set end time is more than 30 minutes after the current time, earlier than the current time, or left empty, the actual end time will be 30 minutes after the current time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Recording type. // "video": Audio-video recording **(default)**. // "audio": audio recording. // In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Recording file format. Valid values: // "flv" **(default)**, "hls", "mp4", "aac", "mp3". // In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive. FileFormat *string `json:"FileFormat,omitempty" name:"FileFormat"` // Mark for enabling real-time video recording mode. // 0: Real-time video recording mode is not enabled, i.e., the scheduled recording mode is used **(default)**. See [Sample 1](#.E7.A4.BA.E4.BE.8B1-.E5.88.9B.E5.BB.BA.E5.AE.9A.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1). // 1: Real-time video recording mode is enabled. See [Sample 2](#.E7.A4.BA.E4.BE.8B2-.E5.88.9B.E5.BB.BA.E5.AE.9E.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1). Highlight *int64 `json:"Highlight,omitempty" name:"Highlight"` // Flag for enabling A+B=C mixed stream recording. // 0: A+B=C mixed stream recording is not enabled **(default)**. // 1: A+B=C mixed stream recording is enabled. // In both scheduled and real-time video recording modes, this parameter is valid. MixStream *int64 `json:"MixStream,omitempty" name:"MixStream"` // Recording stream parameter. The following parameters are supported currently: // record_interval: recording interval in seconds. Value range: 1800-7200. // storage_time: recording file storage duration in seconds. // Example: record_interval=3600&storage_time=2592000. // Note: the parameter needs to be URL-encoded. // In both scheduled and real-time video recording modes, this parameter is valid. StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"` }
func NewCreateLiveRecordRequest ¶
func NewCreateLiveRecordRequest() (request *CreateLiveRecordRequest)
func (*CreateLiveRecordRequest) FromJsonString ¶
func (r *CreateLiveRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordRequest) ToJsonString ¶
func (r *CreateLiveRecordRequest) ToJsonString() string
type CreateLiveRecordRequestParams ¶
type CreateLiveRecordRequestParams struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. This parameter must be set for multi-domain name push. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Recording start time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:10:01 is 2017-01-01+10%3a10%3a01. // In scheduled recording mode, this field must be set; in real-time video recording mode, this field is ignored. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Recording end time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:30:01 is 2017-01-01+10%3a30%3a01. // In scheduled recording mode, this field must be set; in real-time video recording mode, this field is optional. If the recording is set to real-time video recording mode through the `Highlight` parameter, the set end time should not be more than 30 minutes after the current time. If the set end time is more than 30 minutes after the current time, earlier than the current time, or left empty, the actual end time will be 30 minutes after the current time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Recording type. // "video": Audio-video recording **(default)**. // "audio": audio recording. // In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Recording file format. Valid values: // "flv" **(default)**, "hls", "mp4", "aac", "mp3". // In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive. FileFormat *string `json:"FileFormat,omitempty" name:"FileFormat"` // Mark for enabling real-time video recording mode. // 0: Real-time video recording mode is not enabled, i.e., the scheduled recording mode is used **(default)**. See [Sample 1](#.E7.A4.BA.E4.BE.8B1-.E5.88.9B.E5.BB.BA.E5.AE.9A.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1). // 1: Real-time video recording mode is enabled. See [Sample 2](#.E7.A4.BA.E4.BE.8B2-.E5.88.9B.E5.BB.BA.E5.AE.9E.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1). Highlight *int64 `json:"Highlight,omitempty" name:"Highlight"` // Flag for enabling A+B=C mixed stream recording. // 0: A+B=C mixed stream recording is not enabled **(default)**. // 1: A+B=C mixed stream recording is enabled. // In both scheduled and real-time video recording modes, this parameter is valid. MixStream *int64 `json:"MixStream,omitempty" name:"MixStream"` // Recording stream parameter. The following parameters are supported currently: // record_interval: recording interval in seconds. Value range: 1800-7200. // storage_time: recording file storage duration in seconds. // Example: record_interval=3600&storage_time=2592000. // Note: the parameter needs to be URL-encoded. // In both scheduled and real-time video recording modes, this parameter is valid. StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"` }
Predefined struct for user
type CreateLiveRecordResponse ¶
type CreateLiveRecordResponse struct { *tchttp.BaseResponse Response *CreateLiveRecordResponseParams `json:"Response"` }
func NewCreateLiveRecordResponse ¶
func NewCreateLiveRecordResponse() (response *CreateLiveRecordResponse)
func (*CreateLiveRecordResponse) FromJsonString ¶
func (r *CreateLiveRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordResponse) ToJsonString ¶
func (r *CreateLiveRecordResponse) ToJsonString() string
type CreateLiveRecordResponseParams ¶
type CreateLiveRecordResponseParams struct { // Task ID, which uniquely identifies a recording task globally. TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveRecordRuleRequest ¶
type CreateLiveRecordRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Note: If the parameter is a non-empty string, the rule will be only applicable to the particular stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewCreateLiveRecordRuleRequest ¶
func NewCreateLiveRecordRuleRequest() (request *CreateLiveRecordRuleRequest)
func (*CreateLiveRecordRuleRequest) FromJsonString ¶
func (r *CreateLiveRecordRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordRuleRequest) ToJsonString ¶
func (r *CreateLiveRecordRuleRequest) ToJsonString() string
type CreateLiveRecordRuleRequestParams ¶
type CreateLiveRecordRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Note: If the parameter is a non-empty string, the rule will be only applicable to the particular stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type CreateLiveRecordRuleResponse ¶
type CreateLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveRecordRuleResponseParams `json:"Response"` }
func NewCreateLiveRecordRuleResponse ¶
func NewCreateLiveRecordRuleResponse() (response *CreateLiveRecordRuleResponse)
func (*CreateLiveRecordRuleResponse) FromJsonString ¶
func (r *CreateLiveRecordRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordRuleResponse) ToJsonString ¶
func (r *CreateLiveRecordRuleResponse) ToJsonString() string
type CreateLiveRecordRuleResponseParams ¶
type CreateLiveRecordRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveRecordTemplateRequest ¶
type CreateLiveRecordTemplateRequest struct { *tchttp.BaseRequest // Template name. Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Message description Description *string `json:"Description,omitempty" name:"Description"` // FLV recording parameter, which is set when FLV recording is enabled. FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // HLS recording parameter, which is set when HLS recording is enabled. HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // Mp4 recording parameter, which is set when Mp4 recording is enabled. Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // AAC recording parameter, which is set when AAC recording is enabled. AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // LVB type. Default value: 0. // 0: LVB. // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // HLS-specific recording parameter. HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // Mp3 recording parameter, which is set when Mp3 recording is enabled. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` // Whether to remove the watermark. This parameter is invalid if `IsDelayLive` is `1`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // A special parameter for FLV recording. FlvSpecialParam *FlvSpecialParam `json:"FlvSpecialParam,omitempty" name:"FlvSpecialParam"` }
func NewCreateLiveRecordTemplateRequest ¶
func NewCreateLiveRecordTemplateRequest() (request *CreateLiveRecordTemplateRequest)
func (*CreateLiveRecordTemplateRequest) FromJsonString ¶
func (r *CreateLiveRecordTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordTemplateRequest) ToJsonString ¶
func (r *CreateLiveRecordTemplateRequest) ToJsonString() string
type CreateLiveRecordTemplateRequestParams ¶
type CreateLiveRecordTemplateRequestParams struct { // Template name. Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Message description Description *string `json:"Description,omitempty" name:"Description"` // FLV recording parameter, which is set when FLV recording is enabled. FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // HLS recording parameter, which is set when HLS recording is enabled. HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // Mp4 recording parameter, which is set when Mp4 recording is enabled. Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // AAC recording parameter, which is set when AAC recording is enabled. AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // LVB type. Default value: 0. // 0: LVB. // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // HLS-specific recording parameter. HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // Mp3 recording parameter, which is set when Mp3 recording is enabled. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` // Whether to remove the watermark. This parameter is invalid if `IsDelayLive` is `1`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // A special parameter for FLV recording. FlvSpecialParam *FlvSpecialParam `json:"FlvSpecialParam,omitempty" name:"FlvSpecialParam"` }
Predefined struct for user
type CreateLiveRecordTemplateResponse ¶
type CreateLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *CreateLiveRecordTemplateResponseParams `json:"Response"` }
func NewCreateLiveRecordTemplateResponse ¶
func NewCreateLiveRecordTemplateResponse() (response *CreateLiveRecordTemplateResponse)
func (*CreateLiveRecordTemplateResponse) FromJsonString ¶
func (r *CreateLiveRecordTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveRecordTemplateResponse) ToJsonString ¶
func (r *CreateLiveRecordTemplateResponse) ToJsonString() string
type CreateLiveRecordTemplateResponseParams ¶
type CreateLiveRecordTemplateResponseParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveSnapshotRuleRequest ¶
type CreateLiveSnapshotRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Note: if this parameter is a non-empty string, the rule will take effect only for the particular stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewCreateLiveSnapshotRuleRequest ¶
func NewCreateLiveSnapshotRuleRequest() (request *CreateLiveSnapshotRuleRequest)
func (*CreateLiveSnapshotRuleRequest) FromJsonString ¶
func (r *CreateLiveSnapshotRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveSnapshotRuleRequest) ToJsonString ¶
func (r *CreateLiveSnapshotRuleRequest) ToJsonString() string
type CreateLiveSnapshotRuleRequestParams ¶
type CreateLiveSnapshotRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Note: if this parameter is a non-empty string, the rule will take effect only for the particular stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type CreateLiveSnapshotRuleResponse ¶
type CreateLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveSnapshotRuleResponseParams `json:"Response"` }
func NewCreateLiveSnapshotRuleResponse ¶
func NewCreateLiveSnapshotRuleResponse() (response *CreateLiveSnapshotRuleResponse)
func (*CreateLiveSnapshotRuleResponse) FromJsonString ¶
func (r *CreateLiveSnapshotRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveSnapshotRuleResponse) ToJsonString ¶
func (r *CreateLiveSnapshotRuleResponse) ToJsonString() string
type CreateLiveSnapshotRuleResponseParams ¶
type CreateLiveSnapshotRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveSnapshotTemplateRequest ¶
type CreateLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // Template name. // Maximum length: 255 bytes. // Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // COS application ID. CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // COS bucket name. // Note: the value of `CosBucket` cannot contain `-[appid]`. CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // COS region. CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // Description. // Maximum length: 1,024 bytes. // Only letters, digits, underscores, and hyphens can be contained. Description *string `json:"Description,omitempty" name:"Description"` // Screencapturing interval (s). Default value: 10 // Value range: 2-300 SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // Screenshot width. Default value: `0` (original width) // Value range: 0-3000 Width *int64 `json:"Width,omitempty" name:"Width"` // Screenshot height. Default value: `0` (original height) // Value range: 0-2000 Height *int64 `json:"Height,omitempty" name:"Height"` // Whether to enable porn detection. 0: no, 1: yes. Default value: 0 PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // COS Bucket folder prefix. // If no value is entered, the default value // `/{Year}-{Month}-{Day}` // will be used. CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"` // COS filename. // If no value is entered, the default value // `{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}` // will be used. CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"` }
func NewCreateLiveSnapshotTemplateRequest ¶
func NewCreateLiveSnapshotTemplateRequest() (request *CreateLiveSnapshotTemplateRequest)
func (*CreateLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *CreateLiveSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *CreateLiveSnapshotTemplateRequest) ToJsonString() string
type CreateLiveSnapshotTemplateRequestParams ¶
type CreateLiveSnapshotTemplateRequestParams struct { // Template name. // Maximum length: 255 bytes. // Only letters, digits, underscores, and hyphens can be contained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // COS application ID. CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // COS bucket name. // Note: the value of `CosBucket` cannot contain `-[appid]`. CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // COS region. CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // Description. // Maximum length: 1,024 bytes. // Only letters, digits, underscores, and hyphens can be contained. Description *string `json:"Description,omitempty" name:"Description"` // Screencapturing interval (s). Default value: 10 // Value range: 2-300 SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // Screenshot width. Default value: `0` (original width) // Value range: 0-3000 Width *int64 `json:"Width,omitempty" name:"Width"` // Screenshot height. Default value: `0` (original height) // Value range: 0-2000 Height *int64 `json:"Height,omitempty" name:"Height"` // Whether to enable porn detection. 0: no, 1: yes. Default value: 0 PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // COS Bucket folder prefix. // If no value is entered, the default value // `/{Year}-{Month}-{Day}` // will be used. CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"` // COS filename. // If no value is entered, the default value // `{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}` // will be used. CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"` }
Predefined struct for user
type CreateLiveSnapshotTemplateResponse ¶
type CreateLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *CreateLiveSnapshotTemplateResponseParams `json:"Response"` }
func NewCreateLiveSnapshotTemplateResponse ¶
func NewCreateLiveSnapshotTemplateResponse() (response *CreateLiveSnapshotTemplateResponse)
func (*CreateLiveSnapshotTemplateResponse) FromJsonString ¶
func (r *CreateLiveSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *CreateLiveSnapshotTemplateResponse) ToJsonString() string
type CreateLiveSnapshotTemplateResponseParams ¶
type CreateLiveSnapshotTemplateResponseParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveTimeShiftRuleRequest ¶
type CreateLiveTimeShiftRuleRequest struct { *tchttp.BaseRequest // The push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URLs. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // Note: If you pass in a non-empty string, the rule will only be applied to the specified stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveTimeShiftRuleRequest ¶
func NewCreateLiveTimeShiftRuleRequest() (request *CreateLiveTimeShiftRuleRequest)
func (*CreateLiveTimeShiftRuleRequest) FromJsonString ¶
func (r *CreateLiveTimeShiftRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTimeShiftRuleRequest) ToJsonString ¶
func (r *CreateLiveTimeShiftRuleRequest) ToJsonString() string
type CreateLiveTimeShiftRuleRequestParams ¶
type CreateLiveTimeShiftRuleRequestParams struct { // The push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URLs. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // Note: If you pass in a non-empty string, the rule will only be applied to the specified stream. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type CreateLiveTimeShiftRuleResponse ¶
type CreateLiveTimeShiftRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveTimeShiftRuleResponseParams `json:"Response"` }
func NewCreateLiveTimeShiftRuleResponse ¶
func NewCreateLiveTimeShiftRuleResponse() (response *CreateLiveTimeShiftRuleResponse)
func (*CreateLiveTimeShiftRuleResponse) FromJsonString ¶
func (r *CreateLiveTimeShiftRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTimeShiftRuleResponse) ToJsonString ¶
func (r *CreateLiveTimeShiftRuleResponse) ToJsonString() string
type CreateLiveTimeShiftRuleResponseParams ¶
type CreateLiveTimeShiftRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveTimeShiftTemplateRequest ¶
type CreateLiveTimeShiftTemplateRequest struct { *tchttp.BaseRequest // The template name. // Maximum length: 255 bytes. // Only letters, numbers, underscores, and hyphens are supported. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // The time shifting duration. // Unit: Second. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The template description. // Only letters, numbers, underscores, and hyphens are supported. Description *string `json:"Description,omitempty" name:"Description"` // The region. // `Mainland`: The Chinese mainland. // `Overseas`: Outside the Chinese mainland. // Default value: `Mainland`. Area *string `json:"Area,omitempty" name:"Area"` // The segment size. // Value range: 3-10. // Unit: Second. // Default value: 5 ItemDuration *uint64 `json:"ItemDuration,omitempty" name:"ItemDuration"` // Whether to remove watermarks. // If you pass in `true`, the original stream will be recorded. // Default value: `false`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // The transcoding template IDs. // This API works only if `RemoveWatermark` is `false`. TranscodeTemplateIds []*int64 `json:"TranscodeTemplateIds,omitempty" name:"TranscodeTemplateIds"` }
func NewCreateLiveTimeShiftTemplateRequest ¶
func NewCreateLiveTimeShiftTemplateRequest() (request *CreateLiveTimeShiftTemplateRequest)
func (*CreateLiveTimeShiftTemplateRequest) FromJsonString ¶
func (r *CreateLiveTimeShiftTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTimeShiftTemplateRequest) ToJsonString ¶
func (r *CreateLiveTimeShiftTemplateRequest) ToJsonString() string
type CreateLiveTimeShiftTemplateRequestParams ¶
type CreateLiveTimeShiftTemplateRequestParams struct { // The template name. // Maximum length: 255 bytes. // Only letters, numbers, underscores, and hyphens are supported. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // The time shifting duration. // Unit: Second. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The template description. // Only letters, numbers, underscores, and hyphens are supported. Description *string `json:"Description,omitempty" name:"Description"` // The region. // `Mainland`: The Chinese mainland. // `Overseas`: Outside the Chinese mainland. // Default value: `Mainland`. Area *string `json:"Area,omitempty" name:"Area"` // The segment size. // Value range: 3-10. // Unit: Second. // Default value: 5 ItemDuration *uint64 `json:"ItemDuration,omitempty" name:"ItemDuration"` // Whether to remove watermarks. // If you pass in `true`, the original stream will be recorded. // Default value: `false`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // The transcoding template IDs. // This API works only if `RemoveWatermark` is `false`. TranscodeTemplateIds []*int64 `json:"TranscodeTemplateIds,omitempty" name:"TranscodeTemplateIds"` }
Predefined struct for user
type CreateLiveTimeShiftTemplateResponse ¶
type CreateLiveTimeShiftTemplateResponse struct { *tchttp.BaseResponse Response *CreateLiveTimeShiftTemplateResponseParams `json:"Response"` }
func NewCreateLiveTimeShiftTemplateResponse ¶
func NewCreateLiveTimeShiftTemplateResponse() (response *CreateLiveTimeShiftTemplateResponse)
func (*CreateLiveTimeShiftTemplateResponse) FromJsonString ¶
func (r *CreateLiveTimeShiftTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTimeShiftTemplateResponse) ToJsonString ¶
func (r *CreateLiveTimeShiftTemplateResponse) ToJsonString() string
type CreateLiveTimeShiftTemplateResponseParams ¶
type CreateLiveTimeShiftTemplateResponseParams struct { // The template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveTranscodeRuleRequest ¶
type CreateLiveTranscodeRuleRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which is the same as `AppName` in the push and playback addresses and is `live` by default. If you only want to bind the template to a domain, pass in an empty string. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. If only the domain name or path is bound, leave this parameter blank. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Designates an existing template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveTranscodeRuleRequest ¶
func NewCreateLiveTranscodeRuleRequest() (request *CreateLiveTranscodeRuleRequest)
func (*CreateLiveTranscodeRuleRequest) FromJsonString ¶
func (r *CreateLiveTranscodeRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTranscodeRuleRequest) ToJsonString ¶
func (r *CreateLiveTranscodeRuleRequest) ToJsonString() string
type CreateLiveTranscodeRuleRequestParams ¶
type CreateLiveTranscodeRuleRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which is the same as `AppName` in the push and playback addresses and is `live` by default. If you only want to bind the template to a domain, pass in an empty string. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. If only the domain name or path is bound, leave this parameter blank. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Designates an existing template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type CreateLiveTranscodeRuleResponse ¶
type CreateLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveTranscodeRuleResponseParams `json:"Response"` }
func NewCreateLiveTranscodeRuleResponse ¶
func NewCreateLiveTranscodeRuleResponse() (response *CreateLiveTranscodeRuleResponse)
func (*CreateLiveTranscodeRuleResponse) FromJsonString ¶
func (r *CreateLiveTranscodeRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTranscodeRuleResponse) ToJsonString ¶
func (r *CreateLiveTranscodeRuleResponse) ToJsonString() string
type CreateLiveTranscodeRuleResponseParams ¶
type CreateLiveTranscodeRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveTranscodeTemplateRequest ¶
type CreateLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // Template name, such as “900p”. This can be only a combination of letters and digits. // Length limit: // Standard transcoding: 1-10 characters // Top speed codec transcoding: 3-10 characters TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Video bitrate in Kbps. Value range: 100-8000. // Note: the transcoding template requires that the bitrate be unique. Therefore, the final saved bitrate may be different from the input bitrate. VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // Audio codec. Default value: aac. // Note: this parameter is unsupported now. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Audio bitrate. Default value: 0. // Value range: 0-500. AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // Video codec. Valid values: h264, h265, origin (default) // // origin: original codec as the output codec Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // Whether to keep the video. 0: no; 1: yes. Default value: 1. NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // Width. Default value: 0. // Value range: 0-3000 // It must be a multiple of 2. The original width is 0. Width *int64 `json:"Width,omitempty" name:"Width"` // Whether to keep the audio. 0: no; 1: yes. Default value: 1. NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // Height. Default value: 0 // Value range: 0-3000 // The value must be a multiple of 2. The original height is `0`. // This parameter is required for a top speed codec template (when `AiTransCode` is `1`). Height *int64 `json:"Height,omitempty" name:"Height"` // Frame rate. Default value: 0. // Value range: 0-60 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // Keyframe interval in seconds. Default value: original interval // Value range: 2-6 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // Rotation angle. Default value: 0. // Valid values: 0, 90, 180, 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Encoding quality: // baseline/main/high. Default value: baseline. Profile *string `json:"Profile,omitempty" name:"Profile"` // Whether to use the original bitrate when the set bitrate is larger than the original bitrate. // 0: no, 1: yes // Default value: 0. BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // Whether to use the original height when the set height is higher than the original height. // 0: no, 1: yes // Default value: 0. HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // Whether to use the original frame rate when the set frame rate is larger than the original frame rate. // 0: no, 1: yes // Default value: 0. FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // Whether it is a top speed codec template. 0: no, 1: yes. Default value: 0. AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"` // Bitrate compression ratio of top speed codec video. // Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent) // // Value range: 0.0-0.5. AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` // Whether to use the short side as the video height. 0: no, 1: yes. Default value: 0. ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"` // The DRM encryption type. Valid values: fairplay, normalaes, widevine. // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMType *string `json:"DRMType,omitempty" name:"DRMType"` // The tracks to encrypt. Valid values: AUDIO, SD, HD, UHD1, UHD2. You can choose only one video track (SD, HD, UHD1, or UHD2). // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMTracks *string `json:"DRMTracks,omitempty" name:"DRMTracks"` }
func NewCreateLiveTranscodeTemplateRequest ¶
func NewCreateLiveTranscodeTemplateRequest() (request *CreateLiveTranscodeTemplateRequest)
func (*CreateLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *CreateLiveTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *CreateLiveTranscodeTemplateRequest) ToJsonString() string
type CreateLiveTranscodeTemplateRequestParams ¶
type CreateLiveTranscodeTemplateRequestParams struct { // Template name, such as “900p”. This can be only a combination of letters and digits. // Length limit: // Standard transcoding: 1-10 characters // Top speed codec transcoding: 3-10 characters TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Video bitrate in Kbps. Value range: 100-8000. // Note: the transcoding template requires that the bitrate be unique. Therefore, the final saved bitrate may be different from the input bitrate. VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // Audio codec. Default value: aac. // Note: this parameter is unsupported now. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Audio bitrate. Default value: 0. // Value range: 0-500. AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // Video codec. Valid values: h264, h265, origin (default) // // origin: original codec as the output codec Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // Whether to keep the video. 0: no; 1: yes. Default value: 1. NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // Width. Default value: 0. // Value range: 0-3000 // It must be a multiple of 2. The original width is 0. Width *int64 `json:"Width,omitempty" name:"Width"` // Whether to keep the audio. 0: no; 1: yes. Default value: 1. NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // Height. Default value: 0 // Value range: 0-3000 // The value must be a multiple of 2. The original height is `0`. // This parameter is required for a top speed codec template (when `AiTransCode` is `1`). Height *int64 `json:"Height,omitempty" name:"Height"` // Frame rate. Default value: 0. // Value range: 0-60 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // Keyframe interval in seconds. Default value: original interval // Value range: 2-6 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // Rotation angle. Default value: 0. // Valid values: 0, 90, 180, 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Encoding quality: // baseline/main/high. Default value: baseline. Profile *string `json:"Profile,omitempty" name:"Profile"` // Whether to use the original bitrate when the set bitrate is larger than the original bitrate. // 0: no, 1: yes // Default value: 0. BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // Whether to use the original height when the set height is higher than the original height. // 0: no, 1: yes // Default value: 0. HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // Whether to use the original frame rate when the set frame rate is larger than the original frame rate. // 0: no, 1: yes // Default value: 0. FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // Whether it is a top speed codec template. 0: no, 1: yes. Default value: 0. AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"` // Bitrate compression ratio of top speed codec video. // Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent) // // Value range: 0.0-0.5. AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` // Whether to use the short side as the video height. 0: no, 1: yes. Default value: 0. ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"` // The DRM encryption type. Valid values: fairplay, normalaes, widevine. // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMType *string `json:"DRMType,omitempty" name:"DRMType"` // The tracks to encrypt. Valid values: AUDIO, SD, HD, UHD1, UHD2. You can choose only one video track (SD, HD, UHD1, or UHD2). // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMTracks *string `json:"DRMTracks,omitempty" name:"DRMTracks"` }
Predefined struct for user
type CreateLiveTranscodeTemplateResponse ¶
type CreateLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *CreateLiveTranscodeTemplateResponseParams `json:"Response"` }
func NewCreateLiveTranscodeTemplateResponse ¶
func NewCreateLiveTranscodeTemplateResponse() (response *CreateLiveTranscodeTemplateResponse)
func (*CreateLiveTranscodeTemplateResponse) FromJsonString ¶
func (r *CreateLiveTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *CreateLiveTranscodeTemplateResponse) ToJsonString() string
type CreateLiveTranscodeTemplateResponseParams ¶
type CreateLiveTranscodeTemplateResponseParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLiveWatermarkRuleRequest ¶
type CreateLiveWatermarkRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Watermark ID, which is the `WatermarkId` returned by the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveWatermarkRuleRequest ¶
func NewCreateLiveWatermarkRuleRequest() (request *CreateLiveWatermarkRuleRequest)
func (*CreateLiveWatermarkRuleRequest) FromJsonString ¶
func (r *CreateLiveWatermarkRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveWatermarkRuleRequest) ToJsonString ¶
func (r *CreateLiveWatermarkRuleRequest) ToJsonString() string
type CreateLiveWatermarkRuleRequestParams ¶
type CreateLiveWatermarkRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Watermark ID, which is the `WatermarkId` returned by the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type CreateLiveWatermarkRuleResponse ¶
type CreateLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *CreateLiveWatermarkRuleResponseParams `json:"Response"` }
func NewCreateLiveWatermarkRuleResponse ¶
func NewCreateLiveWatermarkRuleResponse() (response *CreateLiveWatermarkRuleResponse)
func (*CreateLiveWatermarkRuleResponse) FromJsonString ¶
func (r *CreateLiveWatermarkRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLiveWatermarkRuleResponse) ToJsonString ¶
func (r *CreateLiveWatermarkRuleResponse) ToJsonString() string
type CreateLiveWatermarkRuleResponseParams ¶
type CreateLiveWatermarkRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRecordTaskRequest ¶
type CreateRecordTaskRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Recording end time in UNIX timestamp format. `EndTime` should be later than `StartTime` and the current time, and the duration between `EndTime` and `StartTime` is up to 24 hours. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Recording start time in UNIX timestamp format. Leaving this parameter empty means starting recording now. `StartTime` cannot be later than the current time plus 6 days. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // Push type. Default value: 0. Valid values: // 0: LVB push. // 1: mixed stream, i.e., A + B = C mixed stream. StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"` // Recording template ID, which is the returned value of `CreateLiveRecordTemplate`. If this parameter is left empty or incorrect, the stream will be recorded in HLS format and retained permanently by default. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // Extension field which is not defined now. It is empty by default. Extension *string `json:"Extension,omitempty" name:"Extension"` }
func NewCreateRecordTaskRequest ¶
func NewCreateRecordTaskRequest() (request *CreateRecordTaskRequest)
func (*CreateRecordTaskRequest) FromJsonString ¶
func (r *CreateRecordTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordTaskRequest) ToJsonString ¶
func (r *CreateRecordTaskRequest) ToJsonString() string
type CreateRecordTaskRequestParams ¶
type CreateRecordTaskRequestParams struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Recording end time in UNIX timestamp format. `EndTime` should be later than `StartTime` and the current time, and the duration between `EndTime` and `StartTime` is up to 24 hours. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Recording start time in UNIX timestamp format. Leaving this parameter empty means starting recording now. `StartTime` cannot be later than the current time plus 6 days. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // Push type. Default value: 0. Valid values: // 0: LVB push. // 1: mixed stream, i.e., A + B = C mixed stream. StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"` // Recording template ID, which is the returned value of `CreateLiveRecordTemplate`. If this parameter is left empty or incorrect, the stream will be recorded in HLS format and retained permanently by default. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // Extension field which is not defined now. It is empty by default. Extension *string `json:"Extension,omitempty" name:"Extension"` }
Predefined struct for user
type CreateRecordTaskResponse ¶
type CreateRecordTaskResponse struct { *tchttp.BaseResponse Response *CreateRecordTaskResponseParams `json:"Response"` }
func NewCreateRecordTaskResponse ¶
func NewCreateRecordTaskResponse() (response *CreateRecordTaskResponse)
func (*CreateRecordTaskResponse) FromJsonString ¶
func (r *CreateRecordTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordTaskResponse) ToJsonString ¶
func (r *CreateRecordTaskResponse) ToJsonString() string
type CreateRecordTaskResponseParams ¶
type CreateRecordTaskResponseParams struct { // A globally unique task ID. If `TaskId` is returned, the recording task has been successfully created. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateScreenshotTaskRequest ¶
type CreateScreenshotTaskRequest struct { *tchttp.BaseRequest // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The task end time, which must be a Unix timestamp and later than `StartTime` and the current time. The end time and start time cannot be more than 24 hours apart. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // The ID of the screencapturing template, which is returned by `CreateLiveSnapshotTemplate`. If an incorrect template ID is passed in, the screencapturing task will fail. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The task start time, which must be a Unix timestamp and cannot be later than six days from the current time. If you do not specify this parameter, the task will start immediately. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The publishing type. Valid values: // `0` (default): Live stream // `1`: Mixed stream StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"` // An extension field, which is not defined currently and is empty by default. Extension *string `json:"Extension,omitempty" name:"Extension"` }
func NewCreateScreenshotTaskRequest ¶
func NewCreateScreenshotTaskRequest() (request *CreateScreenshotTaskRequest)
func (*CreateScreenshotTaskRequest) FromJsonString ¶
func (r *CreateScreenshotTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScreenshotTaskRequest) ToJsonString ¶
func (r *CreateScreenshotTaskRequest) ToJsonString() string
type CreateScreenshotTaskRequestParams ¶
type CreateScreenshotTaskRequestParams struct { // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The task end time, which must be a Unix timestamp and later than `StartTime` and the current time. The end time and start time cannot be more than 24 hours apart. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // The ID of the screencapturing template, which is returned by `CreateLiveSnapshotTemplate`. If an incorrect template ID is passed in, the screencapturing task will fail. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The task start time, which must be a Unix timestamp and cannot be later than six days from the current time. If you do not specify this parameter, the task will start immediately. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The publishing type. Valid values: // `0` (default): Live stream // `1`: Mixed stream StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"` // An extension field, which is not defined currently and is empty by default. Extension *string `json:"Extension,omitempty" name:"Extension"` }
Predefined struct for user
type CreateScreenshotTaskResponse ¶
type CreateScreenshotTaskResponse struct { *tchttp.BaseResponse Response *CreateScreenshotTaskResponseParams `json:"Response"` }
func NewCreateScreenshotTaskResponse ¶
func NewCreateScreenshotTaskResponse() (response *CreateScreenshotTaskResponse)
func (*CreateScreenshotTaskResponse) FromJsonString ¶
func (r *CreateScreenshotTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScreenshotTaskResponse) ToJsonString ¶
func (r *CreateScreenshotTaskResponse) ToJsonString() string
type CreateScreenshotTaskResponseParams ¶
type CreateScreenshotTaskResponseParams struct { // A unique task ID. If this parameter is returned, the screencapturing task is created successfully. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DayStreamPlayInfo ¶
type DayStreamPlayInfo struct { // Data point in time in the format of `yyyy-mm-dd HH:MM:SS`. Time *string `json:"Time,omitempty" name:"Time"` // Bandwidth in Mbps. Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // Traffic in MB. Flux *float64 `json:"Flux,omitempty" name:"Flux"` // Number of requests. Request *uint64 `json:"Request,omitempty" name:"Request"` // Number of online viewers. Online *uint64 `json:"Online,omitempty" name:"Online"` }
type DelayInfo ¶
type DelayInfo struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the // `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Delay time in seconds. DelayInterval *uint64 `json:"DelayInterval,omitempty" name:"DelayInterval"` // Creation time in UTC time. // Note: the difference between UTC time and Beijing time is 8 hours. // Example: 2019-06-18T12:00:00Z (i.e., June 18, 2019 20:00:00 Beijing time). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Expiration time in UTC time. // Note: the difference between UTC time and Beijing time is 8 hours. // Example: 2019-06-18T12:00:00Z (i.e., June 18, 2019 20:00:00 Beijing time). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Current status: // -1: expired. // 1: in effect. Status *int64 `json:"Status,omitempty" name:"Status"` }
type DeleteLiveCallbackRuleRequest ¶
type DeleteLiveCallbackRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDeleteLiveCallbackRuleRequest ¶
func NewDeleteLiveCallbackRuleRequest() (request *DeleteLiveCallbackRuleRequest)
func (*DeleteLiveCallbackRuleRequest) FromJsonString ¶
func (r *DeleteLiveCallbackRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveCallbackRuleRequest) ToJsonString ¶
func (r *DeleteLiveCallbackRuleRequest) ToJsonString() string
type DeleteLiveCallbackRuleRequestParams ¶
type DeleteLiveCallbackRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` }
Predefined struct for user
type DeleteLiveCallbackRuleResponse ¶
type DeleteLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveCallbackRuleResponseParams `json:"Response"` }
func NewDeleteLiveCallbackRuleResponse ¶
func NewDeleteLiveCallbackRuleResponse() (response *DeleteLiveCallbackRuleResponse)
func (*DeleteLiveCallbackRuleResponse) FromJsonString ¶
func (r *DeleteLiveCallbackRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveCallbackRuleResponse) ToJsonString ¶
func (r *DeleteLiveCallbackRuleResponse) ToJsonString() string
type DeleteLiveCallbackRuleResponseParams ¶
type DeleteLiveCallbackRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveCallbackTemplateRequest ¶
type DeleteLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveCallbackTemplates](https://intl.cloud.tencent.com/document/product/267/32632?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveCallbackTemplateRequest ¶
func NewDeleteLiveCallbackTemplateRequest() (request *DeleteLiveCallbackTemplateRequest)
func (*DeleteLiveCallbackTemplateRequest) FromJsonString ¶
func (r *DeleteLiveCallbackTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveCallbackTemplateRequest) ToJsonString ¶
func (r *DeleteLiveCallbackTemplateRequest) ToJsonString() string
type DeleteLiveCallbackTemplateRequestParams ¶
type DeleteLiveCallbackTemplateRequestParams struct { // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveCallbackTemplates](https://intl.cloud.tencent.com/document/product/267/32632?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveCallbackTemplateResponse ¶
type DeleteLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *DeleteLiveCallbackTemplateResponseParams `json:"Response"` }
func NewDeleteLiveCallbackTemplateResponse ¶
func NewDeleteLiveCallbackTemplateResponse() (response *DeleteLiveCallbackTemplateResponse)
func (*DeleteLiveCallbackTemplateResponse) FromJsonString ¶
func (r *DeleteLiveCallbackTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveCallbackTemplateResponse) ToJsonString ¶
func (r *DeleteLiveCallbackTemplateResponse) ToJsonString() string
type DeleteLiveCallbackTemplateResponseParams ¶
type DeleteLiveCallbackTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveDomainRequest ¶
type DeleteLiveDomainRequest struct { *tchttp.BaseRequest // Domain name to be deleted. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Type. 0: push, 1: playback. DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` }
func NewDeleteLiveDomainRequest ¶
func NewDeleteLiveDomainRequest() (request *DeleteLiveDomainRequest)
func (*DeleteLiveDomainRequest) FromJsonString ¶
func (r *DeleteLiveDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveDomainRequest) ToJsonString ¶
func (r *DeleteLiveDomainRequest) ToJsonString() string
type DeleteLiveDomainRequestParams ¶
type DeleteLiveDomainRequestParams struct { // Domain name to be deleted. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Type. 0: push, 1: playback. DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` }
Predefined struct for user
type DeleteLiveDomainResponse ¶
type DeleteLiveDomainResponse struct { *tchttp.BaseResponse Response *DeleteLiveDomainResponseParams `json:"Response"` }
func NewDeleteLiveDomainResponse ¶
func NewDeleteLiveDomainResponse() (response *DeleteLiveDomainResponse)
func (*DeleteLiveDomainResponse) FromJsonString ¶
func (r *DeleteLiveDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveDomainResponse) ToJsonString ¶
func (r *DeleteLiveDomainResponse) ToJsonString() string
type DeleteLiveDomainResponseParams ¶
type DeleteLiveDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLivePullStreamTaskRequest ¶
type DeleteLivePullStreamTaskRequest struct { *tchttp.BaseRequest // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` }
func NewDeleteLivePullStreamTaskRequest ¶
func NewDeleteLivePullStreamTaskRequest() (request *DeleteLivePullStreamTaskRequest)
func (*DeleteLivePullStreamTaskRequest) FromJsonString ¶
func (r *DeleteLivePullStreamTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLivePullStreamTaskRequest) ToJsonString ¶
func (r *DeleteLivePullStreamTaskRequest) ToJsonString() string
type DeleteLivePullStreamTaskRequestParams ¶
type DeleteLivePullStreamTaskRequestParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteLivePullStreamTaskResponse ¶
type DeleteLivePullStreamTaskResponse struct { *tchttp.BaseResponse Response *DeleteLivePullStreamTaskResponseParams `json:"Response"` }
func NewDeleteLivePullStreamTaskResponse ¶
func NewDeleteLivePullStreamTaskResponse() (response *DeleteLivePullStreamTaskResponse)
func (*DeleteLivePullStreamTaskResponse) FromJsonString ¶
func (r *DeleteLivePullStreamTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLivePullStreamTaskResponse) ToJsonString ¶
func (r *DeleteLivePullStreamTaskResponse) ToJsonString() string
type DeleteLivePullStreamTaskResponseParams ¶
type DeleteLivePullStreamTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveRecordRequest ¶
type DeleteLiveRecordRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Task ID returned by the `CreateLiveRecord` API. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewDeleteLiveRecordRequest ¶
func NewDeleteLiveRecordRequest() (request *DeleteLiveRecordRequest)
func (*DeleteLiveRecordRequest) FromJsonString ¶
func (r *DeleteLiveRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordRequest) ToJsonString ¶
func (r *DeleteLiveRecordRequest) ToJsonString() string
type DeleteLiveRecordRequestParams ¶
type DeleteLiveRecordRequestParams struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Task ID returned by the `CreateLiveRecord` API. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteLiveRecordResponse ¶
type DeleteLiveRecordResponse struct { *tchttp.BaseResponse Response *DeleteLiveRecordResponseParams `json:"Response"` }
func NewDeleteLiveRecordResponse ¶
func NewDeleteLiveRecordResponse() (response *DeleteLiveRecordResponse)
func (*DeleteLiveRecordResponse) FromJsonString ¶
func (r *DeleteLiveRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordResponse) ToJsonString ¶
func (r *DeleteLiveRecordResponse) ToJsonString() string
type DeleteLiveRecordResponseParams ¶
type DeleteLiveRecordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveRecordRuleRequest ¶
type DeleteLiveRecordRuleRequest struct { *tchttp.BaseRequest // Push domain name. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveRecordRuleRequest ¶
func NewDeleteLiveRecordRuleRequest() (request *DeleteLiveRecordRuleRequest)
func (*DeleteLiveRecordRuleRequest) FromJsonString ¶
func (r *DeleteLiveRecordRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordRuleRequest) ToJsonString ¶
func (r *DeleteLiveRecordRuleRequest) ToJsonString() string
type DeleteLiveRecordRuleRequestParams ¶
type DeleteLiveRecordRuleRequestParams struct { // Push domain name. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. // Domain name+AppName+StreamName uniquely identifies a single transcoding rule. If you need to delete it, strong match is required. For example, even if AppName is blank, you need to pass in a blank string to make a strong match. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DeleteLiveRecordRuleResponse ¶
type DeleteLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveRecordRuleResponseParams `json:"Response"` }
func NewDeleteLiveRecordRuleResponse ¶
func NewDeleteLiveRecordRuleResponse() (response *DeleteLiveRecordRuleResponse)
func (*DeleteLiveRecordRuleResponse) FromJsonString ¶
func (r *DeleteLiveRecordRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordRuleResponse) ToJsonString ¶
func (r *DeleteLiveRecordRuleResponse) ToJsonString() string
type DeleteLiveRecordRuleResponseParams ¶
type DeleteLiveRecordRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveRecordTemplateRequest ¶
type DeleteLiveRecordTemplateRequest struct { *tchttp.BaseRequest // Template ID obtained through the `DescribeRecordTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveRecordTemplateRequest ¶
func NewDeleteLiveRecordTemplateRequest() (request *DeleteLiveRecordTemplateRequest)
func (*DeleteLiveRecordTemplateRequest) FromJsonString ¶
func (r *DeleteLiveRecordTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordTemplateRequest) ToJsonString ¶
func (r *DeleteLiveRecordTemplateRequest) ToJsonString() string
type DeleteLiveRecordTemplateRequestParams ¶
type DeleteLiveRecordTemplateRequestParams struct { // Template ID obtained through the `DescribeRecordTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveRecordTemplateResponse ¶
type DeleteLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *DeleteLiveRecordTemplateResponseParams `json:"Response"` }
func NewDeleteLiveRecordTemplateResponse ¶
func NewDeleteLiveRecordTemplateResponse() (response *DeleteLiveRecordTemplateResponse)
func (*DeleteLiveRecordTemplateResponse) FromJsonString ¶
func (r *DeleteLiveRecordTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveRecordTemplateResponse) ToJsonString ¶
func (r *DeleteLiveRecordTemplateResponse) ToJsonString() string
type DeleteLiveRecordTemplateResponseParams ¶
type DeleteLiveRecordTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveSnapshotRuleRequest ¶
type DeleteLiveSnapshotRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveSnapshotRuleRequest ¶
func NewDeleteLiveSnapshotRuleRequest() (request *DeleteLiveSnapshotRuleRequest)
func (*DeleteLiveSnapshotRuleRequest) FromJsonString ¶
func (r *DeleteLiveSnapshotRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveSnapshotRuleRequest) ToJsonString ¶
func (r *DeleteLiveSnapshotRuleRequest) ToJsonString() string
type DeleteLiveSnapshotRuleRequestParams ¶
type DeleteLiveSnapshotRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DeleteLiveSnapshotRuleResponse ¶
type DeleteLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveSnapshotRuleResponseParams `json:"Response"` }
func NewDeleteLiveSnapshotRuleResponse ¶
func NewDeleteLiveSnapshotRuleResponse() (response *DeleteLiveSnapshotRuleResponse)
func (*DeleteLiveSnapshotRuleResponse) FromJsonString ¶
func (r *DeleteLiveSnapshotRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveSnapshotRuleResponse) ToJsonString ¶
func (r *DeleteLiveSnapshotRuleResponse) ToJsonString() string
type DeleteLiveSnapshotRuleResponseParams ¶
type DeleteLiveSnapshotRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveSnapshotTemplateRequest ¶
type DeleteLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // Template ID. // 1. Get from the returned value of the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API call. // 2. You can query the list of created screencapturing templates through the [DescribeLiveSnapshotTemplates](https://intl.cloud.tencent.com/document/product/267/32619?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveSnapshotTemplateRequest ¶
func NewDeleteLiveSnapshotTemplateRequest() (request *DeleteLiveSnapshotTemplateRequest)
func (*DeleteLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *DeleteLiveSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *DeleteLiveSnapshotTemplateRequest) ToJsonString() string
type DeleteLiveSnapshotTemplateRequestParams ¶
type DeleteLiveSnapshotTemplateRequestParams struct { // Template ID. // 1. Get from the returned value of the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API call. // 2. You can query the list of created screencapturing templates through the [DescribeLiveSnapshotTemplates](https://intl.cloud.tencent.com/document/product/267/32619?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveSnapshotTemplateResponse ¶
type DeleteLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *DeleteLiveSnapshotTemplateResponseParams `json:"Response"` }
func NewDeleteLiveSnapshotTemplateResponse ¶
func NewDeleteLiveSnapshotTemplateResponse() (response *DeleteLiveSnapshotTemplateResponse)
func (*DeleteLiveSnapshotTemplateResponse) FromJsonString ¶
func (r *DeleteLiveSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *DeleteLiveSnapshotTemplateResponse) ToJsonString() string
type DeleteLiveSnapshotTemplateResponseParams ¶
type DeleteLiveSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveTimeShiftRuleRequest ¶
type DeleteLiveTimeShiftRuleRequest struct { *tchttp.BaseRequest // The push domain. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URLs. The default value is `live`. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveTimeShiftRuleRequest ¶
func NewDeleteLiveTimeShiftRuleRequest() (request *DeleteLiveTimeShiftRuleRequest)
func (*DeleteLiveTimeShiftRuleRequest) FromJsonString ¶
func (r *DeleteLiveTimeShiftRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTimeShiftRuleRequest) ToJsonString ¶
func (r *DeleteLiveTimeShiftRuleRequest) ToJsonString() string
type DeleteLiveTimeShiftRuleRequestParams ¶
type DeleteLiveTimeShiftRuleRequestParams struct { // The push domain. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URLs. The default value is `live`. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // `Domain name+AppName+StreamName` uniquely identifies a time shifting rule. To delete a time shifting rule, exact match is required. This means if the `AppName` of a time shifting rule is empty, to delete the rule, you need to pass in an empty string for `AppName`. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DeleteLiveTimeShiftRuleResponse ¶
type DeleteLiveTimeShiftRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveTimeShiftRuleResponseParams `json:"Response"` }
func NewDeleteLiveTimeShiftRuleResponse ¶
func NewDeleteLiveTimeShiftRuleResponse() (response *DeleteLiveTimeShiftRuleResponse)
func (*DeleteLiveTimeShiftRuleResponse) FromJsonString ¶
func (r *DeleteLiveTimeShiftRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTimeShiftRuleResponse) ToJsonString ¶
func (r *DeleteLiveTimeShiftRuleResponse) ToJsonString() string
type DeleteLiveTimeShiftRuleResponseParams ¶
type DeleteLiveTimeShiftRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveTimeShiftTemplateRequest ¶
type DeleteLiveTimeShiftTemplateRequest struct { *tchttp.BaseRequest // The template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveTimeShiftTemplateRequest ¶
func NewDeleteLiveTimeShiftTemplateRequest() (request *DeleteLiveTimeShiftTemplateRequest)
func (*DeleteLiveTimeShiftTemplateRequest) FromJsonString ¶
func (r *DeleteLiveTimeShiftTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTimeShiftTemplateRequest) ToJsonString ¶
func (r *DeleteLiveTimeShiftTemplateRequest) ToJsonString() string
type DeleteLiveTimeShiftTemplateRequestParams ¶
type DeleteLiveTimeShiftTemplateRequestParams struct { // The template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveTimeShiftTemplateResponse ¶
type DeleteLiveTimeShiftTemplateResponse struct { *tchttp.BaseResponse Response *DeleteLiveTimeShiftTemplateResponseParams `json:"Response"` }
func NewDeleteLiveTimeShiftTemplateResponse ¶
func NewDeleteLiveTimeShiftTemplateResponse() (response *DeleteLiveTimeShiftTemplateResponse)
func (*DeleteLiveTimeShiftTemplateResponse) FromJsonString ¶
func (r *DeleteLiveTimeShiftTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTimeShiftTemplateResponse) ToJsonString ¶
func (r *DeleteLiveTimeShiftTemplateResponse) ToJsonString() string
type DeleteLiveTimeShiftTemplateResponseParams ¶
type DeleteLiveTimeShiftTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveTranscodeRuleRequest ¶
type DeleteLiveTranscodeRuleRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveTranscodeRuleRequest ¶
func NewDeleteLiveTranscodeRuleRequest() (request *DeleteLiveTranscodeRuleRequest)
func (*DeleteLiveTranscodeRuleRequest) FromJsonString ¶
func (r *DeleteLiveTranscodeRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTranscodeRuleRequest) ToJsonString ¶
func (r *DeleteLiveTranscodeRuleRequest) ToJsonString() string
type DeleteLiveTranscodeRuleRequestParams ¶
type DeleteLiveTranscodeRuleRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveTranscodeRuleResponse ¶
type DeleteLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveTranscodeRuleResponseParams `json:"Response"` }
func NewDeleteLiveTranscodeRuleResponse ¶
func NewDeleteLiveTranscodeRuleResponse() (response *DeleteLiveTranscodeRuleResponse)
func (*DeleteLiveTranscodeRuleResponse) FromJsonString ¶
func (r *DeleteLiveTranscodeRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTranscodeRuleResponse) ToJsonString ¶
func (r *DeleteLiveTranscodeRuleResponse) ToJsonString() string
type DeleteLiveTranscodeRuleResponseParams ¶
type DeleteLiveTranscodeRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveTranscodeTemplateRequest ¶
type DeleteLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveTranscodeTemplates](https://intl.cloud.tencent.com/document/product/267/32641?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveTranscodeTemplateRequest ¶
func NewDeleteLiveTranscodeTemplateRequest() (request *DeleteLiveTranscodeTemplateRequest)
func (*DeleteLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *DeleteLiveTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *DeleteLiveTranscodeTemplateRequest) ToJsonString() string
type DeleteLiveTranscodeTemplateRequestParams ¶
type DeleteLiveTranscodeTemplateRequestParams struct { // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveTranscodeTemplates](https://intl.cloud.tencent.com/document/product/267/32641?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteLiveTranscodeTemplateResponse ¶
type DeleteLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *DeleteLiveTranscodeTemplateResponseParams `json:"Response"` }
func NewDeleteLiveTranscodeTemplateResponse ¶
func NewDeleteLiveTranscodeTemplateResponse() (response *DeleteLiveTranscodeTemplateResponse)
func (*DeleteLiveTranscodeTemplateResponse) FromJsonString ¶
func (r *DeleteLiveTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *DeleteLiveTranscodeTemplateResponse) ToJsonString() string
type DeleteLiveTranscodeTemplateResponseParams ¶
type DeleteLiveTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveWatermarkRequest ¶
type DeleteLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID. // Watermark ID obtained in the returned value of the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API call. // Watermark ID returned by the `DescribeLiveWatermarks` API. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
func NewDeleteLiveWatermarkRequest ¶
func NewDeleteLiveWatermarkRequest() (request *DeleteLiveWatermarkRequest)
func (*DeleteLiveWatermarkRequest) FromJsonString ¶
func (r *DeleteLiveWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveWatermarkRequest) ToJsonString ¶
func (r *DeleteLiveWatermarkRequest) ToJsonString() string
type DeleteLiveWatermarkRequestParams ¶
type DeleteLiveWatermarkRequestParams struct { // Watermark ID. // Watermark ID obtained in the returned value of the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API call. // Watermark ID returned by the `DescribeLiveWatermarks` API. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
Predefined struct for user
type DeleteLiveWatermarkResponse ¶
type DeleteLiveWatermarkResponse struct { *tchttp.BaseResponse Response *DeleteLiveWatermarkResponseParams `json:"Response"` }
func NewDeleteLiveWatermarkResponse ¶
func NewDeleteLiveWatermarkResponse() (response *DeleteLiveWatermarkResponse)
func (*DeleteLiveWatermarkResponse) FromJsonString ¶
func (r *DeleteLiveWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveWatermarkResponse) ToJsonString ¶
func (r *DeleteLiveWatermarkResponse) ToJsonString() string
type DeleteLiveWatermarkResponseParams ¶
type DeleteLiveWatermarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLiveWatermarkRuleRequest ¶
type DeleteLiveWatermarkRuleRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveWatermarkRuleRequest ¶
func NewDeleteLiveWatermarkRuleRequest() (request *DeleteLiveWatermarkRuleRequest)
func (*DeleteLiveWatermarkRuleRequest) FromJsonString ¶
func (r *DeleteLiveWatermarkRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveWatermarkRuleRequest) ToJsonString ¶
func (r *DeleteLiveWatermarkRuleRequest) ToJsonString() string
type DeleteLiveWatermarkRuleRequestParams ¶
type DeleteLiveWatermarkRuleRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DeleteLiveWatermarkRuleResponse ¶
type DeleteLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *DeleteLiveWatermarkRuleResponseParams `json:"Response"` }
func NewDeleteLiveWatermarkRuleResponse ¶
func NewDeleteLiveWatermarkRuleResponse() (response *DeleteLiveWatermarkRuleResponse)
func (*DeleteLiveWatermarkRuleResponse) FromJsonString ¶
func (r *DeleteLiveWatermarkRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLiveWatermarkRuleResponse) ToJsonString ¶
func (r *DeleteLiveWatermarkRuleResponse) ToJsonString() string
type DeleteLiveWatermarkRuleResponseParams ¶
type DeleteLiveWatermarkRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRecordTaskRequest ¶
type DeleteRecordTaskRequest struct { *tchttp.BaseRequest // Task ID returned by `CreateRecordTask`. The recording task specified by `TaskId` will be deleted. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
func NewDeleteRecordTaskRequest ¶
func NewDeleteRecordTaskRequest() (request *DeleteRecordTaskRequest)
func (*DeleteRecordTaskRequest) FromJsonString ¶
func (r *DeleteRecordTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordTaskRequest) ToJsonString ¶
func (r *DeleteRecordTaskRequest) ToJsonString() string
type DeleteRecordTaskRequestParams ¶
type DeleteRecordTaskRequestParams struct { // Task ID returned by `CreateRecordTask`. The recording task specified by `TaskId` will be deleted. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteRecordTaskResponse ¶
type DeleteRecordTaskResponse struct { *tchttp.BaseResponse Response *DeleteRecordTaskResponseParams `json:"Response"` }
func NewDeleteRecordTaskResponse ¶
func NewDeleteRecordTaskResponse() (response *DeleteRecordTaskResponse)
func (*DeleteRecordTaskResponse) FromJsonString ¶
func (r *DeleteRecordTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordTaskResponse) ToJsonString ¶
func (r *DeleteRecordTaskResponse) ToJsonString() string
type DeleteRecordTaskResponseParams ¶
type DeleteRecordTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAllStreamPlayInfoListRequest ¶
type DescribeAllStreamPlayInfoListRequest struct { *tchttp.BaseRequest // The time point to query in the format of “yyyy-mm-dd HH:MM:00”(accurate to the minute). You can query data from the last month. Because there is a five-minute delay in the data, if you want to get the latest data, we recommend you pass in a time point five minutes earlier than the current time. QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"` // The playback domains to query. If you leave this empty, all playback domains will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
func NewDescribeAllStreamPlayInfoListRequest ¶
func NewDescribeAllStreamPlayInfoListRequest() (request *DescribeAllStreamPlayInfoListRequest)
func (*DescribeAllStreamPlayInfoListRequest) FromJsonString ¶
func (r *DescribeAllStreamPlayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllStreamPlayInfoListRequest) ToJsonString ¶
func (r *DescribeAllStreamPlayInfoListRequest) ToJsonString() string
type DescribeAllStreamPlayInfoListRequestParams ¶
type DescribeAllStreamPlayInfoListRequestParams struct { // The time point to query in the format of “yyyy-mm-dd HH:MM:00”(accurate to the minute). You can query data from the last month. Because there is a five-minute delay in the data, if you want to get the latest data, we recommend you pass in a time point five minutes earlier than the current time. QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"` // The playback domains to query. If you leave this empty, all playback domains will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
Predefined struct for user
type DescribeAllStreamPlayInfoListResponse ¶
type DescribeAllStreamPlayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeAllStreamPlayInfoListResponseParams `json:"Response"` }
func NewDescribeAllStreamPlayInfoListResponse ¶
func NewDescribeAllStreamPlayInfoListResponse() (response *DescribeAllStreamPlayInfoListResponse)
func (*DescribeAllStreamPlayInfoListResponse) FromJsonString ¶
func (r *DescribeAllStreamPlayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllStreamPlayInfoListResponse) ToJsonString ¶
func (r *DescribeAllStreamPlayInfoListResponse) ToJsonString() string
type DescribeAllStreamPlayInfoListResponseParams ¶
type DescribeAllStreamPlayInfoListResponseParams struct { // The time point queried, whose value is the same as that of the corresponding request parameter. QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"` // The playback data. DataInfoList []*MonitorStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillBandwidthAndFluxListRequest ¶
type DescribeBillBandwidthAndFluxListRequest struct { *tchttp.BaseRequest // Start time point in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of yyyy-mm-dd HH:MM:SS. The difference between the start time and end time cannot be greater than 31 days. Data in the last 3 years can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // LVB playback domain name. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Valid values: // Mainland: query data for Mainland China, // Oversea: query data for regions outside Mainland China, // Default: query data for all regions. // Note: LEB only supports querying data for all regions. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Data granularity. Valid values: // 5: 5-minute granularity (the query time span should be within 1 day), // 60: 1-hour granularity (the query time span should be within one month), // 1440: 1-day granularity (the query time span should be within one month). // Default value: 5. Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Service name. Valid values: LVB, LEB. The sum of LVB and LEB usage will be returned if this parameter is left empty. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` // Region. Valid values: // China Mainland // Asia Pacific I // Asia Pacific II // Asia Pacific III // Europe // North America // South America // Middle East // Africa RegionNames []*string `json:"RegionNames,omitempty" name:"RegionNames"` }
func NewDescribeBillBandwidthAndFluxListRequest ¶
func NewDescribeBillBandwidthAndFluxListRequest() (request *DescribeBillBandwidthAndFluxListRequest)
func (*DescribeBillBandwidthAndFluxListRequest) FromJsonString ¶
func (r *DescribeBillBandwidthAndFluxListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillBandwidthAndFluxListRequest) ToJsonString ¶
func (r *DescribeBillBandwidthAndFluxListRequest) ToJsonString() string
type DescribeBillBandwidthAndFluxListRequestParams ¶
type DescribeBillBandwidthAndFluxListRequestParams struct { // Start time point in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of yyyy-mm-dd HH:MM:SS. The difference between the start time and end time cannot be greater than 31 days. Data in the last 3 years can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // LVB playback domain name. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Valid values: // Mainland: query data for Mainland China, // Oversea: query data for regions outside Mainland China, // Default: query data for all regions. // Note: LEB only supports querying data for all regions. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Data granularity. Valid values: // 5: 5-minute granularity (the query time span should be within 1 day), // 60: 1-hour granularity (the query time span should be within one month), // 1440: 1-day granularity (the query time span should be within one month). // Default value: 5. Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Service name. Valid values: LVB, LEB. The sum of LVB and LEB usage will be returned if this parameter is left empty. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` // Region. Valid values: // China Mainland // Asia Pacific I // Asia Pacific II // Asia Pacific III // Europe // North America // South America // Middle East // Africa RegionNames []*string `json:"RegionNames,omitempty" name:"RegionNames"` }
Predefined struct for user
type DescribeBillBandwidthAndFluxListResponse ¶
type DescribeBillBandwidthAndFluxListResponse struct { *tchttp.BaseResponse Response *DescribeBillBandwidthAndFluxListResponseParams `json:"Response"` }
func NewDescribeBillBandwidthAndFluxListResponse ¶
func NewDescribeBillBandwidthAndFluxListResponse() (response *DescribeBillBandwidthAndFluxListResponse)
func (*DescribeBillBandwidthAndFluxListResponse) FromJsonString ¶
func (r *DescribeBillBandwidthAndFluxListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillBandwidthAndFluxListResponse) ToJsonString ¶
func (r *DescribeBillBandwidthAndFluxListResponse) ToJsonString() string
type DescribeBillBandwidthAndFluxListResponseParams ¶
type DescribeBillBandwidthAndFluxListResponseParams struct { // Time point of peak bandwidth value in the format of `yyyy-mm-dd HH:MM:SS`. PeakBandwidthTime *string `json:"PeakBandwidthTime,omitempty" name:"PeakBandwidthTime"` // Peak bandwidth in Mbps. PeakBandwidth *float64 `json:"PeakBandwidth,omitempty" name:"PeakBandwidth"` // Time point of 95th percentile bandwidth value in the format of `yyyy-mm-dd HH:MM:SS`. P95PeakBandwidthTime *string `json:"P95PeakBandwidthTime,omitempty" name:"P95PeakBandwidthTime"` // 95th percentile bandwidth in Mbps. P95PeakBandwidth *float64 `json:"P95PeakBandwidth,omitempty" name:"P95PeakBandwidth"` // Total traffic in MB. SumFlux *float64 `json:"SumFlux,omitempty" name:"SumFlux"` // Detailed data information. DataInfoList []*BillDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConcurrentRecordStreamNumRequest ¶
type DescribeConcurrentRecordStreamNumRequest struct { *tchttp.BaseRequest // Live streaming type. SlowLive: LCB. // NormalLive: LVB. LiveType *string `json:"LiveType,omitempty" name:"LiveType"` // Start time in the format of `yyyy-mm-dd HH:MM:SS`. // Data for the last 180 days can be queried. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of `yyyy-mm-dd HH:MM:SS`. // The maximum time span supported is 31 days. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Playback domain name list. If this parameter is left empty, full data will be queried. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
func NewDescribeConcurrentRecordStreamNumRequest ¶
func NewDescribeConcurrentRecordStreamNumRequest() (request *DescribeConcurrentRecordStreamNumRequest)
func (*DescribeConcurrentRecordStreamNumRequest) FromJsonString ¶
func (r *DescribeConcurrentRecordStreamNumRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConcurrentRecordStreamNumRequest) ToJsonString ¶
func (r *DescribeConcurrentRecordStreamNumRequest) ToJsonString() string
type DescribeConcurrentRecordStreamNumRequestParams ¶
type DescribeConcurrentRecordStreamNumRequestParams struct { // Live streaming type. SlowLive: LCB. // NormalLive: LVB. LiveType *string `json:"LiveType,omitempty" name:"LiveType"` // Start time in the format of `yyyy-mm-dd HH:MM:SS`. // Data for the last 180 days can be queried. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of `yyyy-mm-dd HH:MM:SS`. // The maximum time span supported is 31 days. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Playback domain name list. If this parameter is left empty, full data will be queried. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
Predefined struct for user
type DescribeConcurrentRecordStreamNumResponse ¶
type DescribeConcurrentRecordStreamNumResponse struct { *tchttp.BaseResponse Response *DescribeConcurrentRecordStreamNumResponseParams `json:"Response"` }
func NewDescribeConcurrentRecordStreamNumResponse ¶
func NewDescribeConcurrentRecordStreamNumResponse() (response *DescribeConcurrentRecordStreamNumResponse)
func (*DescribeConcurrentRecordStreamNumResponse) FromJsonString ¶
func (r *DescribeConcurrentRecordStreamNumResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConcurrentRecordStreamNumResponse) ToJsonString ¶
func (r *DescribeConcurrentRecordStreamNumResponse) ToJsonString() string
type DescribeConcurrentRecordStreamNumResponseParams ¶
type DescribeConcurrentRecordStreamNumResponseParams struct { // Statistics list. DataInfoList []*ConcurrentRecordStreamNum `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeliverBandwidthListRequest ¶
type DescribeDeliverBandwidthListRequest struct { *tchttp.BaseRequest // Start time in the format of "%Y-%m-%d %H:%M:%S". StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of "%Y-%m-%d %H:%M:%S". Data in the last 3 months can be queried, and the query period is up to 1 month. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDeliverBandwidthListRequest ¶
func NewDescribeDeliverBandwidthListRequest() (request *DescribeDeliverBandwidthListRequest)
func (*DescribeDeliverBandwidthListRequest) FromJsonString ¶
func (r *DescribeDeliverBandwidthListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeliverBandwidthListRequest) ToJsonString ¶
func (r *DescribeDeliverBandwidthListRequest) ToJsonString() string
type DescribeDeliverBandwidthListRequestParams ¶
type DescribeDeliverBandwidthListRequestParams struct { // Start time in the format of "%Y-%m-%d %H:%M:%S". StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of "%Y-%m-%d %H:%M:%S". Data in the last 3 months can be queried, and the query period is up to 1 month. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeDeliverBandwidthListResponse ¶
type DescribeDeliverBandwidthListResponse struct { *tchttp.BaseResponse Response *DescribeDeliverBandwidthListResponseParams `json:"Response"` }
func NewDescribeDeliverBandwidthListResponse ¶
func NewDescribeDeliverBandwidthListResponse() (response *DescribeDeliverBandwidthListResponse)
func (*DescribeDeliverBandwidthListResponse) FromJsonString ¶
func (r *DescribeDeliverBandwidthListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeliverBandwidthListResponse) ToJsonString ¶
func (r *DescribeDeliverBandwidthListResponse) ToJsonString() string
type DescribeDeliverBandwidthListResponseParams ¶
type DescribeDeliverBandwidthListResponseParams struct { // Billable bandwidth of live stream relaying. DataInfoList []*BandwidthInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupProIspPlayInfoListRequest ¶
type DescribeGroupProIspPlayInfoListRequest struct { *tchttp.BaseRequest // Start time point in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of `yyyy-mm-dd HH:MM:SS` // The time span is (0,3 hours]. Data for the last month can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // District list. If this parameter is left empty, data for all districts will be returned. ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"` // ISP list. If this parameter is left empty, data of all ISPs will be returned. IspNames []*string `json:"IspNames,omitempty" name:"IspNames"` // Within or outside Mainland China. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
func NewDescribeGroupProIspPlayInfoListRequest ¶
func NewDescribeGroupProIspPlayInfoListRequest() (request *DescribeGroupProIspPlayInfoListRequest)
func (*DescribeGroupProIspPlayInfoListRequest) FromJsonString ¶
func (r *DescribeGroupProIspPlayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupProIspPlayInfoListRequest) ToJsonString ¶
func (r *DescribeGroupProIspPlayInfoListRequest) ToJsonString() string
type DescribeGroupProIspPlayInfoListRequestParams ¶
type DescribeGroupProIspPlayInfoListRequestParams struct { // Start time point in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of `yyyy-mm-dd HH:MM:SS` // The time span is (0,3 hours]. Data for the last month can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // District list. If this parameter is left empty, data for all districts will be returned. ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"` // ISP list. If this parameter is left empty, data of all ISPs will be returned. IspNames []*string `json:"IspNames,omitempty" name:"IspNames"` // Within or outside Mainland China. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
Predefined struct for user
type DescribeGroupProIspPlayInfoListResponse ¶
type DescribeGroupProIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeGroupProIspPlayInfoListResponseParams `json:"Response"` }
func NewDescribeGroupProIspPlayInfoListResponse ¶
func NewDescribeGroupProIspPlayInfoListResponse() (response *DescribeGroupProIspPlayInfoListResponse)
func (*DescribeGroupProIspPlayInfoListResponse) FromJsonString ¶
func (r *DescribeGroupProIspPlayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupProIspPlayInfoListResponse) ToJsonString ¶
func (r *DescribeGroupProIspPlayInfoListResponse) ToJsonString() string
type DescribeGroupProIspPlayInfoListResponseParams ¶
type DescribeGroupProIspPlayInfoListResponseParams struct { // Data content. DataInfoList []*GroupProIspDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHttpStatusInfoListRequest ¶
type DescribeHttpStatusInfoListRequest struct { *tchttp.BaseRequest // Start time (Beijing time). // Format: yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time). // Format: yyyy-mm-dd HH:MM:SS. // Note: data in the last 3 months can be queried and the query period is up to 1 day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
func NewDescribeHttpStatusInfoListRequest ¶
func NewDescribeHttpStatusInfoListRequest() (request *DescribeHttpStatusInfoListRequest)
func (*DescribeHttpStatusInfoListRequest) FromJsonString ¶
func (r *DescribeHttpStatusInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHttpStatusInfoListRequest) ToJsonString ¶
func (r *DescribeHttpStatusInfoListRequest) ToJsonString() string
type DescribeHttpStatusInfoListRequestParams ¶
type DescribeHttpStatusInfoListRequestParams struct { // Start time (Beijing time). // Format: yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time). // Format: yyyy-mm-dd HH:MM:SS. // Note: data in the last 3 months can be queried and the query period is up to 1 day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
Predefined struct for user
type DescribeHttpStatusInfoListResponse ¶
type DescribeHttpStatusInfoListResponse struct { *tchttp.BaseResponse Response *DescribeHttpStatusInfoListResponseParams `json:"Response"` }
func NewDescribeHttpStatusInfoListResponse ¶
func NewDescribeHttpStatusInfoListResponse() (response *DescribeHttpStatusInfoListResponse)
func (*DescribeHttpStatusInfoListResponse) FromJsonString ¶
func (r *DescribeHttpStatusInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHttpStatusInfoListResponse) ToJsonString ¶
func (r *DescribeHttpStatusInfoListResponse) ToJsonString() string
type DescribeHttpStatusInfoListResponseParams ¶
type DescribeHttpStatusInfoListResponseParams struct { // Playback status code list. DataInfoList []*HttpStatusData `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveCallbackRulesRequest ¶
type DescribeLiveCallbackRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveCallbackRulesRequest ¶
func NewDescribeLiveCallbackRulesRequest() (request *DescribeLiveCallbackRulesRequest)
func (*DescribeLiveCallbackRulesRequest) FromJsonString ¶
func (r *DescribeLiveCallbackRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackRulesRequest) ToJsonString ¶
func (r *DescribeLiveCallbackRulesRequest) ToJsonString() string
type DescribeLiveCallbackRulesRequestParams ¶
type DescribeLiveCallbackRulesRequestParams struct { }
Predefined struct for user
type DescribeLiveCallbackRulesResponse ¶
type DescribeLiveCallbackRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveCallbackRulesResponseParams `json:"Response"` }
func NewDescribeLiveCallbackRulesResponse ¶
func NewDescribeLiveCallbackRulesResponse() (response *DescribeLiveCallbackRulesResponse)
func (*DescribeLiveCallbackRulesResponse) FromJsonString ¶
func (r *DescribeLiveCallbackRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackRulesResponse) ToJsonString ¶
func (r *DescribeLiveCallbackRulesResponse) ToJsonString() string
type DescribeLiveCallbackRulesResponseParams ¶
type DescribeLiveCallbackRulesResponseParams struct { // Rule information list. Rules []*CallBackRuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveCallbackTemplateRequest ¶
type DescribeLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveCallbackTemplates](https://intl.cloud.tencent.com/document/product/267/32632?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveCallbackTemplateRequest ¶
func NewDescribeLiveCallbackTemplateRequest() (request *DescribeLiveCallbackTemplateRequest)
func (*DescribeLiveCallbackTemplateRequest) FromJsonString ¶
func (r *DescribeLiveCallbackTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackTemplateRequest) ToJsonString ¶
func (r *DescribeLiveCallbackTemplateRequest) ToJsonString() string
type DescribeLiveCallbackTemplateRequestParams ¶
type DescribeLiveCallbackTemplateRequestParams struct { // Template ID. // 1. Get the template ID in the returned value of the [CreateLiveCallbackTemplate](https://intl.cloud.tencent.com/document/product/267/32637?from_cn_redirect=1) API call. // 2. You can query the list of created templates through the [DescribeLiveCallbackTemplates](https://intl.cloud.tencent.com/document/product/267/32632?from_cn_redirect=1) API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeLiveCallbackTemplateResponse ¶
type DescribeLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *DescribeLiveCallbackTemplateResponseParams `json:"Response"` }
func NewDescribeLiveCallbackTemplateResponse ¶
func NewDescribeLiveCallbackTemplateResponse() (response *DescribeLiveCallbackTemplateResponse)
func (*DescribeLiveCallbackTemplateResponse) FromJsonString ¶
func (r *DescribeLiveCallbackTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackTemplateResponse) ToJsonString ¶
func (r *DescribeLiveCallbackTemplateResponse) ToJsonString() string
type DescribeLiveCallbackTemplateResponseParams ¶
type DescribeLiveCallbackTemplateResponseParams struct { // Callback template information. Template *CallBackTemplateInfo `json:"Template,omitempty" name:"Template"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveCallbackTemplatesRequest ¶
type DescribeLiveCallbackTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveCallbackTemplatesRequest ¶
func NewDescribeLiveCallbackTemplatesRequest() (request *DescribeLiveCallbackTemplatesRequest)
func (*DescribeLiveCallbackTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveCallbackTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveCallbackTemplatesRequest) ToJsonString() string
type DescribeLiveCallbackTemplatesRequestParams ¶
type DescribeLiveCallbackTemplatesRequestParams struct { }
Predefined struct for user
type DescribeLiveCallbackTemplatesResponse ¶
type DescribeLiveCallbackTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeLiveCallbackTemplatesResponseParams `json:"Response"` }
func NewDescribeLiveCallbackTemplatesResponse ¶
func NewDescribeLiveCallbackTemplatesResponse() (response *DescribeLiveCallbackTemplatesResponse)
func (*DescribeLiveCallbackTemplatesResponse) FromJsonString ¶
func (r *DescribeLiveCallbackTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCallbackTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveCallbackTemplatesResponse) ToJsonString() string
type DescribeLiveCallbackTemplatesResponseParams ¶
type DescribeLiveCallbackTemplatesResponseParams struct { // Template information list. Templates []*CallBackTemplateInfo `json:"Templates,omitempty" name:"Templates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveCertRequest ¶
type DescribeLiveCertRequest struct { *tchttp.BaseRequest // Certificate ID obtained through the `DescribeLiveCerts` API. CertId *int64 `json:"CertId,omitempty" name:"CertId"` }
func NewDescribeLiveCertRequest ¶
func NewDescribeLiveCertRequest() (request *DescribeLiveCertRequest)
func (*DescribeLiveCertRequest) FromJsonString ¶
func (r *DescribeLiveCertRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCertRequest) ToJsonString ¶
func (r *DescribeLiveCertRequest) ToJsonString() string
type DescribeLiveCertRequestParams ¶
type DescribeLiveCertRequestParams struct { // Certificate ID obtained through the `DescribeLiveCerts` API. CertId *int64 `json:"CertId,omitempty" name:"CertId"` }
Predefined struct for user
type DescribeLiveCertResponse ¶
type DescribeLiveCertResponse struct { *tchttp.BaseResponse Response *DescribeLiveCertResponseParams `json:"Response"` }
func NewDescribeLiveCertResponse ¶
func NewDescribeLiveCertResponse() (response *DescribeLiveCertResponse)
func (*DescribeLiveCertResponse) FromJsonString ¶
func (r *DescribeLiveCertResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCertResponse) ToJsonString ¶
func (r *DescribeLiveCertResponse) ToJsonString() string
type DescribeLiveCertResponseParams ¶
type DescribeLiveCertResponseParams struct { // Certificate information. CertInfo *CertInfo `json:"CertInfo,omitempty" name:"CertInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveCertsRequest ¶
type DescribeLiveCertsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveCertsRequest ¶
func NewDescribeLiveCertsRequest() (request *DescribeLiveCertsRequest)
func (*DescribeLiveCertsRequest) FromJsonString ¶
func (r *DescribeLiveCertsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCertsRequest) ToJsonString ¶
func (r *DescribeLiveCertsRequest) ToJsonString() string
type DescribeLiveCertsRequestParams ¶
type DescribeLiveCertsRequestParams struct { }
Predefined struct for user
type DescribeLiveCertsResponse ¶
type DescribeLiveCertsResponse struct { *tchttp.BaseResponse Response *DescribeLiveCertsResponseParams `json:"Response"` }
func NewDescribeLiveCertsResponse ¶
func NewDescribeLiveCertsResponse() (response *DescribeLiveCertsResponse)
func (*DescribeLiveCertsResponse) FromJsonString ¶
func (r *DescribeLiveCertsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveCertsResponse) ToJsonString ¶
func (r *DescribeLiveCertsResponse) ToJsonString() string
type DescribeLiveCertsResponseParams ¶
type DescribeLiveCertsResponseParams struct { // Certificate information list. CertInfoSet []*CertInfo `json:"CertInfoSet,omitempty" name:"CertInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDelayInfoListRequest ¶
type DescribeLiveDelayInfoListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveDelayInfoListRequest ¶
func NewDescribeLiveDelayInfoListRequest() (request *DescribeLiveDelayInfoListRequest)
func (*DescribeLiveDelayInfoListRequest) FromJsonString ¶
func (r *DescribeLiveDelayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDelayInfoListRequest) ToJsonString ¶
func (r *DescribeLiveDelayInfoListRequest) ToJsonString() string
type DescribeLiveDelayInfoListRequestParams ¶
type DescribeLiveDelayInfoListRequestParams struct { }
Predefined struct for user
type DescribeLiveDelayInfoListResponse ¶
type DescribeLiveDelayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeLiveDelayInfoListResponseParams `json:"Response"` }
func NewDescribeLiveDelayInfoListResponse ¶
func NewDescribeLiveDelayInfoListResponse() (response *DescribeLiveDelayInfoListResponse)
func (*DescribeLiveDelayInfoListResponse) FromJsonString ¶
func (r *DescribeLiveDelayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDelayInfoListResponse) ToJsonString ¶
func (r *DescribeLiveDelayInfoListResponse) ToJsonString() string
type DescribeLiveDelayInfoListResponseParams ¶
type DescribeLiveDelayInfoListResponseParams struct { // Delayed playback information list. DelayInfoList []*DelayInfo `json:"DelayInfoList,omitempty" name:"DelayInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDomainCertBindingsRequest ¶
type DescribeLiveDomainCertBindingsRequest struct { *tchttp.BaseRequest // The keyword to use to search for domains. DomainSearch *string `json:"DomainSearch,omitempty" name:"DomainSearch"` // The number of records to skip before starting to return any results. 0 means to start from the first record and is the default. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The maximum number of records to return. The default is 50. // If this parameter is not specified, up to 50 records will be returned. Length *int64 `json:"Length,omitempty" name:"Length"` // The name of a particular domain to query. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Valid values: // ExpireTimeAsc: Sort the records by certificate expiration time in ascending order. // ExpireTimeDesc: Sort the records by certificate expiration time in descending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` }
func NewDescribeLiveDomainCertBindingsRequest ¶
func NewDescribeLiveDomainCertBindingsRequest() (request *DescribeLiveDomainCertBindingsRequest)
func (*DescribeLiveDomainCertBindingsRequest) FromJsonString ¶
func (r *DescribeLiveDomainCertBindingsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainCertBindingsRequest) ToJsonString ¶
func (r *DescribeLiveDomainCertBindingsRequest) ToJsonString() string
type DescribeLiveDomainCertBindingsRequestParams ¶
type DescribeLiveDomainCertBindingsRequestParams struct { // The keyword to use to search for domains. DomainSearch *string `json:"DomainSearch,omitempty" name:"DomainSearch"` // The number of records to skip before starting to return any results. 0 means to start from the first record and is the default. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The maximum number of records to return. The default is 50. // If this parameter is not specified, up to 50 records will be returned. Length *int64 `json:"Length,omitempty" name:"Length"` // The name of a particular domain to query. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Valid values: // ExpireTimeAsc: Sort the records by certificate expiration time in ascending order. // ExpireTimeDesc: Sort the records by certificate expiration time in descending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` }
Predefined struct for user
type DescribeLiveDomainCertBindingsResponse ¶
type DescribeLiveDomainCertBindingsResponse struct { *tchttp.BaseResponse Response *DescribeLiveDomainCertBindingsResponseParams `json:"Response"` }
func NewDescribeLiveDomainCertBindingsResponse ¶
func NewDescribeLiveDomainCertBindingsResponse() (response *DescribeLiveDomainCertBindingsResponse)
func (*DescribeLiveDomainCertBindingsResponse) FromJsonString ¶
func (r *DescribeLiveDomainCertBindingsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainCertBindingsResponse) ToJsonString ¶
func (r *DescribeLiveDomainCertBindingsResponse) ToJsonString() string
type DescribeLiveDomainCertBindingsResponseParams ¶
type DescribeLiveDomainCertBindingsResponseParams struct { // The information of domains that meet the query criteria. LiveDomainCertBindings []*LiveDomainCertBindings `json:"LiveDomainCertBindings,omitempty" name:"LiveDomainCertBindings"` // The number of records returned, which is needed for pagination. TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDomainCertRequest ¶
type DescribeLiveDomainCertRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLiveDomainCertRequest ¶
func NewDescribeLiveDomainCertRequest() (request *DescribeLiveDomainCertRequest)
func (*DescribeLiveDomainCertRequest) FromJsonString ¶
func (r *DescribeLiveDomainCertRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainCertRequest) ToJsonString ¶
func (r *DescribeLiveDomainCertRequest) ToJsonString() string
type DescribeLiveDomainCertRequestParams ¶
type DescribeLiveDomainCertRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type DescribeLiveDomainCertResponse ¶
type DescribeLiveDomainCertResponse struct { *tchttp.BaseResponse Response *DescribeLiveDomainCertResponseParams `json:"Response"` }
func NewDescribeLiveDomainCertResponse ¶
func NewDescribeLiveDomainCertResponse() (response *DescribeLiveDomainCertResponse)
func (*DescribeLiveDomainCertResponse) FromJsonString ¶
func (r *DescribeLiveDomainCertResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainCertResponse) ToJsonString ¶
func (r *DescribeLiveDomainCertResponse) ToJsonString() string
type DescribeLiveDomainCertResponseParams ¶
type DescribeLiveDomainCertResponseParams struct { // Certificate information. DomainCertInfo *DomainCertInfo `json:"DomainCertInfo,omitempty" name:"DomainCertInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDomainRefererRequest ¶
type DescribeLiveDomainRefererRequest struct { *tchttp.BaseRequest // Playback domain name DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLiveDomainRefererRequest ¶
func NewDescribeLiveDomainRefererRequest() (request *DescribeLiveDomainRefererRequest)
func (*DescribeLiveDomainRefererRequest) FromJsonString ¶
func (r *DescribeLiveDomainRefererRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainRefererRequest) ToJsonString ¶
func (r *DescribeLiveDomainRefererRequest) ToJsonString() string
type DescribeLiveDomainRefererRequestParams ¶
type DescribeLiveDomainRefererRequestParams struct { // Playback domain name DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type DescribeLiveDomainRefererResponse ¶
type DescribeLiveDomainRefererResponse struct { *tchttp.BaseResponse Response *DescribeLiveDomainRefererResponseParams `json:"Response"` }
func NewDescribeLiveDomainRefererResponse ¶
func NewDescribeLiveDomainRefererResponse() (response *DescribeLiveDomainRefererResponse)
func (*DescribeLiveDomainRefererResponse) FromJsonString ¶
func (r *DescribeLiveDomainRefererResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainRefererResponse) ToJsonString ¶
func (r *DescribeLiveDomainRefererResponse) ToJsonString() string
type DescribeLiveDomainRefererResponseParams ¶
type DescribeLiveDomainRefererResponseParams struct { // Referer allowlist/blocklist configuration of a domain name RefererAuthConfig *RefererAuthConfig `json:"RefererAuthConfig,omitempty" name:"RefererAuthConfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDomainRequest ¶
type DescribeLiveDomainRequest struct { *tchttp.BaseRequest // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLiveDomainRequest ¶
func NewDescribeLiveDomainRequest() (request *DescribeLiveDomainRequest)
func (*DescribeLiveDomainRequest) FromJsonString ¶
func (r *DescribeLiveDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainRequest) ToJsonString ¶
func (r *DescribeLiveDomainRequest) ToJsonString() string
type DescribeLiveDomainRequestParams ¶
type DescribeLiveDomainRequestParams struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type DescribeLiveDomainResponse ¶
type DescribeLiveDomainResponse struct { *tchttp.BaseResponse Response *DescribeLiveDomainResponseParams `json:"Response"` }
func NewDescribeLiveDomainResponse ¶
func NewDescribeLiveDomainResponse() (response *DescribeLiveDomainResponse)
func (*DescribeLiveDomainResponse) FromJsonString ¶
func (r *DescribeLiveDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainResponse) ToJsonString ¶
func (r *DescribeLiveDomainResponse) ToJsonString() string
type DescribeLiveDomainResponseParams ¶
type DescribeLiveDomainResponseParams struct { // Domain name information. // Note: this field may return `null`, indicating that no valid value is obtained. DomainInfo *DomainInfo `json:"DomainInfo,omitempty" name:"DomainInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveDomainsRequest ¶
type DescribeLiveDomainsRequest struct { *tchttp.BaseRequest // Filter by domain name status. 0: disabled, 1: enabled. DomainStatus *uint64 `json:"DomainStatus,omitempty" name:"DomainStatus"` // Filter by domain name type. 0: push. 1: playback DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // Number of entries per page. Value range: 10-100. Default value: 10. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Page number to get. Value range: 1-100000. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 0: LVB, 1: LCB. Default value: 0. IsDelayLive *uint64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // Domain name prefix. DomainPrefix *string `json:"DomainPrefix,omitempty" name:"DomainPrefix"` // Playback region. This parameter is valid only when `DomainType` is set to `1`. // `1`: Chinese mainland // `2`: global // `3`: outside Chinese mainland PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"` }
func NewDescribeLiveDomainsRequest ¶
func NewDescribeLiveDomainsRequest() (request *DescribeLiveDomainsRequest)
func (*DescribeLiveDomainsRequest) FromJsonString ¶
func (r *DescribeLiveDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainsRequest) ToJsonString ¶
func (r *DescribeLiveDomainsRequest) ToJsonString() string
type DescribeLiveDomainsRequestParams ¶
type DescribeLiveDomainsRequestParams struct { // Filter by domain name status. 0: disabled, 1: enabled. DomainStatus *uint64 `json:"DomainStatus,omitempty" name:"DomainStatus"` // Filter by domain name type. 0: push. 1: playback DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // Number of entries per page. Value range: 10-100. Default value: 10. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Page number to get. Value range: 1-100000. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 0: LVB, 1: LCB. Default value: 0. IsDelayLive *uint64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // Domain name prefix. DomainPrefix *string `json:"DomainPrefix,omitempty" name:"DomainPrefix"` // Playback region. This parameter is valid only when `DomainType` is set to `1`. // `1`: Chinese mainland // `2`: global // `3`: outside Chinese mainland PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"` }
Predefined struct for user
type DescribeLiveDomainsResponse ¶
type DescribeLiveDomainsResponse struct { *tchttp.BaseResponse Response *DescribeLiveDomainsResponseParams `json:"Response"` }
func NewDescribeLiveDomainsResponse ¶
func NewDescribeLiveDomainsResponse() (response *DescribeLiveDomainsResponse)
func (*DescribeLiveDomainsResponse) FromJsonString ¶
func (r *DescribeLiveDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveDomainsResponse) ToJsonString ¶
func (r *DescribeLiveDomainsResponse) ToJsonString() string
type DescribeLiveDomainsResponseParams ¶
type DescribeLiveDomainsResponseParams struct { // Total number of results. AllCount *uint64 `json:"AllCount,omitempty" name:"AllCount"` // List of domain name details. DomainList []*DomainInfo `json:"DomainList,omitempty" name:"DomainList"` // The number of domain names that can be added // Note: this field may return `null`, indicating that no valid values can be obtained. CreateLimitCount *int64 `json:"CreateLimitCount,omitempty" name:"CreateLimitCount"` // The number of domains accelerated in the Chinese mainland, globally, and outside the Chinese mainland respectively. // Note: This field may return null, indicating that no valid values can be obtained. PlayTypeCount []*int64 `json:"PlayTypeCount,omitempty" name:"PlayTypeCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveForbidStreamListRequest ¶
type DescribeLiveForbidStreamListRequest struct { *tchttp.BaseRequest // Page number to get. Default value: 1. PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Maximum value: 100. // Value: any integer between 1 and 100. // Default value: 10. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name for query StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveForbidStreamListRequest ¶
func NewDescribeLiveForbidStreamListRequest() (request *DescribeLiveForbidStreamListRequest)
func (*DescribeLiveForbidStreamListRequest) FromJsonString ¶
func (r *DescribeLiveForbidStreamListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveForbidStreamListRequest) ToJsonString ¶
func (r *DescribeLiveForbidStreamListRequest) ToJsonString() string
type DescribeLiveForbidStreamListRequestParams ¶
type DescribeLiveForbidStreamListRequestParams struct { // Page number to get. Default value: 1. PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Maximum value: 100. // Value: any integer between 1 and 100. // Default value: 10. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name for query StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DescribeLiveForbidStreamListResponse ¶
type DescribeLiveForbidStreamListResponse struct { *tchttp.BaseResponse Response *DescribeLiveForbidStreamListResponseParams `json:"Response"` }
func NewDescribeLiveForbidStreamListResponse ¶
func NewDescribeLiveForbidStreamListResponse() (response *DescribeLiveForbidStreamListResponse)
func (*DescribeLiveForbidStreamListResponse) FromJsonString ¶
func (r *DescribeLiveForbidStreamListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveForbidStreamListResponse) ToJsonString ¶
func (r *DescribeLiveForbidStreamListResponse) ToJsonString() string
type DescribeLiveForbidStreamListResponseParams ¶
type DescribeLiveForbidStreamListResponseParams struct { // Total number of eligible ones. TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *int64 `json:"TotalPage,omitempty" name:"TotalPage"` // Page number. PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries displayed per page. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // List of forbidden streams. ForbidStreamList []*ForbidStreamInfo `json:"ForbidStreamList,omitempty" name:"ForbidStreamList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLivePlayAuthKeyRequest ¶
type DescribeLivePlayAuthKeyRequest struct { *tchttp.BaseRequest // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLivePlayAuthKeyRequest ¶
func NewDescribeLivePlayAuthKeyRequest() (request *DescribeLivePlayAuthKeyRequest)
func (*DescribeLivePlayAuthKeyRequest) FromJsonString ¶
func (r *DescribeLivePlayAuthKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePlayAuthKeyRequest) ToJsonString ¶
func (r *DescribeLivePlayAuthKeyRequest) ToJsonString() string
type DescribeLivePlayAuthKeyRequestParams ¶
type DescribeLivePlayAuthKeyRequestParams struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type DescribeLivePlayAuthKeyResponse ¶
type DescribeLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *DescribeLivePlayAuthKeyResponseParams `json:"Response"` }
func NewDescribeLivePlayAuthKeyResponse ¶
func NewDescribeLivePlayAuthKeyResponse() (response *DescribeLivePlayAuthKeyResponse)
func (*DescribeLivePlayAuthKeyResponse) FromJsonString ¶
func (r *DescribeLivePlayAuthKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePlayAuthKeyResponse) ToJsonString ¶
func (r *DescribeLivePlayAuthKeyResponse) ToJsonString() string
type DescribeLivePlayAuthKeyResponseParams ¶
type DescribeLivePlayAuthKeyResponseParams struct { // Playback authentication key information. PlayAuthKeyInfo *PlayAuthKeyInfo `json:"PlayAuthKeyInfo,omitempty" name:"PlayAuthKeyInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLivePullStreamTasksRequest ¶
type DescribeLivePullStreamTasksRequest struct { *tchttp.BaseRequest // The task ID. // A task ID is returned by the `CreateLivePullStreamTask` API. // If you do not pass this parameter, all tasks will be returned, sorted by last updated time in descending order. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The number of page to start from. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // The maximum number of records per page. Default value: 10. // Valid values: Any integer between 1 and 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeLivePullStreamTasksRequest ¶
func NewDescribeLivePullStreamTasksRequest() (request *DescribeLivePullStreamTasksRequest)
func (*DescribeLivePullStreamTasksRequest) FromJsonString ¶
func (r *DescribeLivePullStreamTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePullStreamTasksRequest) ToJsonString ¶
func (r *DescribeLivePullStreamTasksRequest) ToJsonString() string
type DescribeLivePullStreamTasksRequestParams ¶
type DescribeLivePullStreamTasksRequestParams struct { // The task ID. // A task ID is returned by the `CreateLivePullStreamTask` API. // If you do not pass this parameter, all tasks will be returned, sorted by last updated time in descending order. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The number of page to start from. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // The maximum number of records per page. Default value: 10. // Valid values: Any integer between 1 and 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeLivePullStreamTasksResponse ¶
type DescribeLivePullStreamTasksResponse struct { *tchttp.BaseResponse Response *DescribeLivePullStreamTasksResponseParams `json:"Response"` }
func NewDescribeLivePullStreamTasksResponse ¶
func NewDescribeLivePullStreamTasksResponse() (response *DescribeLivePullStreamTasksResponse)
func (*DescribeLivePullStreamTasksResponse) FromJsonString ¶
func (r *DescribeLivePullStreamTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePullStreamTasksResponse) ToJsonString ¶
func (r *DescribeLivePullStreamTasksResponse) ToJsonString() string
type DescribeLivePullStreamTasksResponseParams ¶
type DescribeLivePullStreamTasksResponseParams struct { // The information of stream pulling tasks. TaskInfos []*PullStreamTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos"` // The page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // The number of records per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // The total number of records. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // The total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // The maximum number of tasks allowed. LimitTaskNum *uint64 `json:"LimitTaskNum,omitempty" name:"LimitTaskNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLivePushAuthKeyRequest ¶
type DescribeLivePushAuthKeyRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLivePushAuthKeyRequest ¶
func NewDescribeLivePushAuthKeyRequest() (request *DescribeLivePushAuthKeyRequest)
func (*DescribeLivePushAuthKeyRequest) FromJsonString ¶
func (r *DescribeLivePushAuthKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePushAuthKeyRequest) ToJsonString ¶
func (r *DescribeLivePushAuthKeyRequest) ToJsonString() string
type DescribeLivePushAuthKeyRequestParams ¶
type DescribeLivePushAuthKeyRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type DescribeLivePushAuthKeyResponse ¶
type DescribeLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *DescribeLivePushAuthKeyResponseParams `json:"Response"` }
func NewDescribeLivePushAuthKeyResponse ¶
func NewDescribeLivePushAuthKeyResponse() (response *DescribeLivePushAuthKeyResponse)
func (*DescribeLivePushAuthKeyResponse) FromJsonString ¶
func (r *DescribeLivePushAuthKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLivePushAuthKeyResponse) ToJsonString ¶
func (r *DescribeLivePushAuthKeyResponse) ToJsonString() string
type DescribeLivePushAuthKeyResponseParams ¶
type DescribeLivePushAuthKeyResponseParams struct { // Push authentication key information. PushAuthKeyInfo *PushAuthKeyInfo `json:"PushAuthKeyInfo,omitempty" name:"PushAuthKeyInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveRecordRulesRequest ¶
type DescribeLiveRecordRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveRecordRulesRequest ¶
func NewDescribeLiveRecordRulesRequest() (request *DescribeLiveRecordRulesRequest)
func (*DescribeLiveRecordRulesRequest) FromJsonString ¶
func (r *DescribeLiveRecordRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordRulesRequest) ToJsonString ¶
func (r *DescribeLiveRecordRulesRequest) ToJsonString() string
type DescribeLiveRecordRulesRequestParams ¶
type DescribeLiveRecordRulesRequestParams struct { }
Predefined struct for user
type DescribeLiveRecordRulesResponse ¶
type DescribeLiveRecordRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveRecordRulesResponseParams `json:"Response"` }
func NewDescribeLiveRecordRulesResponse ¶
func NewDescribeLiveRecordRulesResponse() (response *DescribeLiveRecordRulesResponse)
func (*DescribeLiveRecordRulesResponse) FromJsonString ¶
func (r *DescribeLiveRecordRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordRulesResponse) ToJsonString ¶
func (r *DescribeLiveRecordRulesResponse) ToJsonString() string
type DescribeLiveRecordRulesResponseParams ¶
type DescribeLiveRecordRulesResponseParams struct { // List of rules. Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveRecordTemplateRequest ¶
type DescribeLiveRecordTemplateRequest struct { *tchttp.BaseRequest // Template ID obtained by [DescribeLiveRecordTemplates](https://intl.cloud.tencent.com/document/product/267/32609?from_cn_redirect=1). TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveRecordTemplateRequest ¶
func NewDescribeLiveRecordTemplateRequest() (request *DescribeLiveRecordTemplateRequest)
func (*DescribeLiveRecordTemplateRequest) FromJsonString ¶
func (r *DescribeLiveRecordTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordTemplateRequest) ToJsonString ¶
func (r *DescribeLiveRecordTemplateRequest) ToJsonString() string
type DescribeLiveRecordTemplateRequestParams ¶
type DescribeLiveRecordTemplateRequestParams struct { // Template ID obtained by [DescribeLiveRecordTemplates](https://intl.cloud.tencent.com/document/product/267/32609?from_cn_redirect=1). TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeLiveRecordTemplateResponse ¶
type DescribeLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *DescribeLiveRecordTemplateResponseParams `json:"Response"` }
func NewDescribeLiveRecordTemplateResponse ¶
func NewDescribeLiveRecordTemplateResponse() (response *DescribeLiveRecordTemplateResponse)
func (*DescribeLiveRecordTemplateResponse) FromJsonString ¶
func (r *DescribeLiveRecordTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordTemplateResponse) ToJsonString ¶
func (r *DescribeLiveRecordTemplateResponse) ToJsonString() string
type DescribeLiveRecordTemplateResponseParams ¶
type DescribeLiveRecordTemplateResponseParams struct { // Recording template information. Template *RecordTemplateInfo `json:"Template,omitempty" name:"Template"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveRecordTemplatesRequest ¶
type DescribeLiveRecordTemplatesRequest struct { *tchttp.BaseRequest // Whether it is an LCB template. Default value: 0. // 0: LVB. // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` }
func NewDescribeLiveRecordTemplatesRequest ¶
func NewDescribeLiveRecordTemplatesRequest() (request *DescribeLiveRecordTemplatesRequest)
func (*DescribeLiveRecordTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveRecordTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveRecordTemplatesRequest) ToJsonString() string
type DescribeLiveRecordTemplatesRequestParams ¶
type DescribeLiveRecordTemplatesRequestParams struct { // Whether it is an LCB template. Default value: 0. // 0: LVB. // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` }
Predefined struct for user
type DescribeLiveRecordTemplatesResponse ¶
type DescribeLiveRecordTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeLiveRecordTemplatesResponseParams `json:"Response"` }
func NewDescribeLiveRecordTemplatesResponse ¶
func NewDescribeLiveRecordTemplatesResponse() (response *DescribeLiveRecordTemplatesResponse)
func (*DescribeLiveRecordTemplatesResponse) FromJsonString ¶
func (r *DescribeLiveRecordTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveRecordTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveRecordTemplatesResponse) ToJsonString() string
type DescribeLiveRecordTemplatesResponseParams ¶
type DescribeLiveRecordTemplatesResponseParams struct { // Recording template information list. Templates []*RecordTemplateInfo `json:"Templates,omitempty" name:"Templates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveSnapshotRulesRequest ¶
type DescribeLiveSnapshotRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveSnapshotRulesRequest ¶
func NewDescribeLiveSnapshotRulesRequest() (request *DescribeLiveSnapshotRulesRequest)
func (*DescribeLiveSnapshotRulesRequest) FromJsonString ¶
func (r *DescribeLiveSnapshotRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotRulesRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotRulesRequest) ToJsonString() string
type DescribeLiveSnapshotRulesRequestParams ¶
type DescribeLiveSnapshotRulesRequestParams struct { }
Predefined struct for user
type DescribeLiveSnapshotRulesResponse ¶
type DescribeLiveSnapshotRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveSnapshotRulesResponseParams `json:"Response"` }
func NewDescribeLiveSnapshotRulesResponse ¶
func NewDescribeLiveSnapshotRulesResponse() (response *DescribeLiveSnapshotRulesResponse)
func (*DescribeLiveSnapshotRulesResponse) FromJsonString ¶
func (r *DescribeLiveSnapshotRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotRulesResponse) ToJsonString ¶
func (r *DescribeLiveSnapshotRulesResponse) ToJsonString() string
type DescribeLiveSnapshotRulesResponseParams ¶
type DescribeLiveSnapshotRulesResponseParams struct { // Rule list. Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveSnapshotTemplateRequest ¶
type DescribeLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // Template ID. // Template ID returned by the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API call. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveSnapshotTemplateRequest ¶
func NewDescribeLiveSnapshotTemplateRequest() (request *DescribeLiveSnapshotTemplateRequest)
func (*DescribeLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *DescribeLiveSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplateRequest) ToJsonString() string
type DescribeLiveSnapshotTemplateRequestParams ¶
type DescribeLiveSnapshotTemplateRequestParams struct { // Template ID. // Template ID returned by the [CreateLiveSnapshotTemplate](https://intl.cloud.tencent.com/document/product/267/32624?from_cn_redirect=1) API call. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeLiveSnapshotTemplateResponse ¶
type DescribeLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *DescribeLiveSnapshotTemplateResponseParams `json:"Response"` }
func NewDescribeLiveSnapshotTemplateResponse ¶
func NewDescribeLiveSnapshotTemplateResponse() (response *DescribeLiveSnapshotTemplateResponse)
func (*DescribeLiveSnapshotTemplateResponse) FromJsonString ¶
func (r *DescribeLiveSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplateResponse) ToJsonString() string
type DescribeLiveSnapshotTemplateResponseParams ¶
type DescribeLiveSnapshotTemplateResponseParams struct { // Screencapturing template information. Template *SnapshotTemplateInfo `json:"Template,omitempty" name:"Template"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveSnapshotTemplatesRequest ¶
type DescribeLiveSnapshotTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveSnapshotTemplatesRequest ¶
func NewDescribeLiveSnapshotTemplatesRequest() (request *DescribeLiveSnapshotTemplatesRequest)
func (*DescribeLiveSnapshotTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveSnapshotTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplatesRequest) ToJsonString() string
type DescribeLiveSnapshotTemplatesRequestParams ¶
type DescribeLiveSnapshotTemplatesRequestParams struct { }
Predefined struct for user
type DescribeLiveSnapshotTemplatesResponse ¶
type DescribeLiveSnapshotTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeLiveSnapshotTemplatesResponseParams `json:"Response"` }
func NewDescribeLiveSnapshotTemplatesResponse ¶
func NewDescribeLiveSnapshotTemplatesResponse() (response *DescribeLiveSnapshotTemplatesResponse)
func (*DescribeLiveSnapshotTemplatesResponse) FromJsonString ¶
func (r *DescribeLiveSnapshotTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveSnapshotTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplatesResponse) ToJsonString() string
type DescribeLiveSnapshotTemplatesResponseParams ¶
type DescribeLiveSnapshotTemplatesResponseParams struct { // Screencapturing template list. Templates []*SnapshotTemplateInfo `json:"Templates,omitempty" name:"Templates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveStreamEventListRequest ¶
type DescribeLiveStreamEventListRequest struct { *tchttp.BaseRequest // Start time. // In UTC format, such as 2018-12-29T19:00:00Z. // This supports querying the history of 60 days. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time. // In UTC format, such as 2018-12-29T20:00:00Z. // This cannot be after the current time and cannot be more than 30 days after the start time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name; query with wildcard (*) is not supported; fuzzy match by default. // The IsStrict field can be used to change to exact query. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Page number to get. // Default value: 1. // Note: Currently, query for up to 10,000 entries is supported. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. // Maximum value: 100. // Value range: any integer between 1 and 100. // Default value: 10. // Note: currently, query for up to 10,000 entries is supported. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Whether to filter. No filtering by default. // 0: No filtering at all. // 1: Filter out the failing streams and return only the successful ones. IsFilter *int64 `json:"IsFilter,omitempty" name:"IsFilter"` // Whether to query exactly. Fuzzy match by default. // 0: Fuzzy match. // 1: Exact query. // Note: This parameter takes effect when StreamName is used. IsStrict *int64 `json:"IsStrict,omitempty" name:"IsStrict"` // Whether to display in ascending order by end time. Descending order by default. // 0: Descending. // 1: Ascending. IsAsc *int64 `json:"IsAsc,omitempty" name:"IsAsc"` }
func NewDescribeLiveStreamEventListRequest ¶
func NewDescribeLiveStreamEventListRequest() (request *DescribeLiveStreamEventListRequest)
func (*DescribeLiveStreamEventListRequest) FromJsonString ¶
func (r *DescribeLiveStreamEventListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamEventListRequest) ToJsonString ¶
func (r *DescribeLiveStreamEventListRequest) ToJsonString() string
type DescribeLiveStreamEventListRequestParams ¶
type DescribeLiveStreamEventListRequestParams struct { // Start time. // In UTC format, such as 2018-12-29T19:00:00Z. // This supports querying the history of 60 days. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time. // In UTC format, such as 2018-12-29T20:00:00Z. // This cannot be after the current time and cannot be more than 30 days after the start time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name; query with wildcard (*) is not supported; fuzzy match by default. // The IsStrict field can be used to change to exact query. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Page number to get. // Default value: 1. // Note: Currently, query for up to 10,000 entries is supported. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. // Maximum value: 100. // Value range: any integer between 1 and 100. // Default value: 10. // Note: currently, query for up to 10,000 entries is supported. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Whether to filter. No filtering by default. // 0: No filtering at all. // 1: Filter out the failing streams and return only the successful ones. IsFilter *int64 `json:"IsFilter,omitempty" name:"IsFilter"` // Whether to query exactly. Fuzzy match by default. // 0: Fuzzy match. // 1: Exact query. // Note: This parameter takes effect when StreamName is used. IsStrict *int64 `json:"IsStrict,omitempty" name:"IsStrict"` // Whether to display in ascending order by end time. Descending order by default. // 0: Descending. // 1: Ascending. IsAsc *int64 `json:"IsAsc,omitempty" name:"IsAsc"` }
Predefined struct for user
type DescribeLiveStreamEventListResponse ¶
type DescribeLiveStreamEventListResponse struct { *tchttp.BaseResponse Response *DescribeLiveStreamEventListResponseParams `json:"Response"` }
func NewDescribeLiveStreamEventListResponse ¶
func NewDescribeLiveStreamEventListResponse() (response *DescribeLiveStreamEventListResponse)
func (*DescribeLiveStreamEventListResponse) FromJsonString ¶
func (r *DescribeLiveStreamEventListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamEventListResponse) ToJsonString ¶
func (r *DescribeLiveStreamEventListResponse) ToJsonString() string
type DescribeLiveStreamEventListResponseParams ¶
type DescribeLiveStreamEventListResponseParams struct { // List of streaming events. EventList []*StreamEventInfo `json:"EventList,omitempty" name:"EventList"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of eligible ones. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveStreamOnlineListRequest ¶
type DescribeLiveStreamOnlineListRequest struct { *tchttp.BaseRequest // Push domain name. If you use multiple paths, enter the `DomainName`. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. If you use multiple paths, enter the `AppName`. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page number to get. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Maximum value: 100. // Value: any integer between 10 and 100. // Default value: 10. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name, which is used for exact query. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamOnlineListRequest ¶
func NewDescribeLiveStreamOnlineListRequest() (request *DescribeLiveStreamOnlineListRequest)
func (*DescribeLiveStreamOnlineListRequest) FromJsonString ¶
func (r *DescribeLiveStreamOnlineListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamOnlineListRequest) ToJsonString ¶
func (r *DescribeLiveStreamOnlineListRequest) ToJsonString() string
type DescribeLiveStreamOnlineListRequestParams ¶
type DescribeLiveStreamOnlineListRequestParams struct { // Push domain name. If you use multiple paths, enter the `DomainName`. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. If you use multiple paths, enter the `AppName`. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page number to get. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Maximum value: 100. // Value: any integer between 10 and 100. // Default value: 10. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name, which is used for exact query. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DescribeLiveStreamOnlineListResponse ¶
type DescribeLiveStreamOnlineListResponse struct { *tchttp.BaseResponse Response *DescribeLiveStreamOnlineListResponseParams `json:"Response"` }
func NewDescribeLiveStreamOnlineListResponse ¶
func NewDescribeLiveStreamOnlineListResponse() (response *DescribeLiveStreamOnlineListResponse)
func (*DescribeLiveStreamOnlineListResponse) FromJsonString ¶
func (r *DescribeLiveStreamOnlineListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamOnlineListResponse) ToJsonString ¶
func (r *DescribeLiveStreamOnlineListResponse) ToJsonString() string
type DescribeLiveStreamOnlineListResponseParams ¶
type DescribeLiveStreamOnlineListResponseParams struct { // Total number of eligible ones. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries displayed per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Active push information list. OnlineInfo []*StreamOnlineInfo `json:"OnlineInfo,omitempty" name:"OnlineInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveStreamPublishedListRequest ¶
type DescribeLiveStreamPublishedListRequest struct { *tchttp.BaseRequest // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // End time. // In UTC format, such as 2016-06-30T19:00:00Z. // This cannot be after the current time. // Note: The difference between EndTime and StartTime cannot be greater than 30 days. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Start time. // In UTC format, such as 2016-06-29T19:00:00Z. // This supports querying data in the past 60 days. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. Fuzzy match is not supported. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page number to get. // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. // Maximum value: 100 // Valid values: integers between 10 and 100 // Default value: 10 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name, which supports fuzzy match. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamPublishedListRequest ¶
func NewDescribeLiveStreamPublishedListRequest() (request *DescribeLiveStreamPublishedListRequest)
func (*DescribeLiveStreamPublishedListRequest) FromJsonString ¶
func (r *DescribeLiveStreamPublishedListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamPublishedListRequest) ToJsonString ¶
func (r *DescribeLiveStreamPublishedListRequest) ToJsonString() string
type DescribeLiveStreamPublishedListRequestParams ¶
type DescribeLiveStreamPublishedListRequestParams struct { // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // End time. // In UTC format, such as 2016-06-30T19:00:00Z. // This cannot be after the current time. // Note: The difference between EndTime and StartTime cannot be greater than 30 days. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Start time. // In UTC format, such as 2016-06-29T19:00:00Z. // This supports querying data in the past 60 days. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. Fuzzy match is not supported. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page number to get. // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. // Maximum value: 100 // Valid values: integers between 10 and 100 // Default value: 10 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Stream name, which supports fuzzy match. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DescribeLiveStreamPublishedListResponse ¶
type DescribeLiveStreamPublishedListResponse struct { *tchttp.BaseResponse Response *DescribeLiveStreamPublishedListResponseParams `json:"Response"` }
func NewDescribeLiveStreamPublishedListResponse ¶
func NewDescribeLiveStreamPublishedListResponse() (response *DescribeLiveStreamPublishedListResponse)
func (*DescribeLiveStreamPublishedListResponse) FromJsonString ¶
func (r *DescribeLiveStreamPublishedListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamPublishedListResponse) ToJsonString ¶
func (r *DescribeLiveStreamPublishedListResponse) ToJsonString() string
type DescribeLiveStreamPublishedListResponseParams ¶
type DescribeLiveStreamPublishedListResponseParams struct { // Push record information. PublishInfo []*StreamName `json:"PublishInfo,omitempty" name:"PublishInfo"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of eligible ones. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveStreamPushInfoListRequest ¶
type DescribeLiveStreamPushInfoListRequest struct { *tchttp.BaseRequest // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Number of pages, // Value range: [1,10000], // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page, // Value range: [1,1000], // Default value: 200. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeLiveStreamPushInfoListRequest ¶
func NewDescribeLiveStreamPushInfoListRequest() (request *DescribeLiveStreamPushInfoListRequest)
func (*DescribeLiveStreamPushInfoListRequest) FromJsonString ¶
func (r *DescribeLiveStreamPushInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamPushInfoListRequest) ToJsonString ¶
func (r *DescribeLiveStreamPushInfoListRequest) ToJsonString() string
type DescribeLiveStreamPushInfoListRequestParams ¶
type DescribeLiveStreamPushInfoListRequestParams struct { // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Number of pages, // Value range: [1,10000], // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page, // Value range: [1,1000], // Default value: 200. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeLiveStreamPushInfoListResponse ¶
type DescribeLiveStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *DescribeLiveStreamPushInfoListResponseParams `json:"Response"` }
func NewDescribeLiveStreamPushInfoListResponse ¶
func NewDescribeLiveStreamPushInfoListResponse() (response *DescribeLiveStreamPushInfoListResponse)
func (*DescribeLiveStreamPushInfoListResponse) FromJsonString ¶
func (r *DescribeLiveStreamPushInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamPushInfoListResponse) ToJsonString ¶
func (r *DescribeLiveStreamPushInfoListResponse) ToJsonString() string
type DescribeLiveStreamPushInfoListResponseParams ¶
type DescribeLiveStreamPushInfoListResponseParams struct { // Live stream statistics list. DataInfoList []*PushDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // Total number of live streams. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Page number where the current data resides. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of live streams per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveStreamStateRequest ¶
type DescribeLiveStreamStateRequest struct { *tchttp.BaseRequest // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamStateRequest ¶
func NewDescribeLiveStreamStateRequest() (request *DescribeLiveStreamStateRequest)
func (*DescribeLiveStreamStateRequest) FromJsonString ¶
func (r *DescribeLiveStreamStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamStateRequest) ToJsonString ¶
func (r *DescribeLiveStreamStateRequest) ToJsonString() string
type DescribeLiveStreamStateRequestParams ¶
type DescribeLiveStreamStateRequestParams struct { // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type DescribeLiveStreamStateResponse ¶
type DescribeLiveStreamStateResponse struct { *tchttp.BaseResponse Response *DescribeLiveStreamStateResponseParams `json:"Response"` }
func NewDescribeLiveStreamStateResponse ¶
func NewDescribeLiveStreamStateResponse() (response *DescribeLiveStreamStateResponse)
func (*DescribeLiveStreamStateResponse) FromJsonString ¶
func (r *DescribeLiveStreamStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveStreamStateResponse) ToJsonString ¶
func (r *DescribeLiveStreamStateResponse) ToJsonString() string
type DescribeLiveStreamStateResponseParams ¶
type DescribeLiveStreamStateResponseParams struct { // Stream status, // active: active // inactive: Inactive // forbid: forbidden. StreamState *string `json:"StreamState,omitempty" name:"StreamState"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTimeShiftBillInfoListRequest ¶
type DescribeLiveTimeShiftBillInfoListRequest struct { *tchttp.BaseRequest // The start time for query. You can query data from the past three months. The longest time period that can be queried is one month. // // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time for query. You can query data from the past three months. The longest time period that can be queried is one month. // // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domains to query. If you leave this empty, the time shifting billing data of all push domains will be returned. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
func NewDescribeLiveTimeShiftBillInfoListRequest ¶
func NewDescribeLiveTimeShiftBillInfoListRequest() (request *DescribeLiveTimeShiftBillInfoListRequest)
func (*DescribeLiveTimeShiftBillInfoListRequest) FromJsonString ¶
func (r *DescribeLiveTimeShiftBillInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftBillInfoListRequest) ToJsonString ¶
func (r *DescribeLiveTimeShiftBillInfoListRequest) ToJsonString() string
type DescribeLiveTimeShiftBillInfoListRequestParams ¶
type DescribeLiveTimeShiftBillInfoListRequestParams struct { // The start time for query. You can query data from the past three months. The longest time period that can be queried is one month. // // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time for query. You can query data from the past three months. The longest time period that can be queried is one month. // // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domains to query. If you leave this empty, the time shifting billing data of all push domains will be returned. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
Predefined struct for user
type DescribeLiveTimeShiftBillInfoListResponse ¶
type DescribeLiveTimeShiftBillInfoListResponse struct { *tchttp.BaseResponse Response *DescribeLiveTimeShiftBillInfoListResponseParams `json:"Response"` }
func NewDescribeLiveTimeShiftBillInfoListResponse ¶
func NewDescribeLiveTimeShiftBillInfoListResponse() (response *DescribeLiveTimeShiftBillInfoListResponse)
func (*DescribeLiveTimeShiftBillInfoListResponse) FromJsonString ¶
func (r *DescribeLiveTimeShiftBillInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftBillInfoListResponse) ToJsonString ¶
func (r *DescribeLiveTimeShiftBillInfoListResponse) ToJsonString() string
type DescribeLiveTimeShiftBillInfoListResponseParams ¶
type DescribeLiveTimeShiftBillInfoListResponseParams struct { // The time shifting billing data. DataInfoList []*TimeShiftBillData `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTimeShiftRulesRequest ¶
type DescribeLiveTimeShiftRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveTimeShiftRulesRequest ¶
func NewDescribeLiveTimeShiftRulesRequest() (request *DescribeLiveTimeShiftRulesRequest)
func (*DescribeLiveTimeShiftRulesRequest) FromJsonString ¶
func (r *DescribeLiveTimeShiftRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftRulesRequest) ToJsonString ¶
func (r *DescribeLiveTimeShiftRulesRequest) ToJsonString() string
type DescribeLiveTimeShiftRulesRequestParams ¶
type DescribeLiveTimeShiftRulesRequestParams struct { }
Predefined struct for user
type DescribeLiveTimeShiftRulesResponse ¶
type DescribeLiveTimeShiftRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveTimeShiftRulesResponseParams `json:"Response"` }
func NewDescribeLiveTimeShiftRulesResponse ¶
func NewDescribeLiveTimeShiftRulesResponse() (response *DescribeLiveTimeShiftRulesResponse)
func (*DescribeLiveTimeShiftRulesResponse) FromJsonString ¶
func (r *DescribeLiveTimeShiftRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftRulesResponse) ToJsonString ¶
func (r *DescribeLiveTimeShiftRulesResponse) ToJsonString() string
type DescribeLiveTimeShiftRulesResponseParams ¶
type DescribeLiveTimeShiftRulesResponseParams struct { // The information of the rules. Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTimeShiftTemplatesRequest ¶
type DescribeLiveTimeShiftTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveTimeShiftTemplatesRequest ¶
func NewDescribeLiveTimeShiftTemplatesRequest() (request *DescribeLiveTimeShiftTemplatesRequest)
func (*DescribeLiveTimeShiftTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveTimeShiftTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveTimeShiftTemplatesRequest) ToJsonString() string
type DescribeLiveTimeShiftTemplatesRequestParams ¶
type DescribeLiveTimeShiftTemplatesRequestParams struct { }
Predefined struct for user
type DescribeLiveTimeShiftTemplatesResponse ¶
type DescribeLiveTimeShiftTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeLiveTimeShiftTemplatesResponseParams `json:"Response"` }
func NewDescribeLiveTimeShiftTemplatesResponse ¶
func NewDescribeLiveTimeShiftTemplatesResponse() (response *DescribeLiveTimeShiftTemplatesResponse)
func (*DescribeLiveTimeShiftTemplatesResponse) FromJsonString ¶
func (r *DescribeLiveTimeShiftTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTimeShiftTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveTimeShiftTemplatesResponse) ToJsonString() string
type DescribeLiveTimeShiftTemplatesResponseParams ¶
type DescribeLiveTimeShiftTemplatesResponseParams struct { // The information of the templates. Templates []*TimeShiftTemplate `json:"Templates,omitempty" name:"Templates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTranscodeDetailInfoRequest ¶
type DescribeLiveTranscodeDetailInfoRequest struct { *tchttp.BaseRequest // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Query date (UTC+8) // Format: yyyymmdd // Note: you can query the statistics for a day in the past month, with yesterday as the latest date allowed. DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // Number of pages. Default value: 1. // Up to 100 pages. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Default value: 20, // Value range: [10,1000]. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Start day time (Beijing time), // In the format of `yyyymmdd`. // Note: details for the last month can be queried. StartDayTime *string `json:"StartDayTime,omitempty" name:"StartDayTime"` // End date (UTC+8) // Format: yyyymmdd // Note: you can query the statistics for a period in the past month, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied. EndDayTime *string `json:"EndDayTime,omitempty" name:"EndDayTime"` }
func NewDescribeLiveTranscodeDetailInfoRequest ¶
func NewDescribeLiveTranscodeDetailInfoRequest() (request *DescribeLiveTranscodeDetailInfoRequest)
func (*DescribeLiveTranscodeDetailInfoRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeDetailInfoRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoRequest) ToJsonString() string
type DescribeLiveTranscodeDetailInfoRequestParams ¶
type DescribeLiveTranscodeDetailInfoRequestParams struct { // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Query date (UTC+8) // Format: yyyymmdd // Note: you can query the statistics for a day in the past month, with yesterday as the latest date allowed. DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // Number of pages. Default value: 1. // Up to 100 pages. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Default value: 20, // Value range: [10,1000]. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Start day time (Beijing time), // In the format of `yyyymmdd`. // Note: details for the last month can be queried. StartDayTime *string `json:"StartDayTime,omitempty" name:"StartDayTime"` // End date (UTC+8) // Format: yyyymmdd // Note: you can query the statistics for a period in the past month, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied. EndDayTime *string `json:"EndDayTime,omitempty" name:"EndDayTime"` }
Predefined struct for user
type DescribeLiveTranscodeDetailInfoResponse ¶
type DescribeLiveTranscodeDetailInfoResponse struct { *tchttp.BaseResponse Response *DescribeLiveTranscodeDetailInfoResponseParams `json:"Response"` }
func NewDescribeLiveTranscodeDetailInfoResponse ¶
func NewDescribeLiveTranscodeDetailInfoResponse() (response *DescribeLiveTranscodeDetailInfoResponse)
func (*DescribeLiveTranscodeDetailInfoResponse) FromJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeDetailInfoResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoResponse) ToJsonString() string
type DescribeLiveTranscodeDetailInfoResponseParams ¶
type DescribeLiveTranscodeDetailInfoResponseParams struct { // Statistics list. DataInfoList []*TranscodeDetailInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Total number. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTranscodeRulesRequest ¶
type DescribeLiveTranscodeRulesRequest struct { *tchttp.BaseRequest // An array of template IDs to be filtered. TemplateIds []*int64 `json:"TemplateIds,omitempty" name:"TemplateIds"` // An array of domain names to be filtered. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` }
func NewDescribeLiveTranscodeRulesRequest ¶
func NewDescribeLiveTranscodeRulesRequest() (request *DescribeLiveTranscodeRulesRequest)
func (*DescribeLiveTranscodeRulesRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeRulesRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeRulesRequest) ToJsonString() string
type DescribeLiveTranscodeRulesRequestParams ¶
type DescribeLiveTranscodeRulesRequestParams struct { // An array of template IDs to be filtered. TemplateIds []*int64 `json:"TemplateIds,omitempty" name:"TemplateIds"` // An array of domain names to be filtered. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` }
Predefined struct for user
type DescribeLiveTranscodeRulesResponse ¶
type DescribeLiveTranscodeRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveTranscodeRulesResponseParams `json:"Response"` }
func NewDescribeLiveTranscodeRulesResponse ¶
func NewDescribeLiveTranscodeRulesResponse() (response *DescribeLiveTranscodeRulesResponse)
func (*DescribeLiveTranscodeRulesResponse) FromJsonString ¶
func (r *DescribeLiveTranscodeRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeRulesResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeRulesResponse) ToJsonString() string
type DescribeLiveTranscodeRulesResponseParams ¶
type DescribeLiveTranscodeRulesResponseParams struct { // List of transcoding rules. Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTranscodeTemplateRequest ¶
type DescribeLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // Template ID. // Note: get the template ID in the returned value of the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API call. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveTranscodeTemplateRequest ¶
func NewDescribeLiveTranscodeTemplateRequest() (request *DescribeLiveTranscodeTemplateRequest)
func (*DescribeLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplateRequest) ToJsonString() string
type DescribeLiveTranscodeTemplateRequestParams ¶
type DescribeLiveTranscodeTemplateRequestParams struct { // Template ID. // Note: get the template ID in the returned value of the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API call. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeLiveTranscodeTemplateResponse ¶
type DescribeLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *DescribeLiveTranscodeTemplateResponseParams `json:"Response"` }
func NewDescribeLiveTranscodeTemplateResponse ¶
func NewDescribeLiveTranscodeTemplateResponse() (response *DescribeLiveTranscodeTemplateResponse)
func (*DescribeLiveTranscodeTemplateResponse) FromJsonString ¶
func (r *DescribeLiveTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplateResponse) ToJsonString() string
type DescribeLiveTranscodeTemplateResponseParams ¶
type DescribeLiveTranscodeTemplateResponseParams struct { // Template information. Template *TemplateInfo `json:"Template,omitempty" name:"Template"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTranscodeTemplatesRequest ¶
type DescribeLiveTranscodeTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveTranscodeTemplatesRequest ¶
func NewDescribeLiveTranscodeTemplatesRequest() (request *DescribeLiveTranscodeTemplatesRequest)
func (*DescribeLiveTranscodeTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplatesRequest) ToJsonString() string
type DescribeLiveTranscodeTemplatesRequestParams ¶
type DescribeLiveTranscodeTemplatesRequestParams struct { }
Predefined struct for user
type DescribeLiveTranscodeTemplatesResponse ¶
type DescribeLiveTranscodeTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeLiveTranscodeTemplatesResponseParams `json:"Response"` }
func NewDescribeLiveTranscodeTemplatesResponse ¶
func NewDescribeLiveTranscodeTemplatesResponse() (response *DescribeLiveTranscodeTemplatesResponse)
func (*DescribeLiveTranscodeTemplatesResponse) FromJsonString ¶
func (r *DescribeLiveTranscodeTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplatesResponse) ToJsonString() string
type DescribeLiveTranscodeTemplatesResponseParams ¶
type DescribeLiveTranscodeTemplatesResponseParams struct { // List of transcoding templates. Templates []*TemplateInfo `json:"Templates,omitempty" name:"Templates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveTranscodeTotalInfoRequest ¶
type DescribeLiveTranscodeTotalInfoRequest struct { *tchttp.BaseRequest // Start time (Beijing time) // Format: yyyy-mm-dd HH:MM:SS StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time) // Format: yyyy-mm-dd HH:MM:SS EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of push domains to query. If this parameter is left empty, the data of all domains is queried. // If this parameter is specified, the data returned will be on an hourly basis. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` // Valid values: // `Mainland`: queries transcoding data in the Chinese mainland // `Oversea`: queries transcoding data outside the Chinese mainland // By default, the data both in and outside the Chinese mainland is queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
func NewDescribeLiveTranscodeTotalInfoRequest ¶
func NewDescribeLiveTranscodeTotalInfoRequest() (request *DescribeLiveTranscodeTotalInfoRequest)
func (*DescribeLiveTranscodeTotalInfoRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeTotalInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTotalInfoRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeTotalInfoRequest) ToJsonString() string
type DescribeLiveTranscodeTotalInfoRequestParams ¶
type DescribeLiveTranscodeTotalInfoRequestParams struct { // Start time (Beijing time) // Format: yyyy-mm-dd HH:MM:SS StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time) // Format: yyyy-mm-dd HH:MM:SS EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of push domains to query. If this parameter is left empty, the data of all domains is queried. // If this parameter is specified, the data returned will be on an hourly basis. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` // Valid values: // `Mainland`: queries transcoding data in the Chinese mainland // `Oversea`: queries transcoding data outside the Chinese mainland // By default, the data both in and outside the Chinese mainland is queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
Predefined struct for user
type DescribeLiveTranscodeTotalInfoResponse ¶
type DescribeLiveTranscodeTotalInfoResponse struct { *tchttp.BaseResponse Response *DescribeLiveTranscodeTotalInfoResponseParams `json:"Response"` }
func NewDescribeLiveTranscodeTotalInfoResponse ¶
func NewDescribeLiveTranscodeTotalInfoResponse() (response *DescribeLiveTranscodeTotalInfoResponse)
func (*DescribeLiveTranscodeTotalInfoResponse) FromJsonString ¶
func (r *DescribeLiveTranscodeTotalInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveTranscodeTotalInfoResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeTotalInfoResponse) ToJsonString() string
type DescribeLiveTranscodeTotalInfoResponseParams ¶
type DescribeLiveTranscodeTotalInfoResponseParams struct { // List of transcoding data // Note: This field may return `null`, indicating that no valid value can be found. DataInfoList []*TranscodeTotalInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveWatermarkRequest ¶
type DescribeLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID returned by the `DescribeLiveWatermarks` API. WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
func NewDescribeLiveWatermarkRequest ¶
func NewDescribeLiveWatermarkRequest() (request *DescribeLiveWatermarkRequest)
func (*DescribeLiveWatermarkRequest) FromJsonString ¶
func (r *DescribeLiveWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarkRequest) ToJsonString ¶
func (r *DescribeLiveWatermarkRequest) ToJsonString() string
type DescribeLiveWatermarkRequestParams ¶
type DescribeLiveWatermarkRequestParams struct { // Watermark ID returned by the `DescribeLiveWatermarks` API. WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
Predefined struct for user
type DescribeLiveWatermarkResponse ¶
type DescribeLiveWatermarkResponse struct { *tchttp.BaseResponse Response *DescribeLiveWatermarkResponseParams `json:"Response"` }
func NewDescribeLiveWatermarkResponse ¶
func NewDescribeLiveWatermarkResponse() (response *DescribeLiveWatermarkResponse)
func (*DescribeLiveWatermarkResponse) FromJsonString ¶
func (r *DescribeLiveWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarkResponse) ToJsonString ¶
func (r *DescribeLiveWatermarkResponse) ToJsonString() string
type DescribeLiveWatermarkResponseParams ¶
type DescribeLiveWatermarkResponseParams struct { // Watermark information. Watermark *WatermarkInfo `json:"Watermark,omitempty" name:"Watermark"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveWatermarkRulesRequest ¶
type DescribeLiveWatermarkRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveWatermarkRulesRequest ¶
func NewDescribeLiveWatermarkRulesRequest() (request *DescribeLiveWatermarkRulesRequest)
func (*DescribeLiveWatermarkRulesRequest) FromJsonString ¶
func (r *DescribeLiveWatermarkRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarkRulesRequest) ToJsonString ¶
func (r *DescribeLiveWatermarkRulesRequest) ToJsonString() string
type DescribeLiveWatermarkRulesRequestParams ¶
type DescribeLiveWatermarkRulesRequestParams struct { }
Predefined struct for user
type DescribeLiveWatermarkRulesResponse ¶
type DescribeLiveWatermarkRulesResponse struct { *tchttp.BaseResponse Response *DescribeLiveWatermarkRulesResponseParams `json:"Response"` }
func NewDescribeLiveWatermarkRulesResponse ¶
func NewDescribeLiveWatermarkRulesResponse() (response *DescribeLiveWatermarkRulesResponse)
func (*DescribeLiveWatermarkRulesResponse) FromJsonString ¶
func (r *DescribeLiveWatermarkRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarkRulesResponse) ToJsonString ¶
func (r *DescribeLiveWatermarkRulesResponse) ToJsonString() string
type DescribeLiveWatermarkRulesResponseParams ¶
type DescribeLiveWatermarkRulesResponseParams struct { // Watermarking rule list. Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLiveWatermarksRequest ¶
type DescribeLiveWatermarksRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveWatermarksRequest ¶
func NewDescribeLiveWatermarksRequest() (request *DescribeLiveWatermarksRequest)
func (*DescribeLiveWatermarksRequest) FromJsonString ¶
func (r *DescribeLiveWatermarksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarksRequest) ToJsonString ¶
func (r *DescribeLiveWatermarksRequest) ToJsonString() string
type DescribeLiveWatermarksRequestParams ¶
type DescribeLiveWatermarksRequestParams struct { }
Predefined struct for user
type DescribeLiveWatermarksResponse ¶
type DescribeLiveWatermarksResponse struct { *tchttp.BaseResponse Response *DescribeLiveWatermarksResponseParams `json:"Response"` }
func NewDescribeLiveWatermarksResponse ¶
func NewDescribeLiveWatermarksResponse() (response *DescribeLiveWatermarksResponse)
func (*DescribeLiveWatermarksResponse) FromJsonString ¶
func (r *DescribeLiveWatermarksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLiveWatermarksResponse) ToJsonString ¶
func (r *DescribeLiveWatermarksResponse) ToJsonString() string
type DescribeLiveWatermarksResponseParams ¶
type DescribeLiveWatermarksResponseParams struct { // Total number of watermarks. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Watermark information list. WatermarkList []*WatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePlayErrorCodeDetailInfoListRequest ¶
type DescribePlayErrorCodeDetailInfoListRequest struct { *tchttp.BaseRequest // Start time (Beijing time), // In the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time), // In the format of `yyyy-mm-dd HH:MM:SS`. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Query granularity: // 1: 1-minute granularity. Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Yes. Valid values: "4xx", "5xx". Mixed codes in the format of `4xx,5xx` are also supported. StatType *string `json:"StatType,omitempty" name:"StatType"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
func NewDescribePlayErrorCodeDetailInfoListRequest ¶
func NewDescribePlayErrorCodeDetailInfoListRequest() (request *DescribePlayErrorCodeDetailInfoListRequest)
func (*DescribePlayErrorCodeDetailInfoListRequest) FromJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePlayErrorCodeDetailInfoListRequest) ToJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListRequest) ToJsonString() string
type DescribePlayErrorCodeDetailInfoListRequestParams ¶
type DescribePlayErrorCodeDetailInfoListRequestParams struct { // Start time (Beijing time), // In the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time), // In the format of `yyyy-mm-dd HH:MM:SS`. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Query granularity: // 1: 1-minute granularity. Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Yes. Valid values: "4xx", "5xx". Mixed codes in the format of `4xx,5xx` are also supported. StatType *string `json:"StatType,omitempty" name:"StatType"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
Predefined struct for user
type DescribePlayErrorCodeDetailInfoListResponse ¶
type DescribePlayErrorCodeDetailInfoListResponse struct { *tchttp.BaseResponse Response *DescribePlayErrorCodeDetailInfoListResponseParams `json:"Response"` }
func NewDescribePlayErrorCodeDetailInfoListResponse ¶
func NewDescribePlayErrorCodeDetailInfoListResponse() (response *DescribePlayErrorCodeDetailInfoListResponse)
func (*DescribePlayErrorCodeDetailInfoListResponse) FromJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePlayErrorCodeDetailInfoListResponse) ToJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListResponse) ToJsonString() string
type DescribePlayErrorCodeDetailInfoListResponseParams ¶
type DescribePlayErrorCodeDetailInfoListResponseParams struct { // Statistics list. HttpCodeList []*HttpCodeInfo `json:"HttpCodeList,omitempty" name:"HttpCodeList"` // Statistics type. StatType *string `json:"StatType,omitempty" name:"StatType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePlayErrorCodeSumInfoListRequest ¶
type DescribePlayErrorCodeSumInfoListRequest struct { *tchttp.BaseRequest // Start point in time (Beijing time). // In the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time (Beijing time). // In the format of `yyyy-mm-dd HH:MM:SS`. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name list. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Number of pages. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Grouping parameter. Valid values: CountryProIsp (default value), Country (country/region). Grouping is made by country/region + district + ISP by default. Currently, districts and ISPs outside Mainland China cannot be recognized. GroupType *string `json:"GroupType,omitempty" name:"GroupType"` // Language used in the output field. Valid values: Chinese (default), English. Currently, country/region, district, and ISP parameters support multiple languages. OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"` }
func NewDescribePlayErrorCodeSumInfoListRequest ¶
func NewDescribePlayErrorCodeSumInfoListRequest() (request *DescribePlayErrorCodeSumInfoListRequest)
func (*DescribePlayErrorCodeSumInfoListRequest) FromJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePlayErrorCodeSumInfoListRequest) ToJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListRequest) ToJsonString() string
type DescribePlayErrorCodeSumInfoListRequestParams ¶
type DescribePlayErrorCodeSumInfoListRequestParams struct { // Start point in time (Beijing time). // In the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time (Beijing time). // In the format of `yyyy-mm-dd HH:MM:SS`. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name list. If this parameter is left empty, full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Number of pages. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Grouping parameter. Valid values: CountryProIsp (default value), Country (country/region). Grouping is made by country/region + district + ISP by default. Currently, districts and ISPs outside Mainland China cannot be recognized. GroupType *string `json:"GroupType,omitempty" name:"GroupType"` // Language used in the output field. Valid values: Chinese (default), English. Currently, country/region, district, and ISP parameters support multiple languages. OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"` }
Predefined struct for user
type DescribePlayErrorCodeSumInfoListResponse ¶
type DescribePlayErrorCodeSumInfoListResponse struct { *tchttp.BaseResponse Response *DescribePlayErrorCodeSumInfoListResponseParams `json:"Response"` }
func NewDescribePlayErrorCodeSumInfoListResponse ¶
func NewDescribePlayErrorCodeSumInfoListResponse() (response *DescribePlayErrorCodeSumInfoListResponse)
func (*DescribePlayErrorCodeSumInfoListResponse) FromJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePlayErrorCodeSumInfoListResponse) ToJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListResponse) ToJsonString() string
type DescribePlayErrorCodeSumInfoListResponseParams ¶
type DescribePlayErrorCodeSumInfoListResponseParams struct { // Information of error codes starting with 2, 3, 4, or 5 by district and ISP. ProIspInfoList []*ProIspPlayCodeDataInfo `json:"ProIspInfoList,omitempty" name:"ProIspInfoList"` // Total occurrences of all status codes. TotalCodeAll *uint64 `json:"TotalCodeAll,omitempty" name:"TotalCodeAll"` // Occurrences of 4xx status codes. TotalCode4xx *uint64 `json:"TotalCode4xx,omitempty" name:"TotalCode4xx"` // Occurrences of 5xx status codes. TotalCode5xx *uint64 `json:"TotalCode5xx,omitempty" name:"TotalCode5xx"` // Total occurrences of each status code. TotalCodeList []*PlayCodeTotalInfo `json:"TotalCodeList,omitempty" name:"TotalCodeList"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Total number of results. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Occurrences of 2xx status codes. TotalCode2xx *uint64 `json:"TotalCode2xx,omitempty" name:"TotalCode2xx"` // Occurrences of 3xx status codes. TotalCode3xx *uint64 `json:"TotalCode3xx,omitempty" name:"TotalCode3xx"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProvinceIspPlayInfoListRequest ¶
type DescribeProvinceIspPlayInfoListRequest struct { *tchttp.BaseRequest // Start point in time (Beijing time). // Example: 2019-02-21 10:00:00. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time (Beijing time). // Example: 2019-02-21 12:00:00. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported granularities: // 1: 1-minute granularity (the query interval should be within 1 day) Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Statistical metric type: // "Bandwidth": bandwidth // "FluxPerSecond": average traffic // "Flux": traffic // "Request": number of requests // "Online": number of concurrent connections StatType *string `json:"StatType,omitempty" name:"StatType"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // List of the districts to be queried, such as Beijing. ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"` // List of the ISPs to be queried, such as China Mobile. If this parameter is left empty, the data of all ISPs will be queried. IspNames []*string `json:"IspNames,omitempty" name:"IspNames"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // IP type: // "Ipv6": IPv6 data // Data of all IPs will be returned if this parameter is left empty. IpType *string `json:"IpType,omitempty" name:"IpType"` }
func NewDescribeProvinceIspPlayInfoListRequest ¶
func NewDescribeProvinceIspPlayInfoListRequest() (request *DescribeProvinceIspPlayInfoListRequest)
func (*DescribeProvinceIspPlayInfoListRequest) FromJsonString ¶
func (r *DescribeProvinceIspPlayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProvinceIspPlayInfoListRequest) ToJsonString ¶
func (r *DescribeProvinceIspPlayInfoListRequest) ToJsonString() string
type DescribeProvinceIspPlayInfoListRequestParams ¶
type DescribeProvinceIspPlayInfoListRequestParams struct { // Start point in time (Beijing time). // Example: 2019-02-21 10:00:00. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time (Beijing time). // Example: 2019-02-21 12:00:00. // Note: `EndTime` and `StartTime` only support querying data for the last day. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported granularities: // 1: 1-minute granularity (the query interval should be within 1 day) Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // Statistical metric type: // "Bandwidth": bandwidth // "FluxPerSecond": average traffic // "Flux": traffic // "Request": number of requests // "Online": number of concurrent connections StatType *string `json:"StatType,omitempty" name:"StatType"` // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // List of the districts to be queried, such as Beijing. ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"` // List of the ISPs to be queried, such as China Mobile. If this parameter is left empty, the data of all ISPs will be queried. IspNames []*string `json:"IspNames,omitempty" name:"IspNames"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // IP type: // "Ipv6": IPv6 data // Data of all IPs will be returned if this parameter is left empty. IpType *string `json:"IpType,omitempty" name:"IpType"` }
Predefined struct for user
type DescribeProvinceIspPlayInfoListResponse ¶
type DescribeProvinceIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeProvinceIspPlayInfoListResponseParams `json:"Response"` }
func NewDescribeProvinceIspPlayInfoListResponse ¶
func NewDescribeProvinceIspPlayInfoListResponse() (response *DescribeProvinceIspPlayInfoListResponse)
func (*DescribeProvinceIspPlayInfoListResponse) FromJsonString ¶
func (r *DescribeProvinceIspPlayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProvinceIspPlayInfoListResponse) ToJsonString ¶
func (r *DescribeProvinceIspPlayInfoListResponse) ToJsonString() string
type DescribeProvinceIspPlayInfoListResponseParams ¶
type DescribeProvinceIspPlayInfoListResponseParams struct { // Playback information list. DataInfoList []*PlayStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // Statistics type, which is the same as the input parameter. StatType *string `json:"StatType,omitempty" name:"StatType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordTaskRequest ¶
type DescribeRecordTaskRequest struct { *tchttp.BaseRequest // The start time of the tasks to retrieve in Unix timestamp. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The end time of the tasks to retrieve in Unix timestamp. The EndTime must be greater than the StartTime. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week. (Note: the start and end times of the task must be within the query time range). EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page token used for batch retrieval: If a single request cannot retrieve all data, the interface will return a ScrollToken. The next request carrying this token will start retrieving from the next record. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` }
func NewDescribeRecordTaskRequest ¶
func NewDescribeRecordTaskRequest() (request *DescribeRecordTaskRequest)
func (*DescribeRecordTaskRequest) FromJsonString ¶
func (r *DescribeRecordTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordTaskRequest) ToJsonString ¶
func (r *DescribeRecordTaskRequest) ToJsonString() string
type DescribeRecordTaskRequestParams ¶
type DescribeRecordTaskRequestParams struct { // The start time of the tasks to retrieve in Unix timestamp. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The end time of the tasks to retrieve in Unix timestamp. The EndTime must be greater than the StartTime. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week. (Note: the start and end times of the task must be within the query time range). EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Page token used for batch retrieval: If a single request cannot retrieve all data, the interface will return a ScrollToken. The next request carrying this token will start retrieving from the next record. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` }
Predefined struct for user
type DescribeRecordTaskResponse ¶
type DescribeRecordTaskResponse struct { *tchttp.BaseResponse Response *DescribeRecordTaskResponseParams `json:"Response"` }
func NewDescribeRecordTaskResponse ¶
func NewDescribeRecordTaskResponse() (response *DescribeRecordTaskResponse)
func (*DescribeRecordTaskResponse) FromJsonString ¶
func (r *DescribeRecordTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordTaskResponse) ToJsonString ¶
func (r *DescribeRecordTaskResponse) ToJsonString() string
type DescribeRecordTaskResponseParams ¶
type DescribeRecordTaskResponseParams struct { // Page token: When the request does not return all data, this field indicates the token of the next record. When this field is empty, it means there is no more data. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` // List of recording tasks. When this field is empty, it means all data has been returned. TaskList []*RecordTask `json:"TaskList,omitempty" name:"TaskList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScreenShotSheetNumListRequest ¶
type DescribeScreenShotSheetNumListRequest struct { *tchttp.BaseRequest // Start time in UTC time in the format of `yyyy-mm-ddTHH:MM:SSZ`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in UTC time in the format of `yyyy-mm-ddTHH:MM:SSZ`. Data for the last year can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Region information. Valid values: Mainland, Oversea. The former is to query data within Mainland China, while the latter outside Mainland China. If this parameter is left empty, data of all regions will be queried. Zone *string `json:"Zone,omitempty" name:"Zone"` // Push domain name (data at the domain name level after November 1, 2019 can be queried). PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` // Data granularity. There is a 1.5-hour delay in data reporting. Valid values: `Minute` (5-minute granularity; query period of up to 31 days); `Day` (1-day granularity based on UTC+8:00; query period of up to 186 days) Granularity *string `json:"Granularity,omitempty" name:"Granularity"` }
func NewDescribeScreenShotSheetNumListRequest ¶
func NewDescribeScreenShotSheetNumListRequest() (request *DescribeScreenShotSheetNumListRequest)
func (*DescribeScreenShotSheetNumListRequest) FromJsonString ¶
func (r *DescribeScreenShotSheetNumListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScreenShotSheetNumListRequest) ToJsonString ¶
func (r *DescribeScreenShotSheetNumListRequest) ToJsonString() string
type DescribeScreenShotSheetNumListRequestParams ¶
type DescribeScreenShotSheetNumListRequestParams struct { // Start time in UTC time in the format of `yyyy-mm-ddTHH:MM:SSZ`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in UTC time in the format of `yyyy-mm-ddTHH:MM:SSZ`. Data for the last year can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Region information. Valid values: Mainland, Oversea. The former is to query data within Mainland China, while the latter outside Mainland China. If this parameter is left empty, data of all regions will be queried. Zone *string `json:"Zone,omitempty" name:"Zone"` // Push domain name (data at the domain name level after November 1, 2019 can be queried). PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` // Data granularity. There is a 1.5-hour delay in data reporting. Valid values: `Minute` (5-minute granularity; query period of up to 31 days); `Day` (1-day granularity based on UTC+8:00; query period of up to 186 days) Granularity *string `json:"Granularity,omitempty" name:"Granularity"` }
Predefined struct for user
type DescribeScreenShotSheetNumListResponse ¶
type DescribeScreenShotSheetNumListResponse struct { *tchttp.BaseResponse Response *DescribeScreenShotSheetNumListResponseParams `json:"Response"` }
func NewDescribeScreenShotSheetNumListResponse ¶
func NewDescribeScreenShotSheetNumListResponse() (response *DescribeScreenShotSheetNumListResponse)
func (*DescribeScreenShotSheetNumListResponse) FromJsonString ¶
func (r *DescribeScreenShotSheetNumListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScreenShotSheetNumListResponse) ToJsonString ¶
func (r *DescribeScreenShotSheetNumListResponse) ToJsonString() string
type DescribeScreenShotSheetNumListResponseParams ¶
type DescribeScreenShotSheetNumListResponseParams struct { // Data information list. DataInfoList []*TimeValue `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStreamDayPlayInfoListRequest ¶
type DescribeStreamDayPlayInfoListRequest struct { *tchttp.BaseRequest // Date in the format of YYYY-mm-dd // Data is available at 3am Beijing Time the next day. You are recommended to query the latest data after this time point. Data in the last 3 months can be queried. DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // Playback domain name. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // Page number. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [100,1000]. Default value: 1,000. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Valid values: // Mainland: query data for Mainland China, // Oversea: query data for regions outside Mainland China, // Default: query data for all regions. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Service name. Valid values: LVB, LEB. If this parameter is left empty, all data of LVB and LEB will be queried. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
func NewDescribeStreamDayPlayInfoListRequest ¶
func NewDescribeStreamDayPlayInfoListRequest() (request *DescribeStreamDayPlayInfoListRequest)
func (*DescribeStreamDayPlayInfoListRequest) FromJsonString ¶
func (r *DescribeStreamDayPlayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamDayPlayInfoListRequest) ToJsonString ¶
func (r *DescribeStreamDayPlayInfoListRequest) ToJsonString() string
type DescribeStreamDayPlayInfoListRequestParams ¶
type DescribeStreamDayPlayInfoListRequestParams struct { // Date in the format of YYYY-mm-dd // Data is available at 3am Beijing Time the next day. You are recommended to query the latest data after this time point. Data in the last 3 months can be queried. DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // Playback domain name. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // Page number. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [100,1000]. Default value: 1,000. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Valid values: // Mainland: query data for Mainland China, // Oversea: query data for regions outside Mainland China, // Default: query data for all regions. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Service name. Valid values: LVB, LEB. If this parameter is left empty, all data of LVB and LEB will be queried. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
Predefined struct for user
type DescribeStreamDayPlayInfoListResponse ¶
type DescribeStreamDayPlayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeStreamDayPlayInfoListResponseParams `json:"Response"` }
func NewDescribeStreamDayPlayInfoListResponse ¶
func NewDescribeStreamDayPlayInfoListResponse() (response *DescribeStreamDayPlayInfoListResponse)
func (*DescribeStreamDayPlayInfoListResponse) FromJsonString ¶
func (r *DescribeStreamDayPlayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamDayPlayInfoListResponse) ToJsonString ¶
func (r *DescribeStreamDayPlayInfoListResponse) ToJsonString() string
type DescribeStreamDayPlayInfoListResponseParams ¶
type DescribeStreamDayPlayInfoListResponseParams struct { // Playback data information list. DataInfoList []*PlayDataInfoByStream `json:"DataInfoList,omitempty" name:"DataInfoList"` // Total number. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Page number where the current data resides. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStreamPlayInfoListRequest ¶
type DescribeStreamPlayInfoListRequest struct { *tchttp.BaseRequest // Start time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS. // The start time and end time cannot be more than 24 hours apart and must be within the past month. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name, // If this parameter is left empty, data of live streams of all playback domain names will be queried. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // Stream name (exact match). // If this parameter is left empty, full playback data will be queried. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push address. Its value is the same as the `AppName` in playback address. It supports exact match, and takes effect only when `StreamName` is passed at the same time. // If it is left empty, the full playback data will be queried. // Note: to query by `AppName`, you need to submit a ticket first. After your application succeeds, it will take about 5 business days (subject to the time in the reply) for the configuration to take effect. AppName *string `json:"AppName,omitempty" name:"AppName"` // Service name. Valid values: LVB, LEB. If this parameter is left empty, all data of LVB and LEB will be queried. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
func NewDescribeStreamPlayInfoListRequest ¶
func NewDescribeStreamPlayInfoListRequest() (request *DescribeStreamPlayInfoListRequest)
func (*DescribeStreamPlayInfoListRequest) FromJsonString ¶
func (r *DescribeStreamPlayInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamPlayInfoListRequest) ToJsonString ¶
func (r *DescribeStreamPlayInfoListRequest) ToJsonString() string
type DescribeStreamPlayInfoListRequestParams ¶
type DescribeStreamPlayInfoListRequestParams struct { // Start time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS. // The start time and end time cannot be more than 24 hours apart and must be within the past month. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name, // If this parameter is left empty, data of live streams of all playback domain names will be queried. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // Stream name (exact match). // If this parameter is left empty, full playback data will be queried. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push address. Its value is the same as the `AppName` in playback address. It supports exact match, and takes effect only when `StreamName` is passed at the same time. // If it is left empty, the full playback data will be queried. // Note: to query by `AppName`, you need to submit a ticket first. After your application succeeds, it will take about 5 business days (subject to the time in the reply) for the configuration to take effect. AppName *string `json:"AppName,omitempty" name:"AppName"` // Service name. Valid values: LVB, LEB. If this parameter is left empty, all data of LVB and LEB will be queried. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
Predefined struct for user
type DescribeStreamPlayInfoListResponse ¶
type DescribeStreamPlayInfoListResponse struct { *tchttp.BaseResponse Response *DescribeStreamPlayInfoListResponseParams `json:"Response"` }
func NewDescribeStreamPlayInfoListResponse ¶
func NewDescribeStreamPlayInfoListResponse() (response *DescribeStreamPlayInfoListResponse)
func (*DescribeStreamPlayInfoListResponse) FromJsonString ¶
func (r *DescribeStreamPlayInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamPlayInfoListResponse) ToJsonString ¶
func (r *DescribeStreamPlayInfoListResponse) ToJsonString() string
type DescribeStreamPlayInfoListResponseParams ¶
type DescribeStreamPlayInfoListResponseParams struct { // Statistics list at a 1-minute granularity. DataInfoList []*DayStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStreamPushInfoListRequest ¶
type DescribeStreamPushInfoListRequest struct { *tchttp.BaseRequest // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time (UTC+8) in the format of “yyyy-mm-dd HH:MM:SS”. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time (UTC+8) in the format of “yyyy-mm-dd HH:MM:SS”. You can query data from the past seven days for a period of preferably not longer than three hours. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domain. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDescribeStreamPushInfoListRequest ¶
func NewDescribeStreamPushInfoListRequest() (request *DescribeStreamPushInfoListRequest)
func (*DescribeStreamPushInfoListRequest) FromJsonString ¶
func (r *DescribeStreamPushInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamPushInfoListRequest) ToJsonString ¶
func (r *DescribeStreamPushInfoListRequest) ToJsonString() string
type DescribeStreamPushInfoListRequestParams ¶
type DescribeStreamPushInfoListRequestParams struct { // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time (UTC+8) in the format of “yyyy-mm-dd HH:MM:SS”. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time (UTC+8) in the format of “yyyy-mm-dd HH:MM:SS”. You can query data from the past seven days for a period of preferably not longer than three hours. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domain. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` }
Predefined struct for user
type DescribeStreamPushInfoListResponse ¶
type DescribeStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *DescribeStreamPushInfoListResponseParams `json:"Response"` }
func NewDescribeStreamPushInfoListResponse ¶
func NewDescribeStreamPushInfoListResponse() (response *DescribeStreamPushInfoListResponse)
func (*DescribeStreamPushInfoListResponse) FromJsonString ¶
func (r *DescribeStreamPushInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStreamPushInfoListResponse) ToJsonString ¶
func (r *DescribeStreamPushInfoListResponse) ToJsonString() string
type DescribeStreamPushInfoListResponseParams ¶
type DescribeStreamPushInfoListResponseParams struct { // Returned data list. DataInfoList []*PushQualityData `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimeShiftRecordDetailRequest ¶
type DescribeTimeShiftRecordDetailRequest struct { *tchttp.BaseRequest // The push domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time, which must be a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The end time, which must be a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // The group the push domain belongs to. You don’t need to specify this parameter if the domain doesn’t belong to any group or the group name is an empty string. DomainGroup *string `json:"DomainGroup,omitempty" name:"DomainGroup"` // The transcoding template ID. You don’t need to specify this parameter if the transcoding template ID is `0`. TransCodeId *uint64 `json:"TransCodeId,omitempty" name:"TransCodeId"` }
func NewDescribeTimeShiftRecordDetailRequest ¶
func NewDescribeTimeShiftRecordDetailRequest() (request *DescribeTimeShiftRecordDetailRequest)
func (*DescribeTimeShiftRecordDetailRequest) FromJsonString ¶
func (r *DescribeTimeShiftRecordDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimeShiftRecordDetailRequest) ToJsonString ¶
func (r *DescribeTimeShiftRecordDetailRequest) ToJsonString() string
type DescribeTimeShiftRecordDetailRequestParams ¶
type DescribeTimeShiftRecordDetailRequestParams struct { // The push domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time, which must be a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The end time, which must be a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // The group the push domain belongs to. You don’t need to specify this parameter if the domain doesn’t belong to any group or the group name is an empty string. DomainGroup *string `json:"DomainGroup,omitempty" name:"DomainGroup"` // The transcoding template ID. You don’t need to specify this parameter if the transcoding template ID is `0`. TransCodeId *uint64 `json:"TransCodeId,omitempty" name:"TransCodeId"` }
Predefined struct for user
type DescribeTimeShiftRecordDetailResponse ¶
type DescribeTimeShiftRecordDetailResponse struct { *tchttp.BaseResponse Response *DescribeTimeShiftRecordDetailResponseParams `json:"Response"` }
func NewDescribeTimeShiftRecordDetailResponse ¶
func NewDescribeTimeShiftRecordDetailResponse() (response *DescribeTimeShiftRecordDetailResponse)
func (*DescribeTimeShiftRecordDetailResponse) FromJsonString ¶
func (r *DescribeTimeShiftRecordDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimeShiftRecordDetailResponse) ToJsonString ¶
func (r *DescribeTimeShiftRecordDetailResponse) ToJsonString() string
type DescribeTimeShiftRecordDetailResponseParams ¶
type DescribeTimeShiftRecordDetailResponseParams struct { // The number of sessions recorded. // Note: This field may return null, indicating that no valid values can be obtained. RecordList []*TimeShiftRecord `json:"RecordList,omitempty" name:"RecordList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimeShiftStreamListRequest ¶
type DescribeTimeShiftStreamListRequest struct { *tchttp.BaseRequest // The start time, which must be a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The end time, which must be a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The push domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // The group the push domain belongs to. DomainGroup *string `json:"DomainGroup,omitempty" name:"DomainGroup"` // The maximum number of records to return. Value range: 0-100. If you do not specify this parameter or pass in `0`, // the default value `100` will be used. If you pass in a negative number or a value greater than 100, an error will be returned. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // The number of page to pull records from. If you do not specify this parameter, the default value `1` will be used. PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` }
func NewDescribeTimeShiftStreamListRequest ¶
func NewDescribeTimeShiftStreamListRequest() (request *DescribeTimeShiftStreamListRequest)
func (*DescribeTimeShiftStreamListRequest) FromJsonString ¶
func (r *DescribeTimeShiftStreamListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimeShiftStreamListRequest) ToJsonString ¶
func (r *DescribeTimeShiftStreamListRequest) ToJsonString() string
type DescribeTimeShiftStreamListRequestParams ¶
type DescribeTimeShiftStreamListRequestParams struct { // The start time, which must be a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The end time, which must be a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The push domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // The group the push domain belongs to. DomainGroup *string `json:"DomainGroup,omitempty" name:"DomainGroup"` // The maximum number of records to return. Value range: 0-100. If you do not specify this parameter or pass in `0`, // the default value `100` will be used. If you pass in a negative number or a value greater than 100, an error will be returned. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // The number of page to pull records from. If you do not specify this parameter, the default value `1` will be used. PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` }
Predefined struct for user
type DescribeTimeShiftStreamListResponse ¶
type DescribeTimeShiftStreamListResponse struct { *tchttp.BaseResponse Response *DescribeTimeShiftStreamListResponseParams `json:"Response"` }
func NewDescribeTimeShiftStreamListResponse ¶
func NewDescribeTimeShiftStreamListResponse() (response *DescribeTimeShiftStreamListResponse)
func (*DescribeTimeShiftStreamListResponse) FromJsonString ¶
func (r *DescribeTimeShiftStreamListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimeShiftStreamListResponse) ToJsonString ¶
func (r *DescribeTimeShiftStreamListResponse) ToJsonString() string
type DescribeTimeShiftStreamListResponseParams ¶
type DescribeTimeShiftStreamListResponseParams struct { // The total number of records in the specified time period. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` // The information of the streams. // Note: This field may return null, indicating that no valid values can be obtained. StreamList []*TimeShiftStreamInfo `json:"StreamList,omitempty" name:"StreamList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopClientIpSumInfoListRequest ¶
type DescribeTopClientIpSumInfoListRequest struct { *tchttp.BaseRequest // Start point in time in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time in the format of `yyyy-mm-dd HH:MM:SS` // The time span is [0,4 hours]. Data for the last day can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name. If this parameter is left empty, full data will be queried by default. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Page number. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Sorting metric. Valid values: TotalRequest (default value), FailedRequest, TotalFlux. OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Language used in the output field. Valid values: Chinese (default), English. Currently, country/region, district, and ISP parameters support multiple languages. OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"` }
func NewDescribeTopClientIpSumInfoListRequest ¶
func NewDescribeTopClientIpSumInfoListRequest() (request *DescribeTopClientIpSumInfoListRequest)
func (*DescribeTopClientIpSumInfoListRequest) FromJsonString ¶
func (r *DescribeTopClientIpSumInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopClientIpSumInfoListRequest) ToJsonString ¶
func (r *DescribeTopClientIpSumInfoListRequest) ToJsonString() string
type DescribeTopClientIpSumInfoListRequestParams ¶
type DescribeTopClientIpSumInfoListRequestParams struct { // Start point in time in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time in the format of `yyyy-mm-dd HH:MM:SS` // The time span is [0,4 hours]. Data for the last day can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Playback domain name. If this parameter is left empty, full data will be queried by default. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Page number. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Sorting metric. Valid values: TotalRequest (default value), FailedRequest, TotalFlux. OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // Region. Valid values: Mainland (data for Mainland China), Oversea (data for regions outside Mainland China), China (data for China, including Hong Kong, Macao, and Taiwan), Foreign (data for regions outside China, excluding Hong Kong, Macao, and Taiwan), Global (default). If this parameter is left empty, data for all regions will be queried. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Language used in the output field. Valid values: Chinese (default), English. Currently, country/region, district, and ISP parameters support multiple languages. OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"` }
Predefined struct for user
type DescribeTopClientIpSumInfoListResponse ¶
type DescribeTopClientIpSumInfoListResponse struct { *tchttp.BaseResponse Response *DescribeTopClientIpSumInfoListResponseParams `json:"Response"` }
func NewDescribeTopClientIpSumInfoListResponse ¶
func NewDescribeTopClientIpSumInfoListResponse() (response *DescribeTopClientIpSumInfoListResponse)
func (*DescribeTopClientIpSumInfoListResponse) FromJsonString ¶
func (r *DescribeTopClientIpSumInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopClientIpSumInfoListResponse) ToJsonString ¶
func (r *DescribeTopClientIpSumInfoListResponse) ToJsonString() string
type DescribeTopClientIpSumInfoListResponseParams ¶
type DescribeTopClientIpSumInfoListResponseParams struct { // Page number. Value range: [1,1000]. Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Sorting metric. Valid values: "TotalRequest", "FailedRequest", "TotalFlux". OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // Total number of results. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of result pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Data content. DataInfoList []*ClientIpPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTranscodeTaskNumRequest ¶
type DescribeTranscodeTaskNumRequest struct { *tchttp.BaseRequest // The start time in the format of yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time in the format of yyyy-mm-dd HH:MM:SS. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domains to query. If you do not pass a value, all push domains will be queried. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
func NewDescribeTranscodeTaskNumRequest ¶
func NewDescribeTranscodeTaskNumRequest() (request *DescribeTranscodeTaskNumRequest)
func (*DescribeTranscodeTaskNumRequest) FromJsonString ¶
func (r *DescribeTranscodeTaskNumRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTaskNumRequest) ToJsonString ¶
func (r *DescribeTranscodeTaskNumRequest) ToJsonString() string
type DescribeTranscodeTaskNumRequestParams ¶
type DescribeTranscodeTaskNumRequestParams struct { // The start time in the format of yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time in the format of yyyy-mm-dd HH:MM:SS. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The push domains to query. If you do not pass a value, all push domains will be queried. PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"` }
Predefined struct for user
type DescribeTranscodeTaskNumResponse ¶
type DescribeTranscodeTaskNumResponse struct { *tchttp.BaseResponse Response *DescribeTranscodeTaskNumResponseParams `json:"Response"` }
func NewDescribeTranscodeTaskNumResponse ¶
func NewDescribeTranscodeTaskNumResponse() (response *DescribeTranscodeTaskNumResponse)
func (*DescribeTranscodeTaskNumResponse) FromJsonString ¶
func (r *DescribeTranscodeTaskNumResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTaskNumResponse) ToJsonString ¶
func (r *DescribeTranscodeTaskNumResponse) ToJsonString() string
type DescribeTranscodeTaskNumResponseParams ¶
type DescribeTranscodeTaskNumResponseParams struct { // The number of tasks. DataInfoList []*TranscodeTaskNum `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUploadStreamNumsRequest ¶
type DescribeUploadStreamNumsRequest struct { *tchttp.BaseRequest // Start time point in the format of yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of yyyy-mm-dd HH:MM:SS. The difference between the start time and end time cannot be greater than 31 days. Data in the last 31 days can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // LVB domain names. If this parameter is left empty, data of all domain names will be queried. Domains []*string `json:"Domains,omitempty" name:"Domains"` // Time granularity of the data. Valid values: // 5: 5-minute granularity (the query period is up to 1 day) // 1440: 1-day granularity (the query period is up to 1 month) // Default value: 5 Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` }
func NewDescribeUploadStreamNumsRequest ¶
func NewDescribeUploadStreamNumsRequest() (request *DescribeUploadStreamNumsRequest)
func (*DescribeUploadStreamNumsRequest) FromJsonString ¶
func (r *DescribeUploadStreamNumsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUploadStreamNumsRequest) ToJsonString ¶
func (r *DescribeUploadStreamNumsRequest) ToJsonString() string
type DescribeUploadStreamNumsRequestParams ¶
type DescribeUploadStreamNumsRequestParams struct { // Start time point in the format of yyyy-mm-dd HH:MM:SS. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time point in the format of yyyy-mm-dd HH:MM:SS. The difference between the start time and end time cannot be greater than 31 days. Data in the last 31 days can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // LVB domain names. If this parameter is left empty, data of all domain names will be queried. Domains []*string `json:"Domains,omitempty" name:"Domains"` // Time granularity of the data. Valid values: // 5: 5-minute granularity (the query period is up to 1 day) // 1440: 1-day granularity (the query period is up to 1 month) // Default value: 5 Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` }
Predefined struct for user
type DescribeUploadStreamNumsResponse ¶
type DescribeUploadStreamNumsResponse struct { *tchttp.BaseResponse Response *DescribeUploadStreamNumsResponseParams `json:"Response"` }
func NewDescribeUploadStreamNumsResponse ¶
func NewDescribeUploadStreamNumsResponse() (response *DescribeUploadStreamNumsResponse)
func (*DescribeUploadStreamNumsResponse) FromJsonString ¶
func (r *DescribeUploadStreamNumsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUploadStreamNumsResponse) ToJsonString ¶
func (r *DescribeUploadStreamNumsResponse) ToJsonString() string
type DescribeUploadStreamNumsResponseParams ¶
type DescribeUploadStreamNumsResponseParams struct { // Detailed data. DataInfoList []*ConcurrentRecordStreamNum `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVisitTopSumInfoListRequest ¶
type DescribeVisitTopSumInfoListRequest struct { *tchttp.BaseRequest // Start point in time in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time in the format of `yyyy-mm-dd HH:MM:SS` // The time span is (0,4 hours]. Data for the last day can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Bandwidth metric. Valid values: "Domain", "StreamId". TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"` // Playback domain name. If this parameter is left empty, full data will be queried by default. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Page number, // Value range: [1,1000], // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. // Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Sorting metric. Valid values: "AvgFluxPerSecond", "TotalRequest" (default), "TotalFlux". OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` }
func NewDescribeVisitTopSumInfoListRequest ¶
func NewDescribeVisitTopSumInfoListRequest() (request *DescribeVisitTopSumInfoListRequest)
func (*DescribeVisitTopSumInfoListRequest) FromJsonString ¶
func (r *DescribeVisitTopSumInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVisitTopSumInfoListRequest) ToJsonString ¶
func (r *DescribeVisitTopSumInfoListRequest) ToJsonString() string
type DescribeVisitTopSumInfoListRequestParams ¶
type DescribeVisitTopSumInfoListRequestParams struct { // Start point in time in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End point in time in the format of `yyyy-mm-dd HH:MM:SS` // The time span is (0,4 hours]. Data for the last day can be queried. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Bandwidth metric. Valid values: "Domain", "StreamId". TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"` // Playback domain name. If this parameter is left empty, full data will be queried by default. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` // Page number, // Value range: [1,1000], // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. // Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Sorting metric. Valid values: "AvgFluxPerSecond", "TotalRequest" (default), "TotalFlux". OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` }
Predefined struct for user
type DescribeVisitTopSumInfoListResponse ¶
type DescribeVisitTopSumInfoListResponse struct { *tchttp.BaseResponse Response *DescribeVisitTopSumInfoListResponseParams `json:"Response"` }
func NewDescribeVisitTopSumInfoListResponse ¶
func NewDescribeVisitTopSumInfoListResponse() (response *DescribeVisitTopSumInfoListResponse)
func (*DescribeVisitTopSumInfoListResponse) FromJsonString ¶
func (r *DescribeVisitTopSumInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVisitTopSumInfoListResponse) ToJsonString ¶
func (r *DescribeVisitTopSumInfoListResponse) ToJsonString() string
type DescribeVisitTopSumInfoListResponseParams ¶
type DescribeVisitTopSumInfoListResponseParams struct { // Page number, // Value range: [1,1000], // Default value: 1. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1,1000]. // Default value: 20. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Bandwidth metric. Valid values: "Domain", "StreamId". TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"` // Sorting metric. Valid values: AvgFluxPerSecond (sort by average traffic per second), TotalRequest (sort by total requests), TotalFlux (sort by total traffic). Default value: TotalRequest. OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // Total number of results. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of result pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Data content. DataInfoList []*PlaySumStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DomainCertInfo ¶
type DomainCertInfo struct { // Certificate ID. CertId *int64 `json:"CertId,omitempty" name:"CertId"` // Certificate name. CertName *string `json:"CertName,omitempty" name:"CertName"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // The creation time in UTC format. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Certificate content. HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // Certificate type. // 0: user-added certificate // 1: Tencent Cloud-hosted certificate. CertType *int64 `json:"CertType,omitempty" name:"CertType"` // The certificate expiration time in UTC format. // Note: Beijing time (UTC+8) is used. CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` // Domain name that uses this certificate. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Certificate status. Status *int64 `json:"Status,omitempty" name:"Status"` // List of domain names in the certificate. // ["*.x.com"] for example. // Note: this field may return `null`, indicating that no valid values can be obtained. CertDomains []*string `json:"CertDomains,omitempty" name:"CertDomains"` // Tencent Cloud SSL certificate ID. // Note: this field may return `null`, indicating that no valid values can be obtained. CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"` }
type DomainInfo ¶
type DomainInfo struct { // LVB domain name. Name *string `json:"Name,omitempty" name:"Name"` // Domain name type: // 0: push. // 1: playback. Type *uint64 `json:"Type,omitempty" name:"Type"` // Domain name status: // 0: deactivated. // 1: activated. Status *uint64 `json:"Status,omitempty" name:"Status"` // The time when the domain was added. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Whether there is a CNAME record pointing to a fixed rule domain name: // 0: no. // 1: yes. BCName *uint64 `json:"BCName,omitempty" name:"BCName"` // Domain name corresponding to CNAME record. TargetDomain *string `json:"TargetDomain,omitempty" name:"TargetDomain"` // Playback region. This parameter is valid only if `Type` is 1. // 1: in Mainland China. // 2: global. // 3: outside Mainland China. PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"` // Whether it is LCB: // 0: LVB. // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // Information of currently used CNAME record. CurrentCName *string `json:"CurrentCName,omitempty" name:"CurrentCName"` // Disused parameter, which can be ignored. RentTag *int64 `json:"RentTag,omitempty" name:"RentTag"` // A disused parameter. // Note: Beijing time (UTC+8) is used. RentExpireTime *string `json:"RentExpireTime,omitempty" name:"RentExpireTime"` // 0: LVB. // 1: LVB on Mini Program. // Note: this field may return null, indicating that no valid values can be obtained. IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"` }
type DropLiveStreamRequest ¶
type DropLiveStreamRequest struct { *tchttp.BaseRequest // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Your push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDropLiveStreamRequest ¶
func NewDropLiveStreamRequest() (request *DropLiveStreamRequest)
func (*DropLiveStreamRequest) FromJsonString ¶
func (r *DropLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DropLiveStreamRequest) ToJsonString ¶
func (r *DropLiveStreamRequest) ToJsonString() string
type DropLiveStreamRequestParams ¶
type DropLiveStreamRequestParams struct { // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Your push domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`. AppName *string `json:"AppName,omitempty" name:"AppName"` }
Predefined struct for user
type DropLiveStreamResponse ¶
type DropLiveStreamResponse struct { *tchttp.BaseResponse Response *DropLiveStreamResponseParams `json:"Response"` }
func NewDropLiveStreamResponse ¶
func NewDropLiveStreamResponse() (response *DropLiveStreamResponse)
func (*DropLiveStreamResponse) FromJsonString ¶
func (r *DropLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DropLiveStreamResponse) ToJsonString ¶
func (r *DropLiveStreamResponse) ToJsonString() string
type DropLiveStreamResponseParams ¶
type DropLiveStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableLiveDomainRequest ¶
type EnableLiveDomainRequest struct { *tchttp.BaseRequest // LVB domain name to be enabled. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewEnableLiveDomainRequest ¶
func NewEnableLiveDomainRequest() (request *EnableLiveDomainRequest)
func (*EnableLiveDomainRequest) FromJsonString ¶
func (r *EnableLiveDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableLiveDomainRequest) ToJsonString ¶
func (r *EnableLiveDomainRequest) ToJsonString() string
type EnableLiveDomainRequestParams ¶
type EnableLiveDomainRequestParams struct { // LVB domain name to be enabled. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type EnableLiveDomainResponse ¶
type EnableLiveDomainResponse struct { *tchttp.BaseResponse Response *EnableLiveDomainResponseParams `json:"Response"` }
func NewEnableLiveDomainResponse ¶
func NewEnableLiveDomainResponse() (response *EnableLiveDomainResponse)
func (*EnableLiveDomainResponse) FromJsonString ¶
func (r *EnableLiveDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableLiveDomainResponse) ToJsonString ¶
func (r *EnableLiveDomainResponse) ToJsonString() string
type EnableLiveDomainResponseParams ¶
type EnableLiveDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type FlvSpecialParam ¶
type FlvSpecialParam struct { // Whether to enable upload while recording. This parameter is only valid for FLV recording. UploadInRecording *bool `json:"UploadInRecording,omitempty" name:"UploadInRecording"` }
type ForbidLiveDomainRequest ¶
type ForbidLiveDomainRequest struct { *tchttp.BaseRequest // LVB domain name to be disabled. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewForbidLiveDomainRequest ¶
func NewForbidLiveDomainRequest() (request *ForbidLiveDomainRequest)
func (*ForbidLiveDomainRequest) FromJsonString ¶
func (r *ForbidLiveDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidLiveDomainRequest) ToJsonString ¶
func (r *ForbidLiveDomainRequest) ToJsonString() string
type ForbidLiveDomainRequestParams ¶
type ForbidLiveDomainRequestParams struct { // LVB domain name to be disabled. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
Predefined struct for user
type ForbidLiveDomainResponse ¶
type ForbidLiveDomainResponse struct { *tchttp.BaseResponse Response *ForbidLiveDomainResponseParams `json:"Response"` }
func NewForbidLiveDomainResponse ¶
func NewForbidLiveDomainResponse() (response *ForbidLiveDomainResponse)
func (*ForbidLiveDomainResponse) FromJsonString ¶
func (r *ForbidLiveDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidLiveDomainResponse) ToJsonString ¶
func (r *ForbidLiveDomainResponse) ToJsonString() string
type ForbidLiveDomainResponseParams ¶
type ForbidLiveDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ForbidLiveStreamRequest ¶
type ForbidLiveStreamRequest struct { *tchttp.BaseRequest // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The time (in UTC format) to resume the stream, such as 2018-11-29T19:00:00Z. // Notes: // 1. The default stream disabling period is seven days. A stream can be disabled for up to 90 days. // 2. Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. ResumeTime *string `json:"ResumeTime,omitempty" name:"ResumeTime"` // Reason for forbidding. // Note: Be sure to enter the reason for forbidding to avoid any faulty operations. // Length limit: 2,048 bytes. Reason *string `json:"Reason,omitempty" name:"Reason"` }
func NewForbidLiveStreamRequest ¶
func NewForbidLiveStreamRequest() (request *ForbidLiveStreamRequest)
func (*ForbidLiveStreamRequest) FromJsonString ¶
func (r *ForbidLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidLiveStreamRequest) ToJsonString ¶
func (r *ForbidLiveStreamRequest) ToJsonString() string
type ForbidLiveStreamRequestParams ¶
type ForbidLiveStreamRequestParams struct { // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The time (in UTC format) to resume the stream, such as 2018-11-29T19:00:00Z. // Notes: // 1. The default stream disabling period is seven days. A stream can be disabled for up to 90 days. // 2. Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. ResumeTime *string `json:"ResumeTime,omitempty" name:"ResumeTime"` // Reason for forbidding. // Note: Be sure to enter the reason for forbidding to avoid any faulty operations. // Length limit: 2,048 bytes. Reason *string `json:"Reason,omitempty" name:"Reason"` }
Predefined struct for user
type ForbidLiveStreamResponse ¶
type ForbidLiveStreamResponse struct { *tchttp.BaseResponse Response *ForbidLiveStreamResponseParams `json:"Response"` }
func NewForbidLiveStreamResponse ¶
func NewForbidLiveStreamResponse() (response *ForbidLiveStreamResponse)
func (*ForbidLiveStreamResponse) FromJsonString ¶
func (r *ForbidLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidLiveStreamResponse) ToJsonString ¶
func (r *ForbidLiveStreamResponse) ToJsonString() string
type ForbidLiveStreamResponseParams ¶
type ForbidLiveStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ForbidStreamInfo ¶
type ForbidStreamInfo struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The creation time. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // The end time. // Note: Beijing time (UTC+8) is used. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // The push path. // Note: This field may return null, indicating that no valid values can be obtained. AppName *string `json:"AppName,omitempty" name:"AppName"` // The push domain name. // Note: This field may return null, indicating that no valid values can be obtained. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
type GroupProIspDataInfo ¶
type GroupProIspDataInfo struct { // District. ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // ISP. IspName *string `json:"IspName,omitempty" name:"IspName"` // Detailed data at the minute level. DetailInfoList []*CdnPlayStatData `json:"DetailInfoList,omitempty" name:"DetailInfoList"` }
type HlsSpecialParam ¶
type HlsSpecialParam struct { // Timeout period for restarting an interrupted HLS push. // Value range: [0, 1,800]. FlowContinueDuration *uint64 `json:"FlowContinueDuration,omitempty" name:"FlowContinueDuration"` }
type HttpCodeInfo ¶
type HttpCodeInfo struct { // HTTP return code. // Example: "2xx", "3xx", "4xx", "5xx". HttpCode *string `json:"HttpCode,omitempty" name:"HttpCode"` // Statistics. 0 will be added for points in time when there is no data. ValueList []*HttpCodeValue `json:"ValueList,omitempty" name:"ValueList"` }
type HttpCodeValue ¶
type HttpStatusData ¶
type HttpStatusData struct { // Data point in time, // In the format of `yyyy-mm-dd HH:MM:SS`. Time *string `json:"Time,omitempty" name:"Time"` // Playback status code details. HttpStatusInfoList []*HttpStatusInfo `json:"HttpStatusInfoList,omitempty" name:"HttpStatusInfoList"` }
type HttpStatusInfo ¶
type LiveCertDomainInfo ¶
type LiveDomainCertBindings ¶
type LiveDomainCertBindings struct { // The domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The remarks for the certificate. This parameter is the same as `CertName`. CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"` // The certificate type. // 0: Self-owned certificate // 1: Tencent Cloud-hosted certificate CertType *int64 `json:"CertType,omitempty" name:"CertType"` // Whether HTTPS is enabled. // 1: Enabled // 0: Disabled Status *int64 `json:"Status,omitempty" name:"Status"` // The certificate expiration time. // Note: Beijing time (UTC+8) is used. CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` // The certificate ID. CertId *int64 `json:"CertId,omitempty" name:"CertId"` // The SSL certificate ID assigned by Tencent Cloud. CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"` // The last updated time. // Note: Beijing time (UTC+8) is used. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ModifyLiveCallbackTemplateRequest ¶
type ModifyLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // Template ID returned by the `DescribeLiveCallbackTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // Stream starting callback URL. StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // Interruption callback URL. StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // Recording callback URL. RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // Screencapturing callback URL. SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // Porn detection callback URL. PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // Callback key. The callback URL is public. For the callback signature, please see the event message notification document. // [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` // The push error callback URL. PushExceptionNotifyUrl *string `json:"PushExceptionNotifyUrl,omitempty" name:"PushExceptionNotifyUrl"` }
func NewModifyLiveCallbackTemplateRequest ¶
func NewModifyLiveCallbackTemplateRequest() (request *ModifyLiveCallbackTemplateRequest)
func (*ModifyLiveCallbackTemplateRequest) FromJsonString ¶
func (r *ModifyLiveCallbackTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveCallbackTemplateRequest) ToJsonString ¶
func (r *ModifyLiveCallbackTemplateRequest) ToJsonString() string
type ModifyLiveCallbackTemplateRequestParams ¶
type ModifyLiveCallbackTemplateRequestParams struct { // Template ID returned by the `DescribeLiveCallbackTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // Stream starting callback URL. StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // Interruption callback URL. StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // Recording callback URL. RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // Screencapturing callback URL. SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // Porn detection callback URL. PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // Callback key. The callback URL is public. For the callback signature, please see the event message notification document. // [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1). CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` // The push error callback URL. PushExceptionNotifyUrl *string `json:"PushExceptionNotifyUrl,omitempty" name:"PushExceptionNotifyUrl"` }
Predefined struct for user
type ModifyLiveCallbackTemplateResponse ¶
type ModifyLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *ModifyLiveCallbackTemplateResponseParams `json:"Response"` }
func NewModifyLiveCallbackTemplateResponse ¶
func NewModifyLiveCallbackTemplateResponse() (response *ModifyLiveCallbackTemplateResponse)
func (*ModifyLiveCallbackTemplateResponse) FromJsonString ¶
func (r *ModifyLiveCallbackTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveCallbackTemplateResponse) ToJsonString ¶
func (r *ModifyLiveCallbackTemplateResponse) ToJsonString() string
type ModifyLiveCallbackTemplateResponseParams ¶
type ModifyLiveCallbackTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveDomainCertBindingsRequest ¶
type ModifyLiveDomainCertBindingsRequest struct { *tchttp.BaseRequest // The playback domains to bind and whether to enable HTTPS for them. // If neither `CloudCertId` nor the public/private key is specified, and a domain is already bound with a certificate, this API will only update the HTTPS configuration of the domain and, if the certificate is a self-owned certificate, upload it to Tencent Cloud. DomainInfos []*LiveCertDomainInfo `json:"DomainInfos,omitempty" name:"DomainInfos"` // The SSL certificate ID assigned by Tencent Cloud. // For details, see https://intl.cloud.tencent.com/document/api/400/41665?from_cn_redirect=1 CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"` // The public key of the certificate. // You can specify either `CloudCertId` or the public/private key. If both are specified, the private and public key parameters will be ignored. If you pass in only the public and private keys, the corresponding certificate will be uploaded to Tencent Cloud SSL Certificate Service, which will generate a `CloudCertId` for the certificate. CertificatePublicKey *string `json:"CertificatePublicKey,omitempty" name:"CertificatePublicKey"` // The private key of the certificate. // You can specify either `CloudCertId` or the public/private key. If both are specified, the private and public key parameters will be ignored. If you pass in only the public and private keys, the corresponding certificate will be uploaded to Tencent Cloud SSL Certificate Service, which will generate a `CloudCertId` for the certificate. CertificatePrivateKey *string `json:"CertificatePrivateKey,omitempty" name:"CertificatePrivateKey"` // The remarks for the certificate in Tencent Cloud SSL Certificate Service. This parameter will be ignored if `CloudCertId` is specified. CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"` }
func NewModifyLiveDomainCertBindingsRequest ¶
func NewModifyLiveDomainCertBindingsRequest() (request *ModifyLiveDomainCertBindingsRequest)
func (*ModifyLiveDomainCertBindingsRequest) FromJsonString ¶
func (r *ModifyLiveDomainCertBindingsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveDomainCertBindingsRequest) ToJsonString ¶
func (r *ModifyLiveDomainCertBindingsRequest) ToJsonString() string
type ModifyLiveDomainCertBindingsRequestParams ¶
type ModifyLiveDomainCertBindingsRequestParams struct { // The playback domains to bind and whether to enable HTTPS for them. // If neither `CloudCertId` nor the public/private key is specified, and a domain is already bound with a certificate, this API will only update the HTTPS configuration of the domain and, if the certificate is a self-owned certificate, upload it to Tencent Cloud. DomainInfos []*LiveCertDomainInfo `json:"DomainInfos,omitempty" name:"DomainInfos"` // The SSL certificate ID assigned by Tencent Cloud. // For details, see https://intl.cloud.tencent.com/document/api/400/41665?from_cn_redirect=1 CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"` // The public key of the certificate. // You can specify either `CloudCertId` or the public/private key. If both are specified, the private and public key parameters will be ignored. If you pass in only the public and private keys, the corresponding certificate will be uploaded to Tencent Cloud SSL Certificate Service, which will generate a `CloudCertId` for the certificate. CertificatePublicKey *string `json:"CertificatePublicKey,omitempty" name:"CertificatePublicKey"` // The private key of the certificate. // You can specify either `CloudCertId` or the public/private key. If both are specified, the private and public key parameters will be ignored. If you pass in only the public and private keys, the corresponding certificate will be uploaded to Tencent Cloud SSL Certificate Service, which will generate a `CloudCertId` for the certificate. CertificatePrivateKey *string `json:"CertificatePrivateKey,omitempty" name:"CertificatePrivateKey"` // The remarks for the certificate in Tencent Cloud SSL Certificate Service. This parameter will be ignored if `CloudCertId` is specified. CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"` }
Predefined struct for user
type ModifyLiveDomainCertBindingsResponse ¶
type ModifyLiveDomainCertBindingsResponse struct { *tchttp.BaseResponse Response *ModifyLiveDomainCertBindingsResponseParams `json:"Response"` }
func NewModifyLiveDomainCertBindingsResponse ¶
func NewModifyLiveDomainCertBindingsResponse() (response *ModifyLiveDomainCertBindingsResponse)
func (*ModifyLiveDomainCertBindingsResponse) FromJsonString ¶
func (r *ModifyLiveDomainCertBindingsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveDomainCertBindingsResponse) ToJsonString ¶
func (r *ModifyLiveDomainCertBindingsResponse) ToJsonString() string
type ModifyLiveDomainCertBindingsResponseParams ¶
type ModifyLiveDomainCertBindingsResponseParams struct { // The domains skipped due to certificate mismatch. MismatchedDomainNames []*string `json:"MismatchedDomainNames,omitempty" name:"MismatchedDomainNames"` // The domains that the API failed to bind, including those in `MismatchedDomainNames`, and the error information. // Note: This field may return null, indicating that no valid values can be obtained. Errors []*BatchDomainOperateErrors `json:"Errors,omitempty" name:"Errors"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveDomainRefererRequest ¶
type ModifyLiveDomainRefererRequest struct { *tchttp.BaseRequest // Playback domain name DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable referer allowlist/blocklist authentication for the current domain name Enable *int64 `json:"Enable,omitempty" name:"Enable"` // List type. Valid values: `0` (blocklist), `1` (allowlist) Type *int64 `json:"Type,omitempty" name:"Type"` // Whether to allow empty referer. Valid values: `0` (no), `1` (yes) AllowEmpty *int64 `json:"AllowEmpty,omitempty" name:"AllowEmpty"` // Referer list. Separate items in it with semicolons (;). Rules *string `json:"Rules,omitempty" name:"Rules"` }
func NewModifyLiveDomainRefererRequest ¶
func NewModifyLiveDomainRefererRequest() (request *ModifyLiveDomainRefererRequest)
func (*ModifyLiveDomainRefererRequest) FromJsonString ¶
func (r *ModifyLiveDomainRefererRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveDomainRefererRequest) ToJsonString ¶
func (r *ModifyLiveDomainRefererRequest) ToJsonString() string
type ModifyLiveDomainRefererRequestParams ¶
type ModifyLiveDomainRefererRequestParams struct { // Playback domain name DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable referer allowlist/blocklist authentication for the current domain name Enable *int64 `json:"Enable,omitempty" name:"Enable"` // List type. Valid values: `0` (blocklist), `1` (allowlist) Type *int64 `json:"Type,omitempty" name:"Type"` // Whether to allow empty referer. Valid values: `0` (no), `1` (yes) AllowEmpty *int64 `json:"AllowEmpty,omitempty" name:"AllowEmpty"` // Referer list. Separate items in it with semicolons (;). Rules *string `json:"Rules,omitempty" name:"Rules"` }
Predefined struct for user
type ModifyLiveDomainRefererResponse ¶
type ModifyLiveDomainRefererResponse struct { *tchttp.BaseResponse Response *ModifyLiveDomainRefererResponseParams `json:"Response"` }
func NewModifyLiveDomainRefererResponse ¶
func NewModifyLiveDomainRefererResponse() (response *ModifyLiveDomainRefererResponse)
func (*ModifyLiveDomainRefererResponse) FromJsonString ¶
func (r *ModifyLiveDomainRefererResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveDomainRefererResponse) ToJsonString ¶
func (r *ModifyLiveDomainRefererResponse) ToJsonString() string
type ModifyLiveDomainRefererResponseParams ¶
type ModifyLiveDomainRefererResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLivePlayAuthKeyRequest ¶
type ModifyLivePlayAuthKeyRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable. 0: disabled; 1: enabled. // If this parameter is left empty, the current value will not be modified. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Authentication key. // If this parameter is left empty, the current value will not be modified. AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"` // Validity period in seconds. // If this parameter is left empty, the current value will not be modified. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` // Backup authentication key. // If this parameter is left empty, the current value will not be modified. AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"` }
func NewModifyLivePlayAuthKeyRequest ¶
func NewModifyLivePlayAuthKeyRequest() (request *ModifyLivePlayAuthKeyRequest)
func (*ModifyLivePlayAuthKeyRequest) FromJsonString ¶
func (r *ModifyLivePlayAuthKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePlayAuthKeyRequest) ToJsonString ¶
func (r *ModifyLivePlayAuthKeyRequest) ToJsonString() string
type ModifyLivePlayAuthKeyRequestParams ¶
type ModifyLivePlayAuthKeyRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable. 0: disabled; 1: enabled. // If this parameter is left empty, the current value will not be modified. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Authentication key. // If this parameter is left empty, the current value will not be modified. AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"` // Validity period in seconds. // If this parameter is left empty, the current value will not be modified. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` // Backup authentication key. // If this parameter is left empty, the current value will not be modified. AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"` }
Predefined struct for user
type ModifyLivePlayAuthKeyResponse ¶
type ModifyLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *ModifyLivePlayAuthKeyResponseParams `json:"Response"` }
func NewModifyLivePlayAuthKeyResponse ¶
func NewModifyLivePlayAuthKeyResponse() (response *ModifyLivePlayAuthKeyResponse)
func (*ModifyLivePlayAuthKeyResponse) FromJsonString ¶
func (r *ModifyLivePlayAuthKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePlayAuthKeyResponse) ToJsonString ¶
func (r *ModifyLivePlayAuthKeyResponse) ToJsonString() string
type ModifyLivePlayAuthKeyResponseParams ¶
type ModifyLivePlayAuthKeyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLivePlayDomainRequest ¶
type ModifyLivePlayDomainRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Pull domain name type. 1: Mainland China. 2: global, 3: outside Mainland China PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"` }
func NewModifyLivePlayDomainRequest ¶
func NewModifyLivePlayDomainRequest() (request *ModifyLivePlayDomainRequest)
func (*ModifyLivePlayDomainRequest) FromJsonString ¶
func (r *ModifyLivePlayDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePlayDomainRequest) ToJsonString ¶
func (r *ModifyLivePlayDomainRequest) ToJsonString() string
type ModifyLivePlayDomainRequestParams ¶
type ModifyLivePlayDomainRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Pull domain name type. 1: Mainland China. 2: global, 3: outside Mainland China PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"` }
Predefined struct for user
type ModifyLivePlayDomainResponse ¶
type ModifyLivePlayDomainResponse struct { *tchttp.BaseResponse Response *ModifyLivePlayDomainResponseParams `json:"Response"` }
func NewModifyLivePlayDomainResponse ¶
func NewModifyLivePlayDomainResponse() (response *ModifyLivePlayDomainResponse)
func (*ModifyLivePlayDomainResponse) FromJsonString ¶
func (r *ModifyLivePlayDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePlayDomainResponse) ToJsonString ¶
func (r *ModifyLivePlayDomainResponse) ToJsonString() string
type ModifyLivePlayDomainResponseParams ¶
type ModifyLivePlayDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLivePullStreamTaskRequest ¶
type ModifyLivePullStreamTaskRequest struct { *tchttp.BaseRequest // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` // The source URL(s). // If `SourceType` is `PullLivePushLive`, you can specify only one source URL. // If `SourceType` is `PullVodPushLive`, you can specify at most 30 source URLs. SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"` // The start time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time. Notes: // 1. The end time must be later than the start time. // 2. The end time and start time must be later than the current time. // 3. The end time and start time must be less than seven days apart. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The number of times to loop video files. // -1: Loop indefinitely // 0: Do not loop // > 0: The number of loop times. A task will end either when the videos are looped for the specified number of times or at the specified task end time, whichever is earlier. // This parameter is valid only if the source is video files. VodLoopTimes *int64 `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"` // The behavior after the source video files (`SourceUrls`) are changed. // ImmediateNewSource: Play the new videos immediately // ContinueBreakPoint: Finish the current video first and then pull from the new source. // This parameter is valid only if the source is video files. VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"` // Whether to enable or pause the task. Valid values: // enable // pause Status *string `json:"Status,omitempty" name:"Status"` // The events to listen for. If you do not pass this parameter, all events will be listened for. // TaskStart: Callback for starting a task // TaskExit: Callback for ending a task // VodSourceFileStart: Callback for starting to pull from video files // VodSourceFileFinish: Callback for stopping pulling from video files // ResetTaskConfig: Callback for modifying a task CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"` // A custom callback URL. // Callbacks will be sent to this URL. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // The index of the video to start from. // The value of this parameter cannot be smaller than 1 or larger than the number of elements in `SourceUrls`. FileIndex *int64 `json:"FileIndex,omitempty" name:"FileIndex"` // The playback offset (seconds). // Notes: // 1. This parameter should be used together with `FileIndex`. OffsetTime *int64 `json:"OffsetTime,omitempty" name:"OffsetTime"` // The remarks for the task. Comment *string `json:"Comment,omitempty" name:"Comment"` // The backup source type. // PullLivePushLive: Live streaming // PullVodPushLive: Video files // Notes: // 1. Backup sources are supported only if the primary source type is live streaming. // 2. Leaving this parameter empty will reset the backup source. // 3. When pull from the primary source is interrupted, the system will pull from the backup source. // 4. If the backup source is a video file, each time the video is finished, the system will check if the primary source is recovered and will switch back if it is. BackupSourceType *string `json:"BackupSourceType,omitempty" name:"BackupSourceType"` // The URL of the backup source. // You can specify only one backup source URL. BackupSourceUrl *string `json:"BackupSourceUrl,omitempty" name:"BackupSourceUrl"` // The information of watermarks to add. // Notes: // 1. You can add up to four watermarks to different locations of the video. // 2. Make sure you use publicly accessible URLs for the watermark images. // 3. Supported image formats include PNG and JPG. // 4. If you change the watermark configuration of a task whose source is a list of video files, the new configuration will take effect for the next file in the list. // 5. If you change the watermark configuration of a task whose source is a live stream, the new configuration will take effect immediately. // 6. If you want to stop using watermarks, pass in an empty array. // 7. Currently, animated watermarks are not supported. WatermarkList []*PullPushWatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // Whether to use local mode when the source type is video files. The default is `0`. // 0: Do not use local mode // 1: Use local mode // Note: If you enable local mode, MP4 files will be downloaded to local storage, and the local files will be used for push. This ensures more reliable push. Pushing a local file will incur additional fees. VodLocalMode *int64 `json:"VodLocalMode,omitempty" name:"VodLocalMode"` }
func NewModifyLivePullStreamTaskRequest ¶
func NewModifyLivePullStreamTaskRequest() (request *ModifyLivePullStreamTaskRequest)
func (*ModifyLivePullStreamTaskRequest) FromJsonString ¶
func (r *ModifyLivePullStreamTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePullStreamTaskRequest) ToJsonString ¶
func (r *ModifyLivePullStreamTaskRequest) ToJsonString() string
type ModifyLivePullStreamTaskRequestParams ¶
type ModifyLivePullStreamTaskRequestParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The operator. Operator *string `json:"Operator,omitempty" name:"Operator"` // The source URL(s). // If `SourceType` is `PullLivePushLive`, you can specify only one source URL. // If `SourceType` is `PullVodPushLive`, you can specify at most 30 source URLs. SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"` // The start time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time. Notes: // 1. The end time must be later than the start time. // 2. The end time and start time must be later than the current time. // 3. The end time and start time must be less than seven days apart. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The number of times to loop video files. // -1: Loop indefinitely // 0: Do not loop // > 0: The number of loop times. A task will end either when the videos are looped for the specified number of times or at the specified task end time, whichever is earlier. // This parameter is valid only if the source is video files. VodLoopTimes *int64 `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"` // The behavior after the source video files (`SourceUrls`) are changed. // ImmediateNewSource: Play the new videos immediately // ContinueBreakPoint: Finish the current video first and then pull from the new source. // This parameter is valid only if the source is video files. VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"` // Whether to enable or pause the task. Valid values: // enable // pause Status *string `json:"Status,omitempty" name:"Status"` // The events to listen for. If you do not pass this parameter, all events will be listened for. // TaskStart: Callback for starting a task // TaskExit: Callback for ending a task // VodSourceFileStart: Callback for starting to pull from video files // VodSourceFileFinish: Callback for stopping pulling from video files // ResetTaskConfig: Callback for modifying a task CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"` // A custom callback URL. // Callbacks will be sent to this URL. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // The index of the video to start from. // The value of this parameter cannot be smaller than 1 or larger than the number of elements in `SourceUrls`. FileIndex *int64 `json:"FileIndex,omitempty" name:"FileIndex"` // The playback offset (seconds). // Notes: // 1. This parameter should be used together with `FileIndex`. OffsetTime *int64 `json:"OffsetTime,omitempty" name:"OffsetTime"` // The remarks for the task. Comment *string `json:"Comment,omitempty" name:"Comment"` // The backup source type. // PullLivePushLive: Live streaming // PullVodPushLive: Video files // Notes: // 1. Backup sources are supported only if the primary source type is live streaming. // 2. Leaving this parameter empty will reset the backup source. // 3. When pull from the primary source is interrupted, the system will pull from the backup source. // 4. If the backup source is a video file, each time the video is finished, the system will check if the primary source is recovered and will switch back if it is. BackupSourceType *string `json:"BackupSourceType,omitempty" name:"BackupSourceType"` // The URL of the backup source. // You can specify only one backup source URL. BackupSourceUrl *string `json:"BackupSourceUrl,omitempty" name:"BackupSourceUrl"` // The information of watermarks to add. // Notes: // 1. You can add up to four watermarks to different locations of the video. // 2. Make sure you use publicly accessible URLs for the watermark images. // 3. Supported image formats include PNG and JPG. // 4. If you change the watermark configuration of a task whose source is a list of video files, the new configuration will take effect for the next file in the list. // 5. If you change the watermark configuration of a task whose source is a live stream, the new configuration will take effect immediately. // 6. If you want to stop using watermarks, pass in an empty array. // 7. Currently, animated watermarks are not supported. WatermarkList []*PullPushWatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // Whether to use local mode when the source type is video files. The default is `0`. // 0: Do not use local mode // 1: Use local mode // Note: If you enable local mode, MP4 files will be downloaded to local storage, and the local files will be used for push. This ensures more reliable push. Pushing a local file will incur additional fees. VodLocalMode *int64 `json:"VodLocalMode,omitempty" name:"VodLocalMode"` }
Predefined struct for user
type ModifyLivePullStreamTaskResponse ¶
type ModifyLivePullStreamTaskResponse struct { *tchttp.BaseResponse Response *ModifyLivePullStreamTaskResponseParams `json:"Response"` }
func NewModifyLivePullStreamTaskResponse ¶
func NewModifyLivePullStreamTaskResponse() (response *ModifyLivePullStreamTaskResponse)
func (*ModifyLivePullStreamTaskResponse) FromJsonString ¶
func (r *ModifyLivePullStreamTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePullStreamTaskResponse) ToJsonString ¶
func (r *ModifyLivePullStreamTaskResponse) ToJsonString() string
type ModifyLivePullStreamTaskResponseParams ¶
type ModifyLivePullStreamTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLivePushAuthKeyRequest ¶
type ModifyLivePushAuthKeyRequest struct { *tchttp.BaseRequest // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable. 0: disabled; 1: enabled. // If this parameter is left empty, the current value will not be modified. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Master authentication key. // If this parameter is left empty, the current value will not be modified. MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"` // Backup authentication key. // If this parameter is left empty, the current value will not be modified. BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"` // Validity period in seconds. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` }
func NewModifyLivePushAuthKeyRequest ¶
func NewModifyLivePushAuthKeyRequest() (request *ModifyLivePushAuthKeyRequest)
func (*ModifyLivePushAuthKeyRequest) FromJsonString ¶
func (r *ModifyLivePushAuthKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePushAuthKeyRequest) ToJsonString ¶
func (r *ModifyLivePushAuthKeyRequest) ToJsonString() string
type ModifyLivePushAuthKeyRequestParams ¶
type ModifyLivePushAuthKeyRequestParams struct { // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable. 0: disabled; 1: enabled. // If this parameter is left empty, the current value will not be modified. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Master authentication key. // If this parameter is left empty, the current value will not be modified. MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"` // Backup authentication key. // If this parameter is left empty, the current value will not be modified. BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"` // Validity period in seconds. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` }
Predefined struct for user
type ModifyLivePushAuthKeyResponse ¶
type ModifyLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *ModifyLivePushAuthKeyResponseParams `json:"Response"` }
func NewModifyLivePushAuthKeyResponse ¶
func NewModifyLivePushAuthKeyResponse() (response *ModifyLivePushAuthKeyResponse)
func (*ModifyLivePushAuthKeyResponse) FromJsonString ¶
func (r *ModifyLivePushAuthKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLivePushAuthKeyResponse) ToJsonString ¶
func (r *ModifyLivePushAuthKeyResponse) ToJsonString() string
type ModifyLivePushAuthKeyResponseParams ¶
type ModifyLivePushAuthKeyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveRecordTemplateRequest ¶
type ModifyLiveRecordTemplateRequest struct { *tchttp.BaseRequest // Template ID obtained through the `DescribeRecordTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Message description Description *string `json:"Description,omitempty" name:"Description"` // FLV recording parameter, which is set when FLV recording is enabled. FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // HLS recording parameter, which is set when HLS recording is enabled. HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // MP4 recording parameter, which is set when MP4 recording is enabled. Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // AAC recording parameter, which is set when AAC recording is enabled. AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // Custom HLS recording parameter. HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // MP3 recording parameter, which is set when MP3 recording is enabled. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` // Whether to remove the watermark. This parameter is invalid if `IsDelayLive` is `1`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // A special parameter for FLV recording. FlvSpecialParam *FlvSpecialParam `json:"FlvSpecialParam,omitempty" name:"FlvSpecialParam"` }
func NewModifyLiveRecordTemplateRequest ¶
func NewModifyLiveRecordTemplateRequest() (request *ModifyLiveRecordTemplateRequest)
func (*ModifyLiveRecordTemplateRequest) FromJsonString ¶
func (r *ModifyLiveRecordTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveRecordTemplateRequest) ToJsonString ¶
func (r *ModifyLiveRecordTemplateRequest) ToJsonString() string
type ModifyLiveRecordTemplateRequestParams ¶
type ModifyLiveRecordTemplateRequestParams struct { // Template ID obtained through the `DescribeRecordTemplates` API. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Message description Description *string `json:"Description,omitempty" name:"Description"` // FLV recording parameter, which is set when FLV recording is enabled. FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // HLS recording parameter, which is set when HLS recording is enabled. HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // MP4 recording parameter, which is set when MP4 recording is enabled. Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // AAC recording parameter, which is set when AAC recording is enabled. AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // Custom HLS recording parameter. HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // MP3 recording parameter, which is set when MP3 recording is enabled. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` // Whether to remove the watermark. This parameter is invalid if `IsDelayLive` is `1`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // A special parameter for FLV recording. FlvSpecialParam *FlvSpecialParam `json:"FlvSpecialParam,omitempty" name:"FlvSpecialParam"` }
Predefined struct for user
type ModifyLiveRecordTemplateResponse ¶
type ModifyLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *ModifyLiveRecordTemplateResponseParams `json:"Response"` }
func NewModifyLiveRecordTemplateResponse ¶
func NewModifyLiveRecordTemplateResponse() (response *ModifyLiveRecordTemplateResponse)
func (*ModifyLiveRecordTemplateResponse) FromJsonString ¶
func (r *ModifyLiveRecordTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveRecordTemplateResponse) ToJsonString ¶
func (r *ModifyLiveRecordTemplateResponse) ToJsonString() string
type ModifyLiveRecordTemplateResponseParams ¶
type ModifyLiveRecordTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveSnapshotTemplateRequest ¶
type ModifyLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The COS application ID. // **Please note that this parameter is required now**. CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // The COS bucket name. // Note: Do not include the `-[appid]` part in the value of `CosBucket`. // **Please note that this parameter is required now**. CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // The COS region. // **Please note that this parameter is required now**. CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // Template name. // Maximum length: 255 bytes. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. // Maximum length: 1,024 bytes. Description *string `json:"Description,omitempty" name:"Description"` // Screencapturing interval in seconds. Default value: 10s. // Value range: 5-300s. SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // Screenshot width. Default value: 0 (original width). Width *int64 `json:"Width,omitempty" name:"Width"` // Screenshot height. Default value: 0 (original height). Height *int64 `json:"Height,omitempty" name:"Height"` // Whether to enable porn detection. Default value: 0. // 0: do not enable. // 1: enable. PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // COS bucket folder prefix. CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"` // COS filename. CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"` }
func NewModifyLiveSnapshotTemplateRequest ¶
func NewModifyLiveSnapshotTemplateRequest() (request *ModifyLiveSnapshotTemplateRequest)
func (*ModifyLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *ModifyLiveSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *ModifyLiveSnapshotTemplateRequest) ToJsonString() string
type ModifyLiveSnapshotTemplateRequestParams ¶
type ModifyLiveSnapshotTemplateRequestParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The COS application ID. // **Please note that this parameter is required now**. CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // The COS bucket name. // Note: Do not include the `-[appid]` part in the value of `CosBucket`. // **Please note that this parameter is required now**. CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // The COS region. // **Please note that this parameter is required now**. CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // Template name. // Maximum length: 255 bytes. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Description. // Maximum length: 1,024 bytes. Description *string `json:"Description,omitempty" name:"Description"` // Screencapturing interval in seconds. Default value: 10s. // Value range: 5-300s. SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // Screenshot width. Default value: 0 (original width). Width *int64 `json:"Width,omitempty" name:"Width"` // Screenshot height. Default value: 0 (original height). Height *int64 `json:"Height,omitempty" name:"Height"` // Whether to enable porn detection. Default value: 0. // 0: do not enable. // 1: enable. PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // COS bucket folder prefix. CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"` // COS filename. CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"` }
Predefined struct for user
type ModifyLiveSnapshotTemplateResponse ¶
type ModifyLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *ModifyLiveSnapshotTemplateResponseParams `json:"Response"` }
func NewModifyLiveSnapshotTemplateResponse ¶
func NewModifyLiveSnapshotTemplateResponse() (response *ModifyLiveSnapshotTemplateResponse)
func (*ModifyLiveSnapshotTemplateResponse) FromJsonString ¶
func (r *ModifyLiveSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *ModifyLiveSnapshotTemplateResponse) ToJsonString() string
type ModifyLiveSnapshotTemplateResponseParams ¶
type ModifyLiveSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveTimeShiftTemplateRequest ¶
type ModifyLiveTimeShiftTemplateRequest struct { *tchttp.BaseRequest // The time shifting template ID. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The template name. // Only letters, numbers, underscores, and hyphens are supported. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // The template description. // Maximum length: 1,024 bytes. // Only letters, numbers, underscores, and hyphens are supported. Description *string `json:"Description,omitempty" name:"Description"` // The time shifting duration. // Unit: Second. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The segment size. // Value range: 3-10. // Unit: Second. // Default value: 5 ItemDuration *uint64 `json:"ItemDuration,omitempty" name:"ItemDuration"` // Whether to remove watermarks. // If you pass in `true`, the original stream will be recorded. // Default value: `false`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // The transcoding template IDs. // This API works only if `RemoveWatermark` is `false`. TranscodeTemplateIds []*int64 `json:"TranscodeTemplateIds,omitempty" name:"TranscodeTemplateIds"` // The region. // `Mainland`: The Chinese mainland. // `Overseas`: Outside the Chinese mainland. // Default value: `Mainland`. Area *string `json:"Area,omitempty" name:"Area"` }
func NewModifyLiveTimeShiftTemplateRequest ¶
func NewModifyLiveTimeShiftTemplateRequest() (request *ModifyLiveTimeShiftTemplateRequest)
func (*ModifyLiveTimeShiftTemplateRequest) FromJsonString ¶
func (r *ModifyLiveTimeShiftTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveTimeShiftTemplateRequest) ToJsonString ¶
func (r *ModifyLiveTimeShiftTemplateRequest) ToJsonString() string
type ModifyLiveTimeShiftTemplateRequestParams ¶
type ModifyLiveTimeShiftTemplateRequestParams struct { // The time shifting template ID. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The template name. // Only letters, numbers, underscores, and hyphens are supported. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // The template description. // Maximum length: 1,024 bytes. // Only letters, numbers, underscores, and hyphens are supported. Description *string `json:"Description,omitempty" name:"Description"` // The time shifting duration. // Unit: Second. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The segment size. // Value range: 3-10. // Unit: Second. // Default value: 5 ItemDuration *uint64 `json:"ItemDuration,omitempty" name:"ItemDuration"` // Whether to remove watermarks. // If you pass in `true`, the original stream will be recorded. // Default value: `false`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // The transcoding template IDs. // This API works only if `RemoveWatermark` is `false`. TranscodeTemplateIds []*int64 `json:"TranscodeTemplateIds,omitempty" name:"TranscodeTemplateIds"` // The region. // `Mainland`: The Chinese mainland. // `Overseas`: Outside the Chinese mainland. // Default value: `Mainland`. Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type ModifyLiveTimeShiftTemplateResponse ¶
type ModifyLiveTimeShiftTemplateResponse struct { *tchttp.BaseResponse Response *ModifyLiveTimeShiftTemplateResponseParams `json:"Response"` }
func NewModifyLiveTimeShiftTemplateResponse ¶
func NewModifyLiveTimeShiftTemplateResponse() (response *ModifyLiveTimeShiftTemplateResponse)
func (*ModifyLiveTimeShiftTemplateResponse) FromJsonString ¶
func (r *ModifyLiveTimeShiftTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveTimeShiftTemplateResponse) ToJsonString ¶
func (r *ModifyLiveTimeShiftTemplateResponse) ToJsonString() string
type ModifyLiveTimeShiftTemplateResponseParams ¶
type ModifyLiveTimeShiftTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLiveTranscodeTemplateRequest ¶
type ModifyLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Video codec. Valid values: h264, h265, origin (default) // // origin: original codec as the output codec Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Audio codec. Defaut value: aac. // Note: this parameter is unsupported now. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Audio bitrate. Default value: 0. // Value range: 0-500. AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // Video bitrate in Kbps. Value range: 100-8000. // Note: the transcoding template requires that the bitrate be unique. Therefore, the final saved bitrate may be different from the input bitrate. VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // Width in pixels. Value range: 0-3000. // It must be a multiple of 2. The original width is 0. Width *int64 `json:"Width,omitempty" name:"Width"` // Whether to keep the video. 0: no; 1: yes. Default value: 1. NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // Whether to keep the audio. 0: no; 1: yes. Default value: 1. NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // Height in pixels. Value range: 0-3000. // It must be a multiple of 2. The original height is 0. Height *int64 `json:"Height,omitempty" name:"Height"` // Frame rate in fps. Default value: 0. // Value range: 0-60 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // Keyframe interval in seconds. // Value range: 2-6 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // Rotation angle. Default value: 0. // Valid values: 0, 90, 180, 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Encoding quality: // baseline/main/high. Profile *string `json:"Profile,omitempty" name:"Profile"` // Whether to use the original bitrate when the set bitrate is larger than the original bitrate. // 0: no, 1: yes // Default value: 0. BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // Whether to use the original height when the set height is higher than the original height. // 0: no, 1: yes // Default value: 0. HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // Whether to use the original frame rate when the set frame rate is larger than the original frame rate. // 0: no, 1: yes // Default value: 0. FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // Bitrate compression ratio of top speed codec video. // Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent) // // Value range: 0.0-0.5. AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` // Whether to use the short side as the video height. 0: no, 1: yes. Default value: 0. ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"` // The DRM encryption type. Valid values: fairplay, normalaes, widevine. // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMType *string `json:"DRMType,omitempty" name:"DRMType"` // The tracks to encrypt. Valid values: AUDIO, SD, HD, UHD1, UHD2. You can choose only one video track (SD, HD, UHD1, or UHD2). // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMTracks *string `json:"DRMTracks,omitempty" name:"DRMTracks"` }
func NewModifyLiveTranscodeTemplateRequest ¶
func NewModifyLiveTranscodeTemplateRequest() (request *ModifyLiveTranscodeTemplateRequest)
func (*ModifyLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *ModifyLiveTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *ModifyLiveTranscodeTemplateRequest) ToJsonString() string
type ModifyLiveTranscodeTemplateRequestParams ¶
type ModifyLiveTranscodeTemplateRequestParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Video codec. Valid values: h264, h265, origin (default) // // origin: original codec as the output codec Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Audio codec. Defaut value: aac. // Note: this parameter is unsupported now. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Audio bitrate. Default value: 0. // Value range: 0-500. AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // Video bitrate in Kbps. Value range: 100-8000. // Note: the transcoding template requires that the bitrate be unique. Therefore, the final saved bitrate may be different from the input bitrate. VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // Width in pixels. Value range: 0-3000. // It must be a multiple of 2. The original width is 0. Width *int64 `json:"Width,omitempty" name:"Width"` // Whether to keep the video. 0: no; 1: yes. Default value: 1. NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // Whether to keep the audio. 0: no; 1: yes. Default value: 1. NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // Height in pixels. Value range: 0-3000. // It must be a multiple of 2. The original height is 0. Height *int64 `json:"Height,omitempty" name:"Height"` // Frame rate in fps. Default value: 0. // Value range: 0-60 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // Keyframe interval in seconds. // Value range: 2-6 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // Rotation angle. Default value: 0. // Valid values: 0, 90, 180, 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Encoding quality: // baseline/main/high. Profile *string `json:"Profile,omitempty" name:"Profile"` // Whether to use the original bitrate when the set bitrate is larger than the original bitrate. // 0: no, 1: yes // Default value: 0. BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // Whether to use the original height when the set height is higher than the original height. // 0: no, 1: yes // Default value: 0. HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // Whether to use the original frame rate when the set frame rate is larger than the original frame rate. // 0: no, 1: yes // Default value: 0. FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // Bitrate compression ratio of top speed codec video. // Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent) // // Value range: 0.0-0.5. AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` // Whether to use the short side as the video height. 0: no, 1: yes. Default value: 0. ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"` // The DRM encryption type. Valid values: fairplay, normalaes, widevine. // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMType *string `json:"DRMType,omitempty" name:"DRMType"` // The tracks to encrypt. Valid values: AUDIO, SD, HD, UHD1, UHD2. You can choose only one video track (SD, HD, UHD1, or UHD2). // If you do not pass this parameter or pass in an empty string, the existing configuration will be reset. DRMTracks *string `json:"DRMTracks,omitempty" name:"DRMTracks"` }
Predefined struct for user
type ModifyLiveTranscodeTemplateResponse ¶
type ModifyLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *ModifyLiveTranscodeTemplateResponseParams `json:"Response"` }
func NewModifyLiveTranscodeTemplateResponse ¶
func NewModifyLiveTranscodeTemplateResponse() (response *ModifyLiveTranscodeTemplateResponse)
func (*ModifyLiveTranscodeTemplateResponse) FromJsonString ¶
func (r *ModifyLiveTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *ModifyLiveTranscodeTemplateResponse) ToJsonString() string
type ModifyLiveTranscodeTemplateResponseParams ¶
type ModifyLiveTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MonitorStreamPlayInfo ¶
type MonitorStreamPlayInfo struct { // The playback domain. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // The stream ID. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The playback bitrate. `0` indicates the original bitrate. Rate *uint64 `json:"Rate,omitempty" name:"Rate"` // The playback protocol. Valid values: `Unknown`, `Flv`, `Hls`, `Rtmp`, `Huyap2p`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The bandwidth (Mbps). Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // The number of online users, which is represented by the number of TCP connections (data collected every minute). Online *uint64 `json:"Online,omitempty" name:"Online"` // The number of requests. Request *uint64 `json:"Request,omitempty" name:"Request"` }
type PlayAuthKeyInfo ¶
type PlayAuthKeyInfo struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable: // 0: disable. // 1: enable. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Authentication key. AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"` // Validity period in seconds. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` // Authentication `BackKey`. AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"` }
type PlayCodeTotalInfo ¶
type PlayDataInfoByStream ¶
type PlayStatInfo ¶
type PlayStatInfo struct { // Data point in time. Time *string `json:"Time,omitempty" name:"Time"` // Value of bandwidth/traffic/number of requests/number of concurrent connections/download speed. If there is no data returned, the value is 0. // Note: this field may return null, indicating that no valid values can be obtained. Value *float64 `json:"Value,omitempty" name:"Value"` }
type PlaySumStatInfo ¶
type PlaySumStatInfo struct { // Domain name or stream ID. Name *string `json:"Name,omitempty" name:"Name"` // Average download speed, // In MB/s. // Calculation formula: average download speed per minute. AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` // Total traffic in MB. TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // Total number of requests. TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` }
type ProIspPlayCodeDataInfo ¶
type ProIspPlayCodeDataInfo struct { // Country or region. CountryAreaName *string `json:"CountryAreaName,omitempty" name:"CountryAreaName"` // District. ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // ISP. IspName *string `json:"IspName,omitempty" name:"IspName"` // Occurrences of 2xx error codes. Code2xx *uint64 `json:"Code2xx,omitempty" name:"Code2xx"` // Occurrences of 3xx error codes. Code3xx *uint64 `json:"Code3xx,omitempty" name:"Code3xx"` // Occurrences of 4xx error codes. Code4xx *uint64 `json:"Code4xx,omitempty" name:"Code4xx"` // Occurrences of 5xx error codes. Code5xx *uint64 `json:"Code5xx,omitempty" name:"Code5xx"` }
type PublishTime ¶
type PublishTime struct { // Push time. // In UTC format, such as 2018-06-29T19:00:00Z. PublishTime *string `json:"PublishTime,omitempty" name:"PublishTime"` }
type PullPushWatermarkInfo ¶
type PullPushWatermarkInfo struct { // The watermark image URL. // Characters not allowed: // ;(){}$>`#"'| PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // The horizontal offset (%) of the watermark. The default value is 0. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // The vertical offset (%) of the watermark. The default value is 0. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // The watermark width as a percentage of the video width. To avoid distorted images, we recommend you specify only the width or height so that the other side can be scaled proportionally. By default, the original width of the watermark image is used. Width *int64 `json:"Width,omitempty" name:"Width"` // The watermark height as a percentage of the video height. To avoid distorted images, we recommend you specify only the width or height so that the other side can be scaled proportionally. By default, the original height of the watermark image is used. Height *int64 `json:"Height,omitempty" name:"Height"` // The origin. The default value is 0. // 0: Top left corner // 1: Top right corner // 2: Bottom right corner // 3: Bottom left corner Location *int64 `json:"Location,omitempty" name:"Location"` }
type PullStreamTaskInfo ¶
type PullStreamTaskInfo struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The source type. Valid values: // PullLivePushLive: Live streaming // PullVodPushLive: Video files // PullPicPushLive: Images SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // The source URL(s). // If `SourceType` is `PullLiveToLive`, there can be only one source URL. // If `SourceType` is `PullVodToLive`, there can be at most 10 source URLs. SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"` // The push domain name. // The pulled stream is pushed to this domain. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // The application to push to. // The pulled stream is pushed to this application. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. // The pulled stream is pushed under this name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The push parameter. // A custom push parameter. PushArgs *string `json:"PushArgs,omitempty" name:"PushArgs"` // The start time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time. Notes: // 1. The end time must be later than the start time. // 2. The end time and start time must be later than the current time. // 3. The end time and start time must be less than seven days apart. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The region where the task was created. // `ap-beijing`: North China (Beijing) // `ap-shanghai`: East China (Shanghai) // `ap-guangzhou`: South China (Guangzhou) // `ap-mumbai`: India // `ap-hongkong`: Hong Kong // `eu-frankfurt`: Germany // `ap-seoul`: Korea // `ap-bangkok`: Thailand // `ap-singapore`: Singapore // `na-siliconvalley`: Western US // `na-ashburn`: Eastern US // `ap-tokyo`: Japan Region *string `json:"Region,omitempty" name:"Region"` // The number of times to loop video files. // -1: Loop indefinitely // 0: Do not loop // > 0: The number of loop times. A task will end either when the videos are looped for the specified number of times or at the specified task end time, whichever is earlier. // This parameter is valid only if the source is video files. VodLoopTimes *int64 `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"` // The behavior after the source video files (`SourceUrls`) are changed. // ImmediateNewSource: Play the new videos immediately // ContinueBreakPoint: Finish the current video first and then pull from the new source. // // This parameter is valid only if the source is video files. VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"` // The task creation time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // The last updated time. // It must be in UTC format. // Example: 2019-01-08T10:00:00Z. // Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // The task creator. CreateBy *string `json:"CreateBy,omitempty" name:"CreateBy"` // The operator of the last update. UpdateBy *string `json:"UpdateBy,omitempty" name:"UpdateBy"` // The callback URL. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // The events to listen for. // TaskStart: Callback for starting a task // TaskExit: Callback for ending a task // VodSourceFileStart: Callback for starting to pull from video files // VodSourceFileFinish: Callback for stopping pulling from video files // ResetTaskConfig: Callback for modifying a task CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"` // Note: This parameter is not returned currently. // The information of the last callback. CallbackInfo *string `json:"CallbackInfo,omitempty" name:"CallbackInfo"` // Note: This parameter is not returned currently. // Error message. ErrorInfo *string `json:"ErrorInfo,omitempty" name:"ErrorInfo"` // The task status. // enable: Enabled // pause: Paused Status *string `json:"Status,omitempty" name:"Status"` // Note: This parameter is returned only if one task is queried. // The latest pull information. // The information includes the source URL, offset, and report time. RecentPullInfo *RecentPullInfo `json:"RecentPullInfo,omitempty" name:"RecentPullInfo"` // The remarks for the task. Comment *string `json:"Comment,omitempty" name:"Comment"` // The backup source type. Valid values: // PullLivePushLive: Live streaming // PullVodPushLive: Video files // Note: This field may return null, indicating that no valid values can be obtained. BackupSourceType *string `json:"BackupSourceType,omitempty" name:"BackupSourceType"` // The URL of the backup source. // Note: This field may return null, indicating that no valid values can be obtained. BackupSourceUrl *string `json:"BackupSourceUrl,omitempty" name:"BackupSourceUrl"` // The information of watermarks to add. // Note: This field may return null, indicating that no valid values can be obtained. WatermarkList []*PullPushWatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"` // Whether to use local mode when the source type is video files. The default is `0`. // 0: Do not use local mode // 1: Use local mode // Note: This field may return null, indicating that no valid values can be obtained. VodLocalMode *int64 `json:"VodLocalMode,omitempty" name:"VodLocalMode"` }
type PushAuthKeyInfo ¶
type PushAuthKeyInfo struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable. 0: disabled; 1: enabled. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Master authentication key. MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"` // Standby authentication key. BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"` // Validity period in seconds. AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` }
type PushDataInfo ¶
type PushDataInfo struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push client IP. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // IP of the server that receives the stream. ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` // Pushed video frame rate in Hz. VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"` // Video bitrate (bps) for publishing VideoSpeed *uint64 `json:"VideoSpeed,omitempty" name:"VideoSpeed"` // Pushed audio frame rate in Hz. AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // Audio bitrate (bps) for publishing AudioSpeed *uint64 `json:"AudioSpeed,omitempty" name:"AudioSpeed"` // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Push start time. BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"` // Audio codec, // Example: AAC. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Video codec, // Example: H.264. Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Resolution. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // Sample rate. AsampleRate *uint64 `json:"AsampleRate,omitempty" name:"AsampleRate"` // Audio bitrate (bps) in metadata MetaAudioSpeed *uint64 `json:"MetaAudioSpeed,omitempty" name:"MetaAudioSpeed"` // Video bitrate (bps) in metadata MetaVideoSpeed *uint64 `json:"MetaVideoSpeed,omitempty" name:"MetaVideoSpeed"` // Frame rate in `metadata`. MetaFps *uint64 `json:"MetaFps,omitempty" name:"MetaFps"` }
type PushQualityData ¶
type PushQualityData struct { // The time of the data in the format of “%Y-%m-%d %H:%M:%S.%ms” (accurate to the millisecond). Time *string `json:"Time,omitempty" name:"Time"` // The push domain. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The IP address of the push client. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // The push start time in the format of “%Y-%m-%d %H:%M:%S.%ms” (accurate to the millisecond). BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"` // The resolution. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // The video codec. VCodec *string `json:"VCodec,omitempty" name:"VCodec"` // The audio codec. ACodec *string `json:"ACodec,omitempty" name:"ACodec"` // The push sequence number, which uniquely identifies a push. Sequence *string `json:"Sequence,omitempty" name:"Sequence"` // The video frame rate. VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"` // The video bitrate (bps). VideoRate *uint64 `json:"VideoRate,omitempty" name:"VideoRate"` // The audio frame rate. AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // The audio bitrate (bps). AudioRate *uint64 `json:"AudioRate,omitempty" name:"AudioRate"` // The local elapsed time (milliseconds). The greater the difference between the local elapsed time and audio/video elapsed time, the poorer the push quality and the more severe the upstream lag. LocalTs *uint64 `json:"LocalTs,omitempty" name:"LocalTs"` // The video elapsed time (milliseconds). VideoTs *uint64 `json:"VideoTs,omitempty" name:"VideoTs"` // The audio elapsed time (milliseconds). AudioTs *uint64 `json:"AudioTs,omitempty" name:"AudioTs"` // The video bitrate (Kbps) in the metadata. MetaVideoRate *uint64 `json:"MetaVideoRate,omitempty" name:"MetaVideoRate"` // The audio bitrate (Kbps) in the metadata. MetaAudioRate *uint64 `json:"MetaAudioRate,omitempty" name:"MetaAudioRate"` // The frame rate in the metadata. MateFps *uint64 `json:"MateFps,omitempty" name:"MateFps"` // The push parameter. StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"` // The bandwidth (Mbps). Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // The traffic (MB). Flux *float64 `json:"Flux,omitempty" name:"Flux"` // The IP address of the push client. // Note: This field may return null, indicating that no valid values can be obtained. ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` }
type RecentPullInfo ¶
type RecentPullInfo struct { // The URL of the file currently pulled. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // The offset of the file currently pulled. OffsetTime *uint64 `json:"OffsetTime,omitempty" name:"OffsetTime"` // The time when the offset is reported, in UTC format. // Example: 2020-07-23T03:20:39Z // Note: Beijing time is 8 hours ahead of UTC. ReportTime *string `json:"ReportTime,omitempty" name:"ReportTime"` // The number of times looped. LoopedTimes *int64 `json:"LoopedTimes,omitempty" name:"LoopedTimes"` }
type RecordParam ¶
type RecordParam struct { // Max recording time per file // Default value: `1800` (seconds) // Value range: 30-7200 // This parameter is invalid for HLS. Only one HLS file will be generated from push start to push end. RecordInterval *int64 `json:"RecordInterval,omitempty" name:"RecordInterval"` // Storage duration of the recording file // Value range: 0-129600000 seconds (0-1500 days) // `0`: permanent StorageTime *int64 `json:"StorageTime,omitempty" name:"StorageTime"` // Whether to enable recording in the current format. Default value: 0. 0: no, 1: yes. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // VOD subapplication ID. VodSubAppId *int64 `json:"VodSubAppId,omitempty" name:"VodSubAppId"` // Recording filename. // Supported special placeholders include: // {StreamID}: stream ID // {StartYear}: start time - year // {StartMonth}: start time - month // {StartDay}: start time - day // {StartHour}: start time - hour // {StartMinute}: start time - minute // {StartSecond}: start time - second // {StartMillisecond}: start time - millisecond // {EndYear}: end time - year // {EndMonth}: end time - month // {EndDay}: end time - day // {EndHour}: end time - hour // {EndMinute}: end time - minute // {EndSecond}: end time - second // {EndMillisecond}: end time - millisecond // // If this parameter is not set, the recording filename will be `{StreamID}_{StartYear}-{StartMonth}-{StartDay}-{StartHour}-{StartMinute}-{StartSecond}_{EndYear}-{EndMonth}-{EndDay}-{EndHour}-{EndMinute}-{EndSecond}` by default VodFileName *string `json:"VodFileName,omitempty" name:"VodFileName"` // Task flow // Note: this field may return `null`, indicating that no valid value is obtained. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // Video storage class. Valid values: // `normal`: STANDARD // `cold`: STANDARD_IA // Note: this field may return `null`, indicating that no valid value is obtained. StorageMode *string `json:"StorageMode,omitempty" name:"StorageMode"` // VOD subapplication category // Note: this field may return `null`, indicating that no valid value is obtained. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` }
type RecordTask ¶
type RecordTask struct { // Recording task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The start time of the recording task in Unix timestamp. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The end time of the recording task in Unix timestamp. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Recording template ID. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The StopRecordTask API call stops the task at the Unix timestamp. A value of 0 indicates that the API has not been called to stop the task. Stopped *uint64 `json:"Stopped,omitempty" name:"Stopped"` }
type RecordTemplateInfo ¶
type RecordTemplateInfo struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Message description Description *string `json:"Description,omitempty" name:"Description"` // FLV recording parameter. FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // HLS recording parameter. HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // MP4 recording parameter. Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // AAC recording parameter. AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // 0: LVB, // 1: LCB. IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // A special parameter for HLS recording. HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // MP3 recording parameter. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` // Whether the watermark is removed. // Note: This field may return `null`, indicating that no valid value was found. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // A special parameter for FLV recording. // Note: This field may return `null`, indicating that no valid value can be obtained. FlvSpecialParam *FlvSpecialParam `json:"FlvSpecialParam,omitempty" name:"FlvSpecialParam"` }
type RefererAuthConfig ¶
type RefererAuthConfig struct { // Domain name DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Whether to enable referer. Valid values: `0` (no), `1` (yes) Enable *int64 `json:"Enable,omitempty" name:"Enable"` // List type. Valid values: `0` (blocklist), `1` (allowlist) Type *int64 `json:"Type,omitempty" name:"Type"` // Whether to allow empty referer. Valid values: `0` (no), `1` (yes) AllowEmpty *int64 `json:"AllowEmpty,omitempty" name:"AllowEmpty"` // Referer list. Separate items in it with semicolons (;). Rules *string `json:"Rules,omitempty" name:"Rules"` }
type ResumeDelayLiveStreamRequest ¶
type ResumeDelayLiveStreamRequest struct { *tchttp.BaseRequest // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewResumeDelayLiveStreamRequest ¶
func NewResumeDelayLiveStreamRequest() (request *ResumeDelayLiveStreamRequest)
func (*ResumeDelayLiveStreamRequest) FromJsonString ¶
func (r *ResumeDelayLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeDelayLiveStreamRequest) ToJsonString ¶
func (r *ResumeDelayLiveStreamRequest) ToJsonString() string
type ResumeDelayLiveStreamRequestParams ¶
type ResumeDelayLiveStreamRequestParams struct { // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type ResumeDelayLiveStreamResponse ¶
type ResumeDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *ResumeDelayLiveStreamResponseParams `json:"Response"` }
func NewResumeDelayLiveStreamResponse ¶
func NewResumeDelayLiveStreamResponse() (response *ResumeDelayLiveStreamResponse)
func (*ResumeDelayLiveStreamResponse) FromJsonString ¶
func (r *ResumeDelayLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeDelayLiveStreamResponse) ToJsonString ¶
func (r *ResumeDelayLiveStreamResponse) ToJsonString() string
type ResumeDelayLiveStreamResponseParams ¶
type ResumeDelayLiveStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeLiveStreamRequest ¶
type ResumeLiveStreamRequest struct { *tchttp.BaseRequest // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewResumeLiveStreamRequest ¶
func NewResumeLiveStreamRequest() (request *ResumeLiveStreamRequest)
func (*ResumeLiveStreamRequest) FromJsonString ¶
func (r *ResumeLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeLiveStreamRequest) ToJsonString ¶
func (r *ResumeLiveStreamRequest) ToJsonString() string
type ResumeLiveStreamRequestParams ¶
type ResumeLiveStreamRequestParams struct { // Push path, which is the same as the AppName in push and playback addresses and is "live" by default. AppName *string `json:"AppName,omitempty" name:"AppName"` // Your push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
Predefined struct for user
type ResumeLiveStreamResponse ¶
type ResumeLiveStreamResponse struct { *tchttp.BaseResponse Response *ResumeLiveStreamResponseParams `json:"Response"` }
func NewResumeLiveStreamResponse ¶
func NewResumeLiveStreamResponse() (response *ResumeLiveStreamResponse)
func (*ResumeLiveStreamResponse) FromJsonString ¶
func (r *ResumeLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeLiveStreamResponse) ToJsonString ¶
func (r *ResumeLiveStreamResponse) ToJsonString() string
type ResumeLiveStreamResponseParams ¶
type ResumeLiveStreamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RuleInfo ¶
type RuleInfo struct { // The rule creation time. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // The rule update time. // Note: Beijing time (UTC+8) is used. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
type SnapshotTemplateInfo ¶
type SnapshotTemplateInfo struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Screencapturing interval. Value range: 5-300s. SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // Screenshot width. Value range: 0-3000. // 0: original width and fit to the original ratio. Width *int64 `json:"Width,omitempty" name:"Width"` // Screenshot height. Value range: 0-2000. // 0: original height and fit to the original ratio. Height *int64 `json:"Height,omitempty" name:"Height"` // Whether to enable porn detection. 0: no, 1: yes. PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // COS application ID. CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // COS bucket name. CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // COS region. CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // COS bucket folder prefix. // Note: this field may return null, indicating that no valid values can be obtained. CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"` // COS filename. // Note: this field may return null, indicating that no valid values can be obtained. CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"` }
type StopLiveRecordRequest ¶
type StopLiveRecordRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Task ID returned by the `CreateLiveRecord` API. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewStopLiveRecordRequest ¶
func NewStopLiveRecordRequest() (request *StopLiveRecordRequest)
func (*StopLiveRecordRequest) FromJsonString ¶
func (r *StopLiveRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopLiveRecordRequest) ToJsonString ¶
func (r *StopLiveRecordRequest) ToJsonString() string
type StopLiveRecordRequestParams ¶
type StopLiveRecordRequestParams struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Task ID returned by the `CreateLiveRecord` API. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type StopLiveRecordResponse ¶
type StopLiveRecordResponse struct { *tchttp.BaseResponse Response *StopLiveRecordResponseParams `json:"Response"` }
func NewStopLiveRecordResponse ¶
func NewStopLiveRecordResponse() (response *StopLiveRecordResponse)
func (*StopLiveRecordResponse) FromJsonString ¶
func (r *StopLiveRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopLiveRecordResponse) ToJsonString ¶
func (r *StopLiveRecordResponse) ToJsonString() string
type StopLiveRecordResponseParams ¶
type StopLiveRecordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StopRecordTaskRequest ¶
type StopRecordTaskRequest struct { *tchttp.BaseRequest // Recording task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
func NewStopRecordTaskRequest ¶
func NewStopRecordTaskRequest() (request *StopRecordTaskRequest)
func (*StopRecordTaskRequest) FromJsonString ¶
func (r *StopRecordTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopRecordTaskRequest) ToJsonString ¶
func (r *StopRecordTaskRequest) ToJsonString() string
type StopRecordTaskRequestParams ¶
type StopRecordTaskRequestParams struct { // Recording task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type StopRecordTaskResponse ¶
type StopRecordTaskResponse struct { *tchttp.BaseResponse Response *StopRecordTaskResponseParams `json:"Response"` }
func NewStopRecordTaskResponse ¶
func NewStopRecordTaskResponse() (response *StopRecordTaskResponse)
func (*StopRecordTaskResponse) FromJsonString ¶
func (r *StopRecordTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopRecordTaskResponse) ToJsonString ¶
func (r *StopRecordTaskResponse) ToJsonString() string
type StopRecordTaskResponseParams ¶
type StopRecordTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StreamEventInfo ¶
type StreamEventInfo struct { // Application name. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push start time. // In UTC format, such as 2019-01-07T12:00:00Z. StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"` // Push end time. // In UTC format, such as 2019-01-07T15:00:00Z. StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"` // Stop reason. StopReason *string `json:"StopReason,omitempty" name:"StopReason"` // Push duration in seconds. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The IP address of the host. // If the stream is published from a private network, this parameter will be `-`. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // Resolution. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type StreamName ¶
type StreamName struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Application name. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Push start time. // In UTC format, such as 2019-01-07T12:00:00Z. StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"` // Push end time. // In UTC format, such as 2019-01-07T15:00:00Z. StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"` // Stop reason. StopReason *string `json:"StopReason,omitempty" name:"StopReason"` // Push duration in seconds. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // Host IP. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // Resolution. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type StreamOnlineInfo ¶
type StreamOnlineInfo struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Push time list PublishTimeList []*PublishTime `json:"PublishTimeList,omitempty" name:"PublishTimeList"` // Application name. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
type TemplateInfo ¶
type TemplateInfo struct { // Codec: h264/h265/origin. Default value: h264. // // origin: keep the original codec. Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // Video bitrate. Value range: 0–8,000 Kbps. // If the value is 0, the original bitrate will be retained. // Note: transcoding templates require a unique bitrate. The final saved bitrate may differ from the input bitrate. VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // Audio codec: aac. Default value: aac. // Note: This parameter will not take effect for now and will be supported soon. Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // Audio bitrate. Value range: 0–500 Kbps. // 0 by default. AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // Width. Default value: 0. // Value range: [0-3,000]. // The value must be a multiple of 2. The original width is 0. Width *int64 `json:"Width,omitempty" name:"Width"` // Height. Default value: 0. // Value range: [0-3,000]. // The value must be a multiple of 2. The original width is 0. Height *int64 `json:"Height,omitempty" name:"Height"` // Frame rate. Default value: 0. // Range: 0-60 Fps. Fps *int64 `json:"Fps,omitempty" name:"Fps"` // Keyframe interval, unit: second. // Original interval by default // Range: 2-6 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // Rotation angle. Default value: 0. // Value range: 0, 90, 180, 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Encoding quality: // baseline/main/high. Default value: baseline. Profile *string `json:"Profile,omitempty" name:"Profile"` // Whether to use the original bitrate when the set bitrate is larger than the original bitrate. // 0: no, 1: yes // Default value: 0. BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // Whether to use the original height when the set height is higher than the original height. // 0: no, 1: yes // Default value: 0. HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // Whether to use the original frame rate when the set frame rate is larger than the original frame rate. // 0: no, 1: yes // Default value: 0. FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // Whether to keep the video. 0: no; 1: yes. NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // Whether to keep the audio. 0: no; 1: yes. NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Template description. Description *string `json:"Description,omitempty" name:"Description"` // Whether it is a top speed codec template. 0: no, 1: yes. Default value: 0. AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"` // Bitrate compression ratio of top speed code video. // Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent) // // Value range: 0.0-0.5. AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` // Whether to take the shorter side as height. 0: no, 1: yes. Default value: 0. // Note: this field may return `null`, indicating that no valid value is obtained. ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"` // The DRM encryption type. Valid values: fairplay, normalaes, widevine. // Note: This field may return null, indicating that no valid values can be obtained. DRMType *string `json:"DRMType,omitempty" name:"DRMType"` // The tracks to encrypt. Valid values: AUDIO, SD, HD, UHD1, UHD2. Separate multiple tracks with “|”. You can choose only one video track (SD, HD, UHD1, or UHD2). // Note: This field may return null, indicating that no valid values can be obtained. DRMTracks *string `json:"DRMTracks,omitempty" name:"DRMTracks"` }
type TimeShiftBillData ¶
type TimeShiftBillData struct { // The push domain name. Domain *string `json:"Domain,omitempty" name:"Domain"` // The time-shift video length (minutes). Duration *float64 `json:"Duration,omitempty" name:"Duration"` // The time-shift days. StoragePeriod *float64 `json:"StoragePeriod,omitempty" name:"StoragePeriod"` // The time for the data returned. Format: YYYY-MM-DDThh:mm:ssZ. Time *string `json:"Time,omitempty" name:"Time"` // The total time-shift duration (minutes). TotalDuration *float64 `json:"TotalDuration,omitempty" name:"TotalDuration"` }
type TimeShiftRecord ¶
type TimeShiftRecord struct { // The session ID. Sid *string `json:"Sid,omitempty" name:"Sid"` // The recording start time, which is a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The recording end time, which is a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` }
type TimeShiftStreamInfo ¶
type TimeShiftStreamInfo struct { // The group the push domain belongs to. // Note: This field may return null, indicating that no valid values can be obtained. DomainGroup *string `json:"DomainGroup,omitempty" name:"DomainGroup"` // The push domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // The push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // The stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // The stream start time, which is a Unix timestamp. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // The stream end time (for streams that ended before the time of query), which is a Unix timestamp. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // The transcoding template ID. // Note: This field may return null, indicating that no valid values can be obtained. TransCodeId *uint64 `json:"TransCodeId,omitempty" name:"TransCodeId"` // The stream type. `0`: The original stream; `1`: The watermarked stream; `2`: The transcoded stream. StreamType *int64 `json:"StreamType,omitempty" name:"StreamType"` // The storage duration (seconds) of the recording. // Note: This field may return null, indicating that no valid values can be obtained. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` }
type TimeShiftTemplate ¶
type TimeShiftTemplate struct { // The template name. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // The time shifting duration. // Unit: second Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // The segment size. // Value range: 3-10. // Unit: Second. // Default value: 5 ItemDuration *uint64 `json:"ItemDuration,omitempty" name:"ItemDuration"` // The template ID. TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` // The template description. Description *string `json:"Description,omitempty" name:"Description"` // The region. Valid values: // `Mainland`: The Chinese mainland. // `Overseas`: Outside the Chinese mainland. // Default value: `Mainland`. Area *string `json:"Area,omitempty" name:"Area"` // Whether to remove watermarks. // If you pass in `true`, the original stream will be recorded. // Default value: `false`. RemoveWatermark *bool `json:"RemoveWatermark,omitempty" name:"RemoveWatermark"` // The transcoding template IDs. // This API works only if `RemoveWatermark` is `false`. TranscodeTemplateIds []*uint64 `json:"TranscodeTemplateIds,omitempty" name:"TranscodeTemplateIds"` }
type TranscodeDetailInfo ¶
type TranscodeDetailInfo struct { // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Start time (Beijing time) in the format of `yyyy-mm-dd HH:MM`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (Beijing time) in the format of `yyyy-mm-dd HH:MM`. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Transcoding duration in minutes. // Note: given the possible interruptions during push, duration here is the sum of actual duration of transcoding instead of the interval between the start time and end time. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // Codec with modules, // Example: // liveprocessor_H264: LVB transcoding - H264, // liveprocessor_H265: LVB transcoding - H265, // topspeed_H264: top speed codec - H264, // topspeed_H265: top speed codec - H265. ModuleCodec *string `json:"ModuleCodec,omitempty" name:"ModuleCodec"` // Bitrate. Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // The task type. Valid values: Transcode, MixStream, WaterMark, Webrtc. Type *string `json:"Type,omitempty" name:"Type"` // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Resolution. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // The region. Valid values: // `Mainland`: Inside the Chinese mainland. // `Overseas`: Outside the Chinese mainland. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
type TranscodeTaskNum ¶
type TranscodeTotalInfo ¶
type TranscodeTotalInfo struct { // Usage time (Beijing time) // Example: 2019-03-01 00:00:00 Time *string `json:"Time,omitempty" name:"Time"` // Transcoding duration in minutes Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // Codec, with modules // Examples: // `liveprocessor_H264`: live transcoding-H264 // `liveprocessor_H265`: live transcoding-H265 // `topspeed_H264`: top speed codec-H264 // `topspeed_H265`: top speed codec-H265 ModuleCodec *string `json:"ModuleCodec,omitempty" name:"ModuleCodec"` // Resolution // Example: 540*480 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type UnBindLiveDomainCertRequest ¶
type UnBindLiveDomainCertRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Valid values: // `gray`: unbind the canary certificate // `formal` (default): unbind the formal certificate // // `formal` will be used if no value is passed in Type *string `json:"Type,omitempty" name:"Type"` }
func NewUnBindLiveDomainCertRequest ¶
func NewUnBindLiveDomainCertRequest() (request *UnBindLiveDomainCertRequest)
func (*UnBindLiveDomainCertRequest) FromJsonString ¶
func (r *UnBindLiveDomainCertRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindLiveDomainCertRequest) ToJsonString ¶
func (r *UnBindLiveDomainCertRequest) ToJsonString() string
type UnBindLiveDomainCertRequestParams ¶
type UnBindLiveDomainCertRequestParams struct { // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Valid values: // `gray`: unbind the canary certificate // `formal` (default): unbind the formal certificate // // `formal` will be used if no value is passed in Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type UnBindLiveDomainCertResponse ¶
type UnBindLiveDomainCertResponse struct { *tchttp.BaseResponse Response *UnBindLiveDomainCertResponseParams `json:"Response"` }
func NewUnBindLiveDomainCertResponse ¶
func NewUnBindLiveDomainCertResponse() (response *UnBindLiveDomainCertResponse)
func (*UnBindLiveDomainCertResponse) FromJsonString ¶
func (r *UnBindLiveDomainCertResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindLiveDomainCertResponse) ToJsonString ¶
func (r *UnBindLiveDomainCertResponse) ToJsonString() string
type UnBindLiveDomainCertResponseParams ¶
type UnBindLiveDomainCertResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateLiveWatermarkRequest ¶
type UpdateLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID. // Get the watermark ID in the returned value of the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API call. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // Watermark image URL. // Unallowed characters in the URL: // ;(){}$>`#"\'| PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // Display position: X-axis offset in %. Default value: 0. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // Display position: Y-axis offset in %. Default value: 0. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // Watermark name. // Up to 16 bytes. WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // Watermark width or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original width is used by default. Width *int64 `json:"Width,omitempty" name:"Width"` // Watermark height or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original height is used by default. Height *int64 `json:"Height,omitempty" name:"Height"` }
func NewUpdateLiveWatermarkRequest ¶
func NewUpdateLiveWatermarkRequest() (request *UpdateLiveWatermarkRequest)
func (*UpdateLiveWatermarkRequest) FromJsonString ¶
func (r *UpdateLiveWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateLiveWatermarkRequest) ToJsonString ¶
func (r *UpdateLiveWatermarkRequest) ToJsonString() string
type UpdateLiveWatermarkRequestParams ¶
type UpdateLiveWatermarkRequestParams struct { // Watermark ID. // Get the watermark ID in the returned value of the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API call. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // Watermark image URL. // Unallowed characters in the URL: // ;(){}$>`#"\'| PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // Display position: X-axis offset in %. Default value: 0. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // Display position: Y-axis offset in %. Default value: 0. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // Watermark name. // Up to 16 bytes. WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // Watermark width or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original width is used by default. Width *int64 `json:"Width,omitempty" name:"Width"` // Watermark height or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original height is used by default. Height *int64 `json:"Height,omitempty" name:"Height"` }
Predefined struct for user
type UpdateLiveWatermarkResponse ¶
type UpdateLiveWatermarkResponse struct { *tchttp.BaseResponse Response *UpdateLiveWatermarkResponseParams `json:"Response"` }
func NewUpdateLiveWatermarkResponse ¶
func NewUpdateLiveWatermarkResponse() (response *UpdateLiveWatermarkResponse)
func (*UpdateLiveWatermarkResponse) FromJsonString ¶
func (r *UpdateLiveWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateLiveWatermarkResponse) ToJsonString ¶
func (r *UpdateLiveWatermarkResponse) ToJsonString() string
type UpdateLiveWatermarkResponseParams ¶
type UpdateLiveWatermarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type WatermarkInfo ¶
type WatermarkInfo struct { // Watermark ID. WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // Watermark image URL. PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // Display position: X-axis offset. XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // Display position: Y-axis offset. YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // Watermark name. WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // Current status. 0: not used. 1: in use. Status *int64 `json:"Status,omitempty" name:"Status"` // The time when the watermark was added. // Note: Beijing time (UTC+8) is used. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Watermark width. Width *int64 `json:"Width,omitempty" name:"Width"` // Watermark height. Height *int64 `json:"Height,omitempty" name:"Height"` }