Documentation ¶
Index ¶
- Constants
- type AddDelayLiveStreamRequest
- type AddDelayLiveStreamResponse
- type AddLiveDomainRequest
- type AddLiveDomainResponse
- type AddLiveWatermarkRequest
- type AddLiveWatermarkResponse
- type BillDataInfo
- type BindLiveDomainCertRequest
- type BindLiveDomainCertResponse
- type CallBackRuleInfo
- type CallBackTemplateInfo
- type CdnPlayStatData
- type CertInfo
- type Client
- func (c *Client) AddDelayLiveStream(request *AddDelayLiveStreamRequest) (response *AddDelayLiveStreamResponse, err error)
- func (c *Client) AddLiveDomain(request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
- func (c *Client) AddLiveWatermark(request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
- func (c *Client) BindLiveDomainCert(request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, err error)
- func (c *Client) CreateLiveCallbackRule(request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
- func (c *Client) CreateLiveCallbackTemplate(request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
- func (c *Client) CreateLiveCert(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) CreateLiveRecordTemplate(request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
- func (c *Client) CreateLiveSnapshotRule(request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
- func (c *Client) CreateLiveSnapshotTemplate(request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
- func (c *Client) CreateLiveTranscodeRule(request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
- func (c *Client) CreateLiveTranscodeTemplate(request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
- func (c *Client) CreateLiveWatermarkRule(request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
- func (c *Client) CreatePullStreamConfig(request *CreatePullStreamConfigRequest) (response *CreatePullStreamConfigResponse, err error)
- func (c *Client) DeleteLiveCallbackRule(request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
- func (c *Client) DeleteLiveCallbackTemplate(request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
- func (c *Client) DeleteLiveCert(request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, err error)
- func (c *Client) DeleteLiveDomain(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) DeleteLiveRecordTemplate(request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
- func (c *Client) DeleteLiveSnapshotRule(request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
- func (c *Client) DeleteLiveSnapshotTemplate(request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
- func (c *Client) DeleteLiveTranscodeRule(request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
- func (c *Client) DeleteLiveTranscodeTemplate(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) DeletePullStreamConfig(request *DeletePullStreamConfigRequest) (response *DeletePullStreamConfigResponse, err error)
- func (c *Client) DescribeBillBandwidthAndFluxList(request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
- func (c *Client) DescribeGroupProIspPlayInfoList(request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
- func (c *Client) DescribeHttpStatusInfoList(request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
- func (c *Client) DescribeLiveCallbackRules(request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplate(request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
- func (c *Client) DescribeLiveCallbackTemplates(request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
- func (c *Client) DescribeLiveCert(request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
- func (c *Client) DescribeLiveCerts(request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
- func (c *Client) DescribeLiveDelayInfoList(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) DescribeLiveDomainPlayInfoList(request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, err error)
- func (c *Client) DescribeLiveDomains(request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
- func (c *Client) DescribeLiveForbidStreamList(request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
- func (c *Client) DescribeLivePlayAuthKey(request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
- func (c *Client) DescribeLivePushAuthKey(request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
- func (c *Client) DescribeLiveRecordRules(request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
- func (c *Client) DescribeLiveRecordTemplate(request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
- func (c *Client) DescribeLiveRecordTemplates(request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
- func (c *Client) DescribeLiveSnapshotRules(request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplate(request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
- func (c *Client) DescribeLiveSnapshotTemplates(request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeLiveStreamEventList(request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
- func (c *Client) DescribeLiveStreamOnlineInfo(request *DescribeLiveStreamOnlineInfoRequest) (response *DescribeLiveStreamOnlineInfoResponse, err error)
- func (c *Client) DescribeLiveStreamOnlineList(request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
- func (c *Client) DescribeLiveStreamPublishedList(request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
- func (c *Client) DescribeLiveStreamPushInfoList(request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
- func (c *Client) DescribeLiveStreamState(request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
- func (c *Client) DescribeLiveTranscodeDetailInfo(request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
- func (c *Client) DescribeLiveTranscodeRules(request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplate(request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
- func (c *Client) DescribeLiveTranscodeTemplates(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) DescribeLiveWatermarks(request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
- func (c *Client) DescribeLogDownloadList(request *DescribeLogDownloadListRequest) (response *DescribeLogDownloadListResponse, err error)
- func (c *Client) DescribePlayErrorCodeDetailInfoList(request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
- func (c *Client) DescribePlayErrorCodeSumInfoList(request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
- func (c *Client) DescribeProIspPlaySumInfoList(request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, err error)
- func (c *Client) DescribeProvinceIspPlayInfoList(request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
- func (c *Client) DescribePullStreamConfigs(request *DescribePullStreamConfigsRequest) (response *DescribePullStreamConfigsResponse, err error)
- func (c *Client) DescribeStreamDayPlayInfoList(request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamPlayInfoList(request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
- func (c *Client) DescribeStreamPushInfoList(request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
- func (c *Client) DescribeTopClientIpSumInfoList(request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
- func (c *Client) DescribeVisitTopSumInfoList(request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
- func (c *Client) DropLiveStream(request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
- func (c *Client) EnableLiveDomain(request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
- func (c *Client) ForbidLiveDomain(request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
- func (c *Client) ForbidLiveStream(request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
- func (c *Client) ModifyLiveCallbackTemplate(request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
- func (c *Client) ModifyLiveCert(request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
- func (c *Client) ModifyLiveDomainCert(request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, err error)
- func (c *Client) ModifyLivePlayAuthKey(request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
- func (c *Client) ModifyLivePlayDomain(request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
- func (c *Client) ModifyLivePushAuthKey(request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
- func (c *Client) ModifyLiveRecordTemplate(request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
- func (c *Client) ModifyLiveSnapshotTemplate(request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
- func (c *Client) ModifyLiveTranscodeTemplate(request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
- func (c *Client) ModifyPullStreamConfig(request *ModifyPullStreamConfigRequest) (response *ModifyPullStreamConfigResponse, err error)
- func (c *Client) ModifyPullStreamStatus(request *ModifyPullStreamStatusRequest) (response *ModifyPullStreamStatusResponse, err error)
- func (c *Client) ResumeDelayLiveStream(request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
- func (c *Client) ResumeLiveStream(request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
- func (c *Client) StopLiveRecord(request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
- func (c *Client) UnBindLiveDomainCert(request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
- func (c *Client) UpdateLiveWatermark(request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
- type ClientIpPlaySumInfo
- 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 CreatePullStreamConfigRequest
- type CreatePullStreamConfigResponse
- 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 DeletePullStreamConfigRequest
- type DeletePullStreamConfigResponse
- type DescribeBillBandwidthAndFluxListRequest
- type DescribeBillBandwidthAndFluxListResponse
- 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 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 DescribeLiveStreamOnlineInfoRequest
- type DescribeLiveStreamOnlineInfoResponse
- 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 DescribeLogDownloadListRequest
- type DescribeLogDownloadListResponse
- type DescribePlayErrorCodeDetailInfoListRequest
- type DescribePlayErrorCodeDetailInfoListResponse
- type DescribePlayErrorCodeSumInfoListRequest
- type DescribePlayErrorCodeSumInfoListResponse
- type DescribeProIspPlaySumInfoListRequest
- type DescribeProIspPlaySumInfoListResponse
- type DescribeProvinceIspPlayInfoListRequest
- type DescribeProvinceIspPlayInfoListResponse
- type DescribePullStreamConfigsRequest
- type DescribePullStreamConfigsResponse
- type DescribeStreamDayPlayInfoListRequest
- type DescribeStreamDayPlayInfoListResponse
- type DescribeStreamPlayInfoListRequest
- type DescribeStreamPlayInfoListResponse
- type DescribeStreamPushInfoListRequest
- type DescribeStreamPushInfoListResponse
- type DescribeTopClientIpSumInfoListRequest
- type DescribeTopClientIpSumInfoListResponse
- 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 LogInfo
- type ModifyLiveCallbackTemplateRequest
- type ModifyLiveCallbackTemplateResponse
- type ModifyLiveCertRequest
- type ModifyLiveCertResponse
- type ModifyLiveDomainCertRequest
- type ModifyLiveDomainCertResponse
- 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 ModifyPullStreamConfigRequest
- type ModifyPullStreamConfigResponse
- type ModifyPullStreamStatusRequest
- type ModifyPullStreamStatusResponse
- type PlayAuthKeyInfo
- type PlayCodeTotalInfo
- type PlayDataInfoByStream
- type PlayStatInfo
- type PlaySumStatInfo
- type ProIspPlayCodeDataInfo
- type ProIspPlaySumInfo
- type PublishTime
- type PullStreamConfig
- type PushAuthKeyInfo
- type PushDataInfo
- type PushQualityData
- type RecordParam
- type RecordTemplateInfo
- type ResumeDelayLiveStreamRequest
- type ResumeDelayLiveStreamResponse
- type ResumeLiveStreamRequest
- type ResumeLiveStreamResponse
- type RuleInfo
- type SnapshotTemplateInfo
- type StopLiveRecordRequest
- type StopLiveRecordResponse
- type StreamEventInfo
- type StreamInfo
- type StreamName
- type StreamOnlineInfo
- type TemplateInfo
- type TranscodeDetailInfo
- type UnBindLiveDomainCertRequest
- type UnBindLiveDomainCertResponse
- type UpdateLiveWatermarkRequest
- type UpdateLiveWatermarkResponse
- type WatermarkInfo
Constants ¶
const APIVersion = "2018-08-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDelayLiveStreamRequest ¶
type AddDelayLiveStreamRequest struct { *tchttp.BaseRequest // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 延播时间,单位:秒,上限:600秒。 DelayTime *uint64 `json:"DelayTime,omitempty" name:"DelayTime"` // 延播设置的过期时间。UTC 格式,例如:2018-11-29T19:00:00Z。 // 注意:默认7天后过期,且最长支持7天内生效。 ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
func NewAddDelayLiveStreamRequest ¶
func NewAddDelayLiveStreamRequest() (request *AddDelayLiveStreamRequest)
func (*AddDelayLiveStreamRequest) FromJsonString ¶
func (r *AddDelayLiveStreamRequest) FromJsonString(s string) error
func (*AddDelayLiveStreamRequest) ToJsonString ¶
func (r *AddDelayLiveStreamRequest) ToJsonString() string
type AddDelayLiveStreamResponse ¶
type AddDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*AddDelayLiveStreamResponse) ToJsonString ¶
func (r *AddDelayLiveStreamResponse) ToJsonString() string
type AddLiveDomainRequest ¶
type AddLiveDomainRequest struct { *tchttp.BaseRequest // 域名名称。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 域名类型, // 0:推流域名, // 1:播放域名。 DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // 拉流域名类型: // 1:国内, // 2:全球, // 3:境外。 // 默认值:1。 PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"` // 是否是慢直播: // 0: 普通直播, // 1 :慢直播 。 // 默认值: 0。 IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` }
func NewAddLiveDomainRequest ¶
func NewAddLiveDomainRequest() (request *AddLiveDomainRequest)
func (*AddLiveDomainRequest) FromJsonString ¶
func (r *AddLiveDomainRequest) FromJsonString(s string) error
func (*AddLiveDomainRequest) ToJsonString ¶
func (r *AddLiveDomainRequest) ToJsonString() string
type AddLiveDomainResponse ¶
type AddLiveDomainResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*AddLiveDomainResponse) ToJsonString ¶
func (r *AddLiveDomainResponse) ToJsonString() string
type AddLiveWatermarkRequest ¶
type AddLiveWatermarkRequest struct { *tchttp.BaseRequest // 水印图片url。 PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // 水印名称。 WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // 显示位置,X轴偏移。 XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // 显示位置,Y轴偏移。 YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。 Width *int64 `json:"Width,omitempty" name:"Width"` // 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。 Height *int64 `json:"Height,omitempty" name:"Height"` }
func NewAddLiveWatermarkRequest ¶
func NewAddLiveWatermarkRequest() (request *AddLiveWatermarkRequest)
func (*AddLiveWatermarkRequest) FromJsonString ¶
func (r *AddLiveWatermarkRequest) FromJsonString(s string) error
func (*AddLiveWatermarkRequest) ToJsonString ¶
func (r *AddLiveWatermarkRequest) ToJsonString() string
type AddLiveWatermarkResponse ¶
type AddLiveWatermarkResponse struct { *tchttp.BaseResponse Response *struct { // 水印ID。 WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*AddLiveWatermarkResponse) ToJsonString ¶
func (r *AddLiveWatermarkResponse) ToJsonString() string
type BillDataInfo ¶
type BillDataInfo struct { // 时间点,格式为yyyy-mm-dd HH:MM:SS。 Time *string `json:"Time,omitempty" name:"Time"` // 带宽,单位是Mbps。 Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 流量,单位是MB。 Flux *float64 `json:"Flux,omitempty" name:"Flux"` // 峰值时间点,格式为yyyy-mm-dd HH:MM:SS,原始数据为5分钟粒度,如果查询小时和天粒度数据,则返回对应粒度内的带宽峰值时间点。 PeakTime *string `json:"PeakTime,omitempty" name:"PeakTime"` }
type BindLiveDomainCertRequest ¶
type BindLiveDomainCertRequest struct { *tchttp.BaseRequest // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 状态,0: 关闭 1:打开。 Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewBindLiveDomainCertRequest ¶
func NewBindLiveDomainCertRequest() (request *BindLiveDomainCertRequest)
func (*BindLiveDomainCertRequest) FromJsonString ¶
func (r *BindLiveDomainCertRequest) FromJsonString(s string) error
func (*BindLiveDomainCertRequest) ToJsonString ¶
func (r *BindLiveDomainCertRequest) ToJsonString() string
type BindLiveDomainCertResponse ¶
type BindLiveDomainCertResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*BindLiveDomainCertResponse) ToJsonString ¶
func (r *BindLiveDomainCertResponse) ToJsonString() string
type CallBackRuleInfo ¶
type CallBackRuleInfo struct { // 规则创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 规则更新时间。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径。 AppName *string `json:"AppName,omitempty" name:"AppName"` }
type CallBackTemplateInfo ¶
type CallBackTemplateInfo struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 开播回调URL。 StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // 断流回调URL。 StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // 混流回调URL。 StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"` // 录制回调URL。 RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // 截图回调URL。 SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // 鉴黄回调URL。 PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // 回调的鉴权key CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` }
type CdnPlayStatData ¶
type CdnPlayStatData struct { // 时间点,格式为yyyy-mm-dd HH:MM:SS。 Time *string `json:"Time,omitempty" name:"Time"` // 带宽,(单位Mbps)。 Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 流量,(单位MB)。 Flux *float64 `json:"Flux,omitempty" name:"Flux"` // 新增请求数。 Request *uint64 `json:"Request,omitempty" name:"Request"` // 并发连接数。 Online *uint64 `json:"Online,omitempty" name:"Online"` }
type CertInfo ¶
type CertInfo struct { // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` // 证书名称。 CertName *string `json:"CertName,omitempty" name:"CertName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 创建时间,UTC格式。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 证书内容。 HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // 证书类型。 // 0:腾讯云托管证书 // 1:用户添加证书。 CertType *int64 `json:"CertType,omitempty" name:"CertType"` // 证书过期时间,UTC格式。 CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` // 使用此证书的域名列表。 DomainList []*string `json:"DomainList,omitempty" name:"DomainList" list` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, 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)
对流设置延播时间 注意:如果在推流前设置延播,需要提前5分钟设置。 目前该接口只支持流粒度的,域名及应用粒度功能支持当前开发中。
func (*Client) AddLiveDomain ¶
func (c *Client) AddLiveDomain(request *AddLiveDomainRequest) (response *AddLiveDomainResponse, err error)
添加域名,一次只能提交一个域名。域名必须已备案。
func (*Client) AddLiveWatermark ¶
func (c *Client) AddLiveWatermark(request *AddLiveWatermarkRequest) (response *AddLiveWatermarkResponse, err error)
添加水印,成功返回水印id后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印id绑定到流使用。
func (*Client) BindLiveDomainCert ¶
func (c *Client) BindLiveDomainCert(request *BindLiveDomainCertRequest) (response *BindLiveDomainCertResponse, err error)
域名绑定证书
func (*Client) CreateLiveCallbackRule ¶
func (c *Client) CreateLiveCallbackRule(request *CreateLiveCallbackRuleRequest) (response *CreateLiveCallbackRuleResponse, err error)
创建回调规则,需要先调用[CreateLiveCallbackTemplate](/document/product/267/32637)接口创建回调模板,将返回的模板id绑定到域名/路径进行使用。 <br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
func (*Client) CreateLiveCallbackTemplate ¶
func (c *Client) CreateLiveCallbackTemplate(request *CreateLiveCallbackTemplateRequest) (response *CreateLiveCallbackTemplateResponse, err error)
创建回调模板,成功返回模板id后,需要调用[CreateLiveCallbackRule](/document/product/267/32638)接口将模板id绑定到域名/路径使用。 <br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
func (*Client) CreateLiveCert ¶
func (c *Client) CreateLiveCert(request *CreateLiveCertRequest) (response *CreateLiveCertResponse, err error)
添加证书
func (*Client) CreateLiveRecord ¶
func (c *Client) CreateLiveRecord(request *CreateLiveRecordRequest) (response *CreateLiveRecordResponse, err error)
- 使用前提
- 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
- 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2838)。
- 模式说明 该接口支持两种录制模式: 1. 定时录制模式【默认模式】。 需要传入开始时间与结束时间,录制任务根据时间自动开始与结束。 2. 实时视频录制模式。 忽略传入的开始时间,在录制任务创建后立即开始录制,录制时长支持最大为30分钟,如果传入的结束时间与当前时间差大于30分钟,则按30分钟计算,实时视频录制主要用于录制精彩视频场景,时长建议控制在5分钟以内。
- 注意事项
- 调用接口超时设置应大于3秒,小于3秒重试以及频繁调用都有可能产生重复录制任务。
- 受限于音视频文件格式(FLV/MP4/HLS)对编码类型的支持,视频编码类型支持 H.264,音频编码类型支持 AAC。
func (*Client) CreateLiveRecordRule ¶
func (c *Client) CreateLiveRecordRule(request *CreateLiveRecordRuleRequest) (response *CreateLiveRecordRuleResponse, err error)
创建录制规则,需要先调用[CreateLiveRecordTemplate](/document/product/267/32614)接口创建录制模板,将返回的模板id绑定到流使用。 <br>录制相关文档:[直播录制](/document/product/267/32739)。
func (*Client) CreateLiveRecordTemplate ¶
func (c *Client) CreateLiveRecordTemplate(request *CreateLiveRecordTemplateRequest) (response *CreateLiveRecordTemplateResponse, err error)
创建录制模板,成功返回模板id后,需要调用[CreateLiveRecordRule](/document/product/267/32615)接口,将模板id绑定到流进行使用。 <br>录制相关文档:[直播录制](/document/product/267/32739)。
func (*Client) CreateLiveSnapshotRule ¶
func (c *Client) CreateLiveSnapshotRule(request *CreateLiveSnapshotRuleRequest) (response *CreateLiveSnapshotRuleResponse, err error)
创建截图规则,需要先调用[CreateLiveSnapshotTemplate](/document/product/267/32624)接口创建截图模板,然后将返回的模板id绑定到流进行使用。 <br>截图相关文档:[直播截图](/document/product/267/32737)。
func (*Client) CreateLiveSnapshotTemplate ¶
func (c *Client) CreateLiveSnapshotTemplate(request *CreateLiveSnapshotTemplateRequest) (response *CreateLiveSnapshotTemplateResponse, err error)
创建截图模板,成功返回模板id后,需要调用[CreateLiveSnapshotRule](/document/product/267/32625)接口,将模板id绑定到流使用。 <br>截图相关文档:[直播截图](/document/product/267/32737)。
func (*Client) CreateLiveTranscodeRule ¶
func (c *Client) CreateLiveTranscodeRule(request *CreateLiveTranscodeRuleRequest) (response *CreateLiveTranscodeRuleResponse, err error)
创建转码规则,需要先调用[CreateLiveTranscodeTemplate](/document/product/267/32646)接口创建转码模板,将返回的模板id绑定到流使用。 <br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
func (*Client) CreateLiveTranscodeTemplate ¶
func (c *Client) CreateLiveTranscodeTemplate(request *CreateLiveTranscodeTemplateRequest) (response *CreateLiveTranscodeTemplateResponse, err error)
创建转码模板,成功返回模板id后,需要调用[CreateLiveTranscodeRule](/document/product/267/32647)接口,将返回的模板id绑定到流使用。 <br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
func (*Client) CreateLiveWatermarkRule ¶
func (c *Client) CreateLiveWatermarkRule(request *CreateLiveWatermarkRuleRequest) (response *CreateLiveWatermarkRuleResponse, err error)
创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
func (*Client) CreatePullStreamConfig ¶
func (c *Client) CreatePullStreamConfig(request *CreatePullStreamConfigRequest) (response *CreatePullStreamConfigResponse, err error)
创建临时拉流转推任务,目前限制添加10条任务。
注意:该接口用于创建临时拉流转推任务, 拉流源地址即FromUrl 可以是腾讯或非腾讯数据源, 但转推目标地址即ToUrl 目前限制为已注册的腾讯直播域名。
func (*Client) DeleteLiveCallbackRule ¶
func (c *Client) DeleteLiveCallbackRule(request *DeleteLiveCallbackRuleRequest) (response *DeleteLiveCallbackRuleResponse, err error)
删除回调规则
func (*Client) DeleteLiveCallbackTemplate ¶
func (c *Client) DeleteLiveCallbackTemplate(request *DeleteLiveCallbackTemplateRequest) (response *DeleteLiveCallbackTemplateResponse, err error)
删除回调模板
func (*Client) DeleteLiveCert ¶
func (c *Client) DeleteLiveCert(request *DeleteLiveCertRequest) (response *DeleteLiveCertResponse, err error)
删除域名对应的证书
func (*Client) DeleteLiveDomain ¶
func (c *Client) DeleteLiveDomain(request *DeleteLiveDomainRequest) (response *DeleteLiveDomainResponse, err error)
删除已添加的直播域名
func (*Client) DeleteLiveRecord ¶
func (c *Client) DeleteLiveRecord(request *DeleteLiveRecordRequest) (response *DeleteLiveRecordResponse, err error)
用于删除录制任务。
func (*Client) DeleteLiveRecordRule ¶
func (c *Client) DeleteLiveRecordRule(request *DeleteLiveRecordRuleRequest) (response *DeleteLiveRecordRuleResponse, err error)
删除录制规则
func (*Client) DeleteLiveRecordTemplate ¶
func (c *Client) DeleteLiveRecordTemplate(request *DeleteLiveRecordTemplateRequest) (response *DeleteLiveRecordTemplateResponse, err error)
删除录制模板
func (*Client) DeleteLiveSnapshotRule ¶
func (c *Client) DeleteLiveSnapshotRule(request *DeleteLiveSnapshotRuleRequest) (response *DeleteLiveSnapshotRuleResponse, err error)
删除截图规则
func (*Client) DeleteLiveSnapshotTemplate ¶
func (c *Client) DeleteLiveSnapshotTemplate(request *DeleteLiveSnapshotTemplateRequest) (response *DeleteLiveSnapshotTemplateResponse, err error)
删除截图模板
func (*Client) DeleteLiveTranscodeRule ¶
func (c *Client) DeleteLiveTranscodeRule(request *DeleteLiveTranscodeRuleRequest) (response *DeleteLiveTranscodeRuleResponse, err error)
删除转码规则
func (*Client) DeleteLiveTranscodeTemplate ¶
func (c *Client) DeleteLiveTranscodeTemplate(request *DeleteLiveTranscodeTemplateRequest) (response *DeleteLiveTranscodeTemplateResponse, err error)
删除转码模板
func (*Client) DeleteLiveWatermark ¶
func (c *Client) DeleteLiveWatermark(request *DeleteLiveWatermarkRequest) (response *DeleteLiveWatermarkResponse, err error)
删除水印
func (*Client) DeleteLiveWatermarkRule ¶
func (c *Client) DeleteLiveWatermarkRule(request *DeleteLiveWatermarkRuleRequest) (response *DeleteLiveWatermarkRuleResponse, err error)
删除水印规则
func (*Client) DeletePullStreamConfig ¶
func (c *Client) DeletePullStreamConfig(request *DeletePullStreamConfigRequest) (response *DeletePullStreamConfigResponse, err error)
删除直播拉流配置
func (*Client) DescribeBillBandwidthAndFluxList ¶
func (c *Client) DescribeBillBandwidthAndFluxList(request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)
直播计费带宽和流量数据查询。
func (*Client) DescribeGroupProIspPlayInfoList ¶
func (c *Client) DescribeGroupProIspPlayInfoList(request *DescribeGroupProIspPlayInfoListRequest) (response *DescribeGroupProIspPlayInfoListResponse, err error)
查询按省份和运营商分组的下行播放数据。
func (*Client) DescribeHttpStatusInfoList ¶
func (c *Client) DescribeHttpStatusInfoList(request *DescribeHttpStatusInfoListRequest) (response *DescribeHttpStatusInfoListResponse, err error)
查询某段时间内5分钟粒度的各播放http状态码的个数。 备注:数据延迟1小时,如10:00-10:59点的数据12点才能查到。
func (*Client) DescribeLiveCallbackRules ¶
func (c *Client) DescribeLiveCallbackRules(request *DescribeLiveCallbackRulesRequest) (response *DescribeLiveCallbackRulesResponse, err error)
获取回调规则列表
func (*Client) DescribeLiveCallbackTemplate ¶
func (c *Client) DescribeLiveCallbackTemplate(request *DescribeLiveCallbackTemplateRequest) (response *DescribeLiveCallbackTemplateResponse, err error)
获取单个回调模板
func (*Client) DescribeLiveCallbackTemplates ¶
func (c *Client) DescribeLiveCallbackTemplates(request *DescribeLiveCallbackTemplatesRequest) (response *DescribeLiveCallbackTemplatesResponse, err error)
获取回调模板列表
func (*Client) DescribeLiveCert ¶
func (c *Client) DescribeLiveCert(request *DescribeLiveCertRequest) (response *DescribeLiveCertResponse, err error)
获取证书信息
func (*Client) DescribeLiveCerts ¶
func (c *Client) DescribeLiveCerts(request *DescribeLiveCertsRequest) (response *DescribeLiveCertsResponse, err error)
获取证书信息列表
func (*Client) DescribeLiveDelayInfoList ¶
func (c *Client) DescribeLiveDelayInfoList(request *DescribeLiveDelayInfoListRequest) (response *DescribeLiveDelayInfoListResponse, err error)
获取直播延播列表。
func (*Client) DescribeLiveDomain ¶
func (c *Client) DescribeLiveDomain(request *DescribeLiveDomainRequest) (response *DescribeLiveDomainResponse, err error)
查询直播域名信息。
func (*Client) DescribeLiveDomainCert ¶
func (c *Client) DescribeLiveDomainCert(request *DescribeLiveDomainCertRequest) (response *DescribeLiveDomainCertResponse, err error)
获取域名证书信息
func (*Client) DescribeLiveDomainPlayInfoList ¶
func (c *Client) DescribeLiveDomainPlayInfoList(request *DescribeLiveDomainPlayInfoListRequest) (response *DescribeLiveDomainPlayInfoListResponse, err error)
查询实时的域名维度下行播放数据。
func (*Client) DescribeLiveDomains ¶
func (c *Client) DescribeLiveDomains(request *DescribeLiveDomainsRequest) (response *DescribeLiveDomainsResponse, err error)
根据域名状态、类型等信息查询用户的域名信息
func (*Client) DescribeLiveForbidStreamList ¶
func (c *Client) DescribeLiveForbidStreamList(request *DescribeLiveForbidStreamListRequest) (response *DescribeLiveForbidStreamListResponse, err error)
获取禁推流列表
func (*Client) DescribeLivePlayAuthKey ¶
func (c *Client) DescribeLivePlayAuthKey(request *DescribeLivePlayAuthKeyRequest) (response *DescribeLivePlayAuthKeyResponse, err error)
查询播放鉴权key。
func (*Client) DescribeLivePushAuthKey ¶
func (c *Client) DescribeLivePushAuthKey(request *DescribeLivePushAuthKeyRequest) (response *DescribeLivePushAuthKeyResponse, err error)
查询直播推流鉴权key
func (*Client) DescribeLiveRecordRules ¶
func (c *Client) DescribeLiveRecordRules(request *DescribeLiveRecordRulesRequest) (response *DescribeLiveRecordRulesResponse, err error)
获取录制规则列表
func (*Client) DescribeLiveRecordTemplate ¶
func (c *Client) DescribeLiveRecordTemplate(request *DescribeLiveRecordTemplateRequest) (response *DescribeLiveRecordTemplateResponse, err error)
获取单个录制模板
func (*Client) DescribeLiveRecordTemplates ¶
func (c *Client) DescribeLiveRecordTemplates(request *DescribeLiveRecordTemplatesRequest) (response *DescribeLiveRecordTemplatesResponse, err error)
获取录制模板列表
func (*Client) DescribeLiveSnapshotRules ¶
func (c *Client) DescribeLiveSnapshotRules(request *DescribeLiveSnapshotRulesRequest) (response *DescribeLiveSnapshotRulesResponse, err error)
获取截图规则列表
func (*Client) DescribeLiveSnapshotTemplate ¶
func (c *Client) DescribeLiveSnapshotTemplate(request *DescribeLiveSnapshotTemplateRequest) (response *DescribeLiveSnapshotTemplateResponse, err error)
获取单个截图模板
func (*Client) DescribeLiveSnapshotTemplates ¶
func (c *Client) DescribeLiveSnapshotTemplates(request *DescribeLiveSnapshotTemplatesRequest) (response *DescribeLiveSnapshotTemplatesResponse, err error)
获取截图模板列表
func (*Client) DescribeLiveStreamEventList ¶
func (c *Client) DescribeLiveStreamEventList(request *DescribeLiveStreamEventListRequest) (response *DescribeLiveStreamEventListResponse, err error)
用于查询推断流事件。<br>
注意:该接口可通过使用IsFilter进行过滤,返回推流历史记录。
func (*Client) DescribeLiveStreamOnlineInfo ¶
func (c *Client) DescribeLiveStreamOnlineInfo(request *DescribeLiveStreamOnlineInfoRequest) (response *DescribeLiveStreamOnlineInfoResponse, err error)
查询在线推流信息列表
func (*Client) DescribeLiveStreamOnlineList ¶
func (c *Client) DescribeLiveStreamOnlineList(request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)
返回正在直播中的流列表
func (*Client) DescribeLiveStreamPublishedList ¶
func (c *Client) DescribeLiveStreamPublishedList(request *DescribeLiveStreamPublishedListRequest) (response *DescribeLiveStreamPublishedListResponse, err error)
返回已经推过流的流列表。<br> 注意:分页最多支持查询1万条记录,可通过调整查询时间范围来获取更多数据。
func (*Client) DescribeLiveStreamPushInfoList ¶
func (c *Client) DescribeLiveStreamPushInfoList(request *DescribeLiveStreamPushInfoListRequest) (response *DescribeLiveStreamPushInfoListResponse, err error)
查询所有实时流的推流信息,包括客户端IP,服务端IP,帧率,码率,域名,开始推流时间。
func (*Client) DescribeLiveStreamState ¶
func (c *Client) DescribeLiveStreamState(request *DescribeLiveStreamStateRequest) (response *DescribeLiveStreamStateResponse, err error)
返回直播中、无推流或者禁播等状态
func (*Client) DescribeLiveTranscodeDetailInfo ¶
func (c *Client) DescribeLiveTranscodeDetailInfo(request *DescribeLiveTranscodeDetailInfoRequest) (response *DescribeLiveTranscodeDetailInfoResponse, err error)
支持查询某天的转码详细信息。 注意:当前只支持查询近30天内某天的详细数据。
func (*Client) DescribeLiveTranscodeRules ¶
func (c *Client) DescribeLiveTranscodeRules(request *DescribeLiveTranscodeRulesRequest) (response *DescribeLiveTranscodeRulesResponse, err error)
获取转码规则列表
func (*Client) DescribeLiveTranscodeTemplate ¶
func (c *Client) DescribeLiveTranscodeTemplate(request *DescribeLiveTranscodeTemplateRequest) (response *DescribeLiveTranscodeTemplateResponse, err error)
获取单个转码模板
func (*Client) DescribeLiveTranscodeTemplates ¶
func (c *Client) DescribeLiveTranscodeTemplates(request *DescribeLiveTranscodeTemplatesRequest) (response *DescribeLiveTranscodeTemplatesResponse, err error)
获取转码模板列表
func (*Client) DescribeLiveWatermark ¶
func (c *Client) DescribeLiveWatermark(request *DescribeLiveWatermarkRequest) (response *DescribeLiveWatermarkResponse, err error)
获取单个水印信息
func (*Client) DescribeLiveWatermarkRules ¶
func (c *Client) DescribeLiveWatermarkRules(request *DescribeLiveWatermarkRulesRequest) (response *DescribeLiveWatermarkRulesResponse, err error)
获取水印规则列表
func (*Client) DescribeLiveWatermarks ¶
func (c *Client) DescribeLiveWatermarks(request *DescribeLiveWatermarksRequest) (response *DescribeLiveWatermarksResponse, err error)
查询水印列表
func (*Client) DescribeLogDownloadList ¶
func (c *Client) DescribeLogDownloadList(request *DescribeLogDownloadListRequest) (response *DescribeLogDownloadListResponse, err error)
批量获取日志URL。
func (*Client) DescribePlayErrorCodeDetailInfoList ¶
func (c *Client) DescribePlayErrorCodeDetailInfoList(request *DescribePlayErrorCodeDetailInfoListRequest) (response *DescribePlayErrorCodeDetailInfoListResponse, err error)
查询下行播放错误码信息,某段时间内1分钟粒度的各http错误码出现的次数,包括4xx,5xx。
func (*Client) DescribePlayErrorCodeSumInfoList ¶
func (c *Client) DescribePlayErrorCodeSumInfoList(request *DescribePlayErrorCodeSumInfoListRequest) (response *DescribePlayErrorCodeSumInfoListResponse, err error)
查询下行播放错误码信息。
func (*Client) DescribeProIspPlaySumInfoList ¶
func (c *Client) DescribeProIspPlaySumInfoList(request *DescribeProIspPlaySumInfoListRequest) (response *DescribeProIspPlaySumInfoListResponse, err error)
查询某段时间内每个省份每个运营商的平均每秒流量,总流量,总请求数信息。
func (*Client) DescribeProvinceIspPlayInfoList ¶
func (c *Client) DescribeProvinceIspPlayInfoList(request *DescribeProvinceIspPlayInfoListRequest) (response *DescribeProvinceIspPlayInfoListResponse, err error)
查询某省份某运营商下行播放数据,包括带宽,流量,请求数,并发连接数信息。
func (*Client) DescribePullStreamConfigs ¶
func (c *Client) DescribePullStreamConfigs(request *DescribePullStreamConfigsRequest) (response *DescribePullStreamConfigsResponse, err error)
查询拉流配置
func (*Client) DescribeStreamDayPlayInfoList ¶
func (c *Client) DescribeStreamDayPlayInfoList(request *DescribeStreamDayPlayInfoListRequest) (response *DescribeStreamDayPlayInfoListResponse, err error)
查询天维度每条流的播放数据,包括总流量等。
func (*Client) DescribeStreamPlayInfoList ¶
func (c *Client) DescribeStreamPlayInfoList(request *DescribeStreamPlayInfoListRequest) (response *DescribeStreamPlayInfoListResponse, err error)
查询播放数据,支持按流名称查询详细播放数据,也可按播放域名查询详细总数据。 注意:按AppName查询,需要联系客服同学提单支持。
func (*Client) DescribeStreamPushInfoList ¶
func (c *Client) DescribeStreamPushInfoList(request *DescribeStreamPushInfoListRequest) (response *DescribeStreamPushInfoListResponse, err error)
查询流id的上行推流质量数据,包括音视频的帧率,码率,流逝时间,编码格式等。
func (*Client) DescribeTopClientIpSumInfoList ¶
func (c *Client) DescribeTopClientIpSumInfoList(request *DescribeTopClientIpSumInfoListRequest) (response *DescribeTopClientIpSumInfoListResponse, err error)
查询某段时间top n客户端ip汇总信息(暂支持top 1000)
func (*Client) DescribeVisitTopSumInfoList ¶
func (c *Client) DescribeVisitTopSumInfoList(request *DescribeVisitTopSumInfoListRequest) (response *DescribeVisitTopSumInfoListResponse, err error)
查询某时间段top n的域名或流id信息(暂支持top 1000)。
func (*Client) DropLiveStream ¶
func (c *Client) DropLiveStream(request *DropLiveStreamRequest) (response *DropLiveStreamResponse, err error)
断开推流连接,但可以重新推流
func (*Client) EnableLiveDomain ¶
func (c *Client) EnableLiveDomain(request *EnableLiveDomainRequest) (response *EnableLiveDomainResponse, err error)
启用状态为停用的直播域名
func (*Client) ForbidLiveDomain ¶
func (c *Client) ForbidLiveDomain(request *ForbidLiveDomainRequest) (response *ForbidLiveDomainResponse, err error)
停止使用某个直播域名。
func (*Client) ForbidLiveStream ¶
func (c *Client) ForbidLiveStream(request *ForbidLiveStreamRequest) (response *ForbidLiveStreamResponse, err error)
禁止某条流的推送,可以预设某个时刻将流恢复。
func (*Client) ModifyLiveCallbackTemplate ¶
func (c *Client) ModifyLiveCallbackTemplate(request *ModifyLiveCallbackTemplateRequest) (response *ModifyLiveCallbackTemplateResponse, err error)
修改回调模板
func (*Client) ModifyLiveCert ¶
func (c *Client) ModifyLiveCert(request *ModifyLiveCertRequest) (response *ModifyLiveCertResponse, err error)
修改证书
func (*Client) ModifyLiveDomainCert ¶
func (c *Client) ModifyLiveDomainCert(request *ModifyLiveDomainCertRequest) (response *ModifyLiveDomainCertResponse, err error)
修改域名和证书绑定信息
func (*Client) ModifyLivePlayAuthKey ¶
func (c *Client) ModifyLivePlayAuthKey(request *ModifyLivePlayAuthKeyRequest) (response *ModifyLivePlayAuthKeyResponse, err error)
修改播放鉴权key
func (*Client) ModifyLivePlayDomain ¶
func (c *Client) ModifyLivePlayDomain(request *ModifyLivePlayDomainRequest) (response *ModifyLivePlayDomainResponse, err error)
修改播放域名信息
func (*Client) ModifyLivePushAuthKey ¶
func (c *Client) ModifyLivePushAuthKey(request *ModifyLivePushAuthKeyRequest) (response *ModifyLivePushAuthKeyResponse, err error)
修改直播推流鉴权key
func (*Client) ModifyLiveRecordTemplate ¶
func (c *Client) ModifyLiveRecordTemplate(request *ModifyLiveRecordTemplateRequest) (response *ModifyLiveRecordTemplateResponse, err error)
修改录制模板配置
func (*Client) ModifyLiveSnapshotTemplate ¶
func (c *Client) ModifyLiveSnapshotTemplate(request *ModifyLiveSnapshotTemplateRequest) (response *ModifyLiveSnapshotTemplateResponse, err error)
修改截图模板配置
func (*Client) ModifyLiveTranscodeTemplate ¶
func (c *Client) ModifyLiveTranscodeTemplate(request *ModifyLiveTranscodeTemplateRequest) (response *ModifyLiveTranscodeTemplateResponse, err error)
修改转码模板配置
func (*Client) ModifyPullStreamConfig ¶
func (c *Client) ModifyPullStreamConfig(request *ModifyPullStreamConfigRequest) (response *ModifyPullStreamConfigResponse, err error)
更新拉流配置
func (*Client) ModifyPullStreamStatus ¶
func (c *Client) ModifyPullStreamStatus(request *ModifyPullStreamStatusRequest) (response *ModifyPullStreamStatusResponse, err error)
修改直播拉流配置状态
func (*Client) ResumeDelayLiveStream ¶
func (c *Client) ResumeDelayLiveStream(request *ResumeDelayLiveStreamRequest) (response *ResumeDelayLiveStreamResponse, err error)
恢复延迟播放设置
func (*Client) ResumeLiveStream ¶
func (c *Client) ResumeLiveStream(request *ResumeLiveStreamRequest) (response *ResumeLiveStreamResponse, err error)
恢复某条流的推送。
func (*Client) StopLiveRecord ¶
func (c *Client) StopLiveRecord(request *StopLiveRecordRequest) (response *StopLiveRecordResponse, err error)
说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
func (*Client) UnBindLiveDomainCert ¶
func (c *Client) UnBindLiveDomainCert(request *UnBindLiveDomainCertRequest) (response *UnBindLiveDomainCertResponse, err error)
解绑域名证书
func (*Client) UpdateLiveWatermark ¶
func (c *Client) UpdateLiveWatermark(request *UpdateLiveWatermarkRequest) (response *UpdateLiveWatermarkResponse, err error)
更新水印
type ClientIpPlaySumInfo ¶
type ClientIpPlaySumInfo struct { // 客户端ip,点分型。 ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 客户端所在省份。 Province *string `json:"Province,omitempty" name:"Province"` // 总流量。 TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // 总请求数。 TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // 总失败请求数。 TotalFailedRequest *uint64 `json:"TotalFailedRequest,omitempty" name:"TotalFailedRequest"` }
type CreateLiveCallbackRuleRequest ¶
type CreateLiveCallbackRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 模板ID。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveCallbackRuleRequest ¶
func NewCreateLiveCallbackRuleRequest() (request *CreateLiveCallbackRuleRequest)
func (*CreateLiveCallbackRuleRequest) FromJsonString ¶
func (r *CreateLiveCallbackRuleRequest) FromJsonString(s string) error
func (*CreateLiveCallbackRuleRequest) ToJsonString ¶
func (r *CreateLiveCallbackRuleRequest) ToJsonString() string
type CreateLiveCallbackRuleResponse ¶
type CreateLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveCallbackRuleResponse) ToJsonString ¶
func (r *CreateLiveCallbackRuleResponse) ToJsonString() string
type CreateLiveCallbackTemplateRequest ¶
type CreateLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // 模板名称,非空的字符串。 // 长度上限:255字节。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 // 长度上限:1024字节。 Description *string `json:"Description,omitempty" name:"Description"` // 开播回调URL, // 相关协议文档:[事件消息通知](/document/product/267/32744)。 StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // 断流回调URL, // 相关协议文档:[事件消息通知](/document/product/267/32744)。 StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // 录制回调URL, // 相关协议文档:[事件消息通知](/document/product/267/32744)。 RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // 截图回调URL, // 相关协议文档:[事件消息通知](/document/product/267/32744)。 SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // 鉴黄回调URL, // 相关协议文档:[事件消息通知](/document/product/267/32741)。 PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // 回调key,回调URL公用,鉴权回调说明详见回调格式文档 CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` }
func NewCreateLiveCallbackTemplateRequest ¶
func NewCreateLiveCallbackTemplateRequest() (request *CreateLiveCallbackTemplateRequest)
func (*CreateLiveCallbackTemplateRequest) FromJsonString ¶
func (r *CreateLiveCallbackTemplateRequest) FromJsonString(s string) error
func (*CreateLiveCallbackTemplateRequest) ToJsonString ¶
func (r *CreateLiveCallbackTemplateRequest) ToJsonString() string
type CreateLiveCallbackTemplateResponse ¶
type CreateLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 模板ID。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveCallbackTemplateResponse) ToJsonString ¶
func (r *CreateLiveCallbackTemplateResponse) ToJsonString() string
type CreateLiveCertRequest ¶
type CreateLiveCertRequest struct { *tchttp.BaseRequest // 证书类型。0-用户添加证书;1-腾讯云托管证书。 CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // 证书内容,即公钥。 HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // 私钥。 HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"` // 证书名称。 CertName *string `json:"CertName,omitempty" name:"CertName"` // 描述。 Description *string `json:"Description,omitempty" name:"Description"` }
func NewCreateLiveCertRequest ¶
func NewCreateLiveCertRequest() (request *CreateLiveCertRequest)
func (*CreateLiveCertRequest) FromJsonString ¶
func (r *CreateLiveCertRequest) FromJsonString(s string) error
func (*CreateLiveCertRequest) ToJsonString ¶
func (r *CreateLiveCertRequest) ToJsonString() string
type CreateLiveCertResponse ¶
type CreateLiveCertResponse struct { *tchttp.BaseResponse Response *struct { // 证书ID CertId *int64 `json:"CertId,omitempty" name:"CertId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveCertResponse) ToJsonString ¶
func (r *CreateLiveCertResponse) ToJsonString() string
type CreateLiveRecordRequest ¶
type CreateLiveRecordRequest struct { *tchttp.BaseRequest // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。多域名推流必须设置。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 录制开始时间。中国标准时间,需要URLEncode(rfc3986)。如 2017-01-01 10:10:01,编码为:2017-01-01+10%3a10%3a01。 // 定时录制模式,必须设置该字段;实时视频录制模式,忽略该字段。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 录制结束时间。中国标准时间,需要URLEncode(rfc3986)。如 2017-01-01 10:30:01,编码为:2017-01-01+10%3a30%3a01。 // 定时录制模式,必须设置该字段;实时录制模式,为可选字段。如果通过Highlight参数,设置录制为实时视频录制模式,其设置的结束时间不应超过当前时间+30分钟,如果设置的结束时间超过当前时间+30分钟或者小于当前时间或者不设置该参数,则实际结束时间为当前时间+30分钟。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 录制类型。 // “video” : 音视频录制【默认】。 // “audio” : 纯音频录制。 // 在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。 RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // 录制文件格式。其值为: // “flv”【默认】,“hls”,”mp4”,“aac”,”mp3”。 // 在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。 FileFormat *string `json:"FileFormat,omitempty" name:"FileFormat"` // 开启实时视频录制模式标志。 // 0:不开启实时视频录制模式,即定时录制模式【默认】。见[示例一](#.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:开启实时视频录制模式。见[示例二](#.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"` // 开启A+B=C混流C流录制标志。 // 0:不开启A+B=C混流C流录制【默认】。 // 1:开启A+B=C混流C流录制。 // 在定时录制模式或实时视频录制模式下,该参数均有效。 MixStream *int64 `json:"MixStream,omitempty" name:"MixStream"` // 录制流参数。当前支持以下参数: // record_interval - 录制分片时长,单位 秒,1800 - 7200 // storage_time - 录制文件存储时长,单位 秒 // eg. record_interval=3600&storage_time=2592000 // 注:参数需要url encode。 // 在定时录制模式或实时视频录制模式下,该参数均有效。 StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"` }
func NewCreateLiveRecordRequest ¶
func NewCreateLiveRecordRequest() (request *CreateLiveRecordRequest)
func (*CreateLiveRecordRequest) FromJsonString ¶
func (r *CreateLiveRecordRequest) FromJsonString(s string) error
func (*CreateLiveRecordRequest) ToJsonString ¶
func (r *CreateLiveRecordRequest) ToJsonString() string
type CreateLiveRecordResponse ¶
type CreateLiveRecordResponse struct { *tchttp.BaseResponse Response *struct { // 任务ID,全局唯一标识录制任务。 TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveRecordResponse) ToJsonString ¶
func (r *CreateLiveRecordResponse) ToJsonString() string
type CreateLiveRecordRuleRequest ¶
type CreateLiveRecordRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 // 注:如果本参数设置为非空字符串,规则将只对此推流起作用。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewCreateLiveRecordRuleRequest ¶
func NewCreateLiveRecordRuleRequest() (request *CreateLiveRecordRuleRequest)
func (*CreateLiveRecordRuleRequest) FromJsonString ¶
func (r *CreateLiveRecordRuleRequest) FromJsonString(s string) error
func (*CreateLiveRecordRuleRequest) ToJsonString ¶
func (r *CreateLiveRecordRuleRequest) ToJsonString() string
type CreateLiveRecordRuleResponse ¶
type CreateLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveRecordRuleResponse) ToJsonString ¶
func (r *CreateLiveRecordRuleResponse) ToJsonString() string
type CreateLiveRecordTemplateRequest ¶
type CreateLiveRecordTemplateRequest struct { *tchttp.BaseRequest // 模板名。非空的字符串 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // Flv录制参数,开启Flv录制时设置。 FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // Hls录制参数,开启hls录制时设置。 HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // Mp4录制参数,开启Mp4录制时设置。 Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // Aac录制参数,开启Aac录制时设置。 AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // 0:普通直播, // 1:慢直播。 IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // HLS专属录制参数。 HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // Mp3录制参数,开启Mp3录制时设置。 Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` }
func NewCreateLiveRecordTemplateRequest ¶
func NewCreateLiveRecordTemplateRequest() (request *CreateLiveRecordTemplateRequest)
func (*CreateLiveRecordTemplateRequest) FromJsonString ¶
func (r *CreateLiveRecordTemplateRequest) FromJsonString(s string) error
func (*CreateLiveRecordTemplateRequest) ToJsonString ¶
func (r *CreateLiveRecordTemplateRequest) ToJsonString() string
type CreateLiveRecordTemplateResponse ¶
type CreateLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveRecordTemplateResponse) ToJsonString ¶
func (r *CreateLiveRecordTemplateResponse) ToJsonString() string
type CreateLiveSnapshotRuleRequest ¶
type CreateLiveSnapshotRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 // 注:如果本参数设置为非空字符串,规则将只对此推流起作用。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewCreateLiveSnapshotRuleRequest ¶
func NewCreateLiveSnapshotRuleRequest() (request *CreateLiveSnapshotRuleRequest)
func (*CreateLiveSnapshotRuleRequest) FromJsonString ¶
func (r *CreateLiveSnapshotRuleRequest) FromJsonString(s string) error
func (*CreateLiveSnapshotRuleRequest) ToJsonString ¶
func (r *CreateLiveSnapshotRuleRequest) ToJsonString() string
type CreateLiveSnapshotRuleResponse ¶
type CreateLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveSnapshotRuleResponse) ToJsonString ¶
func (r *CreateLiveSnapshotRuleResponse) ToJsonString() string
type CreateLiveSnapshotTemplateRequest ¶
type CreateLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // 模板名称,非空的字符串。 // 长度上限:255字节。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Cos AppId。 CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // Cos Bucket名称。 CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // Cos地区。 CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // 描述信息。 // 长度上限:1024字节。 Description *string `json:"Description,omitempty" name:"Description"` // 截图间隔,单位s,默认10s。 // 范围: 5s ~ 600s。 SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // 截图宽度。默认:0(原始宽)。 Width *int64 `json:"Width,omitempty" name:"Width"` // 截图高度。默认:0(原始高)。 Height *int64 `json:"Height,omitempty" name:"Height"` // 是否开启鉴黄,0:不开启,1:开启。默认:0。 PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` }
func NewCreateLiveSnapshotTemplateRequest ¶
func NewCreateLiveSnapshotTemplateRequest() (request *CreateLiveSnapshotTemplateRequest)
func (*CreateLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *CreateLiveSnapshotTemplateRequest) FromJsonString(s string) error
func (*CreateLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *CreateLiveSnapshotTemplateRequest) ToJsonString() string
type CreateLiveSnapshotTemplateResponse ¶
type CreateLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *CreateLiveSnapshotTemplateResponse) ToJsonString() string
type CreateLiveTranscodeRuleRequest ¶
type CreateLiveTranscodeRuleRequest struct { *tchttp.BaseRequest // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 指定已有的模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveTranscodeRuleRequest ¶
func NewCreateLiveTranscodeRuleRequest() (request *CreateLiveTranscodeRuleRequest)
func (*CreateLiveTranscodeRuleRequest) FromJsonString ¶
func (r *CreateLiveTranscodeRuleRequest) FromJsonString(s string) error
func (*CreateLiveTranscodeRuleRequest) ToJsonString ¶
func (r *CreateLiveTranscodeRuleRequest) ToJsonString() string
type CreateLiveTranscodeRuleResponse ¶
type CreateLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveTranscodeRuleResponse) ToJsonString ¶
func (r *CreateLiveTranscodeRuleResponse) ToJsonString() string
type CreateLiveTranscodeTemplateRequest ¶
type CreateLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // 模板名称,例:900 900p 仅支持字母和数字的组合。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 视频码率。范围:100-8000。 VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // 视频编码:h264/h265,默认h264。 // 注意:当前该参数未生效,待后续支持! Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // 音频编码:aac,默认原始音频格式。 // 注意:当前该参数未生效,待后续支持! Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // 音频码率:默认0。0-500。 AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // 模板描述。 Description *string `json:"Description,omitempty" name:"Description"` // 宽,默认0。 Width *int64 `json:"Width,omitempty" name:"Width"` // 是否保留视频,0:否,1:是。默认1。 NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // 是否保留音频,0:否,1:是。默认1。 NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // 高,默认0。 Height *int64 `json:"Height,omitempty" name:"Height"` // 帧率,默认0。 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // 关键帧间隔,单位:秒。默认原始的间隔 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // 是否旋转,0:否,1:是。默认0。 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // 编码质量: // baseline/main/high。默认baseline Profile *string `json:"Profile,omitempty" name:"Profile"` // 是否不超过原始码率,0:否,1:是。默认0。 BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // 是否不超过原始高,0:否,1:是。默认0。 HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // 是否不超过原始帧率,0:否,1:是。默认0。 FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // 是否是急速高清模板,0:否,1:是。默认0。 AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"` // 急速高清相比VideoBitrate少多少码率,0.1到0.5 AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` }
func NewCreateLiveTranscodeTemplateRequest ¶
func NewCreateLiveTranscodeTemplateRequest() (request *CreateLiveTranscodeTemplateRequest)
func (*CreateLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *CreateLiveTranscodeTemplateRequest) FromJsonString(s string) error
func (*CreateLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *CreateLiveTranscodeTemplateRequest) ToJsonString() string
type CreateLiveTranscodeTemplateResponse ¶
type CreateLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *CreateLiveTranscodeTemplateResponse) ToJsonString() string
type CreateLiveWatermarkRuleRequest ¶
type CreateLiveWatermarkRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 水印Id,即调用[AddLiveWatermark](/document/product/267/30154)接口返回的WatermarkId。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewCreateLiveWatermarkRuleRequest ¶
func NewCreateLiveWatermarkRuleRequest() (request *CreateLiveWatermarkRuleRequest)
func (*CreateLiveWatermarkRuleRequest) FromJsonString ¶
func (r *CreateLiveWatermarkRuleRequest) FromJsonString(s string) error
func (*CreateLiveWatermarkRuleRequest) ToJsonString ¶
func (r *CreateLiveWatermarkRuleRequest) ToJsonString() string
type CreateLiveWatermarkRuleResponse ¶
type CreateLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*CreateLiveWatermarkRuleResponse) ToJsonString ¶
func (r *CreateLiveWatermarkRuleResponse) ToJsonString() string
type CreatePullStreamConfigRequest ¶
type CreatePullStreamConfigRequest struct { *tchttp.BaseRequest // 源Url。目前可支持直播流及点播文件。 FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"` // 目的Url,目前限制该目标地址为腾讯域名。 ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"` // 区域id: // 1-深圳, // 2-上海, // 3-天津, // 4-中国香港。 AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"` // 运营商id: // 1-电信, // 2-移动, // 3-联通, // 4-其他。 // 注:AreaId为4的时候,IspId只能为其他。 IspId *int64 `json:"IspId,omitempty" name:"IspId"` // 开始时间。 // 使用UTC格式时间, // 例如:2019-01-08T10:00:00Z。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,注意: // 1. 结束时间必须大于开始时间; // 2. 结束时间和开始时间必须大于当前时间; // 3. 结束时间 和 开始时间 间隔必须小于七天。 // 使用UTC格式时间, // 例如:2019-01-08T10:00:00Z。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewCreatePullStreamConfigRequest ¶
func NewCreatePullStreamConfigRequest() (request *CreatePullStreamConfigRequest)
func (*CreatePullStreamConfigRequest) FromJsonString ¶
func (r *CreatePullStreamConfigRequest) FromJsonString(s string) error
func (*CreatePullStreamConfigRequest) ToJsonString ¶
func (r *CreatePullStreamConfigRequest) ToJsonString() string
type CreatePullStreamConfigResponse ¶
type CreatePullStreamConfigResponse struct { *tchttp.BaseResponse Response *struct { // 配置成功后的id。 ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreatePullStreamConfigResponse ¶
func NewCreatePullStreamConfigResponse() (response *CreatePullStreamConfigResponse)
func (*CreatePullStreamConfigResponse) FromJsonString ¶
func (r *CreatePullStreamConfigResponse) FromJsonString(s string) error
func (*CreatePullStreamConfigResponse) ToJsonString ¶
func (r *CreatePullStreamConfigResponse) ToJsonString() string
type DayStreamPlayInfo ¶
type DayStreamPlayInfo struct { // 数据时间点,格式:yyyy-mm-dd HH:MM:SS。 Time *string `json:"Time,omitempty" name:"Time"` // 带宽(单位Mbps)。 Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 流量 (单位MB)。 Flux *float64 `json:"Flux,omitempty" name:"Flux"` // 请求数。 Request *uint64 `json:"Request,omitempty" name:"Request"` // 在线人数。 Online *uint64 `json:"Online,omitempty" name:"Online"` }
type DelayInfo ¶
type DelayInfo struct { // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 延播时间,单位:秒。 DelayInterval *uint64 `json:"DelayInterval,omitempty" name:"DelayInterval"` // 创建时间,UTC时间。 // 注意:UTC时间和北京时间相差8小时。 // 例如:2019-06-18T12:00:00Z(为北京时间 2019 年 6 月 18 日 20 点 0 分 0 秒)。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 过期时间,UTC时间。 // 注意:UTC时间和北京时间相差8小时。 // 例如:2019-06-18T12:00:00Z(为北京时间 2019 年 6 月 18 日 20 点 0 分 0 秒)。 ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // 当前状态, // -1:已过期, // 1: 生效中。 Status *int64 `json:"Status,omitempty" name:"Status"` }
type DeleteLiveCallbackRuleRequest ¶
type DeleteLiveCallbackRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDeleteLiveCallbackRuleRequest ¶
func NewDeleteLiveCallbackRuleRequest() (request *DeleteLiveCallbackRuleRequest)
func (*DeleteLiveCallbackRuleRequest) FromJsonString ¶
func (r *DeleteLiveCallbackRuleRequest) FromJsonString(s string) error
func (*DeleteLiveCallbackRuleRequest) ToJsonString ¶
func (r *DeleteLiveCallbackRuleRequest) ToJsonString() string
type DeleteLiveCallbackRuleResponse ¶
type DeleteLiveCallbackRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveCallbackRuleResponse) ToJsonString ¶
func (r *DeleteLiveCallbackRuleResponse) ToJsonString() string
type DeleteLiveCallbackTemplateRequest ¶
type DeleteLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveCallbackTemplateRequest ¶
func NewDeleteLiveCallbackTemplateRequest() (request *DeleteLiveCallbackTemplateRequest)
func (*DeleteLiveCallbackTemplateRequest) FromJsonString ¶
func (r *DeleteLiveCallbackTemplateRequest) FromJsonString(s string) error
func (*DeleteLiveCallbackTemplateRequest) ToJsonString ¶
func (r *DeleteLiveCallbackTemplateRequest) ToJsonString() string
type DeleteLiveCallbackTemplateResponse ¶
type DeleteLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveCallbackTemplateResponse) ToJsonString ¶
func (r *DeleteLiveCallbackTemplateResponse) ToJsonString() string
type DeleteLiveCertRequest ¶
type DeleteLiveCertRequest struct { *tchttp.BaseRequest // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` }
func NewDeleteLiveCertRequest ¶
func NewDeleteLiveCertRequest() (request *DeleteLiveCertRequest)
func (*DeleteLiveCertRequest) FromJsonString ¶
func (r *DeleteLiveCertRequest) FromJsonString(s string) error
func (*DeleteLiveCertRequest) ToJsonString ¶
func (r *DeleteLiveCertRequest) ToJsonString() string
type DeleteLiveCertResponse ¶
type DeleteLiveCertResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveCertResponse) ToJsonString ¶
func (r *DeleteLiveCertResponse) ToJsonString() string
type DeleteLiveDomainRequest ¶
type DeleteLiveDomainRequest struct { *tchttp.BaseRequest // 要删除的域名 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 类型。0-推流,1-播放 DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` }
func NewDeleteLiveDomainRequest ¶
func NewDeleteLiveDomainRequest() (request *DeleteLiveDomainRequest)
func (*DeleteLiveDomainRequest) FromJsonString ¶
func (r *DeleteLiveDomainRequest) FromJsonString(s string) error
func (*DeleteLiveDomainRequest) ToJsonString ¶
func (r *DeleteLiveDomainRequest) ToJsonString() string
type DeleteLiveDomainResponse ¶
type DeleteLiveDomainResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveDomainResponse) ToJsonString ¶
func (r *DeleteLiveDomainResponse) ToJsonString() string
type DeleteLiveRecordRequest ¶
type DeleteLiveRecordRequest struct { *tchttp.BaseRequest // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 任务ID,全局唯一标识录制任务。 TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewDeleteLiveRecordRequest ¶
func NewDeleteLiveRecordRequest() (request *DeleteLiveRecordRequest)
func (*DeleteLiveRecordRequest) FromJsonString ¶
func (r *DeleteLiveRecordRequest) FromJsonString(s string) error
func (*DeleteLiveRecordRequest) ToJsonString ¶
func (r *DeleteLiveRecordRequest) ToJsonString() string
type DeleteLiveRecordResponse ¶
type DeleteLiveRecordResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveRecordResponse) ToJsonString ¶
func (r *DeleteLiveRecordResponse) ToJsonString() string
type DeleteLiveRecordRuleRequest ¶
type DeleteLiveRecordRuleRequest struct { *tchttp.BaseRequest // 推流域名。 // 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 // 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 // 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveRecordRuleRequest ¶
func NewDeleteLiveRecordRuleRequest() (request *DeleteLiveRecordRuleRequest)
func (*DeleteLiveRecordRuleRequest) FromJsonString ¶
func (r *DeleteLiveRecordRuleRequest) FromJsonString(s string) error
func (*DeleteLiveRecordRuleRequest) ToJsonString ¶
func (r *DeleteLiveRecordRuleRequest) ToJsonString() string
type DeleteLiveRecordRuleResponse ¶
type DeleteLiveRecordRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveRecordRuleResponse) ToJsonString ¶
func (r *DeleteLiveRecordRuleResponse) ToJsonString() string
type DeleteLiveRecordTemplateRequest ¶
type DeleteLiveRecordTemplateRequest struct { *tchttp.BaseRequest // 模板ID。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveRecordTemplateRequest ¶
func NewDeleteLiveRecordTemplateRequest() (request *DeleteLiveRecordTemplateRequest)
func (*DeleteLiveRecordTemplateRequest) FromJsonString ¶
func (r *DeleteLiveRecordTemplateRequest) FromJsonString(s string) error
func (*DeleteLiveRecordTemplateRequest) ToJsonString ¶
func (r *DeleteLiveRecordTemplateRequest) ToJsonString() string
type DeleteLiveRecordTemplateResponse ¶
type DeleteLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveRecordTemplateResponse) ToJsonString ¶
func (r *DeleteLiveRecordTemplateResponse) ToJsonString() string
type DeleteLiveSnapshotRuleRequest ¶
type DeleteLiveSnapshotRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveSnapshotRuleRequest ¶
func NewDeleteLiveSnapshotRuleRequest() (request *DeleteLiveSnapshotRuleRequest)
func (*DeleteLiveSnapshotRuleRequest) FromJsonString ¶
func (r *DeleteLiveSnapshotRuleRequest) FromJsonString(s string) error
func (*DeleteLiveSnapshotRuleRequest) ToJsonString ¶
func (r *DeleteLiveSnapshotRuleRequest) ToJsonString() string
type DeleteLiveSnapshotRuleResponse ¶
type DeleteLiveSnapshotRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveSnapshotRuleResponse) ToJsonString ¶
func (r *DeleteLiveSnapshotRuleResponse) ToJsonString() string
type DeleteLiveSnapshotTemplateRequest ¶
type DeleteLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveSnapshotTemplateRequest ¶
func NewDeleteLiveSnapshotTemplateRequest() (request *DeleteLiveSnapshotTemplateRequest)
func (*DeleteLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *DeleteLiveSnapshotTemplateRequest) FromJsonString(s string) error
func (*DeleteLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *DeleteLiveSnapshotTemplateRequest) ToJsonString() string
type DeleteLiveSnapshotTemplateResponse ¶
type DeleteLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *DeleteLiveSnapshotTemplateResponse) ToJsonString() string
type DeleteLiveTranscodeRuleRequest ¶
type DeleteLiveTranscodeRuleRequest struct { *tchttp.BaseRequest // 推流域名。 // 域名维度转码,域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 // 域名+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 // 域名+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 模板ID。 // 域名+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveTranscodeRuleRequest ¶
func NewDeleteLiveTranscodeRuleRequest() (request *DeleteLiveTranscodeRuleRequest)
func (*DeleteLiveTranscodeRuleRequest) FromJsonString ¶
func (r *DeleteLiveTranscodeRuleRequest) FromJsonString(s string) error
func (*DeleteLiveTranscodeRuleRequest) ToJsonString ¶
func (r *DeleteLiveTranscodeRuleRequest) ToJsonString() string
type DeleteLiveTranscodeRuleResponse ¶
type DeleteLiveTranscodeRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveTranscodeRuleResponse) ToJsonString ¶
func (r *DeleteLiveTranscodeRuleResponse) ToJsonString() string
type DeleteLiveTranscodeTemplateRequest ¶
type DeleteLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteLiveTranscodeTemplateRequest ¶
func NewDeleteLiveTranscodeTemplateRequest() (request *DeleteLiveTranscodeTemplateRequest)
func (*DeleteLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *DeleteLiveTranscodeTemplateRequest) FromJsonString(s string) error
func (*DeleteLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *DeleteLiveTranscodeTemplateRequest) ToJsonString() string
type DeleteLiveTranscodeTemplateResponse ¶
type DeleteLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *DeleteLiveTranscodeTemplateResponse) ToJsonString() string
type DeleteLiveWatermarkRequest ¶
type DeleteLiveWatermarkRequest struct { *tchttp.BaseRequest // 水印ID。 WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
func NewDeleteLiveWatermarkRequest ¶
func NewDeleteLiveWatermarkRequest() (request *DeleteLiveWatermarkRequest)
func (*DeleteLiveWatermarkRequest) FromJsonString ¶
func (r *DeleteLiveWatermarkRequest) FromJsonString(s string) error
func (*DeleteLiveWatermarkRequest) ToJsonString ¶
func (r *DeleteLiveWatermarkRequest) ToJsonString() string
type DeleteLiveWatermarkResponse ¶
type DeleteLiveWatermarkResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveWatermarkResponse) ToJsonString ¶
func (r *DeleteLiveWatermarkResponse) ToJsonString() string
type DeleteLiveWatermarkRuleRequest ¶
type DeleteLiveWatermarkRuleRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDeleteLiveWatermarkRuleRequest ¶
func NewDeleteLiveWatermarkRuleRequest() (request *DeleteLiveWatermarkRuleRequest)
func (*DeleteLiveWatermarkRuleRequest) FromJsonString ¶
func (r *DeleteLiveWatermarkRuleRequest) FromJsonString(s string) error
func (*DeleteLiveWatermarkRuleRequest) ToJsonString ¶
func (r *DeleteLiveWatermarkRuleRequest) ToJsonString() string
type DeleteLiveWatermarkRuleResponse ¶
type DeleteLiveWatermarkRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DeleteLiveWatermarkRuleResponse) ToJsonString ¶
func (r *DeleteLiveWatermarkRuleResponse) ToJsonString() string
type DeletePullStreamConfigRequest ¶
type DeletePullStreamConfigRequest struct { *tchttp.BaseRequest // 配置id。 ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"` }
func NewDeletePullStreamConfigRequest ¶
func NewDeletePullStreamConfigRequest() (request *DeletePullStreamConfigRequest)
func (*DeletePullStreamConfigRequest) FromJsonString ¶
func (r *DeletePullStreamConfigRequest) FromJsonString(s string) error
func (*DeletePullStreamConfigRequest) ToJsonString ¶
func (r *DeletePullStreamConfigRequest) ToJsonString() string
type DeletePullStreamConfigResponse ¶
type DeletePullStreamConfigResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeletePullStreamConfigResponse ¶
func NewDeletePullStreamConfigResponse() (response *DeletePullStreamConfigResponse)
func (*DeletePullStreamConfigResponse) FromJsonString ¶
func (r *DeletePullStreamConfigResponse) FromJsonString(s string) error
func (*DeletePullStreamConfigResponse) ToJsonString ¶
func (r *DeletePullStreamConfigResponse) ToJsonString() string
type DescribeBillBandwidthAndFluxListRequest ¶
type DescribeBillBandwidthAndFluxListRequest struct { *tchttp.BaseRequest // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 直播播放域名,若不填,表示总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 可选值: // Mainland:查询国内数据, // Oversea:则查询国外数据。 // 默认:查询国内+国外的数据。 MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // 数据粒度,支持如下粒度: // 5:5分钟粒度,(跨度不支持超过1天), // 60:1小时粒度(跨度不支持超过一个月), // 1440:天粒度(跨度不支持超过一个月)。 // 默认值:5。 Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` }
func NewDescribeBillBandwidthAndFluxListRequest ¶
func NewDescribeBillBandwidthAndFluxListRequest() (request *DescribeBillBandwidthAndFluxListRequest)
func (*DescribeBillBandwidthAndFluxListRequest) FromJsonString ¶
func (r *DescribeBillBandwidthAndFluxListRequest) FromJsonString(s string) error
func (*DescribeBillBandwidthAndFluxListRequest) ToJsonString ¶
func (r *DescribeBillBandwidthAndFluxListRequest) ToJsonString() string
type DescribeBillBandwidthAndFluxListResponse ¶
type DescribeBillBandwidthAndFluxListResponse struct { *tchttp.BaseResponse Response *struct { // 峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。 PeakBandwidthTime *string `json:"PeakBandwidthTime,omitempty" name:"PeakBandwidthTime"` // 峰值带宽,单位是Mbps。 PeakBandwidth *float64 `json:"PeakBandwidth,omitempty" name:"PeakBandwidth"` // 95峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。 P95PeakBandwidthTime *string `json:"P95PeakBandwidthTime,omitempty" name:"P95PeakBandwidthTime"` // 95峰值带宽,单位是Mbps。 P95PeakBandwidth *float64 `json:"P95PeakBandwidth,omitempty" name:"P95PeakBandwidth"` // 总流量,单位是MB。 SumFlux *float64 `json:"SumFlux,omitempty" name:"SumFlux"` // 明细数据信息。 DataInfoList []*BillDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeBillBandwidthAndFluxListResponse) ToJsonString ¶
func (r *DescribeBillBandwidthAndFluxListResponse) ToJsonString() string
type DescribeGroupProIspPlayInfoListRequest ¶
type DescribeGroupProIspPlayInfoListRequest struct { *tchttp.BaseRequest // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS // 时间跨度在(0,3小时],支持最近1个月数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 播放域名,默认为不填,表示求总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 省份列表,默认不填,则返回各省份的数据。 ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames" list` // 运营商列表,默认不填,则返回个运营商的数据。 IspNames []*string `json:"IspNames,omitempty" name:"IspNames" list` // 国内还是国外,如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。 MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` }
func NewDescribeGroupProIspPlayInfoListRequest ¶
func NewDescribeGroupProIspPlayInfoListRequest() (request *DescribeGroupProIspPlayInfoListRequest)
func (*DescribeGroupProIspPlayInfoListRequest) FromJsonString ¶
func (r *DescribeGroupProIspPlayInfoListRequest) FromJsonString(s string) error
func (*DescribeGroupProIspPlayInfoListRequest) ToJsonString ¶
func (r *DescribeGroupProIspPlayInfoListRequest) ToJsonString() string
type DescribeGroupProIspPlayInfoListResponse ¶
type DescribeGroupProIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 数据内容。 DataInfoList []*GroupProIspDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeGroupProIspPlayInfoListResponse) ToJsonString ¶
func (r *DescribeGroupProIspPlayInfoListResponse) ToJsonString() string
type DescribeHttpStatusInfoListRequest ¶
type DescribeHttpStatusInfoListRequest struct { *tchttp.BaseRequest // 起始时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 // StartTime不能为3个月前。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 // 注:EndTime 和 StartTime 只支持最近1天的数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 播放域名列表。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` }
func NewDescribeHttpStatusInfoListRequest ¶
func NewDescribeHttpStatusInfoListRequest() (request *DescribeHttpStatusInfoListRequest)
func (*DescribeHttpStatusInfoListRequest) FromJsonString ¶
func (r *DescribeHttpStatusInfoListRequest) FromJsonString(s string) error
func (*DescribeHttpStatusInfoListRequest) ToJsonString ¶
func (r *DescribeHttpStatusInfoListRequest) ToJsonString() string
type DescribeHttpStatusInfoListResponse ¶
type DescribeHttpStatusInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 播放状态码列表。 DataInfoList []*HttpStatusData `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveCallbackRulesRequest) ToJsonString ¶
func (r *DescribeLiveCallbackRulesRequest) ToJsonString() string
type DescribeLiveCallbackRulesResponse ¶
type DescribeLiveCallbackRulesResponse struct { *tchttp.BaseResponse Response *struct { // 规则信息列表。 Rules []*CallBackRuleInfo `json:"Rules,omitempty" name:"Rules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveCallbackRulesResponse) ToJsonString ¶
func (r *DescribeLiveCallbackRulesResponse) ToJsonString() string
type DescribeLiveCallbackTemplateRequest ¶
type DescribeLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveCallbackTemplateRequest ¶
func NewDescribeLiveCallbackTemplateRequest() (request *DescribeLiveCallbackTemplateRequest)
func (*DescribeLiveCallbackTemplateRequest) FromJsonString ¶
func (r *DescribeLiveCallbackTemplateRequest) FromJsonString(s string) error
func (*DescribeLiveCallbackTemplateRequest) ToJsonString ¶
func (r *DescribeLiveCallbackTemplateRequest) ToJsonString() string
type DescribeLiveCallbackTemplateResponse ¶
type DescribeLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 回调模板信息。 Template *CallBackTemplateInfo `json:"Template,omitempty" name:"Template"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveCallbackTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveCallbackTemplatesRequest) ToJsonString() string
type DescribeLiveCallbackTemplatesResponse ¶
type DescribeLiveCallbackTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 模板信息列表。 Templates []*CallBackTemplateInfo `json:"Templates,omitempty" name:"Templates" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveCallbackTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveCallbackTemplatesResponse) ToJsonString() string
type DescribeLiveCertRequest ¶
type DescribeLiveCertRequest struct { *tchttp.BaseRequest // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` }
func NewDescribeLiveCertRequest ¶
func NewDescribeLiveCertRequest() (request *DescribeLiveCertRequest)
func (*DescribeLiveCertRequest) FromJsonString ¶
func (r *DescribeLiveCertRequest) FromJsonString(s string) error
func (*DescribeLiveCertRequest) ToJsonString ¶
func (r *DescribeLiveCertRequest) ToJsonString() string
type DescribeLiveCertResponse ¶
type DescribeLiveCertResponse struct { *tchttp.BaseResponse Response *struct { // 证书信息。 CertInfo *CertInfo `json:"CertInfo,omitempty" name:"CertInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveCertsRequest) ToJsonString ¶
func (r *DescribeLiveCertsRequest) ToJsonString() string
type DescribeLiveCertsResponse ¶
type DescribeLiveCertsResponse struct { *tchttp.BaseResponse Response *struct { // 证书信息列表。 CertInfoSet []*CertInfo `json:"CertInfoSet,omitempty" name:"CertInfoSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveDelayInfoListRequest) ToJsonString ¶
func (r *DescribeLiveDelayInfoListRequest) ToJsonString() string
type DescribeLiveDelayInfoListResponse ¶
type DescribeLiveDelayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 延播信息列表。 DelayInfoList []*DelayInfo `json:"DelayInfoList,omitempty" name:"DelayInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveDelayInfoListResponse) ToJsonString ¶
func (r *DescribeLiveDelayInfoListResponse) ToJsonString() string
type DescribeLiveDomainCertRequest ¶
type DescribeLiveDomainCertRequest struct { *tchttp.BaseRequest // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLiveDomainCertRequest ¶
func NewDescribeLiveDomainCertRequest() (request *DescribeLiveDomainCertRequest)
func (*DescribeLiveDomainCertRequest) FromJsonString ¶
func (r *DescribeLiveDomainCertRequest) FromJsonString(s string) error
func (*DescribeLiveDomainCertRequest) ToJsonString ¶
func (r *DescribeLiveDomainCertRequest) ToJsonString() string
type DescribeLiveDomainCertResponse ¶
type DescribeLiveDomainCertResponse struct { *tchttp.BaseResponse Response *struct { // 证书信息。 DomainCertInfo *DomainCertInfo `json:"DomainCertInfo,omitempty" name:"DomainCertInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveDomainCertResponse) ToJsonString ¶
func (r *DescribeLiveDomainCertResponse) ToJsonString() string
type DescribeLiveDomainPlayInfoListRequest ¶
type DescribeLiveDomainPlayInfoListRequest struct { *tchttp.BaseRequest // 播放域名列表。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` }
func NewDescribeLiveDomainPlayInfoListRequest ¶
func NewDescribeLiveDomainPlayInfoListRequest() (request *DescribeLiveDomainPlayInfoListRequest)
func (*DescribeLiveDomainPlayInfoListRequest) FromJsonString ¶
func (r *DescribeLiveDomainPlayInfoListRequest) FromJsonString(s string) error
func (*DescribeLiveDomainPlayInfoListRequest) ToJsonString ¶
func (r *DescribeLiveDomainPlayInfoListRequest) ToJsonString() string
type DescribeLiveDomainPlayInfoListResponse ¶
type DescribeLiveDomainPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 数据时间,格式为yyyy-mm-dd HH:MM:SS。 Time *string `json:"Time,omitempty" name:"Time"` // 实时总带宽。 TotalBandwidth *float64 `json:"TotalBandwidth,omitempty" name:"TotalBandwidth"` // 实时总流量。 TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // TotalRequest。 TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // 实时总连接数。 TotalOnline *uint64 `json:"TotalOnline,omitempty" name:"TotalOnline"` // 分域名的数据情况。 DomainInfoList []*DomainInfoList `json:"DomainInfoList,omitempty" name:"DomainInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveDomainPlayInfoListResponse) ToJsonString ¶
func (r *DescribeLiveDomainPlayInfoListResponse) ToJsonString() string
type DescribeLiveDomainRequest ¶
type DescribeLiveDomainRequest struct { *tchttp.BaseRequest // 域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLiveDomainRequest ¶
func NewDescribeLiveDomainRequest() (request *DescribeLiveDomainRequest)
func (*DescribeLiveDomainRequest) FromJsonString ¶
func (r *DescribeLiveDomainRequest) FromJsonString(s string) error
func (*DescribeLiveDomainRequest) ToJsonString ¶
func (r *DescribeLiveDomainRequest) ToJsonString() string
type DescribeLiveDomainResponse ¶
type DescribeLiveDomainResponse struct { *tchttp.BaseResponse Response *struct { // 域名信息。 DomainInfo *DomainInfo `json:"DomainInfo,omitempty" name:"DomainInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveDomainResponse) ToJsonString ¶
func (r *DescribeLiveDomainResponse) ToJsonString() string
type DescribeLiveDomainsRequest ¶
type DescribeLiveDomainsRequest struct { *tchttp.BaseRequest // 域名状态过滤。0-停用,1-启用 DomainStatus *uint64 `json:"DomainStatus,omitempty" name:"DomainStatus"` // 域名类型过滤。0-推流,1-播放 DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"` // 分页大小,范围:10~100。默认10 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 取第几页,范围:1~100000。默认1 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 0 普通直播 1慢直播 默认0 IsDelayLive *uint64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // 域名前缀 DomainPrefix *string `json:"DomainPrefix,omitempty" name:"DomainPrefix"` }
func NewDescribeLiveDomainsRequest ¶
func NewDescribeLiveDomainsRequest() (request *DescribeLiveDomainsRequest)
func (*DescribeLiveDomainsRequest) FromJsonString ¶
func (r *DescribeLiveDomainsRequest) FromJsonString(s string) error
func (*DescribeLiveDomainsRequest) ToJsonString ¶
func (r *DescribeLiveDomainsRequest) ToJsonString() string
type DescribeLiveDomainsResponse ¶
type DescribeLiveDomainsResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 AllCount *uint64 `json:"AllCount,omitempty" name:"AllCount"` // 域名详细信息列表 DomainList []*DomainInfo `json:"DomainList,omitempty" name:"DomainList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveDomainsResponse) ToJsonString ¶
func (r *DescribeLiveDomainsResponse) ToJsonString() string
type DescribeLiveForbidStreamListRequest ¶
type DescribeLiveForbidStreamListRequest struct { *tchttp.BaseRequest // 取得第几页,默认1。 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小,最大100。 // 取值:1~100之前的任意整数。 // 默认值:10。 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeLiveForbidStreamListRequest ¶
func NewDescribeLiveForbidStreamListRequest() (request *DescribeLiveForbidStreamListRequest)
func (*DescribeLiveForbidStreamListRequest) FromJsonString ¶
func (r *DescribeLiveForbidStreamListRequest) FromJsonString(s string) error
func (*DescribeLiveForbidStreamListRequest) ToJsonString ¶
func (r *DescribeLiveForbidStreamListRequest) ToJsonString() string
type DescribeLiveForbidStreamListResponse ¶
type DescribeLiveForbidStreamListResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的总个数。 TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *int64 `json:"TotalPage,omitempty" name:"TotalPage"` // 分页的页码。 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 每页显示的条数。 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 禁推流列表。 ForbidStreamList []*ForbidStreamInfo `json:"ForbidStreamList,omitempty" name:"ForbidStreamList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveForbidStreamListResponse) ToJsonString ¶
func (r *DescribeLiveForbidStreamListResponse) ToJsonString() string
type DescribeLivePlayAuthKeyRequest ¶
type DescribeLivePlayAuthKeyRequest struct { *tchttp.BaseRequest // 域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLivePlayAuthKeyRequest ¶
func NewDescribeLivePlayAuthKeyRequest() (request *DescribeLivePlayAuthKeyRequest)
func (*DescribeLivePlayAuthKeyRequest) FromJsonString ¶
func (r *DescribeLivePlayAuthKeyRequest) FromJsonString(s string) error
func (*DescribeLivePlayAuthKeyRequest) ToJsonString ¶
func (r *DescribeLivePlayAuthKeyRequest) ToJsonString() string
type DescribeLivePlayAuthKeyResponse ¶
type DescribeLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *struct { // 播放鉴权key信息。 PlayAuthKeyInfo *PlayAuthKeyInfo `json:"PlayAuthKeyInfo,omitempty" name:"PlayAuthKeyInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLivePlayAuthKeyResponse) ToJsonString ¶
func (r *DescribeLivePlayAuthKeyResponse) ToJsonString() string
type DescribeLivePushAuthKeyRequest ¶
type DescribeLivePushAuthKeyRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewDescribeLivePushAuthKeyRequest ¶
func NewDescribeLivePushAuthKeyRequest() (request *DescribeLivePushAuthKeyRequest)
func (*DescribeLivePushAuthKeyRequest) FromJsonString ¶
func (r *DescribeLivePushAuthKeyRequest) FromJsonString(s string) error
func (*DescribeLivePushAuthKeyRequest) ToJsonString ¶
func (r *DescribeLivePushAuthKeyRequest) ToJsonString() string
type DescribeLivePushAuthKeyResponse ¶
type DescribeLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *struct { // 推流鉴权key信息。 PushAuthKeyInfo *PushAuthKeyInfo `json:"PushAuthKeyInfo,omitempty" name:"PushAuthKeyInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveRecordRulesRequest) ToJsonString ¶
func (r *DescribeLiveRecordRulesRequest) ToJsonString() string
type DescribeLiveRecordRulesResponse ¶
type DescribeLiveRecordRulesResponse struct { *tchttp.BaseResponse Response *struct { // 规则列表。 Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveRecordRulesResponse) ToJsonString ¶
func (r *DescribeLiveRecordRulesResponse) ToJsonString() string
type DescribeLiveRecordTemplateRequest ¶
type DescribeLiveRecordTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveRecordTemplateRequest ¶
func NewDescribeLiveRecordTemplateRequest() (request *DescribeLiveRecordTemplateRequest)
func (*DescribeLiveRecordTemplateRequest) FromJsonString ¶
func (r *DescribeLiveRecordTemplateRequest) FromJsonString(s string) error
func (*DescribeLiveRecordTemplateRequest) ToJsonString ¶
func (r *DescribeLiveRecordTemplateRequest) ToJsonString() string
type DescribeLiveRecordTemplateResponse ¶
type DescribeLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 录制模板信息。 Template *RecordTemplateInfo `json:"Template,omitempty" name:"Template"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveRecordTemplateResponse) ToJsonString ¶
func (r *DescribeLiveRecordTemplateResponse) ToJsonString() string
type DescribeLiveRecordTemplatesRequest ¶
type DescribeLiveRecordTemplatesRequest struct { *tchttp.BaseRequest // 是否属于慢直播模板 IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` }
func NewDescribeLiveRecordTemplatesRequest ¶
func NewDescribeLiveRecordTemplatesRequest() (request *DescribeLiveRecordTemplatesRequest)
func (*DescribeLiveRecordTemplatesRequest) FromJsonString ¶
func (r *DescribeLiveRecordTemplatesRequest) FromJsonString(s string) error
func (*DescribeLiveRecordTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveRecordTemplatesRequest) ToJsonString() string
type DescribeLiveRecordTemplatesResponse ¶
type DescribeLiveRecordTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 录制模板信息列表。 Templates []*RecordTemplateInfo `json:"Templates,omitempty" name:"Templates" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveSnapshotRulesRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotRulesRequest) ToJsonString() string
type DescribeLiveSnapshotRulesResponse ¶
type DescribeLiveSnapshotRulesResponse struct { *tchttp.BaseResponse Response *struct { // 规则列表。 Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveSnapshotRulesResponse) ToJsonString ¶
func (r *DescribeLiveSnapshotRulesResponse) ToJsonString() string
type DescribeLiveSnapshotTemplateRequest ¶
type DescribeLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveSnapshotTemplateRequest ¶
func NewDescribeLiveSnapshotTemplateRequest() (request *DescribeLiveSnapshotTemplateRequest)
func (*DescribeLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *DescribeLiveSnapshotTemplateRequest) FromJsonString(s string) error
func (*DescribeLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplateRequest) ToJsonString() string
type DescribeLiveSnapshotTemplateResponse ¶
type DescribeLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 截图模板信息。 Template *SnapshotTemplateInfo `json:"Template,omitempty" name:"Template"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveSnapshotTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplatesRequest) ToJsonString() string
type DescribeLiveSnapshotTemplatesResponse ¶
type DescribeLiveSnapshotTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 截图模板列表。 Templates []*SnapshotTemplateInfo `json:"Templates,omitempty" name:"Templates" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveSnapshotTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveSnapshotTemplatesResponse) ToJsonString() string
type DescribeLiveStreamEventListRequest ¶
type DescribeLiveStreamEventListRequest struct { *tchttp.BaseRequest // 起始时间。 // UTC 格式,例如:2018-12-29T19:00:00Z。 // 支持查询60天内的历史记录。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间。 // UTC 格式,例如:2018-12-29T20:00:00Z。 // 不超过当前时间,且和起始时间相差不得超过30天。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称,不支持通配符(*)查询,默认模糊匹配。 // 可使用IsStrict字段改为精确查询。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 取得第几页。 // 默认值:1。 // 注: 目前只支持10000条内的查询。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 分页大小。 // 最大值:100。 // 取值范围:1~100 之前的任意整数。 // 默认值:10。 // 注: 目前只支持10000条内的查询。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 是否过滤,默认不过滤。 // 0:不进行任何过滤。 // 1:过滤掉开播失败的,只返回开播成功的。 IsFilter *int64 `json:"IsFilter,omitempty" name:"IsFilter"` // 是否精确查询,默认模糊匹配。 // 0:模糊匹配。 // 1:精确查询。 // 注:使用StreamName时该参数生效。 IsStrict *int64 `json:"IsStrict,omitempty" name:"IsStrict"` // 是否按结束时间正序显示,默认逆序。 // 0:逆序。 // 1:正序。 IsAsc *int64 `json:"IsAsc,omitempty" name:"IsAsc"` }
func NewDescribeLiveStreamEventListRequest ¶
func NewDescribeLiveStreamEventListRequest() (request *DescribeLiveStreamEventListRequest)
func (*DescribeLiveStreamEventListRequest) FromJsonString ¶
func (r *DescribeLiveStreamEventListRequest) FromJsonString(s string) error
func (*DescribeLiveStreamEventListRequest) ToJsonString ¶
func (r *DescribeLiveStreamEventListRequest) ToJsonString() string
type DescribeLiveStreamEventListResponse ¶
type DescribeLiveStreamEventListResponse struct { *tchttp.BaseResponse Response *struct { // 推断流事件列表。 EventList []*StreamEventInfo `json:"EventList,omitempty" name:"EventList" list` // 分页的页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 符合条件的总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveStreamEventListResponse) ToJsonString ¶
func (r *DescribeLiveStreamEventListResponse) ToJsonString() string
type DescribeLiveStreamOnlineInfoRequest ¶
type DescribeLiveStreamOnlineInfoRequest struct { *tchttp.BaseRequest // 取得第几页。 // 默认值:1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 分页大小。 // 最大值:100。 // 取值范围:1~100 之前的任意整数。 // 默认值:10。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 0:未开始推流 1:正在推流 Status *int64 `json:"Status,omitempty" name:"Status"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamOnlineInfoRequest ¶
func NewDescribeLiveStreamOnlineInfoRequest() (request *DescribeLiveStreamOnlineInfoRequest)
func (*DescribeLiveStreamOnlineInfoRequest) FromJsonString ¶
func (r *DescribeLiveStreamOnlineInfoRequest) FromJsonString(s string) error
func (*DescribeLiveStreamOnlineInfoRequest) ToJsonString ¶
func (r *DescribeLiveStreamOnlineInfoRequest) ToJsonString() string
type DescribeLiveStreamOnlineInfoResponse ¶
type DescribeLiveStreamOnlineInfoResponse struct { *tchttp.BaseResponse Response *struct { // 分页的页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 符合条件的总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 流信息列表。 StreamInfoList []*StreamInfo `json:"StreamInfoList,omitempty" name:"StreamInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLiveStreamOnlineInfoResponse ¶
func NewDescribeLiveStreamOnlineInfoResponse() (response *DescribeLiveStreamOnlineInfoResponse)
func (*DescribeLiveStreamOnlineInfoResponse) FromJsonString ¶
func (r *DescribeLiveStreamOnlineInfoResponse) FromJsonString(s string) error
func (*DescribeLiveStreamOnlineInfoResponse) ToJsonString ¶
func (r *DescribeLiveStreamOnlineInfoResponse) ToJsonString() string
type DescribeLiveStreamOnlineListRequest ¶
type DescribeLiveStreamOnlineListRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 取得第几页,默认1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小,最大100。 // 取值:10~100之间的任意整数。 // 默认值:10。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 流名称,用于精确查询。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamOnlineListRequest ¶
func NewDescribeLiveStreamOnlineListRequest() (request *DescribeLiveStreamOnlineListRequest)
func (*DescribeLiveStreamOnlineListRequest) FromJsonString ¶
func (r *DescribeLiveStreamOnlineListRequest) FromJsonString(s string) error
func (*DescribeLiveStreamOnlineListRequest) ToJsonString ¶
func (r *DescribeLiveStreamOnlineListRequest) ToJsonString() string
type DescribeLiveStreamOnlineListResponse ¶
type DescribeLiveStreamOnlineListResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 分页的页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页显示的条数。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 正在推送流的信息列表。 OnlineInfo []*StreamOnlineInfo `json:"OnlineInfo,omitempty" name:"OnlineInfo" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveStreamOnlineListResponse) ToJsonString ¶
func (r *DescribeLiveStreamOnlineListResponse) ToJsonString() string
type DescribeLiveStreamPublishedListRequest ¶
type DescribeLiveStreamPublishedListRequest struct { *tchttp.BaseRequest // 您的推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 结束时间。 // UTC 格式,例如:2016-06-30T19:00:00Z。 // 不超过当前时间。 // 注意:EndTime和StartTime相差不可超过30天。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 起始时间。 // UTC 格式,例如:2016-06-29T19:00:00Z。 // 最长支持查询60天内数据。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。不支持模糊匹配。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 取得第几页。 // 默认值:1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 分页大小。 // 最大值:100。 // 取值范围:1~100 之前的任意整数。 // 默认值:10。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 流名称,支持模糊匹配。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamPublishedListRequest ¶
func NewDescribeLiveStreamPublishedListRequest() (request *DescribeLiveStreamPublishedListRequest)
func (*DescribeLiveStreamPublishedListRequest) FromJsonString ¶
func (r *DescribeLiveStreamPublishedListRequest) FromJsonString(s string) error
func (*DescribeLiveStreamPublishedListRequest) ToJsonString ¶
func (r *DescribeLiveStreamPublishedListRequest) ToJsonString() string
type DescribeLiveStreamPublishedListResponse ¶
type DescribeLiveStreamPublishedListResponse struct { *tchttp.BaseResponse Response *struct { // 推流记录信息。 PublishInfo []*StreamName `json:"PublishInfo,omitempty" name:"PublishInfo" list` // 分页的页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 符合条件的总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveStreamPublishedListResponse) ToJsonString ¶
func (r *DescribeLiveStreamPublishedListResponse) ToJsonString() string
type DescribeLiveStreamPushInfoListRequest ¶
type DescribeLiveStreamPushInfoListRequest struct { *tchttp.BaseRequest // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 页数, // 范围[1,10000], // 默认值:1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数, // 范围:[1,1000], // 默认值: 200。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeLiveStreamPushInfoListRequest ¶
func NewDescribeLiveStreamPushInfoListRequest() (request *DescribeLiveStreamPushInfoListRequest)
func (*DescribeLiveStreamPushInfoListRequest) FromJsonString ¶
func (r *DescribeLiveStreamPushInfoListRequest) FromJsonString(s string) error
func (*DescribeLiveStreamPushInfoListRequest) ToJsonString ¶
func (r *DescribeLiveStreamPushInfoListRequest) ToJsonString() string
type DescribeLiveStreamPushInfoListResponse ¶
type DescribeLiveStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 直播流的统计信息列表。 DataInfoList []*PushDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 所有在线流的总数量。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 当前数据所在页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页的在线流的个数。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveStreamPushInfoListResponse) ToJsonString ¶
func (r *DescribeLiveStreamPushInfoListResponse) ToJsonString() string
type DescribeLiveStreamStateRequest ¶
type DescribeLiveStreamStateRequest struct { *tchttp.BaseRequest // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 您的推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewDescribeLiveStreamStateRequest ¶
func NewDescribeLiveStreamStateRequest() (request *DescribeLiveStreamStateRequest)
func (*DescribeLiveStreamStateRequest) FromJsonString ¶
func (r *DescribeLiveStreamStateRequest) FromJsonString(s string) error
func (*DescribeLiveStreamStateRequest) ToJsonString ¶
func (r *DescribeLiveStreamStateRequest) ToJsonString() string
type DescribeLiveStreamStateResponse ¶
type DescribeLiveStreamStateResponse struct { *tchttp.BaseResponse Response *struct { // 流状态, // active:活跃, // inactive:非活跃, // forbid:禁播。 StreamState *string `json:"StreamState,omitempty" name:"StreamState"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveStreamStateResponse) ToJsonString ¶
func (r *DescribeLiveStreamStateResponse) ToJsonString() string
type DescribeLiveTranscodeDetailInfoRequest ¶
type DescribeLiveTranscodeDetailInfoRequest struct { *tchttp.BaseRequest // 起始时间,北京时间, // 格式:yyyymmdd。 // 注意:当前只支持查询近30天内某天的详细数据。 DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 页数,默认1, // 不超过100页。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,默认20, // 范围:[10,1000]。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeLiveTranscodeDetailInfoRequest ¶
func NewDescribeLiveTranscodeDetailInfoRequest() (request *DescribeLiveTranscodeDetailInfoRequest)
func (*DescribeLiveTranscodeDetailInfoRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoRequest) FromJsonString(s string) error
func (*DescribeLiveTranscodeDetailInfoRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoRequest) ToJsonString() string
type DescribeLiveTranscodeDetailInfoResponse ¶
type DescribeLiveTranscodeDetailInfoResponse struct { *tchttp.BaseResponse Response *struct { // 统计数据列表。 DataInfoList []*TranscodeDetailInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveTranscodeDetailInfoResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeDetailInfoResponse) ToJsonString() string
type DescribeLiveTranscodeRulesRequest ¶
type DescribeLiveTranscodeRulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLiveTranscodeRulesRequest ¶
func NewDescribeLiveTranscodeRulesRequest() (request *DescribeLiveTranscodeRulesRequest)
func (*DescribeLiveTranscodeRulesRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeRulesRequest) FromJsonString(s string) error
func (*DescribeLiveTranscodeRulesRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeRulesRequest) ToJsonString() string
type DescribeLiveTranscodeRulesResponse ¶
type DescribeLiveTranscodeRulesResponse struct { *tchttp.BaseResponse Response *struct { // 转码规则列表。 Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveTranscodeRulesResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeRulesResponse) ToJsonString() string
type DescribeLiveTranscodeTemplateRequest ¶
type DescribeLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeLiveTranscodeTemplateRequest ¶
func NewDescribeLiveTranscodeTemplateRequest() (request *DescribeLiveTranscodeTemplateRequest)
func (*DescribeLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *DescribeLiveTranscodeTemplateRequest) FromJsonString(s string) error
func (*DescribeLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplateRequest) ToJsonString() string
type DescribeLiveTranscodeTemplateResponse ¶
type DescribeLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 模板信息。 Template *TemplateInfo `json:"Template,omitempty" name:"Template"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveTranscodeTemplatesRequest) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplatesRequest) ToJsonString() string
type DescribeLiveTranscodeTemplatesResponse ¶
type DescribeLiveTranscodeTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 转码模板列表。 Templates []*TemplateInfo `json:"Templates,omitempty" name:"Templates" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveTranscodeTemplatesResponse) ToJsonString ¶
func (r *DescribeLiveTranscodeTemplatesResponse) ToJsonString() string
type DescribeLiveWatermarkRequest ¶
type DescribeLiveWatermarkRequest struct { *tchttp.BaseRequest // 水印ID。 WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"` }
func NewDescribeLiveWatermarkRequest ¶
func NewDescribeLiveWatermarkRequest() (request *DescribeLiveWatermarkRequest)
func (*DescribeLiveWatermarkRequest) FromJsonString ¶
func (r *DescribeLiveWatermarkRequest) FromJsonString(s string) error
func (*DescribeLiveWatermarkRequest) ToJsonString ¶
func (r *DescribeLiveWatermarkRequest) ToJsonString() string
type DescribeLiveWatermarkResponse ¶
type DescribeLiveWatermarkResponse struct { *tchttp.BaseResponse Response *struct { // 水印信息。 Watermark *WatermarkInfo `json:"Watermark,omitempty" name:"Watermark"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveWatermarkRulesRequest) ToJsonString ¶
func (r *DescribeLiveWatermarkRulesRequest) ToJsonString() string
type DescribeLiveWatermarkRulesResponse ¶
type DescribeLiveWatermarkRulesResponse struct { *tchttp.BaseResponse Response *struct { // 水印规则列表。 Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
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
func (*DescribeLiveWatermarksRequest) ToJsonString ¶
func (r *DescribeLiveWatermarksRequest) ToJsonString() string
type DescribeLiveWatermarksResponse ¶
type DescribeLiveWatermarksResponse struct { *tchttp.BaseResponse Response *struct { // 水印总个数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 水印信息列表。 WatermarkList []*WatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeLiveWatermarksResponse) ToJsonString ¶
func (r *DescribeLiveWatermarksResponse) ToJsonString() string
type DescribeLogDownloadListRequest ¶
type DescribeLogDownloadListRequest struct { *tchttp.BaseRequest // 开始时间,北京时间。 // 格式:yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间。 // 格式:yyyy-mm-dd HH:MM:SS。 // 注意:结束时间 - 开始时间 <=7天。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 域名列表。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` }
func NewDescribeLogDownloadListRequest ¶
func NewDescribeLogDownloadListRequest() (request *DescribeLogDownloadListRequest)
func (*DescribeLogDownloadListRequest) FromJsonString ¶
func (r *DescribeLogDownloadListRequest) FromJsonString(s string) error
func (*DescribeLogDownloadListRequest) ToJsonString ¶
func (r *DescribeLogDownloadListRequest) ToJsonString() string
type DescribeLogDownloadListResponse ¶
type DescribeLogDownloadListResponse struct { *tchttp.BaseResponse Response *struct { // 日志信息列表。 LogInfoList []*LogInfo `json:"LogInfoList,omitempty" name:"LogInfoList" list` // 总条数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLogDownloadListResponse ¶
func NewDescribeLogDownloadListResponse() (response *DescribeLogDownloadListResponse)
func (*DescribeLogDownloadListResponse) FromJsonString ¶
func (r *DescribeLogDownloadListResponse) FromJsonString(s string) error
func (*DescribeLogDownloadListResponse) ToJsonString ¶
func (r *DescribeLogDownloadListResponse) ToJsonString() string
type DescribePlayErrorCodeDetailInfoListRequest ¶
type DescribePlayErrorCodeDetailInfoListRequest struct { *tchttp.BaseRequest // 起始时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 // 注:EndTime 和 StartTime 只支持最近1天的数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 查询粒度: // 1-1分钟粒度。 Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // 是,可选值包括”4xx”,”5xx”,支持”4xx,5xx”等这种混合模式。 StatType *string `json:"StatType,omitempty" name:"StatType"` // 播放域名列表。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` }
func NewDescribePlayErrorCodeDetailInfoListRequest ¶
func NewDescribePlayErrorCodeDetailInfoListRequest() (request *DescribePlayErrorCodeDetailInfoListRequest)
func (*DescribePlayErrorCodeDetailInfoListRequest) FromJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListRequest) FromJsonString(s string) error
func (*DescribePlayErrorCodeDetailInfoListRequest) ToJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListRequest) ToJsonString() string
type DescribePlayErrorCodeDetailInfoListResponse ¶
type DescribePlayErrorCodeDetailInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 统计信息列表。 HttpCodeList []*HttpCodeInfo `json:"HttpCodeList,omitempty" name:"HttpCodeList" list` // 统计类型。 StatType *string `json:"StatType,omitempty" name:"StatType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribePlayErrorCodeDetailInfoListResponse) ToJsonString ¶
func (r *DescribePlayErrorCodeDetailInfoListResponse) ToJsonString() string
type DescribePlayErrorCodeSumInfoListRequest ¶
type DescribePlayErrorCodeSumInfoListRequest struct { *tchttp.BaseRequest // 起始时间点,北京时间。 // 格式:yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,北京时间。 // 格式:yyyy-mm-dd HH:MM:SS。 // 注:EndTime 和 StartTime 只支持最近1天的数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 播放域名列表,不填表示总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 页数, // 范围[1,1000], // 默认值:1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数, // 范围:[1,1000], // 默认值: 20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribePlayErrorCodeSumInfoListRequest ¶
func NewDescribePlayErrorCodeSumInfoListRequest() (request *DescribePlayErrorCodeSumInfoListRequest)
func (*DescribePlayErrorCodeSumInfoListRequest) FromJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListRequest) FromJsonString(s string) error
func (*DescribePlayErrorCodeSumInfoListRequest) ToJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListRequest) ToJsonString() string
type DescribePlayErrorCodeSumInfoListResponse ¶
type DescribePlayErrorCodeSumInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 分省份分运营商错误码为4或5开头的状态码数据信息。 ProIspInfoList []*ProIspPlayCodeDataInfo `json:"ProIspInfoList,omitempty" name:"ProIspInfoList" list` // 所有状态码的加和的次数。 TotalCodeAll *uint64 `json:"TotalCodeAll,omitempty" name:"TotalCodeAll"` // 状态码为4开头的总次数。 TotalCode4xx *uint64 `json:"TotalCode4xx,omitempty" name:"TotalCode4xx"` // 状态码为5开头的总次数。 TotalCode5xx *uint64 `json:"TotalCode5xx,omitempty" name:"TotalCode5xx"` // 各状态码的总次数,暂时支持400,403,404,500,502,503,504。 TotalCodeList []*PlayCodeTotalInfo `json:"TotalCodeList,omitempty" name:"TotalCodeList" list` // 页号。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页大小。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 总记录数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribePlayErrorCodeSumInfoListResponse) ToJsonString ¶
func (r *DescribePlayErrorCodeSumInfoListResponse) ToJsonString() string
type DescribeProIspPlaySumInfoListRequest ¶
type DescribeProIspPlaySumInfoListRequest struct { *tchttp.BaseRequest // 起始时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间, // 格式:yyyy-mm-dd HH:MM:SS。 // 注:EndTime 和 StartTime 只支持最近1天的数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 统计的类型,可选值包括”Province”,”Isp”。 StatType *string `json:"StatType,omitempty" name:"StatType"` // 不填则为总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 页号, // 范围是[1,1000], // 默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围是[1,1000], // 默认值是20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeProIspPlaySumInfoListRequest ¶
func NewDescribeProIspPlaySumInfoListRequest() (request *DescribeProIspPlaySumInfoListRequest)
func (*DescribeProIspPlaySumInfoListRequest) FromJsonString ¶
func (r *DescribeProIspPlaySumInfoListRequest) FromJsonString(s string) error
func (*DescribeProIspPlaySumInfoListRequest) ToJsonString ¶
func (r *DescribeProIspPlaySumInfoListRequest) ToJsonString() string
type DescribeProIspPlaySumInfoListResponse ¶
type DescribeProIspPlaySumInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 总流量。 TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // 总请求数。 TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // 统计的类型。 StatType *string `json:"StatType,omitempty" name:"StatType"` // 每页的记录数。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 页号。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 总记录数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 省份或运营商汇总数据列表。 DataInfoList []*ProIspPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 平均带宽。 AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeProIspPlaySumInfoListResponse) ToJsonString ¶
func (r *DescribeProIspPlaySumInfoListResponse) ToJsonString() string
type DescribeProvinceIspPlayInfoListRequest ¶
type DescribeProvinceIspPlayInfoListRequest struct { *tchttp.BaseRequest // 起始时间点,当前使用北京时间, // 例:2019-02-21 10:00:00。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,当前使用北京时间, // 例:2019-02-21 12:00:00。 // 注:EndTime 和 StartTime 只支持最近1天的数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 支持如下粒度: // 1:1分钟粒度(跨度不支持超过1天) Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"` // 统计指标类型: // “Bandwidth”:带宽 // “FluxPerSecond”:平均流量 // “Flux”:流量 // “Request”:请求数 // “Online”:并发连接数 StatType *string `json:"StatType,omitempty" name:"StatType"` // 播放域名列表。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 非必传参数,要查询的省份(地区)英文名称列表,如 Beijing ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames" list` // 非必传参数,要查询的运营商英文名称列表,如 China Mobile ,如果为空,查询所有运营商的数据 IspNames []*string `json:"IspNames,omitempty" name:"IspNames" list` }
func NewDescribeProvinceIspPlayInfoListRequest ¶
func NewDescribeProvinceIspPlayInfoListRequest() (request *DescribeProvinceIspPlayInfoListRequest)
func (*DescribeProvinceIspPlayInfoListRequest) FromJsonString ¶
func (r *DescribeProvinceIspPlayInfoListRequest) FromJsonString(s string) error
func (*DescribeProvinceIspPlayInfoListRequest) ToJsonString ¶
func (r *DescribeProvinceIspPlayInfoListRequest) ToJsonString() string
type DescribeProvinceIspPlayInfoListResponse ¶
type DescribeProvinceIspPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 播放信息列表。 DataInfoList []*PlayStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 统计的类型,和输入参数保持一致。 StatType *string `json:"StatType,omitempty" name:"StatType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeProvinceIspPlayInfoListResponse) ToJsonString ¶
func (r *DescribeProvinceIspPlayInfoListResponse) ToJsonString() string
type DescribePullStreamConfigsRequest ¶
type DescribePullStreamConfigsRequest struct { *tchttp.BaseRequest // 配置id。 ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"` }
func NewDescribePullStreamConfigsRequest ¶
func NewDescribePullStreamConfigsRequest() (request *DescribePullStreamConfigsRequest)
func (*DescribePullStreamConfigsRequest) FromJsonString ¶
func (r *DescribePullStreamConfigsRequest) FromJsonString(s string) error
func (*DescribePullStreamConfigsRequest) ToJsonString ¶
func (r *DescribePullStreamConfigsRequest) ToJsonString() string
type DescribePullStreamConfigsResponse ¶
type DescribePullStreamConfigsResponse struct { *tchttp.BaseResponse Response *struct { // 拉流配置。 PullStreamConfigs []*PullStreamConfig `json:"PullStreamConfigs,omitempty" name:"PullStreamConfigs" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePullStreamConfigsResponse ¶
func NewDescribePullStreamConfigsResponse() (response *DescribePullStreamConfigsResponse)
func (*DescribePullStreamConfigsResponse) FromJsonString ¶
func (r *DescribePullStreamConfigsResponse) FromJsonString(s string) error
func (*DescribePullStreamConfigsResponse) ToJsonString ¶
func (r *DescribePullStreamConfigsResponse) ToJsonString() string
type DescribeStreamDayPlayInfoListRequest ¶
type DescribeStreamDayPlayInfoListRequest struct { *tchttp.BaseRequest // 日期, // 格式:YYYY-mm-dd。 DayTime *string `json:"DayTime,omitempty" name:"DayTime"` // 播放域名。 PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // 页号,范围[1,10],默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围[100,1000],默认值是1000。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` }
func NewDescribeStreamDayPlayInfoListRequest ¶
func NewDescribeStreamDayPlayInfoListRequest() (request *DescribeStreamDayPlayInfoListRequest)
func (*DescribeStreamDayPlayInfoListRequest) FromJsonString ¶
func (r *DescribeStreamDayPlayInfoListRequest) FromJsonString(s string) error
func (*DescribeStreamDayPlayInfoListRequest) ToJsonString ¶
func (r *DescribeStreamDayPlayInfoListRequest) ToJsonString() string
type DescribeStreamDayPlayInfoListResponse ¶
type DescribeStreamDayPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 播放数据信息列表。 DataInfoList []*PlayDataInfoByStream `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 总数量。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 当前数据所处页码。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeStreamDayPlayInfoListResponse) ToJsonString ¶
func (r *DescribeStreamDayPlayInfoListResponse) ToJsonString() string
type DescribeStreamPlayInfoListRequest ¶
type DescribeStreamPlayInfoListRequest struct { *tchttp.BaseRequest // 开始时间,北京时间,格式为yyyy-mm-dd HH:MM:SS, // 当前时间 和 开始时间 间隔不超过30天。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间,格式为yyyy-mm-dd HH:MM:SS, // 结束时间 和 开始时间 必须在同一天内。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 播放域名, // 若不填,则为查询所有播放域名的在线流数据。 PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"` // 流名称,精确匹配。 // 若不填,则为查询总体播放数据。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。精确匹配,不支持。 // 若不填,则为查询总体播放数据。 // 注意:按AppName查询,需要联系客服同学提单支持。 AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDescribeStreamPlayInfoListRequest ¶
func NewDescribeStreamPlayInfoListRequest() (request *DescribeStreamPlayInfoListRequest)
func (*DescribeStreamPlayInfoListRequest) FromJsonString ¶
func (r *DescribeStreamPlayInfoListRequest) FromJsonString(s string) error
func (*DescribeStreamPlayInfoListRequest) ToJsonString ¶
func (r *DescribeStreamPlayInfoListRequest) ToJsonString() string
type DescribeStreamPlayInfoListResponse ¶
type DescribeStreamPlayInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 统计信息列表。 DataInfoList []*DayStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeStreamPlayInfoListResponse) ToJsonString ¶
func (r *DescribeStreamPlayInfoListResponse) ToJsonString() string
type DescribeStreamPushInfoListRequest ¶
type DescribeStreamPushInfoListRequest struct { *tchttp.BaseRequest // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS,最大时间跨度支持6小时,支持最近6天数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDescribeStreamPushInfoListRequest ¶
func NewDescribeStreamPushInfoListRequest() (request *DescribeStreamPushInfoListRequest)
func (*DescribeStreamPushInfoListRequest) FromJsonString ¶
func (r *DescribeStreamPushInfoListRequest) FromJsonString(s string) error
func (*DescribeStreamPushInfoListRequest) ToJsonString ¶
func (r *DescribeStreamPushInfoListRequest) ToJsonString() string
type DescribeStreamPushInfoListResponse ¶
type DescribeStreamPushInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 返回的数据列表。 DataInfoList []*PushQualityData `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeStreamPushInfoListResponse) ToJsonString ¶
func (r *DescribeStreamPushInfoListResponse) ToJsonString() string
type DescribeTopClientIpSumInfoListRequest ¶
type DescribeTopClientIpSumInfoListRequest struct { *tchttp.BaseRequest // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS // 时间跨度在(0,4小时],支持最近1天数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 播放域名,默认为不填,表示求总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 页号, // 范围是[1,1000], // 默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围是[1,1000], // 默认值是20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 排序指标,可选值包括”TotalRequest”,”FailedRequest”,“TotalFlux”。 OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` }
func NewDescribeTopClientIpSumInfoListRequest ¶
func NewDescribeTopClientIpSumInfoListRequest() (request *DescribeTopClientIpSumInfoListRequest)
func (*DescribeTopClientIpSumInfoListRequest) FromJsonString ¶
func (r *DescribeTopClientIpSumInfoListRequest) FromJsonString(s string) error
func (*DescribeTopClientIpSumInfoListRequest) ToJsonString ¶
func (r *DescribeTopClientIpSumInfoListRequest) ToJsonString() string
type DescribeTopClientIpSumInfoListResponse ¶
type DescribeTopClientIpSumInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 页号, // 范围是[1,1000], // 默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围是[1,1000], // 默认值是20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 排序指标,可选值包括”TotalRequest”,”FailedRequest”,“TotalFlux”。 OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // 记录总数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 记录总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 数据内容。 DataInfoList []*ClientIpPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeTopClientIpSumInfoListResponse) ToJsonString ¶
func (r *DescribeTopClientIpSumInfoListResponse) ToJsonString() string
type DescribeVisitTopSumInfoListRequest ¶
type DescribeVisitTopSumInfoListRequest struct { *tchttp.BaseRequest // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS // 时间跨度在(0,4小时],支持最近1天数据查询。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 峰值指标,可选值包括”Domain”,”StreamId”。 TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"` // 播放域名,默认为不填,表示求总体数据。 PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains" list` // 页号, // 范围是[1,1000], // 默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围是[1,1000], // 默认值是20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 排序指标,可选值包括” AvgFluxPerSecond”,”TotalRequest”(默认),“TotalFlux”。 OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` }
func NewDescribeVisitTopSumInfoListRequest ¶
func NewDescribeVisitTopSumInfoListRequest() (request *DescribeVisitTopSumInfoListRequest)
func (*DescribeVisitTopSumInfoListRequest) FromJsonString ¶
func (r *DescribeVisitTopSumInfoListRequest) FromJsonString(s string) error
func (*DescribeVisitTopSumInfoListRequest) ToJsonString ¶
func (r *DescribeVisitTopSumInfoListRequest) ToJsonString() string
type DescribeVisitTopSumInfoListResponse ¶
type DescribeVisitTopSumInfoListResponse struct { *tchttp.BaseResponse Response *struct { // 页号, // 范围是[1,1000], // 默认值是1。 PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"` // 每页个数,范围是[1,1000], // 默认值是20。 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 峰值指标,可选值包括”Domain”,”StreamId”。 TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"` // 排序指标,可选值包括” AvgFluxPerSecond”,”TotalRequest”(默认),“TotalFlux”。 OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"` // 记录总数。 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 记录总页数。 TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"` // 数据内容。 DataInfoList []*PlaySumStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DescribeVisitTopSumInfoListResponse) ToJsonString ¶
func (r *DescribeVisitTopSumInfoListResponse) ToJsonString() string
type DomainCertInfo ¶
type DomainCertInfo struct { // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` // 证书名称。 CertName *string `json:"CertName,omitempty" name:"CertName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 创建时间,UTC格式。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 证书内容。 HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // 证书类型。 // 0:腾讯云托管证书 // 1:用户添加证书。 CertType *int64 `json:"CertType,omitempty" name:"CertType"` // 证书过期时间,UTC格式。 CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` // 使用此证书的域名名称。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 证书状态 Status *int64 `json:"Status,omitempty" name:"Status"` }
type DomainDetailInfo ¶
type DomainDetailInfo struct { // 国内还是国外,可选值包括Mainland和Oversea,如果为“Mainland”,表示国内数据;如果为“Oversea”,表示国外数据。 MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"` // 带宽,单位是Mbps。 Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 流量,单位是MB。 Flux *float64 `json:"Flux,omitempty" name:"Flux"` // 人数。 Online *uint64 `json:"Online,omitempty" name:"Online"` // 请求数。 Request *uint64 `json:"Request,omitempty" name:"Request"` }
type DomainInfo ¶
type DomainInfo struct { // 直播域名 Name *string `json:"Name,omitempty" name:"Name"` // 域名类型。0-推流,1-播放 Type *uint64 `json:"Type,omitempty" name:"Type"` // 域名状态。0-停用,1-启用 Status *uint64 `json:"Status,omitempty" name:"Status"` // 添加时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 是否有CName到固定规则域名。0-否,1-是 BCName *uint64 `json:"BCName,omitempty" name:"BCName"` // cname对应的域名 TargetDomain *string `json:"TargetDomain,omitempty" name:"TargetDomain"` // 播放区域,只在Type=1时该参数有意义。 // 1-国内,2-全球,3-海外。 PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"` // 0:普通直播, // 1:慢直播。 IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // 当前客户使用的cname信息 CurrentCName *string `json:"CurrentCName,omitempty" name:"CurrentCName"` }
type DomainInfoList ¶
type DomainInfoList struct { // 域名。 Domain *string `json:"Domain,omitempty" name:"Domain"` // 明细信息。 DetailInfoList []*DomainDetailInfo `json:"DetailInfoList,omitempty" name:"DetailInfoList" list` }
type DropLiveStreamRequest ¶
type DropLiveStreamRequest struct { *tchttp.BaseRequest // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 您的加速域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDropLiveStreamRequest ¶
func NewDropLiveStreamRequest() (request *DropLiveStreamRequest)
func (*DropLiveStreamRequest) FromJsonString ¶
func (r *DropLiveStreamRequest) FromJsonString(s string) error
func (*DropLiveStreamRequest) ToJsonString ¶
func (r *DropLiveStreamRequest) ToJsonString() string
type DropLiveStreamResponse ¶
type DropLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*DropLiveStreamResponse) ToJsonString ¶
func (r *DropLiveStreamResponse) ToJsonString() string
type EnableLiveDomainRequest ¶
type EnableLiveDomainRequest struct { *tchttp.BaseRequest // 待启用的直播域名 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewEnableLiveDomainRequest ¶
func NewEnableLiveDomainRequest() (request *EnableLiveDomainRequest)
func (*EnableLiveDomainRequest) FromJsonString ¶
func (r *EnableLiveDomainRequest) FromJsonString(s string) error
func (*EnableLiveDomainRequest) ToJsonString ¶
func (r *EnableLiveDomainRequest) ToJsonString() string
type EnableLiveDomainResponse ¶
type EnableLiveDomainResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*EnableLiveDomainResponse) ToJsonString ¶
func (r *EnableLiveDomainResponse) ToJsonString() string
type ForbidLiveDomainRequest ¶
type ForbidLiveDomainRequest struct { *tchttp.BaseRequest // 待停用的直播域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewForbidLiveDomainRequest ¶
func NewForbidLiveDomainRequest() (request *ForbidLiveDomainRequest)
func (*ForbidLiveDomainRequest) FromJsonString ¶
func (r *ForbidLiveDomainRequest) FromJsonString(s string) error
func (*ForbidLiveDomainRequest) ToJsonString ¶
func (r *ForbidLiveDomainRequest) ToJsonString() string
type ForbidLiveDomainResponse ¶
type ForbidLiveDomainResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ForbidLiveDomainResponse) ToJsonString ¶
func (r *ForbidLiveDomainResponse) ToJsonString() string
type ForbidLiveStreamRequest ¶
type ForbidLiveStreamRequest struct { *tchttp.BaseRequest // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 您的加速域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。 // 注意:默认禁播90天,且最长支持禁播90天。 ResumeTime *string `json:"ResumeTime,omitempty" name:"ResumeTime"` // 禁推原因。 // 注明:请务必填写禁推原因,防止误操作。 // 长度限制:2048字节。 Reason *string `json:"Reason,omitempty" name:"Reason"` }
func NewForbidLiveStreamRequest ¶
func NewForbidLiveStreamRequest() (request *ForbidLiveStreamRequest)
func (*ForbidLiveStreamRequest) FromJsonString ¶
func (r *ForbidLiveStreamRequest) FromJsonString(s string) error
func (*ForbidLiveStreamRequest) ToJsonString ¶
func (r *ForbidLiveStreamRequest) ToJsonString() string
type ForbidLiveStreamResponse ¶
type ForbidLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ForbidLiveStreamResponse) ToJsonString ¶
func (r *ForbidLiveStreamResponse) ToJsonString() string
type ForbidStreamInfo ¶
type GroupProIspDataInfo ¶
type GroupProIspDataInfo struct { // 省份。 ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // 运营商。 IspName *string `json:"IspName,omitempty" name:"IspName"` // 分钟维度的明细数据。 DetailInfoList []*CdnPlayStatData `json:"DetailInfoList,omitempty" name:"DetailInfoList" list` }
type HlsSpecialParam ¶
type HlsSpecialParam struct { // HLS续流超时时间。 FlowContinueDuration *uint64 `json:"FlowContinueDuration,omitempty" name:"FlowContinueDuration"` }
type HttpCodeInfo ¶
type HttpCodeInfo struct { // HTTP协议返回码。 // 例:"2xx", "3xx", "4xx", "5xx"。 HttpCode *string `json:"HttpCode,omitempty" name:"HttpCode"` // 统计信息,对于无数据的时间点,会补0。 ValueList []*HttpCodeValue `json:"ValueList,omitempty" name:"ValueList" list` }
type HttpCodeValue ¶
type HttpStatusData ¶
type HttpStatusData struct { // 数据时间点, // 格式:yyyy-mm-dd HH:MM:SS。 Time *string `json:"Time,omitempty" name:"Time"` // 播放状态码详细信息。 HttpStatusInfoList []*HttpStatusInfo `json:"HttpStatusInfoList,omitempty" name:"HttpStatusInfoList" list` }
type HttpStatusInfo ¶
type ModifyLiveCallbackTemplateRequest ¶
type ModifyLiveCallbackTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 开播回调URL。 StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"` // 断流回调URL。 StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"` // 录制回调URL。 RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"` // 截图回调URL。 SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"` // 鉴黄回调URL。 PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"` // 回调key,回调URL公用,鉴权回调说明详见回调格式文档 CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` }
func NewModifyLiveCallbackTemplateRequest ¶
func NewModifyLiveCallbackTemplateRequest() (request *ModifyLiveCallbackTemplateRequest)
func (*ModifyLiveCallbackTemplateRequest) FromJsonString ¶
func (r *ModifyLiveCallbackTemplateRequest) FromJsonString(s string) error
func (*ModifyLiveCallbackTemplateRequest) ToJsonString ¶
func (r *ModifyLiveCallbackTemplateRequest) ToJsonString() string
type ModifyLiveCallbackTemplateResponse ¶
type ModifyLiveCallbackTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveCallbackTemplateResponse) ToJsonString ¶
func (r *ModifyLiveCallbackTemplateResponse) ToJsonString() string
type ModifyLiveCertRequest ¶
type ModifyLiveCertRequest struct { *tchttp.BaseRequest // 证书Id。 CertId *string `json:"CertId,omitempty" name:"CertId"` // 证书类型。0-用户添加证书;1-腾讯云托管证书。 CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // 证书名称。 CertName *string `json:"CertName,omitempty" name:"CertName"` // 证书内容,即公钥。 HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"` // 私钥。 HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyLiveCertRequest ¶
func NewModifyLiveCertRequest() (request *ModifyLiveCertRequest)
func (*ModifyLiveCertRequest) FromJsonString ¶
func (r *ModifyLiveCertRequest) FromJsonString(s string) error
func (*ModifyLiveCertRequest) ToJsonString ¶
func (r *ModifyLiveCertRequest) ToJsonString() string
type ModifyLiveCertResponse ¶
type ModifyLiveCertResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveCertResponse) ToJsonString ¶
func (r *ModifyLiveCertResponse) ToJsonString() string
type ModifyLiveDomainCertRequest ¶
type ModifyLiveDomainCertRequest struct { *tchttp.BaseRequest // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 证书Id。 CertId *int64 `json:"CertId,omitempty" name:"CertId"` // 状态,0:关闭 1:打开。 Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewModifyLiveDomainCertRequest ¶
func NewModifyLiveDomainCertRequest() (request *ModifyLiveDomainCertRequest)
func (*ModifyLiveDomainCertRequest) FromJsonString ¶
func (r *ModifyLiveDomainCertRequest) FromJsonString(s string) error
func (*ModifyLiveDomainCertRequest) ToJsonString ¶
func (r *ModifyLiveDomainCertRequest) ToJsonString() string
type ModifyLiveDomainCertResponse ¶
type ModifyLiveDomainCertResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveDomainCertResponse) ToJsonString ¶
func (r *ModifyLiveDomainCertResponse) ToJsonString() string
type ModifyLivePlayAuthKeyRequest ¶
type ModifyLivePlayAuthKeyRequest struct { *tchttp.BaseRequest // 域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 是否启用,0:关闭,1:启用。 Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 鉴权key。 AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"` // 有效时间,单位:秒。 AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` // 鉴权backkey。 AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"` }
func NewModifyLivePlayAuthKeyRequest ¶
func NewModifyLivePlayAuthKeyRequest() (request *ModifyLivePlayAuthKeyRequest)
func (*ModifyLivePlayAuthKeyRequest) FromJsonString ¶
func (r *ModifyLivePlayAuthKeyRequest) FromJsonString(s string) error
func (*ModifyLivePlayAuthKeyRequest) ToJsonString ¶
func (r *ModifyLivePlayAuthKeyRequest) ToJsonString() string
type ModifyLivePlayAuthKeyResponse ¶
type ModifyLivePlayAuthKeyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLivePlayAuthKeyResponse) ToJsonString ¶
func (r *ModifyLivePlayAuthKeyResponse) ToJsonString() string
type ModifyLivePlayDomainRequest ¶
type ModifyLivePlayDomainRequest struct { *tchttp.BaseRequest // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 拉流域名类型。1-国内;2-全球;3-境外 PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"` }
func NewModifyLivePlayDomainRequest ¶
func NewModifyLivePlayDomainRequest() (request *ModifyLivePlayDomainRequest)
func (*ModifyLivePlayDomainRequest) FromJsonString ¶
func (r *ModifyLivePlayDomainRequest) FromJsonString(s string) error
func (*ModifyLivePlayDomainRequest) ToJsonString ¶
func (r *ModifyLivePlayDomainRequest) ToJsonString() string
type ModifyLivePlayDomainResponse ¶
type ModifyLivePlayDomainResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLivePlayDomainResponse) ToJsonString ¶
func (r *ModifyLivePlayDomainResponse) ToJsonString() string
type ModifyLivePushAuthKeyRequest ¶
type ModifyLivePushAuthKeyRequest struct { *tchttp.BaseRequest // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 是否启用,0:关闭,1:启用。 Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 主鉴权key。 MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"` // 备鉴权key。 BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"` // 有效时间,单位:秒。 AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` }
func NewModifyLivePushAuthKeyRequest ¶
func NewModifyLivePushAuthKeyRequest() (request *ModifyLivePushAuthKeyRequest)
func (*ModifyLivePushAuthKeyRequest) FromJsonString ¶
func (r *ModifyLivePushAuthKeyRequest) FromJsonString(s string) error
func (*ModifyLivePushAuthKeyRequest) ToJsonString ¶
func (r *ModifyLivePushAuthKeyRequest) ToJsonString() string
type ModifyLivePushAuthKeyResponse ¶
type ModifyLivePushAuthKeyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLivePushAuthKeyResponse) ToJsonString ¶
func (r *ModifyLivePushAuthKeyResponse) ToJsonString() string
type ModifyLiveRecordTemplateRequest ¶
type ModifyLiveRecordTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // Flv录制参数,开启Flv录制时设置。 FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // Hls录制参数,开启hls录制时设置。 HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // Mp4录制参数,开启Mp4录制时设置。 Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // Aac录制参数,开启Aac录制时设置。 AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // HLS录制定制参数 HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // Mp3录制参数,开启Mp3录制时设置。 Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` }
func NewModifyLiveRecordTemplateRequest ¶
func NewModifyLiveRecordTemplateRequest() (request *ModifyLiveRecordTemplateRequest)
func (*ModifyLiveRecordTemplateRequest) FromJsonString ¶
func (r *ModifyLiveRecordTemplateRequest) FromJsonString(s string) error
func (*ModifyLiveRecordTemplateRequest) ToJsonString ¶
func (r *ModifyLiveRecordTemplateRequest) ToJsonString() string
type ModifyLiveRecordTemplateResponse ¶
type ModifyLiveRecordTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveRecordTemplateResponse) ToJsonString ¶
func (r *ModifyLiveRecordTemplateResponse) ToJsonString() string
type ModifyLiveSnapshotTemplateRequest ¶
type ModifyLiveSnapshotTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 // 长度上限:255字节。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 // 长度上限:1024字节。 Description *string `json:"Description,omitempty" name:"Description"` // 截图间隔,单位s,默认10s。 // 范围: 5s ~ 600s。 SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // 截图宽度。默认:0(原始宽)。 Width *int64 `json:"Width,omitempty" name:"Width"` // 截图高度。默认:0(原始高)。 Height *int64 `json:"Height,omitempty" name:"Height"` // 是否开启鉴黄,0:不开启,1:开启。 PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // Cos AppId。 CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // Cos Bucket名称。 CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // Cos 地域。 CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` }
func NewModifyLiveSnapshotTemplateRequest ¶
func NewModifyLiveSnapshotTemplateRequest() (request *ModifyLiveSnapshotTemplateRequest)
func (*ModifyLiveSnapshotTemplateRequest) FromJsonString ¶
func (r *ModifyLiveSnapshotTemplateRequest) FromJsonString(s string) error
func (*ModifyLiveSnapshotTemplateRequest) ToJsonString ¶
func (r *ModifyLiveSnapshotTemplateRequest) ToJsonString() string
type ModifyLiveSnapshotTemplateResponse ¶
type ModifyLiveSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveSnapshotTemplateResponse) ToJsonString ¶
func (r *ModifyLiveSnapshotTemplateResponse) ToJsonString() string
type ModifyLiveTranscodeTemplateRequest ¶
type ModifyLiveTranscodeTemplateRequest struct { *tchttp.BaseRequest // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 视频编码: // h264/h265。 Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // 音频编码: // aac/mp3。 Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // 音频码率,默认0。0-500 AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // 模板描述。 Description *string `json:"Description,omitempty" name:"Description"` // 视频码率。100-8000 VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // 宽。0-3000 Width *int64 `json:"Width,omitempty" name:"Width"` // 是否保留视频,0:否,1:是。默认1。 NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // 是否保留音频,0:否,1:是。默认1。 NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // 高。0-3000 Height *int64 `json:"Height,omitempty" name:"Height"` // 帧率。0-200 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // 关键帧间隔,单位:秒。0-50 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // 旋转角度。0 90 180 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // 编码质量: // baseline/main/high。 Profile *string `json:"Profile,omitempty" name:"Profile"` // 是否不超过原始码率。0:否,1:是。默认0。 BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // 是否不超过原始高。0:否,1:是。默认0。 HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // 是否不超过原始帧率。0:否,1:是。默认0。 FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // 急速高清相比VideoBitrate少多少码率,0.1到0.5 AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` }
func NewModifyLiveTranscodeTemplateRequest ¶
func NewModifyLiveTranscodeTemplateRequest() (request *ModifyLiveTranscodeTemplateRequest)
func (*ModifyLiveTranscodeTemplateRequest) FromJsonString ¶
func (r *ModifyLiveTranscodeTemplateRequest) FromJsonString(s string) error
func (*ModifyLiveTranscodeTemplateRequest) ToJsonString ¶
func (r *ModifyLiveTranscodeTemplateRequest) ToJsonString() string
type ModifyLiveTranscodeTemplateResponse ¶
type ModifyLiveTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ModifyLiveTranscodeTemplateResponse) ToJsonString ¶
func (r *ModifyLiveTranscodeTemplateResponse) ToJsonString() string
type ModifyPullStreamConfigRequest ¶
type ModifyPullStreamConfigRequest struct { *tchttp.BaseRequest // 配置id。 ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"` // 源Url。 FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"` // 目的Url。 ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"` // 区域id: // 1-深圳, // 2-上海, // 3-天津, // 4-中国香港。 // 如有改动,需同时传入IspId。 AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"` // 运营商id,1-电信,2-移动,3-联通,4-其他,AreaId为4的时候,IspId只能为其他。如有改动,需同时传入AreaId。 IspId *int64 `json:"IspId,omitempty" name:"IspId"` // 开始时间。 // 使用UTC格式时间, // 例如:2019-01-08T10:00:00Z。 // 格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,注意: // 1. 结束时间必须大于开始时间; // 2. 结束时间和开始时间必须大于当前时间; // 3. 结束时间 和 开始时间 间隔必须小于七天。 // // 使用UTC格式时间, // 例如:2019-01-08T10:00:00Z。 // 格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewModifyPullStreamConfigRequest ¶
func NewModifyPullStreamConfigRequest() (request *ModifyPullStreamConfigRequest)
func (*ModifyPullStreamConfigRequest) FromJsonString ¶
func (r *ModifyPullStreamConfigRequest) FromJsonString(s string) error
func (*ModifyPullStreamConfigRequest) ToJsonString ¶
func (r *ModifyPullStreamConfigRequest) ToJsonString() string
type ModifyPullStreamConfigResponse ¶
type ModifyPullStreamConfigResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPullStreamConfigResponse ¶
func NewModifyPullStreamConfigResponse() (response *ModifyPullStreamConfigResponse)
func (*ModifyPullStreamConfigResponse) FromJsonString ¶
func (r *ModifyPullStreamConfigResponse) FromJsonString(s string) error
func (*ModifyPullStreamConfigResponse) ToJsonString ¶
func (r *ModifyPullStreamConfigResponse) ToJsonString() string
type ModifyPullStreamStatusRequest ¶
type ModifyPullStreamStatusRequest struct { *tchttp.BaseRequest // 配置id列表。 ConfigIds []*string `json:"ConfigIds,omitempty" name:"ConfigIds" list` // 目标状态。0无效,2正在运行,4暂停。 Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyPullStreamStatusRequest ¶
func NewModifyPullStreamStatusRequest() (request *ModifyPullStreamStatusRequest)
func (*ModifyPullStreamStatusRequest) FromJsonString ¶
func (r *ModifyPullStreamStatusRequest) FromJsonString(s string) error
func (*ModifyPullStreamStatusRequest) ToJsonString ¶
func (r *ModifyPullStreamStatusRequest) ToJsonString() string
type ModifyPullStreamStatusResponse ¶
type ModifyPullStreamStatusResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPullStreamStatusResponse ¶
func NewModifyPullStreamStatusResponse() (response *ModifyPullStreamStatusResponse)
func (*ModifyPullStreamStatusResponse) FromJsonString ¶
func (r *ModifyPullStreamStatusResponse) FromJsonString(s string) error
func (*ModifyPullStreamStatusResponse) ToJsonString ¶
func (r *ModifyPullStreamStatusResponse) ToJsonString() string
type PlayAuthKeyInfo ¶
type PlayAuthKeyInfo struct { // 域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 是否启用,0:关闭,1:启用。 Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 鉴权key。 AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"` // 有效时间,单位:秒。 AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` // 鉴权BackKey。 AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"` }
type PlayCodeTotalInfo ¶
type PlayDataInfoByStream ¶
type PlayStatInfo ¶
type PlaySumStatInfo ¶
type PlaySumStatInfo struct { // 域名或流id。 Name *string `json:"Name,omitempty" name:"Name"` // 平均下载速度,单位是MB/s,计算公式是每分钟的下载速度求平均值。 AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` // 总流量,单位是MB。 TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // 总请求数。 TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` }
type ProIspPlayCodeDataInfo ¶
type ProIspPlayCodeDataInfo struct { // 省份。 ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"` // 运营商。 IspName *string `json:"IspName,omitempty" name:"IspName"` // 错误码为4开头的次数。 Code4xx *uint64 `json:"Code4xx,omitempty" name:"Code4xx"` // 错误码为5开头的次数。 Code5xx *uint64 `json:"Code5xx,omitempty" name:"Code5xx"` }
type ProIspPlaySumInfo ¶
type ProIspPlaySumInfo struct { // 省份/运营商。 Name *string `json:"Name,omitempty" name:"Name"` // 总流量,单位:MB。 TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"` // 总请求数。 TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"` // 平均下载流量,单位:MB/s AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"` }
type PublishTime ¶
type PublishTime struct { // 推流时间 // UTC 格式,例如:2018-06-29T19:00:00Z。 PublishTime *string `json:"PublishTime,omitempty" name:"PublishTime"` }
type PullStreamConfig ¶
type PullStreamConfig struct { // 拉流配置Id。 ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"` // 源Url。 FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"` // 目的Url。 ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"` // 区域名。 AreaName *string `json:"AreaName,omitempty" name:"AreaName"` // 运营商名。 IspName *string `json:"IspName,omitempty" name:"IspName"` // 开始时间。 // UTC格式时间, // 例如:2019-01-08T10:00:00Z。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间。 // // UTC格式时间, // 例如:2019-01-08T10:00:00Z。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 0无效,1初始状态,2正在运行,3拉起失败,4暂停。 Status *string `json:"Status,omitempty" name:"Status"` }
type PushAuthKeyInfo ¶
type PushAuthKeyInfo struct { // 域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 是否启用,0:关闭,1:启用。 Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 主鉴权key。 MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"` // 备鉴权key。 BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"` // 有效时间,单位:秒。 AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"` }
type PushDataInfo ¶
type PushDataInfo struct { // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 推流路径。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流客户端ip。 ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 接流服务器ip。 ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` // 推流视频帧率,单位是Hz。 VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"` // 推流视频码率,单位是bps。 VideoSpeed *uint64 `json:"VideoSpeed,omitempty" name:"VideoSpeed"` // 推流音频帧率,单位是Hz。 AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // 推流音频码率,单位是bps。 AudioSpeed *uint64 `json:"AudioSpeed,omitempty" name:"AudioSpeed"` // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // 推流开始时间。 BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"` // 音频编码格式, // 例:"AAC"。 Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // 视频编码格式, // 例:"H264"。 Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // 分辨率。 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type PushQualityData ¶
type PushQualityData struct { // 数据时间,格式是%Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。 Time *string `json:"Time,omitempty" name:"Time"` // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` // 推流路径。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流客户端ip。 ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 开始推流时间,格式是%Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。 BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"` // 分辨率信息。 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // 视频编码格式。 VCodec *string `json:"VCodec,omitempty" name:"VCodec"` // 音频编码格式。 ACodec *string `json:"ACodec,omitempty" name:"ACodec"` // 推流序列号,用来唯一的标志一次推流。 Sequence *string `json:"Sequence,omitempty" name:"Sequence"` // 视频帧率。 VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"` // 视频码率,单位是bps。 VideoRate *uint64 `json:"VideoRate,omitempty" name:"VideoRate"` // 音频帧率。 AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"` // 音频码率,单位是bps。 AudioRate *uint64 `json:"AudioRate,omitempty" name:"AudioRate"` // 本地流逝时间,单位是ms,音视频流逝时间与本地流逝时间的差距越大表示推流质量越差,上行卡顿越严重。 LocalTs *uint64 `json:"LocalTs,omitempty" name:"LocalTs"` // 视频流逝时间,单位是ms。 VideoTs *uint64 `json:"VideoTs,omitempty" name:"VideoTs"` // 音频流逝时间,单位是ms。 AudioTs *uint64 `json:"AudioTs,omitempty" name:"AudioTs"` }
type RecordParam ¶
type RecordParam struct { // 录制间隔。 // 单位秒,默认值1800。 // 取值范围:300-7200。 // 此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。 RecordInterval *int64 `json:"RecordInterval,omitempty" name:"RecordInterval"` // 录制存储时长。 // 单位秒,取值范围: 0-93312000。 // 0表示永久存储。 StorageTime *int64 `json:"StorageTime,omitempty" name:"StorageTime"` // 是否开启当前格式录制,0 否 1是。默认值0。 Enable *int64 `json:"Enable,omitempty" name:"Enable"` }
type RecordTemplateInfo ¶
type RecordTemplateInfo struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // Flv录制参数。 FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"` // Hls录制参数。 HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"` // Mp4录制参数。 Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"` // Aac录制参数。 AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"` // 0:普通直播, // 1:慢直播。 IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"` // HLS录制定制参数 HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"` // Mp3录制参数。 Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"` }
type ResumeDelayLiveStreamRequest ¶
type ResumeDelayLiveStreamRequest struct { *tchttp.BaseRequest // 推流路径,与推流和播放地址中的AppName保持一致,默认为live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewResumeDelayLiveStreamRequest ¶
func NewResumeDelayLiveStreamRequest() (request *ResumeDelayLiveStreamRequest)
func (*ResumeDelayLiveStreamRequest) FromJsonString ¶
func (r *ResumeDelayLiveStreamRequest) FromJsonString(s string) error
func (*ResumeDelayLiveStreamRequest) ToJsonString ¶
func (r *ResumeDelayLiveStreamRequest) ToJsonString() string
type ResumeDelayLiveStreamResponse ¶
type ResumeDelayLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ResumeDelayLiveStreamResponse) ToJsonString ¶
func (r *ResumeDelayLiveStreamResponse) ToJsonString() string
type ResumeLiveStreamRequest ¶
type ResumeLiveStreamRequest struct { *tchttp.BaseRequest // 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 您的加速域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
func NewResumeLiveStreamRequest ¶
func NewResumeLiveStreamRequest() (request *ResumeLiveStreamRequest)
func (*ResumeLiveStreamRequest) FromJsonString ¶
func (r *ResumeLiveStreamRequest) FromJsonString(s string) error
func (*ResumeLiveStreamRequest) ToJsonString ¶
func (r *ResumeLiveStreamRequest) ToJsonString() string
type ResumeLiveStreamResponse ¶
type ResumeLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*ResumeLiveStreamResponse) ToJsonString ¶
func (r *ResumeLiveStreamResponse) ToJsonString() string
type RuleInfo ¶
type RuleInfo struct { // 规则创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 规则更新时间。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流路径。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` }
type SnapshotTemplateInfo ¶
type SnapshotTemplateInfo struct { // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 截图时间间隔。5-300秒。 SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"` // 截图宽度。0-3000 0原始宽度并适配原始比例 Width *int64 `json:"Width,omitempty" name:"Width"` // 截图高度。0-2000 0原始高度并适配原始比例 Height *int64 `json:"Height,omitempty" name:"Height"` // 是否开启鉴黄,0:不开启,1:开启。 PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"` // Cos AppId。 CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"` // Cos Bucket名称。 CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"` // Cos 地域。 CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"` // 模板描述 Description *string `json:"Description,omitempty" name:"Description"` }
type StopLiveRecordRequest ¶
type StopLiveRecordRequest struct { *tchttp.BaseRequest // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 任务ID,全局唯一标识录制任务。 TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewStopLiveRecordRequest ¶
func NewStopLiveRecordRequest() (request *StopLiveRecordRequest)
func (*StopLiveRecordRequest) FromJsonString ¶
func (r *StopLiveRecordRequest) FromJsonString(s string) error
func (*StopLiveRecordRequest) ToJsonString ¶
func (r *StopLiveRecordRequest) ToJsonString() string
type StopLiveRecordResponse ¶
type StopLiveRecordResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*StopLiveRecordResponse) ToJsonString ¶
func (r *StopLiveRecordResponse) ToJsonString() string
type StreamEventInfo ¶
type StreamEventInfo struct { // 应用名称。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 推流开始时间。 // UTC格式时间, // 例如:2019-01-07T12:00:00Z。 StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"` // 推流结束时间。 // UTC格式时间, // 例如:2019-01-07T15:00:00Z。 StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"` // 停止原因。 StopReason *string `json:"StopReason,omitempty" name:"StopReason"` // 推流持续时长,单位:秒。 Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // 主播IP。 ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 分辨率。 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type StreamInfo ¶
type StreamInfo struct { // 直播流所属应用名称 AppName *string `json:"AppName,omitempty" name:"AppName"` // 创建模式 CreateMode *string `json:"CreateMode,omitempty" name:"CreateMode"` // 创建时间,如: 2018-07-13 14:48:23 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 流状态 Status *int64 `json:"Status,omitempty" name:"Status"` // 流id StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // 流名称 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 水印id WaterMarkId *string `json:"WaterMarkId,omitempty" name:"WaterMarkId"` }
type StreamName ¶
type StreamName struct { // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 应用名称。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 推流开始时间。 // UTC格式时间, // 例如:2019-01-07T12:00:00Z。 StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"` // 推流结束时间。 // UTC格式时间, // 例如:2019-01-07T15:00:00Z。 StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"` // 停止原因。 StopReason *string `json:"StopReason,omitempty" name:"StopReason"` // 推流持续时长,单位:秒。 Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // 主播IP。 ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // 分辨率。 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` }
type StreamOnlineInfo ¶
type StreamOnlineInfo struct { // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 推流时间列表 PublishTimeList []*PublishTime `json:"PublishTimeList,omitempty" name:"PublishTimeList" list` // 应用名称。 AppName *string `json:"AppName,omitempty" name:"AppName"` // 推流域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
type TemplateInfo ¶
type TemplateInfo struct { // 视频编码: // h264/h265。 Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"` // 视频码率。100-8000kbps VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"` // 音频编码:aac/mp3 // aac/mp3。 Acodec *string `json:"Acodec,omitempty" name:"Acodec"` // 音频码率。0-500 AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"` // 宽。0-3000 Width *int64 `json:"Width,omitempty" name:"Width"` // 高。0-3000 Height *int64 `json:"Height,omitempty" name:"Height"` // 帧率。0-200 Fps *int64 `json:"Fps,omitempty" name:"Fps"` // 关键帧间隔,单位:秒。1-50 Gop *int64 `json:"Gop,omitempty" name:"Gop"` // 旋转角度。0 90 180 270 Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // 编码质量: // baseline/main/high。 Profile *string `json:"Profile,omitempty" name:"Profile"` // 是否不超过原始码率。0:否,1:是。 BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"` // 是否不超过原始高度。0:否,1:是。 HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"` // 是否不超过原始帧率。0:否,1:是。 FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"` // 是否保留视频。0:否,1:是。 NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"` // 是否保留音频。0:否,1:是。 NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"` // 模板Id。 TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // 模板名称 TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // 模板描述 Description *string `json:"Description,omitempty" name:"Description"` // 是否是急速高清模板,0:否,1:是。默认0。 AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"` // 急速高清相比VideoBitrate少多少码率,0.1到0.5 AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"` }
type TranscodeDetailInfo ¶
type TranscodeDetailInfo struct { // 流名称。 StreamName *string `json:"StreamName,omitempty" name:"StreamName"` // 开始时间,北京时间, // 格式:yyyy-mm-dd HH:MM。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,北京时间, // 格式:yyyy-mm-dd HH:MM。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 转码时长,单位:分钟。 // 注意:因推流过程中可能有中断重推情况,此处时长为真实转码时长累加值,并非结束时间和开始时间的间隔。 Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // 编码方式,带模块, // 示例: // liveprocessor_H264 =》直播转码-H264, // liveprocessor_H265 =》 直播转码-H265, // topspeed_H264 =》极速高清-H264, // topspeed_H265 =》极速高清-H265。 ModuleCodec *string `json:"ModuleCodec,omitempty" name:"ModuleCodec"` // 码率。 Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // 类型,包含:转码(Transcode),混流(MixStream),水印(WaterMark)。 Type *string `json:"Type,omitempty" name:"Type"` // 推流域名。 PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"` }
type UnBindLiveDomainCertRequest ¶
type UnBindLiveDomainCertRequest struct { *tchttp.BaseRequest // 播放域名。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewUnBindLiveDomainCertRequest ¶
func NewUnBindLiveDomainCertRequest() (request *UnBindLiveDomainCertRequest)
func (*UnBindLiveDomainCertRequest) FromJsonString ¶
func (r *UnBindLiveDomainCertRequest) FromJsonString(s string) error
func (*UnBindLiveDomainCertRequest) ToJsonString ¶
func (r *UnBindLiveDomainCertRequest) ToJsonString() string
type UnBindLiveDomainCertResponse ¶
type UnBindLiveDomainCertResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*UnBindLiveDomainCertResponse) ToJsonString ¶
func (r *UnBindLiveDomainCertResponse) ToJsonString() string
type UpdateLiveWatermarkRequest ¶
type UpdateLiveWatermarkRequest struct { *tchttp.BaseRequest // 水印ID。 WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // 水印图片url。 PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // 显示位置,X轴偏移。 XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // 显示位置,Y轴偏移。 YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // 水印名称。 WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。 Width *int64 `json:"Width,omitempty" name:"Width"` // 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。 Height *int64 `json:"Height,omitempty" name:"Height"` }
func NewUpdateLiveWatermarkRequest ¶
func NewUpdateLiveWatermarkRequest() (request *UpdateLiveWatermarkRequest)
func (*UpdateLiveWatermarkRequest) FromJsonString ¶
func (r *UpdateLiveWatermarkRequest) FromJsonString(s string) error
func (*UpdateLiveWatermarkRequest) ToJsonString ¶
func (r *UpdateLiveWatermarkRequest) ToJsonString() string
type UpdateLiveWatermarkResponse ¶
type UpdateLiveWatermarkResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 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
func (*UpdateLiveWatermarkResponse) ToJsonString ¶
func (r *UpdateLiveWatermarkResponse) ToJsonString() string
type WatermarkInfo ¶
type WatermarkInfo struct { // 水印ID。 WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"` // 水印图片url。 PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"` // 显示位置,X轴偏移。 XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"` // 显示位置,Y轴偏移。 YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"` // 水印名称。 WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"` // 当前状态。0:未使用,1:使用中。 Status *int64 `json:"Status,omitempty" name:"Status"` // 添加时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 水印宽 Width *int64 `json:"Width,omitempty" name:"Width"` // 水印高 Height *int64 `json:"Height,omitempty" name:"Height"` }