Documentation ¶
Index ¶
- Constants
- type AddDelayLiveStreamRequest
- type AddDelayLiveStreamResponse
- type AddLiveDomainRequest
- type AddLiveDomainResponse
- type AddLiveWatermarkRequest
- type AddLiveWatermarkResponse
- type BandwidthInfo
- type BillAreaInfo
- type BillCountryInfo
- type BillDataInfo
- type BindLiveDomainCertRequest
- type BindLiveDomainCertResponse
- type CallBackRuleInfo
- type CallBackTemplateInfo
- type CancelCommonMixStreamRequest
- type CancelCommonMixStreamResponse
- 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) BindLiveDomainCert(request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, err error)
- func (c *Client) BindLiveDomainCertWithContext(ctx context.Context, request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, 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) CreateLiveCert(request *CreateLiveCertRequest) (response *CreateLiveCertResponse, err error)
- func (c *Client) CreateLiveCertWithContext(ctx context.Context, request *CreateLiveCertRequest) (response *CreateLiveCertResponse, 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) 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) 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) DeleteLiveCert(request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, err error)
- func (c *Client) DeleteLiveCertWithContext(ctx context.Context, request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, 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) 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) 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) DescribeAreaBillBandwidthAndFluxList(request *DescribeAreaBillBandwidthAndFluxListRequest) (response *DescribeAreaBillBandwidthAndFluxListResponse, err error)
- func (c *Client) DescribeAreaBillBandwidthAndFluxListWithContext(ctx context.Context, request *DescribeAreaBillBandwidthAndFluxListRequest) (response *DescribeAreaBillBandwidthAndFluxListResponse, 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) DescribeLiveDomainCertWithContext(ctx context.Context, request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
- func (c *Client) DescribeLiveDomainPlayInfoList(request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, err error)
- func (c *Client) DescribeLiveDomainPlayInfoListWithContext(ctx context.Context, request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, 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) 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) 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) 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) DescribeProIspPlaySumInfoList(request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, err error)
- func (c *Client) DescribeProIspPlaySumInfoListWithContext(ctx context.Context, request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, 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) 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) DescribeTopClientIpSumInfoList(request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
- func (c *Client) DescribeTopClientIpSumInfoListWithContext(ctx context.Context, request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, 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) ModifyLiveCert(request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
- func (c *Client) ModifyLiveCertWithContext(ctx context.Context, request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
- func (c *Client) ModifyLiveDomainCert(request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, err error)
- func (c *Client) ModifyLiveDomainCertWithContext(ctx context.Context, request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, 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) 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) 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 CreateCommonMixStreamResponse
- type CreateLiveCallbackRuleRequest
- type CreateLiveCallbackRuleResponse
- type CreateLiveCallbackTemplateRequest
- type CreateLiveCallbackTemplateResponse
- type CreateLiveCertRequest
- type CreateLiveCertResponse
- type CreateLiveRecordRequest
- type CreateLiveRecordResponse
- type CreateLiveRecordRuleRequest
- type CreateLiveRecordRuleResponse
- type CreateLiveRecordTemplateRequest
- type CreateLiveRecordTemplateResponse
- type CreateLiveSnapshotRuleRequest
- type CreateLiveSnapshotRuleResponse
- type CreateLiveSnapshotTemplateRequest
- type CreateLiveSnapshotTemplateResponse
- type CreateLiveTranscodeRuleRequest
- type CreateLiveTranscodeRuleResponse
- type CreateLiveTranscodeTemplateRequest
- type CreateLiveTranscodeTemplateResponse
- type CreateLiveWatermarkRuleRequest
- type CreateLiveWatermarkRuleResponse
- type CreateRecordTaskRequest
- type CreateRecordTaskResponse
- type DayStreamPlayInfo
- type DelayInfo
- type DeleteLiveCallbackRuleRequest
- type DeleteLiveCallbackRuleResponse
- type DeleteLiveCallbackTemplateRequest
- type DeleteLiveCallbackTemplateResponse
- type DeleteLiveCertRequest
- type DeleteLiveCertResponse
- type DeleteLiveDomainRequest
- type DeleteLiveDomainResponse
- type DeleteLiveRecordRequest
- type DeleteLiveRecordResponse
- type DeleteLiveRecordRuleRequest
- type DeleteLiveRecordRuleResponse
- type DeleteLiveRecordTemplateRequest
- type DeleteLiveRecordTemplateResponse
- type DeleteLiveSnapshotRuleRequest
- type DeleteLiveSnapshotRuleResponse
- type DeleteLiveSnapshotTemplateRequest
- type DeleteLiveSnapshotTemplateResponse
- type DeleteLiveTranscodeRuleRequest
- type DeleteLiveTranscodeRuleResponse
- type DeleteLiveTranscodeTemplateRequest
- type DeleteLiveTranscodeTemplateResponse
- type DeleteLiveWatermarkRequest
- type DeleteLiveWatermarkResponse
- type DeleteLiveWatermarkRuleRequest
- type DeleteLiveWatermarkRuleResponse
- type DeleteRecordTaskRequest
- type DeleteRecordTaskResponse
- type DescribeAllStreamPlayInfoListRequest
- type DescribeAllStreamPlayInfoListResponse
- type DescribeAreaBillBandwidthAndFluxListRequest
- type DescribeAreaBillBandwidthAndFluxListResponse
- type DescribeBillBandwidthAndFluxListRequest
- type DescribeBillBandwidthAndFluxListResponse
- type DescribeConcurrentRecordStreamNumRequest
- type DescribeConcurrentRecordStreamNumResponse
- type DescribeDeliverBandwidthListRequest
- type DescribeDeliverBandwidthListResponse
- type DescribeGroupProIspPlayInfoListRequest
- type DescribeGroupProIspPlayInfoListResponse
- type DescribeHttpStatusInfoListRequest
- type DescribeHttpStatusInfoListResponse
- type DescribeLiveCallbackRulesRequest
- type DescribeLiveCallbackRulesResponse
- type DescribeLiveCallbackTemplateRequest
- type DescribeLiveCallbackTemplateResponse
- type DescribeLiveCallbackTemplatesRequest
- type DescribeLiveCallbackTemplatesResponse
- type DescribeLiveCertRequest
- type DescribeLiveCertResponse
- type DescribeLiveCertsRequest
- type DescribeLiveCertsResponse
- type DescribeLiveDelayInfoListRequest
- type DescribeLiveDelayInfoListResponse
- type DescribeLiveDomainCertRequest
- type DescribeLiveDomainCertResponse
- type DescribeLiveDomainPlayInfoListRequest
- type DescribeLiveDomainPlayInfoListResponse
- type DescribeLiveDomainRefererRequest
- type DescribeLiveDomainRefererResponse
- type DescribeLiveDomainRequest
- type DescribeLiveDomainResponse
- type DescribeLiveDomainsRequest
- type DescribeLiveDomainsResponse
- type DescribeLiveForbidStreamListRequest
- type DescribeLiveForbidStreamListResponse
- type DescribeLivePlayAuthKeyRequest
- type DescribeLivePlayAuthKeyResponse
- type DescribeLivePushAuthKeyRequest
- type DescribeLivePushAuthKeyResponse
- type DescribeLiveRecordRulesRequest
- type DescribeLiveRecordRulesResponse
- type DescribeLiveRecordTemplateRequest
- type DescribeLiveRecordTemplateResponse
- type DescribeLiveRecordTemplatesRequest
- type DescribeLiveRecordTemplatesResponse
- type DescribeLiveSnapshotRulesRequest
- type DescribeLiveSnapshotRulesResponse
- type DescribeLiveSnapshotTemplateRequest
- type DescribeLiveSnapshotTemplateResponse
- type DescribeLiveSnapshotTemplatesRequest
- type DescribeLiveSnapshotTemplatesResponse
- type DescribeLiveStreamEventListRequest
- type DescribeLiveStreamEventListResponse
- type DescribeLiveStreamOnlineListRequest
- type DescribeLiveStreamOnlineListResponse
- type DescribeLiveStreamPublishedListRequest
- type DescribeLiveStreamPublishedListResponse
- type DescribeLiveStreamPushInfoListRequest
- type DescribeLiveStreamPushInfoListResponse
- type DescribeLiveStreamStateRequest
- type DescribeLiveStreamStateResponse
- type DescribeLiveTranscodeDetailInfoRequest
- type DescribeLiveTranscodeDetailInfoResponse
- type DescribeLiveTranscodeRulesRequest
- type DescribeLiveTranscodeRulesResponse
- type DescribeLiveTranscodeTemplateRequest
- type DescribeLiveTranscodeTemplateResponse
- type DescribeLiveTranscodeTemplatesRequest
- type DescribeLiveTranscodeTemplatesResponse
- type DescribeLiveWatermarkRequest
- type DescribeLiveWatermarkResponse
- type DescribeLiveWatermarkRulesRequest
- type DescribeLiveWatermarkRulesResponse
- type DescribeLiveWatermarksRequest
- type DescribeLiveWatermarksResponse
- type DescribePlayErrorCodeDetailInfoListRequest
- type DescribePlayErrorCodeDetailInfoListResponse
- type DescribePlayErrorCodeSumInfoListRequest
- type DescribePlayErrorCodeSumInfoListResponse
- type DescribeProIspPlaySumInfoListRequest
- type DescribeProIspPlaySumInfoListResponse
- type DescribeProvinceIspPlayInfoListRequest
- type DescribeProvinceIspPlayInfoListResponse
- type DescribeScreenShotSheetNumListRequest
- type DescribeScreenShotSheetNumListResponse
- type DescribeStreamDayPlayInfoListRequest
- type DescribeStreamDayPlayInfoListResponse
- type DescribeStreamPlayInfoListRequest
- type DescribeStreamPlayInfoListResponse
- type DescribeStreamPushInfoListRequest
- type DescribeStreamPushInfoListResponse
- type DescribeTopClientIpSumInfoListRequest
- type DescribeTopClientIpSumInfoListResponse
- type DescribeUploadStreamNumsRequest
- type DescribeUploadStreamNumsResponse
- type DescribeVisitTopSumInfoListRequest
- type DescribeVisitTopSumInfoListResponse
- type DomainCertInfo
- type DomainDetailInfo
- type DomainInfo
- type DomainInfoList
- type DropLiveStreamRequest
- type DropLiveStreamResponse
- type EnableLiveDomainRequest
- type EnableLiveDomainResponse
- type ForbidLiveDomainRequest
- type ForbidLiveDomainResponse
- type ForbidLiveStreamRequest
- type ForbidLiveStreamResponse
- type ForbidStreamInfo
- type GroupProIspDataInfo
- type HlsSpecialParam
- type HttpCodeInfo
- type HttpCodeValue
- type HttpStatusData
- type HttpStatusInfo
- type ModifyLiveCallbackTemplateRequest
- type ModifyLiveCallbackTemplateResponse
- type ModifyLiveCertRequest
- type ModifyLiveCertResponse
- type ModifyLiveDomainCertRequest
- type ModifyLiveDomainCertResponse
- type ModifyLiveDomainRefererRequest
- type ModifyLiveDomainRefererResponse
- type ModifyLivePlayAuthKeyRequest
- type ModifyLivePlayAuthKeyResponse
- type ModifyLivePlayDomainRequest
- type ModifyLivePlayDomainResponse
- type ModifyLivePushAuthKeyRequest
- type ModifyLivePushAuthKeyResponse
- type ModifyLiveRecordTemplateRequest
- type ModifyLiveRecordTemplateResponse
- type ModifyLiveSnapshotTemplateRequest
- type ModifyLiveSnapshotTemplateResponse
- type ModifyLiveTranscodeTemplateRequest
- type ModifyLiveTranscodeTemplateResponse
- type MonitorStreamPlayInfo
- type PlayAuthKeyInfo
- type PlayCodeTotalInfo
- type PlayDataInfoByStream
- type PlayStatInfo
- type PlaySumStatInfo
- type ProIspPlayCodeDataInfo
- type ProIspPlaySumInfo
- type PublishTime
- type PushAuthKeyInfo
- type PushDataInfo
- type PushQualityData
- type RecordParam
- type RecordTemplateInfo
- type RefererAuthConfig
- type ResumeDelayLiveStreamRequest
- type ResumeDelayLiveStreamResponse
- type ResumeLiveStreamRequest
- type ResumeLiveStreamResponse
- type RuleInfo
- type SnapshotTemplateInfo
- type StopLiveRecordRequest
- type StopLiveRecordResponse
- type StopRecordTaskRequest
- type StopRecordTaskResponse
- type StreamEventInfo
- type StreamName
- type StreamOnlineInfo
- type TemplateInfo
- type TimeValue
- type TranscodeDetailInfo
- type UnBindLiveDomainCertRequest
- type UnBindLiveDomainCertResponse
- type UpdateLiveWatermarkRequest
- type UpdateLiveWatermarkResponse
- 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" // 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" // The template is in use. FAILEDOPERATION_CONFINUSED = "FailedOperation.ConfInUsed" // The domain name cannot be deleted because it incurred traffic in the last 2 days and is in locked state. FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" // 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" // 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" // No records found. FAILEDOPERATION_NOTFOUND = "FailedOperation.NotFound" // 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" // 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" // The certificate is in use. INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" // The certificate is invalid. INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" // The certificate has expired. INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" // 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 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" // The cropped area overflows the original image. INVALIDPARAMETER_INVALIDCROPPARAM = "InvalidParameter.InvalidCropParam" // Invalid layer parameter. INVALIDPARAMETER_INVALIDLAYERPARAM = "InvalidParameter.InvalidLayerParam" // 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" // Incorrect `VodFileName`. INVALIDPARAMETER_INVALIDVODFILENAME = "InvalidParameter.InvalidVodFileName" // 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" // The output stream of the same session has changed. INVALIDPARAMETER_SESSIONOUTPUTSTREAMCHANGED = "InvalidParameter.SessionOutputStreamChanged" // The template does not match the number of input streams. INVALIDPARAMETER_TEMPLATENOTMATCHINPUTNUM = "InvalidParameter.TemplateNotMatchInputNum" // 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" // 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" // 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" // 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" // Inactive stream. RESOURCENOTFOUND_STREAMNOTALIVE = "ResourceNotFound.StreamNotAlive" // The `TaskId` does not exist. RESOURCENOTFOUND_TASKID = "ResourceNotFound.TaskId" // 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 AddDelayLiveStreamResponse ¶
type AddDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 AddLiveDomainResponse ¶
type AddLiveDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 AddLiveWatermarkResponse ¶
type AddLiveWatermarkResponse struct { *tchttp.BaseResponse Response *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"` } `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 BandwidthInfo ¶
type BillAreaInfo ¶
type BillAreaInfo struct { // Region name Name *string `json:"Name,omitempty" name:"Name"` // Detailed country information Countrys []*BillCountryInfo `json:"Countrys,omitempty" name:"Countrys"` }
type BillCountryInfo ¶
type BillCountryInfo struct { // Country Name *string `json:"Name,omitempty" name:"Name"` // Detailed bandwidth information BandInfoList []*BillDataInfo `json:"BandInfoList,omitempty" name:"BandInfoList"` }
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 BindLiveDomainCertRequest ¶
type BindLiveDomainCertRequest struct { *tchttp.BaseRequest // Certificate ID, which can be obtained through the `CreateLiveCert` API. CertId *int64 `json:"CertId,omitempty" name:"CertId"` // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // HTTPS status. 0: disabled, 1: enabled. Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewBindLiveDomainCertRequest ¶
func NewBindLiveDomainCertRequest() (request *BindLiveDomainCertRequest)
func (*BindLiveDomainCertRequest) FromJsonString ¶
func (r *BindLiveDomainCertRequest) 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 (*BindLiveDomainCertRequest) ToJsonString ¶
func (r *BindLiveDomainCertRequest) ToJsonString() string
type BindLiveDomainCertResponse ¶
type BindLiveDomainCertResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewBindLiveDomainCertResponse ¶
func NewBindLiveDomainCertResponse() (response *BindLiveDomainCertResponse)
func (*BindLiveDomainCertResponse) FromJsonString ¶
func (r *BindLiveDomainCertResponse) 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 (*BindLiveDomainCertResponse) ToJsonString ¶
func (r *BindLiveDomainCertResponse) ToJsonString() string
type CallBackRuleInfo ¶
type CallBackRuleInfo struct { // Rule creation time. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Rule update time. 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"` }
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 CancelCommonMixStreamResponse ¶
type CancelCommonMixStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // Creation time in UTC format. 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"` // Certificate expiration time in UTC format. 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_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_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_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_HOSTOUTLIMIT = "FailedOperation.HostOutLimit" 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_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_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService"
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_CALLOTHERSVRFAILED = "FailedOperation.CallOtherSvrFailed" FAILEDOPERATION_DELETEDOMAININLOCKEDTIME = "FailedOperation.DeleteDomainInLockedTime" FAILEDOPERATION_HOSTOUTLIMIT = "FailedOperation.HostOutLimit" 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_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_INVALIDUSER = "ResourceNotFound.InvalidUser" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService"
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_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_USERNOTFOUNT = "ResourceNotFound.UserNotFount"
func (*Client) BindLiveDomainCert ¶
func (c *Client) BindLiveDomainCert(request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, err error)
BindLiveDomainCert This API is used to bind a domain name certificate.
Note: you need to call the `CreateLiveCert` API first to add a certificate. After getting the certificate ID, call this API for binding.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist"
func (*Client) BindLiveDomainCertWithContext ¶
func (c *Client) BindLiveDomainCertWithContext(ctx context.Context, request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, err error)
BindLiveDomainCert This API is used to bind a domain name certificate.
Note: you need to call the `CreateLiveCert` API first to add a certificate. After getting the certificate ID, call this API for binding.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist"
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"
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"
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_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"
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_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"
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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCallbackTemplate ¶
func (c *Client) CreateLiveCallbackTemplate(request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
CreateLiveCallbackTemplate After a callback template is created and a template ID is successfully returned, you need to call the [CreateLiveCallbackRule](https://intl.cloud.tencent.com/document/product/267/32638?from_cn_redirect=1) API and bind the template ID to the domain name/path.
<br>Callback protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
Note: at least enter 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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCallbackTemplateWithContext ¶
func (c *Client) CreateLiveCallbackTemplateWithContext(ctx context.Context, request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
CreateLiveCallbackTemplate After a callback template is created and a template ID is successfully returned, you need to call the [CreateLiveCallbackRule](https://intl.cloud.tencent.com/document/product/267/32638?from_cn_redirect=1) API and bind the template ID to the domain name/path.
<br>Callback protocol document: [Event Message Notification](https://intl.cloud.tencent.com/document/product/267/32744?from_cn_redirect=1).
Note: at least enter 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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveCert ¶
func (c *Client) CreateLiveCert(request *CreateLiveCertRequest) (response *CreateLiveCertResponse, err error)
CreateLiveCert This API is used to add a certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLOUDCRTIDERROR = "InvalidParameter.CloudCrtIdError" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch" INVALIDPARAMETER_CRTORKEYNOTEXIST = "InvalidParameter.CrtOrKeyNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateLiveCertWithContext ¶
func (c *Client) CreateLiveCertWithContext(ctx context.Context, request *CreateLiveCertRequest) (response *CreateLiveCertResponse, err error)
CreateLiveCert This API is used to add a certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLOUDCRTIDERROR = "InvalidParameter.CloudCrtIdError" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch" INVALIDPARAMETER_CRTORKEYNOTEXIST = "InvalidParameter.CrtOrKeyNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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" 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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" 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" 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" 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateLiveSnapshotTemplate ¶
func (c *Client) CreateLiveSnapshotTemplate(request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
CreateLiveSnapshotTemplate After a screencapturing template is created and a template ID is successfully returned, you need to call the [CreateLiveSnapshotRule](https://intl.cloud.tencent.com/document/product/267/32625?from_cn_redirect=1) API and bind the template ID to the stream.
<br>Screencapturing-related document: [LVB Screencapturing](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
error code that may be returned:
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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveSnapshotTemplateWithContext ¶
func (c *Client) CreateLiveSnapshotTemplateWithContext(ctx context.Context, request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
CreateLiveSnapshotTemplate After a screencapturing template is created and a template ID is successfully returned, you need to call the [CreateLiveSnapshotRule](https://intl.cloud.tencent.com/document/product/267/32625?from_cn_redirect=1) API and bind the template ID to the stream.
<br>Screencapturing-related document: [LVB Screencapturing](https://intl.cloud.tencent.com/document/product/267/32737?from_cn_redirect=1).
error code that may be returned:
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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeRule ¶
func (c *Client) CreateLiveTranscodeRule(request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
CreateLiveTranscodeRule To create a transcoding rule, you need to first call the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API to create a transcoding template and bind the returned template ID to the stream.
<br>Transcoding-related document: [LVB 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeRuleWithContext ¶
func (c *Client) CreateLiveTranscodeRuleWithContext(ctx context.Context, request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
CreateLiveTranscodeRule To create a transcoding rule, you need to first call the [CreateLiveTranscodeTemplate](https://intl.cloud.tencent.com/document/product/267/32646?from_cn_redirect=1) API to create a transcoding template and bind the returned template ID to the stream.
<br>Transcoding-related document: [LVB 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeTemplate ¶
func (c *Client) CreateLiveTranscodeTemplate(request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
CreateLiveTranscodeTemplate After a transcoding template is created and a template ID is successfully returned, you need to call the [CreateLiveTranscodeRule](https://intl.cloud.tencent.com/document/product/267/32647?from_cn_redirect=1) API and bind the returned template ID to the stream.
<br>Transcoding-related document: [LVB 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" 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" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) CreateLiveTranscodeTemplateWithContext ¶
func (c *Client) CreateLiveTranscodeTemplateWithContext(ctx context.Context, request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
CreateLiveTranscodeTemplate After a transcoding template is created and a template ID is successfully returned, you need to call the [CreateLiveTranscodeRule](https://intl.cloud.tencent.com/document/product/267/32647?from_cn_redirect=1) API and bind the returned template ID to the stream.
<br>Transcoding-related document: [LVB 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" 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" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" 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_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" 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 specified times and records by using the configuration corresponding to a specified recording template ID.
- Prerequisites
1. Recording files are stored on the VOD platform, so if you need to use the recording feature, you must first activate the VOD service.
2. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) are charged according to the VOD billing method. For details, see the [corresponding document](https://intl.cloud.tencent.com/document/product/266/2837?from_cn_redirect=1).
- Precautions
1. An interruption will end the current recording and generate a recording file. The task will still be valid before the end time expires, and the stream will be recorded within this period as long as it is pushed, regardless of whether the push is interrupted or restarted multiple times.
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. The record of a created recording task will be retained for 3 months on the platform.
4. The current recording task management APIs (CreateRecordTask/StopRecordTask/DeleteRecordTask) are not compatible with the legacy APIs (CreateLiveRecord/StopLiveRecord/DeleteLiveRecord), and they cannot be used together.
5. Do not create recording tasks and push streams at the same time, or recording tasks might not take effect and be delayed. Wait at least 3 seconds between each action.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" 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 specified times and records by using the configuration corresponding to a specified recording template ID.
- Prerequisites
1. Recording files are stored on the VOD platform, so if you need to use the recording feature, you must first activate the VOD service.
2. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) are charged according to the VOD billing method. For details, see the [corresponding document](https://intl.cloud.tencent.com/document/product/266/2837?from_cn_redirect=1).
- Precautions
1. An interruption will end the current recording and generate a recording file. The task will still be valid before the end time expires, and the stream will be recorded within this period as long as it is pushed, regardless of whether the push is interrupted or restarted multiple times.
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. The record of a created recording task will be retained for 3 months on the platform.
4. The current recording task management APIs (CreateRecordTask/StopRecordTask/DeleteRecordTask) are not compatible with the legacy APIs (CreateLiveRecord/StopLiveRecord/DeleteLiveRecord), and they cannot be used together.
5. Do not create recording tasks and push streams at the same time, or recording tasks might not take effect and be delayed. Wait at least 3 seconds between each action.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETCONFIGERROR = "InternalError.GetConfigError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_MAXIMUMRUNNINGTASK = "LimitExceeded.MaximumRunningTask" RESOURCEUNAVAILABLE_INVALIDVODSTATUS = "ResourceUnavailable.InvalidVodStatus" 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" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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" INVALIDPARAMETER_DOMAINFORMATERROR = "InvalidParameter.DomainFormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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"
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"
func (*Client) DeleteLiveCert ¶
func (c *Client) DeleteLiveCert(request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, err error)
DeleteLiveCert This API is used to delete a certificate corresponding to the domain name.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing"
func (*Client) DeleteLiveCertWithContext ¶
func (c *Client) DeleteLiveCertWithContext(ctx context.Context, request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, err error)
DeleteLiveCert This API is used to delete a certificate corresponding to the domain name.
error code that may be returned:
FAILEDOPERATION_INVOKEVIDEOAPIFAIL = "FailedOperation.InvokeVideoApiFail" INTERNALERROR = "InternalError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDATENOTLEGAL = "InternalError.CrtDateNotLegal" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing"
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_TAGUNBINDERROR = "FailedOperation.TagUnbindError" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService"
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_TAGUNBINDERROR = "FailedOperation.TagUnbindError" INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_DOMAINISLIMITED = "InvalidParameter.DomainIsLimited" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist" RESOURCENOTFOUND_STOPSERVICE = "ResourceNotFound.StopService"
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_TASKID = "ResourceNotFound.TaskId"
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"
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"
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"
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"
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_TASKID = "ResourceNotFound.TaskId"
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"
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"
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"
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"
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" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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"
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"
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" 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"
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"
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" 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" 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" 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 query the downstream information of all streams at a specified point in time (at a 1-minute granularity).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeAllStreamPlayInfoListWithContext ¶
func (c *Client) DescribeAllStreamPlayInfoListWithContext(ctx context.Context, request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)
DescribeAllStreamPlayInfoList This API is used to query the downstream information of all streams at a specified point in time (at a 1-minute granularity).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeAreaBillBandwidthAndFluxList ¶
func (c *Client) DescribeAreaBillBandwidthAndFluxList(request *DescribeAreaBillBandwidthAndFluxListRequest) (response *DescribeAreaBillBandwidthAndFluxListResponse, err error)
DescribeAreaBillBandwidthAndFluxList This API is used to query the billable LVB bandwidth and traffic data outside Chinese mainland.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeAreaBillBandwidthAndFluxListWithContext ¶
func (c *Client) DescribeAreaBillBandwidthAndFluxListWithContext(ctx context.Context, request *DescribeAreaBillBandwidthAndFluxListRequest) (response *DescribeAreaBillBandwidthAndFluxListResponse, err error)
DescribeAreaBillBandwidthAndFluxList This API is used to query the billable LVB bandwidth and traffic data outside Chinese mainland.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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"
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"
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"
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"
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" 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" 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" 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" 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"
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"
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" 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" 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_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"
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_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"
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" 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" 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"
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"
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"
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"
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" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" 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" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" 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"
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"
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"
func (*Client) DescribeLiveDomainPlayInfoList ¶
func (c *Client) DescribeLiveDomainPlayInfoList(request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, err error)
DescribeLiveDomainPlayInfoList This API is used to query the real-time downstream playback data at the domain name level. As it takes certain time to process data, the API queries quasi-real-time data generated 4 minutes ago by default.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeLiveDomainPlayInfoListWithContext ¶
func (c *Client) DescribeLiveDomainPlayInfoListWithContext(ctx context.Context, request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, err error)
DescribeLiveDomainPlayInfoList This API is used to query the real-time downstream playback data at the domain name level. As it takes certain time to process data, the API queries quasi-real-time data generated 4 minutes ago by default.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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"
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"
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"
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:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser"
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:
INTERNALERROR = "InternalError" INTERNALERROR_CONNECTDBERROR = "InternalError.ConnectDbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GETBIZIDERROR = "InternalError.GetBizidError" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser"
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_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_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_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord"
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_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord"
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_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord"
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_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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" 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" 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_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_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_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_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_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_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"
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"
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_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_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeLiveTranscodeDetailInfo ¶
func (c *Client) DescribeLiveTranscodeDetailInfo(request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
DescribeLiveTranscodeDetailInfo This API is used to query the details of transcoding on a specified day or in a specified period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeLiveTranscodeDetailInfoWithContext ¶
func (c *Client) DescribeLiveTranscodeDetailInfoWithContext(ctx context.Context, request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
DescribeLiveTranscodeDetailInfo This API is used to query the details of transcoding on a specified day or in a specified period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
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"
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"
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" 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" 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" 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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
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"
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"
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"
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"
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:
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"
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:
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"
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"
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"
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"
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"
func (*Client) DescribeProIspPlaySumInfoList ¶
func (c *Client) DescribeProIspPlaySumInfoList(request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, err error)
DescribeProIspPlaySumInfoList This API is used to query the average traffic per second, total traffic, and number of total requests by country/region, district, and ISP in a certain period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeProIspPlaySumInfoListWithContext ¶
func (c *Client) DescribeProIspPlaySumInfoListWithContext(ctx context.Context, request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, err error)
DescribeProIspPlaySumInfoList This API is used to query the average traffic per second, total traffic, and number of total requests by country/region, district, and ISP in a certain period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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"
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"
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"
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"
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"
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"
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"
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"
func (*Client) DescribeStreamPushInfoList ¶
func (c *Client) DescribeStreamPushInfoList(request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
DescribeStreamPushInfoList This API is used to query the upstream push quality data by stream ID, including frame rate, bitrate, elapsed time, and codec of audio and video files.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeStreamPushInfoListWithContext ¶
func (c *Client) DescribeStreamPushInfoListWithContext(ctx context.Context, request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
DescribeStreamPushInfoList This API is used to query the upstream push quality data by stream ID, including frame rate, bitrate, elapsed time, and codec of audio and video files.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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"
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"
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"
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"
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"
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"
func (*Client) DropLiveStream ¶
func (c *Client) DropLiveStream(request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
DropLiveStream This API is used to disconnect the push connection, which can be resumed.
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_STREAMNOTALIVE = "ResourceNotFound.StreamNotAlive" 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 disconnect the push connection, which can be resumed.
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_STREAMNOTALIVE = "ResourceNotFound.StreamNotAlive" 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_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser"
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_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_INVALIDUSER = "ResourceNotFound.InvalidUser"
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"
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"
func (*Client) ForbidLiveStream ¶
func (c *Client) ForbidLiveStream(request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
ForbidLiveStream This API is used to forbid the push of a specific stream. You can preset a time point to resume the 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_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 forbid the push of a specific stream. You can preset a time point to resume the 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_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" 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" UNSUPPORTEDOPERATION_NOTLVBCODEMODE = "UnsupportedOperation.NotLVBCodeMode"
func (*Client) ModifyLiveCert ¶
func (c *Client) ModifyLiveCert(request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
ModifyLiveCert This API is used to modify a certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch"
func (*Client) ModifyLiveCertWithContext ¶
func (c *Client) ModifyLiveCertWithContext(ctx context.Context, request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
ModifyLiveCert This API is used to modify a certificate.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATEINUSING = "InternalError.CrtDateInUsing" INTERNALERROR_CRTDATEOVERDUE = "InternalError.CrtDateOverdue" INTERNALERROR_CRTKEYNOTMATCH = "InternalError.CrtKeyNotMatch" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CRTDATEINUSING = "InvalidParameter.CrtDateInUsing" INVALIDPARAMETER_CRTDATEOVERDUE = "InvalidParameter.CrtDateOverdue" INVALIDPARAMETER_CRTKEYNOTMATCH = "InvalidParameter.CrtKeyNotMatch"
func (*Client) ModifyLiveDomainCert ¶
func (c *Client) ModifyLiveDomainCert(request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, err error)
ModifyLiveDomainCert This API is used to modify the domain name and certificate binding information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound"
func (*Client) ModifyLiveDomainCertWithContext ¶
func (c *Client) ModifyLiveDomainCertWithContext(ctx context.Context, request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, err error)
ModifyLiveDomainCert This API is used to modify the domain name and certificate binding information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CRTDATENOTFOUND = "InternalError.CrtDateNotFound" INTERNALERROR_CRTDOMAINNOTFOUND = "InternalError.CrtDomainNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CRTDATENOTLEGAL = "InvalidParameter.CrtDateNotLegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CRTDOMAINNOTFOUND = "ResourceNotFound.CrtDomainNotFound"
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"
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"
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_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord"
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_PLAYDOMAINNORECORD = "InternalError.PlayDomainNoRecord" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_PLAYDOMAINNORECORD = "ResourceNotFound.PlayDomainNoRecord"
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:
INTERNALERROR = "InternalError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist"
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:
INTERNALERROR = "InternalError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INVALIDPARAMETER_DOMAINHITBLACKLIST = "InvalidParameter.DomainHitBlackList" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOMAINNORECORD = "ResourceNotFound.DomainNoRecord" RESOURCENOTFOUND_DOMAINNOTEXIST = "ResourceNotFound.DomainNotExist"
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_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord"
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_PUSHDOMAINNORECORD = "ResourceNotFound.PushDomainNoRecord"
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"
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"
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_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"
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_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"
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_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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_RULEALREADYEXIST = "InternalError.RuleAlreadyExist" INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing" INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
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" 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" 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" 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" 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_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_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_TASKID = "ResourceNotFound.TaskId"
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_TASKID = "ResourceNotFound.TaskId"
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" 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" 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"
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"
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_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_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"` // Output stream bitrate. Value range: [1,50000]. // If this parameter is left empty, the system will automatically determine. 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 CreateCommonMixStreamResponse ¶
type CreateCommonMixStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateLiveCallbackRuleResponse ¶
type CreateLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 CreateLiveCallbackTemplateResponse ¶
type CreateLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 CreateLiveCertRequest ¶
type CreateLiveCertRequest struct { *tchttp.BaseRequest // Certificate type. 0: user-added certificate, 1: Tencent Cloud-hosted certificate. // Note: if the certificate type is 0, `HttpsCrt` and `HttpsKey` are required; // If the certificate type is 1, the certificate corresponding to `CloudCertId` will be used first. If `CloudCertId` is empty, `HttpsCrt` and `HttpsKey` will be used. CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // Certificate name. CertName *string `json:"CertName,omitempty" name:"CertName"` // Certificate content, i.e., public key. HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // Private key. HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"` // Description. Description *string `json:"Description,omitempty" name:"Description"` // Tencent Cloud-hosted certificate ID. CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"` }
func NewCreateLiveCertRequest ¶
func NewCreateLiveCertRequest() (request *CreateLiveCertRequest)
func (*CreateLiveCertRequest) FromJsonString ¶
func (r *CreateLiveCertRequest) 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 (*CreateLiveCertRequest) ToJsonString ¶
func (r *CreateLiveCertRequest) ToJsonString() string
type CreateLiveCertResponse ¶
type CreateLiveCertResponse struct { *tchttp.BaseResponse Response *struct { // Certificate ID CertId *int64 `json:"CertId,omitempty" name:"CertId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateLiveCertResponse ¶
func NewCreateLiveCertResponse() (response *CreateLiveCertResponse)
func (*CreateLiveCertResponse) FromJsonString ¶
func (r *CreateLiveCertResponse) 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 (*CreateLiveCertResponse) ToJsonString ¶
func (r *CreateLiveCertResponse) ToJsonString() string
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 CreateLiveRecordResponse ¶
type CreateLiveRecordResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateLiveRecordRuleResponse ¶
type CreateLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 CreateLiveRecordTemplateResponse ¶
type CreateLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateLiveSnapshotRuleResponse ¶
type CreateLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateLiveSnapshotTemplateResponse ¶
type CreateLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 CreateLiveTranscodeRuleRequest ¶
type CreateLiveTranscodeRuleRequest 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. If you only bind a domain name, leave this parameter empty. 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 CreateLiveTranscodeRuleResponse ¶
type CreateLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 CreateLiveTranscodeTemplateResponse ¶
type CreateLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateLiveWatermarkRuleResponse ¶
type CreateLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateRecordTaskResponse ¶
type CreateRecordTaskResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveCallbackRuleResponse ¶
type DeleteLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveCallbackTemplateResponse ¶
type DeleteLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 DeleteLiveCertRequest ¶
type DeleteLiveCertRequest struct { *tchttp.BaseRequest // Certificate ID obtained through the `DescribeLiveCerts` API. CertId *int64 `json:"CertId,omitempty" name:"CertId"` }
func NewDeleteLiveCertRequest ¶
func NewDeleteLiveCertRequest() (request *DeleteLiveCertRequest)
func (*DeleteLiveCertRequest) FromJsonString ¶
func (r *DeleteLiveCertRequest) 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 (*DeleteLiveCertRequest) ToJsonString ¶
func (r *DeleteLiveCertRequest) ToJsonString() string
type DeleteLiveCertResponse ¶
type DeleteLiveCertResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewDeleteLiveCertResponse ¶
func NewDeleteLiveCertResponse() (response *DeleteLiveCertResponse)
func (*DeleteLiveCertResponse) FromJsonString ¶
func (r *DeleteLiveCertResponse) 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 (*DeleteLiveCertResponse) ToJsonString ¶
func (r *DeleteLiveCertResponse) ToJsonString() string
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 DeleteLiveDomainResponse ¶
type DeleteLiveDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveRecordResponse ¶
type DeleteLiveRecordResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveRecordRuleResponse ¶
type DeleteLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveRecordTemplateResponse ¶
type DeleteLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveSnapshotRuleResponse ¶
type DeleteLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveSnapshotTemplateResponse ¶
type DeleteLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveTranscodeRuleResponse ¶
type DeleteLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveTranscodeTemplateResponse ¶
type DeleteLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveWatermarkResponse ¶
type DeleteLiveWatermarkResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteLiveWatermarkRuleResponse ¶
type DeleteLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteRecordTaskResponse ¶
type DeleteRecordTaskResponse struct { *tchttp.BaseResponse Response *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"` } `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 DescribeAllStreamPlayInfoListRequest ¶
type DescribeAllStreamPlayInfoListRequest struct { *tchttp.BaseRequest // Query time point accurate to the minute. You can query data within the last month. As there is a 5-minute delay in the data, you're advised to pass in a time point 5 minutes earlier than needed. Format: yyyy-mm-dd HH:MM:00. As the accuracy is to the minute, please set the value of second to `00`. QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"` // Playback domain name list. If this parameter is left empty, full data 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 DescribeAllStreamPlayInfoListResponse ¶
type DescribeAllStreamPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // Query point in time in the returned input parameters. QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"` // Data information list. 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"` } `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 DescribeAreaBillBandwidthAndFluxListRequest ¶
type DescribeAreaBillBandwidthAndFluxListRequest 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 1 days. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // LVB playback domain name. If it is left blank, the full data will be queried. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
func NewDescribeAreaBillBandwidthAndFluxListRequest ¶
func NewDescribeAreaBillBandwidthAndFluxListRequest() (request *DescribeAreaBillBandwidthAndFluxListRequest)
func (*DescribeAreaBillBandwidthAndFluxListRequest) FromJsonString ¶
func (r *DescribeAreaBillBandwidthAndFluxListRequest) 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 (*DescribeAreaBillBandwidthAndFluxListRequest) ToJsonString ¶
func (r *DescribeAreaBillBandwidthAndFluxListRequest) ToJsonString() string
type DescribeAreaBillBandwidthAndFluxListResponse ¶
type DescribeAreaBillBandwidthAndFluxListResponse struct { *tchttp.BaseResponse Response *struct { // Detailed data information. DataInfoList []*BillAreaInfo `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"` } `json:"Response"` }
func NewDescribeAreaBillBandwidthAndFluxListResponse ¶
func NewDescribeAreaBillBandwidthAndFluxListResponse() (response *DescribeAreaBillBandwidthAndFluxListResponse)
func (*DescribeAreaBillBandwidthAndFluxListResponse) FromJsonString ¶
func (r *DescribeAreaBillBandwidthAndFluxListResponse) 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 (*DescribeAreaBillBandwidthAndFluxListResponse) ToJsonString ¶
func (r *DescribeAreaBillBandwidthAndFluxListResponse) ToJsonString() string
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 DescribeBillBandwidthAndFluxListResponse ¶
type DescribeBillBandwidthAndFluxListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeConcurrentRecordStreamNumResponse ¶
type DescribeConcurrentRecordStreamNumResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeDeliverBandwidthListResponse ¶
type DescribeDeliverBandwidthListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeGroupProIspPlayInfoListResponse ¶
type DescribeGroupProIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeHttpStatusInfoListResponse ¶
type DescribeHttpStatusInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveCallbackRulesResponse ¶
type DescribeLiveCallbackRulesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveCallbackTemplateResponse ¶
type DescribeLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveCallbackTemplatesResponse ¶
type DescribeLiveCallbackTemplatesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveCertResponse ¶
type DescribeLiveCertResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveCertsResponse ¶
type DescribeLiveCertsResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveDelayInfoListResponse ¶
type DescribeLiveDelayInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveDomainCertResponse ¶
type DescribeLiveDomainCertResponse struct { *tchttp.BaseResponse Response *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"` } `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 DescribeLiveDomainPlayInfoListRequest ¶
type DescribeLiveDomainPlayInfoListRequest struct { *tchttp.BaseRequest // Playback domain name list. PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"` }
func NewDescribeLiveDomainPlayInfoListRequest ¶
func NewDescribeLiveDomainPlayInfoListRequest() (request *DescribeLiveDomainPlayInfoListRequest)
func (*DescribeLiveDomainPlayInfoListRequest) FromJsonString ¶
func (r *DescribeLiveDomainPlayInfoListRequest) 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 (*DescribeLiveDomainPlayInfoListRequest) ToJsonString ¶
func (r *DescribeLiveDomainPlayInfoListRequest) ToJsonString() string
type DescribeLiveDomainPlayInfoListResponse ¶
type DescribeLiveDomainPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // Data time in the format of `yyyy-mm-dd HH:MM:SS`. Time *string `json:"Time,omitempty" name:"Time"` // Real-time total bandwidth. TotalBandwidth *float64 `json:"TotalBandwidth,omitempty" name:"TotalBandwidth"` // Real-time total traffic. TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // Total number of requests. TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // Real-time total number of connections. TotalOnline *uint64 `json:"TotalOnline,omitempty" name:"TotalOnline"` // Data by domain name. DomainInfoList []*DomainInfoList `json:"DomainInfoList,omitempty" name:"DomainInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLiveDomainPlayInfoListResponse ¶
func NewDescribeLiveDomainPlayInfoListResponse() (response *DescribeLiveDomainPlayInfoListResponse)
func (*DescribeLiveDomainPlayInfoListResponse) FromJsonString ¶
func (r *DescribeLiveDomainPlayInfoListResponse) 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 (*DescribeLiveDomainPlayInfoListResponse) ToJsonString ¶
func (r *DescribeLiveDomainPlayInfoListResponse) ToJsonString() string
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 DescribeLiveDomainRefererResponse ¶
type DescribeLiveDomainRefererResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveDomainResponse ¶
type DescribeLiveDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveDomainsResponse ¶
type DescribeLiveDomainsResponse struct { *tchttp.BaseResponse Response *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 unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 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 DescribeLiveForbidStreamListResponse ¶
type DescribeLiveForbidStreamListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLivePlayAuthKeyResponse ¶
type DescribeLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLivePushAuthKeyResponse ¶
type DescribeLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveRecordRulesResponse ¶
type DescribeLiveRecordRulesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveRecordTemplateResponse ¶
type DescribeLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveRecordTemplatesResponse ¶
type DescribeLiveRecordTemplatesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveSnapshotRulesResponse ¶
type DescribeLiveSnapshotRulesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveSnapshotTemplateResponse ¶
type DescribeLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveSnapshotTemplatesResponse ¶
type DescribeLiveSnapshotTemplatesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveStreamEventListResponse ¶
type DescribeLiveStreamEventListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveStreamOnlineListResponse ¶
type DescribeLiveStreamOnlineListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveStreamPublishedListResponse ¶
type DescribeLiveStreamPublishedListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveStreamPushInfoListResponse ¶
type DescribeLiveStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveStreamStateResponse ¶
type DescribeLiveStreamStateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveTranscodeDetailInfoResponse ¶
type DescribeLiveTranscodeDetailInfoResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveTranscodeRulesResponse ¶
type DescribeLiveTranscodeRulesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveTranscodeTemplateResponse ¶
type DescribeLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveTranscodeTemplatesResponse ¶
type DescribeLiveTranscodeTemplatesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveWatermarkResponse ¶
type DescribeLiveWatermarkResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveWatermarkRulesResponse ¶
type DescribeLiveWatermarkRulesResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeLiveWatermarksResponse ¶
type DescribeLiveWatermarksResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribePlayErrorCodeDetailInfoListResponse ¶
type DescribePlayErrorCodeDetailInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribePlayErrorCodeSumInfoListResponse ¶
type DescribePlayErrorCodeSumInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 DescribeProIspPlaySumInfoListRequest ¶
type DescribeProIspPlaySumInfoListRequest 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"` // Statistics type. Valid values: Province (district), Isp (ISP), CountryOrArea (country or region). StatType *string `json:"StatType,omitempty" name:"StatType"` // Playback domain name list. If it is left empty, it refers to all playback domain names. 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"` // 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 NewDescribeProIspPlaySumInfoListRequest ¶
func NewDescribeProIspPlaySumInfoListRequest() (request *DescribeProIspPlaySumInfoListRequest)
func (*DescribeProIspPlaySumInfoListRequest) FromJsonString ¶
func (r *DescribeProIspPlaySumInfoListRequest) 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 (*DescribeProIspPlaySumInfoListRequest) ToJsonString ¶
func (r *DescribeProIspPlaySumInfoListRequest) ToJsonString() string
type DescribeProIspPlaySumInfoListResponse ¶
type DescribeProIspPlaySumInfoListResponse struct { *tchttp.BaseResponse Response *struct { // Total traffic. TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // Total number of requests. TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // Statistics type. StatType *string `json:"StatType,omitempty" name:"StatType"` // Number of results per page. PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Page number. PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // Total number of results. TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // Total number of pages. TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // Aggregated data list by district, ISP, or country/region. DataInfoList []*ProIspPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList"` // Download speed in MB/s. Calculation method: total traffic/total duration. AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProIspPlaySumInfoListResponse ¶
func NewDescribeProIspPlaySumInfoListResponse() (response *DescribeProIspPlaySumInfoListResponse)
func (*DescribeProIspPlaySumInfoListResponse) FromJsonString ¶
func (r *DescribeProIspPlaySumInfoListResponse) 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 (*DescribeProIspPlaySumInfoListResponse) ToJsonString ¶
func (r *DescribeProIspPlaySumInfoListResponse) ToJsonString() string
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 DescribeProvinceIspPlayInfoListResponse ¶
type DescribeProvinceIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeScreenShotSheetNumListResponse ¶
type DescribeScreenShotSheetNumListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeStreamDayPlayInfoListResponse ¶
type DescribeStreamDayPlayInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // End time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS. // The difference between the start time and end time cannot be greater than 24 hours. Data in the last 30 days can be queried. 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 DescribeStreamPlayInfoListResponse ¶
type DescribeStreamPlayInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 DescribeStreamPushInfoListRequest ¶
type DescribeStreamPushInfoListRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Start time point in the format of `yyyy-mm-dd HH:MM:SS`. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of yyyy-mm-dd HH:MM:SS. You can query data in the past 7 days. You’re advised to set the query period to up to 3 hours. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 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"` }
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 DescribeStreamPushInfoListResponse ¶
type DescribeStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeTopClientIpSumInfoListResponse ¶
type DescribeTopClientIpSumInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeUploadStreamNumsResponse ¶
type DescribeUploadStreamNumsResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeVisitTopSumInfoListResponse ¶
type DescribeVisitTopSumInfoListResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // Creation time in UTC format. 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"` // Certificate expiration time in UTC format. 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 DomainDetailInfo ¶
type DomainDetailInfo struct { // In or outside Mainland China: // Mainland: data in Mainland China. // Oversea: data outside Mainland China. MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // Bandwidth in Mbps. Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // Traffic in MB. Flux *float64 `json:"Flux,omitempty" name:"Flux"` // Number of viewers. Online *uint64 `json:"Online,omitempty" name:"Online"` // Number of requests. Request *uint64 `json:"Request,omitempty" name:"Request"` }
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"` // Creation time. 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"` // Disused parameter, which can be ignored. 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 DomainInfoList ¶
type DomainInfoList struct { // Domain name. Domain *string `json:"Domain,omitempty" name:"Domain"` // Details. DetailInfoList []*DomainDetailInfo `json:"DetailInfoList,omitempty" name:"DetailInfoList"` }
type DropLiveStreamRequest ¶
type DropLiveStreamRequest struct { *tchttp.BaseRequest // Stream name. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Your acceleration 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 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 DropLiveStreamResponse ¶
type DropLiveStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 EnableLiveDomainResponse ¶
type EnableLiveDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ForbidLiveDomainResponse ¶
type ForbidLiveDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // Time to resume the stream in UTC format, such as 2018-11-29T19:00:00Z. // Notes: // 1. The duration of forbidding is 7 days by default and can be up to 90 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). 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 ForbidLiveStreamResponse ¶
type ForbidLiveStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 ForbidStreamInfo ¶
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 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"` }
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 ModifyLiveCallbackTemplateResponse ¶
type ModifyLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 ModifyLiveCertRequest ¶
type ModifyLiveCertRequest struct { *tchttp.BaseRequest // Certificate ID. CertId *string `json:"CertId,omitempty" name:"CertId"` // Certificate type. 0: user-added certificate, 1: Tencent Cloud-hosted certificate. CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // Certificate name. CertName *string `json:"CertName,omitempty" name:"CertName"` // Certificate content, i.e., public key. HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // Private key. HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"` // Description. Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyLiveCertRequest ¶
func NewModifyLiveCertRequest() (request *ModifyLiveCertRequest)
func (*ModifyLiveCertRequest) FromJsonString ¶
func (r *ModifyLiveCertRequest) 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 (*ModifyLiveCertRequest) ToJsonString ¶
func (r *ModifyLiveCertRequest) ToJsonString() string
type ModifyLiveCertResponse ¶
type ModifyLiveCertResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewModifyLiveCertResponse ¶
func NewModifyLiveCertResponse() (response *ModifyLiveCertResponse)
func (*ModifyLiveCertResponse) FromJsonString ¶
func (r *ModifyLiveCertResponse) 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 (*ModifyLiveCertResponse) ToJsonString ¶
func (r *ModifyLiveCertResponse) ToJsonString() string
type ModifyLiveDomainCertRequest ¶
type ModifyLiveDomainCertRequest struct { *tchttp.BaseRequest // Playback domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Certificate ID. CertId *int64 `json:"CertId,omitempty" name:"CertId"` // Status. 0: off, 1: on. Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewModifyLiveDomainCertRequest ¶
func NewModifyLiveDomainCertRequest() (request *ModifyLiveDomainCertRequest)
func (*ModifyLiveDomainCertRequest) FromJsonString ¶
func (r *ModifyLiveDomainCertRequest) 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 (*ModifyLiveDomainCertRequest) ToJsonString ¶
func (r *ModifyLiveDomainCertRequest) ToJsonString() string
type ModifyLiveDomainCertResponse ¶
type ModifyLiveDomainCertResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewModifyLiveDomainCertResponse ¶
func NewModifyLiveDomainCertResponse() (response *ModifyLiveDomainCertResponse)
func (*ModifyLiveDomainCertResponse) FromJsonString ¶
func (r *ModifyLiveDomainCertResponse) 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 (*ModifyLiveDomainCertResponse) ToJsonString ¶
func (r *ModifyLiveDomainCertResponse) ToJsonString() string
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 ModifyLiveDomainRefererResponse ¶
type ModifyLiveDomainRefererResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyLivePlayAuthKeyResponse ¶
type ModifyLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyLivePlayDomainResponse ¶
type ModifyLivePlayDomainResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyLivePushAuthKeyResponse ¶
type ModifyLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 ModifyLiveRecordTemplateResponse ¶
type ModifyLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 ModifyLiveSnapshotTemplateRequest ¶
type ModifyLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 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 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"` // 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 ModifyLiveSnapshotTemplateResponse ¶
type ModifyLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }
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 ModifyLiveTranscodeTemplateResponse ¶
type ModifyLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *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"` } `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 MonitorStreamPlayInfo ¶
type MonitorStreamPlayInfo struct { // Playback domain name. PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // Stream ID. StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // Playback bitrate. 0 indicates the original bitrate. Rate *uint64 `json:"Rate,omitempty" name:"Rate"` // Playback protocol. Valid values: Unknown, Flv, Hls, Rtmp, Huyap2p. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Bandwidth in Mbps. Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // Number of online viewers. A data point is sampled per minute, and the number of TCP connections across the sample points is calculated. Online *uint64 `json:"Online,omitempty" name:"Online"` // 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 ProIspPlaySumInfo ¶
type ProIspPlaySumInfo struct { // District/ISP/country/region. Name *string `json:"Name,omitempty" name:"Name"` // Total traffic in MB. TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // Total number of requests. TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // Average download traffic in MB/s. AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` }
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 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 (Kbps) for publishing VideoSpeed *uint64 `json:"VideoSpeed,omitempty" name:"VideoSpeed"` // Pushed audio frame rate in Hz. AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // Audio bitrate (Kbps) 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 in `metadata` in Kbps. MetaAudioSpeed *uint64 `json:"MetaAudioSpeed,omitempty" name:"MetaAudioSpeed"` // Video bitrate in `metadata` in Kbps. MetaVideoSpeed *uint64 `json:"MetaVideoSpeed,omitempty" name:"MetaVideoSpeed"` // Frame rate in `metadata`. MetaFps *uint64 `json:"MetaFps,omitempty" name:"MetaFps"` }
type PushQualityData ¶
type PushQualityData struct { // Data time in the format of `%Y-%m-%d %H:%M:%S.%ms` and accurate down to the millisecond level. Time *string `json:"Time,omitempty" name:"Time"` // Push domain name. PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // Push path. AppName *string `json:"AppName,omitempty" name:"AppName"` // Push client IP. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // Push start time in the format of `%Y-%m-%d %H:%M:%S.%ms` and accurate down to the millisecond level. BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"` // Resolution information. Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // Video codec. VCodec *string `json:"VCodec,omitempty" name:"VCodec"` // Audio codec. ACodec *string `json:"ACodec,omitempty" name:"ACodec"` // Push serial number, which uniquely identifies a push. Sequence *string `json:"Sequence,omitempty" name:"Sequence"` // Video frame rate. VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"` // Video bitrate in bps. VideoRate *uint64 `json:"VideoRate,omitempty" name:"VideoRate"` // Audio frame rate. AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // Audio bitrate in bps. AudioRate *uint64 `json:"AudioRate,omitempty" name:"AudioRate"` // Local elapsed time in milliseconds. The greater the difference between audio/video elapsed time and local elapsed time, the poorer the push quality and the more serious the upstream lag. LocalTs *uint64 `json:"LocalTs,omitempty" name:"LocalTs"` // Video elapsed time in milliseconds. VideoTs *uint64 `json:"VideoTs,omitempty" name:"VideoTs"` // Audio elapsed time in milliseconds. AudioTs *uint64 `json:"AudioTs,omitempty" name:"AudioTs"` // Video bitrate in `metadata` in Kbps. MetaVideoRate *uint64 `json:"MetaVideoRate,omitempty" name:"MetaVideoRate"` // Audio bitrate in `metadata` in Kbps. MetaAudioRate *uint64 `json:"MetaAudioRate,omitempty" name:"MetaAudioRate"` // Frame rate in `metadata`. MateFps *uint64 `json:"MateFps,omitempty" name:"MateFps"` // Push parameter StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"` }
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 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"` // Custom HLS recording parameter HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // MP3 recording parameter. Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` }
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 ResumeDelayLiveStreamResponse ¶
type ResumeDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ResumeLiveStreamResponse ¶
type ResumeLiveStreamResponse struct { *tchttp.BaseResponse Response *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"` } `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 RuleInfo ¶
type RuleInfo struct { // Rule creation time. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Rule update time. 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 StopLiveRecordResponse ¶
type StopLiveRecordResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 StopRecordTaskResponse ¶
type StopRecordTaskResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // Host IP. 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"` }
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"` // Type. Valid values: Transcode, MixStream, WaterMark. 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"` }
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 UnBindLiveDomainCertResponse ¶
type UnBindLiveDomainCertResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 UpdateLiveWatermarkResponse ¶
type UpdateLiveWatermarkResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` // Creation time. 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"` }