v20180801

package
v3.0.233+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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。
	// 注意:
	// 1. 默认7天后过期,且最长支持7天内生效。
	// 2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	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"`

	// 是否是小程序直播:
	// 0: 标准直播,
	// 1 :小程序直播 。
	// 默认值: 0。
	IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"`
}

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"`

	// 水印名称。
	// 最长16字节。
	WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"`

	// 显示位置,X轴偏移,单位是百分比,默认 0。
	XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"`

	// 显示位置,Y轴偏移,单位是百分比,默认 0。
	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 BandwidthInfo

type BandwidthInfo struct {

	// 返回格式:
	// yyyy-mm-dd HH:MM:SS
	// 根据粒度会有不同程度的缩减。
	Time *string `json:"Time,omitempty" name:"Time"`

	// 带宽。
	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
}

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。使用添加证书接口获取证书Id。
	CertId *int64 `json:"CertId,omitempty" name:"CertId"`

	// 播放域名。
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// HTTPS开启状态,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 CancelCommonMixStreamRequest

type CancelCommonMixStreamRequest struct {
	*tchttp.BaseRequest

	// 混流会话(申请混流开始到取消混流结束)标识 ID。
	// 该值与CreateCommonMixStream中的MixStreamSessionId保持一致。
	MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"`
}

func NewCancelCommonMixStreamRequest

func NewCancelCommonMixStreamRequest() (request *CancelCommonMixStreamRequest)

func (*CancelCommonMixStreamRequest) FromJsonString

func (r *CancelCommonMixStreamRequest) FromJsonString(s string) error

func (*CancelCommonMixStreamRequest) ToJsonString

func (r *CancelCommonMixStreamRequest) ToJsonString() string

type CancelCommonMixStreamResponse

type CancelCommonMixStreamResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCancelCommonMixStreamResponse

func NewCancelCommonMixStreamResponse() (response *CancelCommonMixStreamResponse)

func (*CancelCommonMixStreamResponse) FromJsonString

func (r *CancelCommonMixStreamResponse) FromJsonString(s string) error

func (*CancelCommonMixStreamResponse) ToJsonString

func (r *CancelCommonMixStreamResponse) ToJsonString() string

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

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

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)

域名绑定证书。 注意:需先调用添加证书接口进行证书添加。获取到证书Id后再调用该接口进行绑定。

func (*Client) CancelCommonMixStream

func (c *Client) CancelCommonMixStream(request *CancelCommonMixStreamRequest) (response *CancelCommonMixStreamResponse, err error)

该接口用来取消混流。用法与 mix_streamv2.cancel_mix_stream 基本一致。

func (*Client) CreateCommonMixStream

func (c *Client) CreateCommonMixStream(request *CreateCommonMixStreamRequest) (response *CreateCommonMixStreamResponse, err error)

该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。 注意:当前最多支持16路混流。 最佳实践:https://cloud.tencent.com/document/product/267/45566

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)

- 使用前提

  1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
  2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2838)。
  • 模式说明 该接口支持两种录制模式: 1. 定时录制模式【默认模式】。 需要传入开始时间与结束时间,录制任务根据起止时间自动开始与结束。在所设置结束时间过期之前(且未调用StopLiveRecord提前终止任务),录制任务都是有效的,期间多次断流然后重推都会启动录制任务。 2. 实时视频录制模式。 忽略传入的开始时间,在录制任务创建后立即开始录制,录制时长支持最大为30分钟,如果传入的结束时间与当前时间差大于30分钟,则按30分钟计算,实时视频录制主要用于录制精彩视频场景,时长建议控制在5分钟以内。

- 注意事项

  1. 调用接口超时设置应大于3秒,小于3秒重试以及按不同起止时间调用都有可能产生重复录制任务,进而导致额外录制费用。
  2. 受限于音视频文件格式(FLV/MP4/HLS)对编码类型的支持,视频编码类型支持 H.264,音频编码类型支持 AAC。
  3. 为避免恶意或非主观的频繁 API 请求,对定时录制模式最大创建任务数做了限制:其中,当天可以创建的最大任务数不超过4000(不含已删除的任务);当前时刻并发运行的任务数不超过400。有超出此限制的需要提工单申请。
  4. 此调用方式暂时不支持海外推流录制。

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) CreateRecordTask

func (c *Client) CreateRecordTask(request *CreateRecordTaskRequest) (response *CreateRecordTaskResponse, err error)

创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。 - 使用前提 1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。 2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 对应文档。 - 注意事项 1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。 2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。 3. 创建的录制任务记录在平台侧只保留3个月。 4. 当前录制任务管理API(CreateRecordTask/StopRecordTask/DeleteRecordTask)与旧API(CreateLiveRecord/StopLiveRecord/DeleteLiveRecord)不兼容,两套接口不能混用。

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)

注:DeleteLiveRecord 接口仅用于删除录制任务记录,不具备停止录制的功能,也不能删除正在进行中的录制。如果需要停止录制任务,请使用终止录制[StopLiveRecord](/document/product/267/30146) 接口。

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)

删除转码规则。 DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需删除需要强匹配。其中TemplateId必填,其余参数为空时也需要传空字符串进行强匹配。

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) DeleteRecordTask

func (c *Client) DeleteRecordTask(request *DeleteRecordTaskRequest) (response *DeleteRecordTaskResponse, err error)

删除录制任务配置。删除操作不影响正在运行当中的任务,仅对删除之后新的推流有效。

func (*Client) DescribeAllStreamPlayInfoList

func (c *Client) DescribeAllStreamPlayInfoList(request *DescribeAllStreamPlayInfoListRequest) (response *DescribeAllStreamPlayInfoListResponse, err error)

输入某个时间点(1分钟维度),查询该时间点所有流的下行信息。

func (*Client) DescribeBillBandwidthAndFluxList

func (c *Client) DescribeBillBandwidthAndFluxList(request *DescribeBillBandwidthAndFluxListRequest) (response *DescribeBillBandwidthAndFluxListResponse, err error)

直播计费带宽和流量数据查询。

func (*Client) DescribeConcurrentRecordStreamNum

func (c *Client) DescribeConcurrentRecordStreamNum(request *DescribeConcurrentRecordStreamNumRequest) (response *DescribeConcurrentRecordStreamNumResponse, err error)

查询并发录制路数,对慢直播和普通直播适用。

func (*Client) DescribeDeliverBandwidthList

func (c *Client) DescribeDeliverBandwidthList(request *DescribeDeliverBandwidthListRequest) (response *DescribeDeliverBandwidthListResponse, err error)

查询直播转推计费带宽,查询时间范围最大支持3个月内的数据,时间跨度最长31天。

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)

查询实时的域名维度下行播放数据,由于数据处理有耗时,接口默认查询4分钟前的准实时数据。

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) DescribeLivePackageInfo

func (c *Client) DescribeLivePackageInfo(request *DescribeLivePackageInfoRequest) (response *DescribeLivePackageInfoResponse, 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) DescribeLiveStreamOnlineList

func (c *Client) DescribeLiveStreamOnlineList(request *DescribeLiveStreamOnlineListRequest) (response *DescribeLiveStreamOnlineListResponse, err error)

返回正在直播中的流列表。适用于推流成功后查询在线流信息。 注意:该接口仅适用于流数少于2万路的情况,对于流数较大用户请联系售后。

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)

支持查询某天或某段时间的转码详细信息。

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) DescribeScreenShotSheetNumList

func (c *Client) DescribeScreenShotSheetNumList(request *DescribeScreenShotSheetNumListRequest) (response *DescribeScreenShotSheetNumListResponse, 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)

查询播放数据,支持按流名称查询详细播放数据,也可按播放域名查询详细总数据,数据延迟4分钟左右。 注意:按AppName查询请先联系工单申请,开通后配置生效预计需要5个工作日左右,具体时间以最终回复为准。

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) StopRecordTask

func (c *Client) StopRecordTask(request *StopRecordTaskRequest) (response *StopRecordTaskResponse, 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"`

	// 客户端所在国家。
	CountryArea *string `json:"CountryArea,omitempty" name:"CountryArea"`
}

type CommonMixControlParams

type CommonMixControlParams struct {

	// 取值范围[0,1]。
	// 填1时,当参数中图层分辨率参数与视频实际分辨率不一致时,自动从视频中按图层设置的分辨率比例进行裁剪。
	UseMixCropCenter *int64 `json:"UseMixCropCenter,omitempty" name:"UseMixCropCenter"`

	// 取值范围[0,1]
	// 填1时,当InputStreamList中个数为1时,且OutputParams.OutputStreamType为1时,不执行取消操作,执行拷贝流操作
	AllowCopy *int64 `json:"AllowCopy,omitempty" name:"AllowCopy"`
}

type CommonMixCropParams

type CommonMixCropParams struct {

	// 裁剪的宽度。取值范围[0,2000]。
	CropWidth *float64 `json:"CropWidth,omitempty" name:"CropWidth"`

	// 裁剪的高度。取值范围[0,2000]。
	CropHeight *float64 `json:"CropHeight,omitempty" name:"CropHeight"`

	// 裁剪的起始X坐标。取值范围[0,2000]。
	CropStartLocationX *float64 `json:"CropStartLocationX,omitempty" name:"CropStartLocationX"`

	// 裁剪的起始Y坐标。取值范围[0,2000]。
	CropStartLocationY *float64 `json:"CropStartLocationY,omitempty" name:"CropStartLocationY"`
}

type CommonMixInputParam

type CommonMixInputParam struct {

	// 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。
	InputStreamName *string `json:"InputStreamName,omitempty" name:"InputStreamName"`

	// 输入流布局参数。
	LayoutParams *CommonMixLayoutParams `json:"LayoutParams,omitempty" name:"LayoutParams"`

	// 输入流裁剪参数。
	CropParams *CommonMixCropParams `json:"CropParams,omitempty" name:"CropParams"`
}

type CommonMixLayoutParams

type CommonMixLayoutParams struct {

	// 输入图层。取值范围[1,16]。
	// 1)背景流(即大主播画面或画布)的 image_layer 填1。
	// 2)纯音频混流,该参数也需填。
	ImageLayer *int64 `json:"ImageLayer,omitempty" name:"ImageLayer"`

	// 输入类型。取值范围[0,5]。
	// 不填默认为0。
	// 0表示输入流为音视频。
	// 2表示输入流为图片。
	// 3表示输入流为画布。
	// 4表示输入流为音频。
	// 5表示输入流为纯视频。
	InputType *int64 `json:"InputType,omitempty" name:"InputType"`

	// 输入画面在输出时的宽度。取值范围:
	// 像素:[0,2000]
	// 百分比:[0.01,0.99]
	// 不填默认为输入流的宽度。
	// 使用百分比时,期望输出为(百分比 * 背景宽)。
	ImageWidth *float64 `json:"ImageWidth,omitempty" name:"ImageWidth"`

	// 输入画面在输出时的高度。取值范围:
	// 像素:[0,2000]
	// 百分比:[0.01,0.99]
	// 不填默认为输入流的高度。
	// 使用百分比时,期望输出为(百分比 * 背景高)。
	ImageHeight *float64 `json:"ImageHeight,omitempty" name:"ImageHeight"`

	// 输入在输出画面的X偏移。取值范围:
	// 像素:[0,2000]
	// 百分比:[0.01,0.99]
	// 不填默认为0。
	// 相对于大主播背景画面左上角的横向偏移。
	// 使用百分比时,期望输出为(百分比 * 背景宽)。
	LocationX *float64 `json:"LocationX,omitempty" name:"LocationX"`

	// 输入在输出画面的Y偏移。取值范围:
	// 像素:[0,2000]
	// 百分比:[0.01,0.99]
	// 不填默认为0。
	// 相对于大主播背景画面左上角的纵向偏移。
	// 使用百分比时,期望输出为(百分比 * 背景宽)
	LocationY *float64 `json:"LocationY,omitempty" name:"LocationY"`

	// 当InputType为3(画布)时,该值表示画布的颜色。
	// 常用的颜色有:
	// 红色:0xcc0033。
	// 黄色:0xcc9900。
	// 绿色:0xcccc33。
	// 蓝色:0x99CCFF。
	// 黑色:0x000000。
	// 白色:0xFFFFFF。
	// 灰色:0x999999。
	Color *string `json:"Color,omitempty" name:"Color"`

	// 当InputType为2(图片)时,该值是水印ID。
	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
}

type CommonMixOutputParams

type CommonMixOutputParams struct {

	// 输出流名称。
	OutputStreamName *string `json:"OutputStreamName,omitempty" name:"OutputStreamName"`

	// 输出流类型,取值范围[0,1]。
	// 不填默认为0。
	// 当输出流为输入流 list 中的一条时,填写0。
	// 当期望生成的混流结果成为一条新流时,该值填为1。
	// 该值为1时,output_stream_id 不能出现在 input_stram_list 中,且直播后台中,不能存在相同 ID 的流。
	OutputStreamType *int64 `json:"OutputStreamType,omitempty" name:"OutputStreamType"`

	// 输出流比特率。取值范围[1,50000]。
	// 不填的情况下,系统会自动判断。
	OutputStreamBitRate *int64 `json:"OutputStreamBitRate,omitempty" name:"OutputStreamBitRate"`

	// 输出流GOP大小。取值范围[1,10]。
	// 不填的情况下,系统会自动判断。
	OutputStreamGop *int64 `json:"OutputStreamGop,omitempty" name:"OutputStreamGop"`

	// 输出流帧率大小。取值范围[1,60]。
	// 不填的情况下,系统会自动判断。
	OutputStreamFrameRate *int64 `json:"OutputStreamFrameRate,omitempty" name:"OutputStreamFrameRate"`

	// 输出流音频比特率。取值范围[1,500]
	// 不填的情况下,系统会自动判断。
	OutputAudioBitRate *int64 `json:"OutputAudioBitRate,omitempty" name:"OutputAudioBitRate"`

	// 输出流音频采样率。取值范围[96000, 88200, 64000, 48000, 44100, 32000,24000, 22050, 16000, 12000, 11025, 8000]。
	// 不填的情况下,系统会自动判断。
	OutputAudioSampleRate *int64 `json:"OutputAudioSampleRate,omitempty" name:"OutputAudioSampleRate"`

	// 输出流音频声道数。取值范围[1,2]。
	// 不填的情况下,系统会自动判断。
	OutputAudioChannels *int64 `json:"OutputAudioChannels,omitempty" name:"OutputAudioChannels"`

	// 输出流中的sei信息。如果无特殊需要,不填。
	MixSei *string `json:"MixSei,omitempty" name:"MixSei"`
}

type ConcurrentRecordStreamNum

type ConcurrentRecordStreamNum struct {

	// 时间点。
	Time *string `json:"Time,omitempty" name:"Time"`

	// 路数。
	Num *uint64 `json:"Num,omitempty" name:"Num"`
}

type CreateCommonMixStreamRequest

type CreateCommonMixStreamRequest struct {
	*tchttp.BaseRequest

	// 混流会话(申请混流开始到取消混流结束)标识 ID。
	MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"`

	// 混流输入流列表。
	InputStreamList []*CommonMixInputParam `json:"InputStreamList,omitempty" name:"InputStreamList" list`

	// 混流输出流参数。
	OutputParams *CommonMixOutputParams `json:"OutputParams,omitempty" name:"OutputParams"`

	// 输入模板 ID,若设置该参数,将按默认模板布局输出,无需填入自定义位置参数。
	// 不填默认为0。
	// 两输入源支持10,20,30,40,50。
	// 三输入源支持310,390,391。
	// 四输入源支持410。
	// 五输入源支持510,590。
	// 六输入源支持610。
	MixStreamTemplateId *int64 `json:"MixStreamTemplateId,omitempty" name:"MixStreamTemplateId"`

	// 混流的特殊控制参数。如无特殊需求,无需填写。
	ControlParams *CommonMixControlParams `json:"ControlParams,omitempty" name:"ControlParams"`
}

func NewCreateCommonMixStreamRequest

func NewCreateCommonMixStreamRequest() (request *CreateCommonMixStreamRequest)

func (*CreateCommonMixStreamRequest) FromJsonString

func (r *CreateCommonMixStreamRequest) FromJsonString(s string) error

func (*CreateCommonMixStreamRequest) ToJsonString

func (r *CreateCommonMixStreamRequest) ToJsonString() string

type CreateCommonMixStreamResponse

type CreateCommonMixStreamResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateCommonMixStreamResponse

func NewCreateCommonMixStreamResponse() (response *CreateCommonMixStreamResponse)

func (*CreateCommonMixStreamResponse) FromJsonString

func (r *CreateCommonMixStreamResponse) FromJsonString(s string) error

func (*CreateCommonMixStreamResponse) ToJsonString

func (r *CreateCommonMixStreamResponse) ToJsonString() string

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 公用,回调签名详见事件消息通知文档。
	// [事件消息通知](/document/product/267/32744)。
	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-腾讯云托管证书。
	// 注意:当证书类型为0时,HttpsCrt和HttpsKey必选;
	// 当证书类型为1时,优先使用CloudCertId对应证书,若CloudCertId为空则使用HttpsCrt和HttpsKey。
	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"`

	// 腾讯云证书托管ID。
	CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"`
}

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。
	// 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 应用 ID。
	CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"`

	// Cos Bucket名称。
	// 注:CosBucket参数值不能包含-[appid] 部分。
	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 ~ 300s。
	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"`

	// Cos Bucket文件夹前缀。
	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`

	// Cos 文件名称。
	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
}

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保持一致。如果只绑定域名,则此处填空。
	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。
	// 注意:码率必须是100的倍数。
	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。
	// 范围[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。
	// 范围[0-3000]
	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 * (1-AdaptBitratePercent)
	//
	// 取值范围:0.0到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 ,用于拉流的地址。目前可支持直播流及点播文件。
	// 注意:
	// 1. 多个点播url之间使用空格拼接。
	// 2. 目前上限支持10个url。
	// 3. 支持拉流文件格式:flv,rtmp,hls,mp4。
	FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"`

	// 目的 Url ,用于推流的地址,目前限制该目标地址为腾讯域名。
	// 仅支持:rtmp 协议。
	ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"`

	// 选择完成转拉推的服务所在区域:
	// 1-深圳,
	// 2-上海,
	// 3-天津,
	// 4-中国香港。
	AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"`

	// 选择完成转拉推服务使用的运营商网络:
	// 1-电信,
	// 2-移动,
	// 3-联通,
	// 4-其他。
	// 注:AreaId 为4的时候,IspId 只能为其他。
	IspId *int64 `json:"IspId,omitempty" name:"IspId"`

	// 开始时间。
	// 使用 UTC 格式时间,
	// 例如:2019-01-08T10:00:00Z。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,注意:
	// 1. 结束时间必须大于开始时间;
	// 2. 结束时间和开始时间必须大于当前时间;
	// 3. 结束时间 和 开始时间 间隔必须小于七天。
	// 使用 UTC 格式时间,
	// 例如:2019-01-08T10:00:00Z。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	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 CreateRecordTaskRequest

type CreateRecordTaskRequest struct {
	*tchttp.BaseRequest

	// 流名称。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 推流域名。
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// 推流路径。
	AppName *string `json:"AppName,omitempty" name:"AppName"`

	// 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime,且不能超过从当前时刻开始24小时之内的时间。
	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`

	// 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。不超过从当前时间开始24小时之内的时间。
	StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"`

	// 推流类型,默认0。取值:
	// 0-直播推流。
	// 1-合成流,即 A+B=C 类型混流。
	StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"`

	// 录制模板ID,CreateLiveRecordTemplate 返回值。如果不填或者传入错误ID,则默认录制HLS格式、永久存储。
	TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"`

	// 扩展字段,默认空。
	Extension *string `json:"Extension,omitempty" name:"Extension"`
}

func NewCreateRecordTaskRequest

func NewCreateRecordTaskRequest() (request *CreateRecordTaskRequest)

func (*CreateRecordTaskRequest) FromJsonString

func (r *CreateRecordTaskRequest) FromJsonString(s string) error

func (*CreateRecordTaskRequest) ToJsonString

func (r *CreateRecordTaskRequest) ToJsonString() string

type CreateRecordTaskResponse

type CreateRecordTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID,全局唯一标识录制任务。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRecordTaskResponse

func NewCreateRecordTaskResponse() (response *CreateRecordTaskResponse)

func (*CreateRecordTaskResponse) FromJsonString

func (r *CreateRecordTaskResponse) FromJsonString(s string) error

func (*CreateRecordTaskResponse) ToJsonString

func (r *CreateRecordTaskResponse) 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。
	// 1. 在创建回调模板接口 [CreateLiveCallbackTemplate](/document/product/267/32637) 调用的返回值中获取模板 ID。
	// 2. 可以从接口 [DescribeLiveCallbackTemplates](/document/product/267/32632) 查询已经创建的过的模板列表。
	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

	// DescribeLiveCerts接口获取到的证书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,由CreateLiveRecord接口返回。
	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

	// DescribeRecordTemplates接口获取到的模板 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。
	// 1. 在创建截图模板接口 [CreateLiveSnapshotTemplate](/document/product/267/32624) 调用的返回值中获取。
	// 2. 可以从接口 [DescribeLiveSnapshotTemplates](/document/product/267/32619) 中查询已创建的截图模板列表。
	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

	// 播放域名。
	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 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。
	// 1. 在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。
	// 2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建的过的模板列表。
	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。
	// 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
	// 或DescribeLiveWatermarks接口返回的水印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 保持一致,默认为live。
	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。
	// 1. 在添加拉流配置接口 [CreatePullStreamConfig](/document/api/267/30159) 调用返回值中获取配置 ID。
	// 2. 可以从接口 [DescribePullStreamConfigs](/document/api/267/30158) 中查询已创建过的拉流配置列表。
	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 DeleteRecordTaskRequest

type DeleteRecordTaskRequest struct {
	*tchttp.BaseRequest

	// 任务ID,CreateRecordTask返回。删除TaskId指定的录制任务。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDeleteRecordTaskRequest

func NewDeleteRecordTaskRequest() (request *DeleteRecordTaskRequest)

func (*DeleteRecordTaskRequest) FromJsonString

func (r *DeleteRecordTaskRequest) FromJsonString(s string) error

func (*DeleteRecordTaskRequest) ToJsonString

func (r *DeleteRecordTaskRequest) ToJsonString() string

type DeleteRecordTaskResponse

type DeleteRecordTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteRecordTaskResponse

func NewDeleteRecordTaskResponse() (response *DeleteRecordTaskResponse)

func (*DeleteRecordTaskResponse) FromJsonString

func (r *DeleteRecordTaskResponse) FromJsonString(s string) error

func (*DeleteRecordTaskResponse) ToJsonString

func (r *DeleteRecordTaskResponse) ToJsonString() string

type DescribeAllStreamPlayInfoListRequest

type DescribeAllStreamPlayInfoListRequest struct {
	*tchttp.BaseRequest

	// 查询时间点,精确到分钟粒度,支持最近1个月的数据查询,数据延迟为5分钟左右,如果要查询实时的数据,建议传递5分钟前的时间点,格式为yyyy-mm-dd HH:MM:SS。
	QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"`
}

func NewDescribeAllStreamPlayInfoListRequest

func NewDescribeAllStreamPlayInfoListRequest() (request *DescribeAllStreamPlayInfoListRequest)

func (*DescribeAllStreamPlayInfoListRequest) FromJsonString

func (r *DescribeAllStreamPlayInfoListRequest) FromJsonString(s string) error

func (*DescribeAllStreamPlayInfoListRequest) ToJsonString

func (r *DescribeAllStreamPlayInfoListRequest) ToJsonString() string

type DescribeAllStreamPlayInfoListResponse

type DescribeAllStreamPlayInfoListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询时间点,回传的输入参数中的查询时间。
		QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"`

		// 数据信息列表。
		DataInfoList []*MonitorStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAllStreamPlayInfoListResponse

func NewDescribeAllStreamPlayInfoListResponse() (response *DescribeAllStreamPlayInfoListResponse)

func (*DescribeAllStreamPlayInfoListResponse) FromJsonString

func (r *DescribeAllStreamPlayInfoListResponse) FromJsonString(s string) error

func (*DescribeAllStreamPlayInfoListResponse) ToJsonString

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:则查询国外数据,
	// 默认:查询国内+国外的数据。
	// 注:LEB(快直播)只支持国内+国外数据查询。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`

	// 数据粒度,支持如下粒度:
	// 5:5分钟粒度,(跨度不支持超过1天),
	// 60:1小时粒度(跨度不支持超过一个月),
	// 1440:天粒度(跨度不支持超过一个月)。
	// 默认值:5。
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`

	// 服务名称,可选值包括LVB(标准直播),LEB(快直播),默认值是LVB。
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
}

func NewDescribeBillBandwidthAndFluxListRequest

func NewDescribeBillBandwidthAndFluxListRequest() (request *DescribeBillBandwidthAndFluxListRequest)

func (*DescribeBillBandwidthAndFluxListRequest) FromJsonString

func (*DescribeBillBandwidthAndFluxListRequest) ToJsonString

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 (*DescribeBillBandwidthAndFluxListResponse) ToJsonString

type DescribeConcurrentRecordStreamNumRequest

type DescribeConcurrentRecordStreamNumRequest struct {
	*tchttp.BaseRequest

	// 直播类型,SlowLive:慢直播。
	// NormalLive:普通直播。
	LiveType *string `json:"LiveType,omitempty" name:"LiveType"`

	// 起始时间,格式:yyyy-mm-dd HH:MM:SS。
	// 可以查询最近180天的数据。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,格式:yyyy-mm-dd HH:MM:SS。
	// 时间跨度最大支持31天。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`

	// 推流域名列表,不填表示总体数据。
	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains" list`
}

func NewDescribeConcurrentRecordStreamNumRequest

func NewDescribeConcurrentRecordStreamNumRequest() (request *DescribeConcurrentRecordStreamNumRequest)

func (*DescribeConcurrentRecordStreamNumRequest) FromJsonString

func (*DescribeConcurrentRecordStreamNumRequest) ToJsonString

type DescribeConcurrentRecordStreamNumResponse

type DescribeConcurrentRecordStreamNumResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 统计信息列表。
		DataInfoList []*ConcurrentRecordStreamNum `json:"DataInfoList,omitempty" name:"DataInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeConcurrentRecordStreamNumResponse

func NewDescribeConcurrentRecordStreamNumResponse() (response *DescribeConcurrentRecordStreamNumResponse)

func (*DescribeConcurrentRecordStreamNumResponse) FromJsonString

func (*DescribeConcurrentRecordStreamNumResponse) ToJsonString

type DescribeDeliverBandwidthListRequest

type DescribeDeliverBandwidthListRequest struct {
	*tchttp.BaseRequest

	// 起始时间,格式为%Y-%m-%d %H:%M:%S。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,格式为%Y-%m-%d %H:%M:%S,支持最近三个月的数据查询,时间跨度最大是1个月。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewDescribeDeliverBandwidthListRequest

func NewDescribeDeliverBandwidthListRequest() (request *DescribeDeliverBandwidthListRequest)

func (*DescribeDeliverBandwidthListRequest) FromJsonString

func (r *DescribeDeliverBandwidthListRequest) FromJsonString(s string) error

func (*DescribeDeliverBandwidthListRequest) ToJsonString

func (r *DescribeDeliverBandwidthListRequest) ToJsonString() string

type DescribeDeliverBandwidthListResponse

type DescribeDeliverBandwidthListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 转推计费带宽数据
		DataInfoList []*BandwidthInfo `json:"DataInfoList,omitempty" name:"DataInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDeliverBandwidthListResponse

func NewDescribeDeliverBandwidthListResponse() (response *DescribeDeliverBandwidthListResponse)

func (*DescribeDeliverBandwidthListResponse) FromJsonString

func (r *DescribeDeliverBandwidthListResponse) FromJsonString(s string) error

func (*DescribeDeliverBandwidthListResponse) ToJsonString

func (r *DescribeDeliverBandwidthListResponse) 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 (*DescribeGroupProIspPlayInfoListRequest) ToJsonString

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 (*DescribeGroupProIspPlayInfoListResponse) ToJsonString

type DescribeHttpStatusInfoListRequest

type DescribeHttpStatusInfoListRequest struct {
	*tchttp.BaseRequest

	// 起始时间,北京时间,
	// 格式:yyyy-mm-dd HH:MM:SS。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,北京时间,
	// 格式:yyyy-mm-dd HH:MM:SS。
	// 注:最大时间跨度支持1天,支持最近3个月的数据查询。
	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。
	// 1. 在创建回调模板接口 [CreateLiveCallbackTemplate](/document/product/267/32637) 调用的返回值中获取模板 ID。
	// 2. 可以从接口 [DescribeLiveCallbackTemplates](/document/product/267/32632) 查询已经创建的过的模板列表。
	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

type DescribeLiveCertRequest

type DescribeLiveCertRequest struct {
	*tchttp.BaseRequest

	// DescribeLiveCerts接口获取到的证书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

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 *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 (*DescribeLiveDomainPlayInfoListResponse) ToJsonString

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 DescribeLivePackageInfoRequest

type DescribeLivePackageInfoRequest struct {
	*tchttp.BaseRequest

	// 包类型,可选值:
	// 0:流量包;
	// 1:转码包。
	PackageType *int64 `json:"PackageType,omitempty" name:"PackageType"`
}

func NewDescribeLivePackageInfoRequest

func NewDescribeLivePackageInfoRequest() (request *DescribeLivePackageInfoRequest)

func (*DescribeLivePackageInfoRequest) FromJsonString

func (r *DescribeLivePackageInfoRequest) FromJsonString(s string) error

func (*DescribeLivePackageInfoRequest) ToJsonString

func (r *DescribeLivePackageInfoRequest) ToJsonString() string

type DescribeLivePackageInfoResponse

type DescribeLivePackageInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 套餐包信息。
		// 注意:此字段可能返回 null,表示取不到有效值。
		LivePackageInfoList []*LivePackageInfo `json:"LivePackageInfoList,omitempty" name:"LivePackageInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeLivePackageInfoResponse

func NewDescribeLivePackageInfoResponse() (response *DescribeLivePackageInfoResponse)

func (*DescribeLivePackageInfoResponse) FromJsonString

func (r *DescribeLivePackageInfoResponse) FromJsonString(s string) error

func (*DescribeLivePackageInfoResponse) ToJsonString

func (r *DescribeLivePackageInfoResponse) 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

	// DescribeRecordTemplates接口获取到的模板 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

	// 是否属于慢直播模板,默认:0。
	// 0: 标准直播。
	// 1:慢直播。
	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。
	// 调用 [CreateLiveSnapshotTemplate](/document/product/267/32624) 时返回的模板 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

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 DescribeLiveStreamOnlineListRequest

type DescribeLiveStreamOnlineListRequest struct {
	*tchttp.BaseRequest

	// 推流域名。多域名用户需要填写 DomainName。
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。多路径用户需要填写 AppName。
	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 (*DescribeLiveStreamPublishedListRequest) ToJsonString

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 (*DescribeLiveStreamPublishedListResponse) ToJsonString

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

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 (*DescribeLiveStreamPushInfoListResponse) ToJsonString

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

	// 推流域名。
	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`

	// 流名称。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 查询时间,北京时间,
	// 格式:yyyymmdd。
	// 注意:支持查询近1个月内某天的详细数据。
	DayTime *string `json:"DayTime,omitempty" name:"DayTime"`

	// 页数,默认1,
	// 不超过100页。
	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`

	// 每页个数,默认20,
	// 范围:[10,1000]。
	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`

	// 起始天时间,北京时间,
	// 格式:yyyymmdd。
	// 注意:支持查询近1个月内的详细数据。
	StartDayTime *string `json:"StartDayTime,omitempty" name:"StartDayTime"`

	// 结束天时间,北京时间,
	// 格式:yyyymmdd。
	// 注意:支持查询近1个月内的详细数据,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。
	EndDayTime *string `json:"EndDayTime,omitempty" name:"EndDayTime"`
}

func NewDescribeLiveTranscodeDetailInfoRequest

func NewDescribeLiveTranscodeDetailInfoRequest() (request *DescribeLiveTranscodeDetailInfoRequest)

func (*DescribeLiveTranscodeDetailInfoRequest) FromJsonString

func (*DescribeLiveTranscodeDetailInfoRequest) ToJsonString

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 (*DescribeLiveTranscodeDetailInfoResponse) ToJsonString

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。
	// 注意:在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 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

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

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 (*DescribeLiveTranscodeTemplatesResponse) ToJsonString

type DescribeLiveWatermarkRequest

type DescribeLiveWatermarkRequest struct {
	*tchttp.BaseRequest

	// DescribeLiveWatermarks接口返回的水印 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`

	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
}

func NewDescribePlayErrorCodeDetailInfoListRequest

func NewDescribePlayErrorCodeDetailInfoListRequest() (request *DescribePlayErrorCodeDetailInfoListRequest)

func (*DescribePlayErrorCodeDetailInfoListRequest) FromJsonString

func (*DescribePlayErrorCodeDetailInfoListRequest) ToJsonString

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 (*DescribePlayErrorCodeDetailInfoListResponse) ToJsonString

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"`

	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`

	// 分组参数,可选值:CountryProIsp(默认值),Country(国家),默认是按照国家+省份+运营商来进行分组;目前国外的省份和运营商暂时无法识别。
	GroupType *string `json:"GroupType,omitempty" name:"GroupType"`

	// 输出字段使用的语言,可选值:Chinese(默认值),English,目前国家,省份和运营商支持多语言。
	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
}

func NewDescribePlayErrorCodeSumInfoListRequest

func NewDescribePlayErrorCodeSumInfoListRequest() (request *DescribePlayErrorCodeSumInfoListRequest)

func (*DescribePlayErrorCodeSumInfoListRequest) FromJsonString

func (*DescribePlayErrorCodeSumInfoListRequest) ToJsonString

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"`

		// 各状态码的总次数。
		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"`

		// 状态码为2开头的总次数。
		TotalCode2xx *uint64 `json:"TotalCode2xx,omitempty" name:"TotalCode2xx"`

		// 状态码为3开头的总次数。
		TotalCode3xx *uint64 `json:"TotalCode3xx,omitempty" name:"TotalCode3xx"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePlayErrorCodeSumInfoListResponse

func NewDescribePlayErrorCodeSumInfoListResponse() (response *DescribePlayErrorCodeSumInfoListResponse)

func (*DescribePlayErrorCodeSumInfoListResponse) FromJsonString

func (*DescribePlayErrorCodeSumInfoListResponse) ToJsonString

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”(运营商),“CountryOrArea”(国家或地区)。
	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"`

	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`

	// 输出字段使用的语言,可选值:Chinese(默认值),English;目前国家,省份和运营商支持多语言。
	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
}

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`

		// 下载速度,单位:MB/s,计算方式:总流量/总时长。
		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

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`

	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
}

func NewDescribeProvinceIspPlayInfoListRequest

func NewDescribeProvinceIspPlayInfoListRequest() (request *DescribeProvinceIspPlayInfoListRequest)

func (*DescribeProvinceIspPlayInfoListRequest) FromJsonString

func (*DescribeProvinceIspPlayInfoListRequest) ToJsonString

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 (*DescribeProvinceIspPlayInfoListResponse) ToJsonString

type DescribePullStreamConfigsRequest

type DescribePullStreamConfigsRequest struct {
	*tchttp.BaseRequest

	// 配置 ID。
	// 获取途径:从 CreatePullStreamConfig 接口返回值获取。
	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 DescribeScreenShotSheetNumListRequest

type DescribeScreenShotSheetNumListRequest struct {
	*tchttp.BaseRequest

	// utc起始时间,格式为yyyy-mm-ddTHH:MM:SSZ
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// utc结束时间,格式为yyyy-mm-ddTHH:MM:SSZ,支持查询最近1年数据。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 推流域名(支持查询2019年11 月1日之后的域名维度数据)。
	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains" list`

	// 数据维度,数据延迟1个半小时,可选值包括:1、Minute(5分钟粒度,最大支持查询时间范围是31天),2、Day(天粒度,默认值,最大支持查询时间范围是186天当天)。
	Granularity *string `json:"Granularity,omitempty" name:"Granularity"`
}

func NewDescribeScreenShotSheetNumListRequest

func NewDescribeScreenShotSheetNumListRequest() (request *DescribeScreenShotSheetNumListRequest)

func (*DescribeScreenShotSheetNumListRequest) FromJsonString

func (r *DescribeScreenShotSheetNumListRequest) FromJsonString(s string) error

func (*DescribeScreenShotSheetNumListRequest) ToJsonString

type DescribeScreenShotSheetNumListResponse

type DescribeScreenShotSheetNumListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据信息列表。
		DataInfoList []*TimeValue `json:"DataInfoList,omitempty" name:"DataInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeScreenShotSheetNumListResponse

func NewDescribeScreenShotSheetNumListResponse() (response *DescribeScreenShotSheetNumListResponse)

func (*DescribeScreenShotSheetNumListResponse) FromJsonString

func (*DescribeScreenShotSheetNumListResponse) ToJsonString

type DescribeStreamDayPlayInfoListRequest

type DescribeStreamDayPlayInfoListRequest struct {
	*tchttp.BaseRequest

	// 日期,格式:YYYY-mm-dd。
	// 第二天凌晨3点出昨天的数据,建议在这个时间点之后查询最新数据。
	DayTime *string `json:"DayTime,omitempty" name:"DayTime"`

	// 播放域名。
	PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"`

	// 页号,范围[1,1000],默认值是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

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保持一致,会精确匹配,在同时传递了StreamName时生效。
	// 若不填,则为查询总体播放数据。
	// 注意:按AppName查询请先联系工单申请,开通后配置生效预计需要5个工作日左右,具体时间以最终回复为准。
	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 {

		// 统计信息列表,时间粒度是1分钟。
		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"`

	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`

	// 输出字段使用的语言,可选值:Chinese(默认值),English;目前国家,省份和运营商支持多语言。
	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
}

func NewDescribeTopClientIpSumInfoListRequest

func NewDescribeTopClientIpSumInfoListRequest() (request *DescribeTopClientIpSumInfoListRequest)

func (*DescribeTopClientIpSumInfoListRequest) FromJsonString

func (r *DescribeTopClientIpSumInfoListRequest) FromJsonString(s string) error

func (*DescribeTopClientIpSumInfoListRequest) ToJsonString

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 (*DescribeTopClientIpSumInfoListResponse) ToJsonString

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: 表示国外数据。
	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"`

	// 失效参数,可忽略。
	RentTag *int64 `json:"RentTag,omitempty" name:"RentTag"`

	// 失效参数,可忽略。
	RentExpireTime *string `json:"RentExpireTime,omitempty" name:"RentExpireTime"`

	// 0: 标准直播。
	// 1: 小程序直播。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"`
}

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。
	// 注意:
	// 1. 默认禁播7天,且最长支持禁播90天。
	// 2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	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 ForbidStreamInfo struct {

	// 流名称。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 禁推过期时间。
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

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续流超时时间。
	// 取值范围[0,1800]。
	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 HttpCodeValue struct {

	// 时间,格式:yyyy-mm-dd HH:MM:SS。
	Time *string `json:"Time,omitempty" name:"Time"`

	// 次数。
	Numbers *uint64 `json:"Numbers,omitempty" name:"Numbers"`

	// 占比。
	Percentage *float64 `json:"Percentage,omitempty" name:"Percentage"`
}

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 HttpStatusInfo struct {

	// 播放HTTP状态码。
	HttpStatus *string `json:"HttpStatus,omitempty" name:"HttpStatus"`

	// 个数。
	Num *uint64 `json:"Num,omitempty" name:"Num"`
}

type LivePackageInfo

type LivePackageInfo struct {

	// 包 ID。
	Id *string `json:"Id,omitempty" name:"Id"`

	// 总量。
	// 注意:当为流量包时单位为字节。
	// 当为转码包时单位为分钟。
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 使用量。
	// 注意:当为流量包时单位为字节。
	// 当为转码包时单位为分钟。
	Used *int64 `json:"Used,omitempty" name:"Used"`

	// 剩余量。
	// 注意:当为流量包时单位为字节。
	// 当为转码包时单位为分钟。
	Left *int64 `json:"Left,omitempty" name:"Left"`

	// 购买时间。
	BuyTime *string `json:"BuyTime,omitempty" name:"BuyTime"`

	// 过期时间。
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// 包类型,可选值:
	// 0: 流量包。
	// 1: 普通转码包。
	// 2: 极速高清包。
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// 包状态,可选值:
	// 0: 未使用。
	// 1: 使用中。
	// 2: 已过期。
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type LogInfo

type LogInfo struct {

	// 日志名称。
	LogName *string `json:"LogName,omitempty" name:"LogName"`

	// 日志 URL。
	LogUrl *string `json:"LogUrl,omitempty" name:"LogUrl"`

	// 日志生成时间。
	LogTime *string `json:"LogTime,omitempty" name:"LogTime"`

	// 文件大小。
	FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"`
}

type ModifyLiveCallbackTemplateRequest

type ModifyLiveCallbackTemplateRequest struct {
	*tchttp.BaseRequest

	// DescribeLiveCallbackTemplates接口返回的模板 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 公用,回调签名详见事件消息通知文档。
	// [事件消息通知](/document/product/267/32744)。
	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"`

	// 鉴权备用key。
	// 不传表示不修改当前值。
	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

	// DescribeRecordTemplates接口获取到的模板 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 ~ 300s。
	SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"`

	// 截图宽度。默认:0(原始宽)。
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// 截图高度。默认:0(原始高)。
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// 是否开启鉴黄,默认 0 。
	// 0:不开启。
	// 1:开启。
	PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"`

	// Cos 应用 ID。
	CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"`

	// Cos Bucket名称。
	// 注:CosBucket参数值不能包含-[appid] 部分。
	CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"`

	// Cos 地域。
	CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"`

	// Cos Bucket文件夹前缀。
	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`

	// Cos 文件名称。
	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
}

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"`

	// 视频码率。范围:100kbps - 8000kbps。
	// 注意:码率必须是100的倍数。
	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 * (1-AdaptBitratePercent)
	//
	// 取值范围:0.0到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。
	// 获取来源:
	// 1. 创建拉流配置接口CreatePullStreamConfig返回的配置 ID。
	// 2. 通过查询接口DescribePullStreamConfigs获取配置 ID。
	ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`

	// 源 URL,用于拉流的地址。目前可支持直播流及点播文件。
	// 注意:
	// 1. 多个点播 URL 之间使用空格拼接。
	// 2. 目前上限支持10个 URL。
	// 3. 支持拉流文件格式:FLV,RTMP,HLS,MP4。
	// 4. 使用标准三层样式,如:http://test.com/live/stream.flv
	FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"`

	// 目的 URL,用于推流的地址,目前限制该目标地址为腾讯域名。
	// 1. 仅支持 RTMP 协议。
	// 2. 使用标准三层样式,如:http://test.com/live/stream.flv
	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。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,注意:
	// 1. 结束时间必须大于开始时间;
	// 2. 结束时间和开始时间必须大于当前时间;
	// 3. 结束时间 和 开始时间 间隔必须小于七天。
	//
	// 使用UTC格式时间,
	// 例如:2019-01-08T10:00:00Z。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	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 MonitorStreamPlayInfo

type MonitorStreamPlayInfo struct {

	// 播放域名。
	PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"`

	// 流id。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 播放码率,0表示原始码率。
	Rate *uint64 `json:"Rate,omitempty" name:"Rate"`

	// 播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// 带宽,单位是Mbps。
	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// 在线人数,1分钟采样一个点,统计采样点的tcp链接数目。
	Online *uint64 `json:"Online,omitempty" name:"Online"`

	// 请求数。
	Request *uint64 `json:"Request,omitempty" name:"Request"`
}

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 PlayCodeTotalInfo struct {

	// HTTP code,可选值包括:
	// 400,403,404,500,502,503,504。
	Code *string `json:"Code,omitempty" name:"Code"`

	// 总次数。
	Num *uint64 `json:"Num,omitempty" name:"Num"`
}

type PlayDataInfoByStream

type PlayDataInfoByStream struct {

	// 流名称。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 总流量,单位: MB。
	TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
}

type PlayStatInfo

type PlayStatInfo struct {

	// 数据时间点。
	Time *string `json:"Time,omitempty" name:"Time"`

	// 带宽/流量/请求数/并发连接数/下载速度的值,若没数据返回时该值为0。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Value *float64 `json:"Value,omitempty" name:"Value"`
}

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 {

	// 国家或地区。
	CountryAreaName *string `json:"CountryAreaName,omitempty" name:"CountryAreaName"`

	// 省份。
	ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"`

	// 运营商。
	IspName *string `json:"IspName,omitempty" name:"IspName"`

	// 错误码为2开头的次数。
	Code2xx *uint64 `json:"Code2xx,omitempty" name:"Code2xx"`

	// 错误码为3开头的次数。
	Code3xx *uint64 `json:"Code3xx,omitempty" name:"Code3xx"`

	// 错误码为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。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间。
	//
	// UTC格式时间,例如:2019-01-08T10:00:00Z。
	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
	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"`

	// 采样率。
	AsampleRate *uint64 `json:"AsampleRate,omitempty" name:"AsampleRate"`

	// metadata 中的音频码率,单位: Kbps。
	MetaAudioSpeed *uint64 `json:"MetaAudioSpeed,omitempty" name:"MetaAudioSpeed"`

	// metadata 中的视频码率,单位: Kbps。
	MetaVideoSpeed *uint64 `json:"MetaVideoSpeed,omitempty" name:"MetaVideoSpeed"`

	// metadata 中的帧率。
	MetaFps *uint64 `json:"MetaFps,omitempty" name:"MetaFps"`
}

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"`

	// metadata 中的视频码率,单位: kbps。
	MetaVideoRate *uint64 `json:"MetaVideoRate,omitempty" name:"MetaVideoRate"`

	// metadata 中的音频码率,单位: kbps。
	MetaAudioRate *uint64 `json:"MetaAudioRate,omitempty" name:"MetaAudioRate"`

	// metadata 中的帧率。
	MateFps *uint64 `json:"MateFps,omitempty" name:"MateFps"`
}

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,0:否, 1:是。
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// 点播子应用 ID。
	VodSubAppId *int64 `json:"VodSubAppId,omitempty" name:"VodSubAppId"`

	// 录制文件名。
	// 支持的特殊占位符有:
	// {StreamID}: 流ID
	// {StartYear}: 开始时间-年
	// {StartMonth}: 开始时间-月
	// {StartDay}: 开始时间-日
	// {StartHour}: 开始时间-小时
	// {StartMinute}: 开始时间-分钟
	// {StartSecond}: 开始时间-秒
	// {StartMillisecond}: 开始时间-毫秒
	// {EndYear}: 结束时间-年
	// {EndMonth}: 结束时间-月
	// {EndDay}: 结束时间-日
	// {EndHour}: 结束时间-小时
	// {EndMinute}: 结束时间-分钟
	// {EndSecond}: 结束时间-秒
	// {EndMillisecond}: 结束时间-毫秒
	//
	// 若未设置默认录制文件名为{StreamID}_{StartYear}-{StartMonth}-{StartDay}-{StartHour}-{StartMinute}-{StartSecond}_{EndYear}-{EndMonth}-{EndDay}-{EndHour}-{EndMinute}-{EndSecond}
	VodFileName *string `json:"VodFileName,omitempty" name:"VodFileName"`
}

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 应用 ID。
	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"`

	// Cos Bucket文件夹前缀。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`

	// Cos 文件名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
}

type StopLiveRecordRequest

type StopLiveRecordRequest struct {
	*tchttp.BaseRequest

	// 流名称。
	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`

	// 任务ID,由CreateLiveRecord接口返回。
	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 StopRecordTaskRequest

type StopRecordTaskRequest struct {
	*tchttp.BaseRequest

	// 录制任务ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewStopRecordTaskRequest

func NewStopRecordTaskRequest() (request *StopRecordTaskRequest)

func (*StopRecordTaskRequest) FromJsonString

func (r *StopRecordTaskRequest) FromJsonString(s string) error

func (*StopRecordTaskRequest) ToJsonString

func (r *StopRecordTaskRequest) ToJsonString() string

type StopRecordTaskResponse

type StopRecordTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStopRecordTaskResponse

func NewStopRecordTaskResponse() (response *StopRecordTaskResponse)

func (*StopRecordTaskResponse) FromJsonString

func (r *StopRecordTaskResponse) FromJsonString(s string) error

func (*StopRecordTaskResponse) ToJsonString

func (r *StopRecordTaskResponse) 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 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"`

	// 视频码率,取值范围:100kbps - 8000kbps。
	VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"`

	// 音频编码,可选 aac 或 mp3。
	Acodec *string `json:"Acodec,omitempty" name:"Acodec"`

	// 音频码率。取值范围:0kbps - 500kbps。
	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"`

	// 帧率。取值范围:0fps - 200fps。
	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 TimeValue

type TimeValue struct {

	// UTC 时间,时间格式:yyyy-mm-ddTHH:MM:SSZ。
	Time *string `json:"Time,omitempty" name:"Time"`

	// 数值。
	Num *uint64 `json:"Num,omitempty" name:"Num"`
}

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"`

	// 分辨率。
	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
}

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。
	// 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`

	// 水印图片 URL。
	PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`

	// 显示位置,X轴偏移,单位是百分比,默认 0。
	XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"`

	// 显示位置,Y轴偏移,单位是百分比,默认 0。
	YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"`

	// 水印名称。
	// 最长16字节。
	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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL