model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppQualityInfo

type AppQualityInfo struct {

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 视频质量信息
	QualityInfo *[]QualityInfo `json:"quality_info,omitempty"`
}

func (AppQualityInfo) String

func (o AppQualityInfo) String() string

type BatchShowIpBelongsRequest

type BatchShowIpBelongsRequest struct {

	// IP地址列表,最多20个。
	Ip []string `json:"ip"`
}

BatchShowIpBelongsRequest Request Object

func (BatchShowIpBelongsRequest) String

func (o BatchShowIpBelongsRequest) String() string

type BatchShowIpBelongsResponse

type BatchShowIpBelongsResponse struct {

	// IP归属信息列表。
	CdnIps         *[]CdnIp `json:"cdn_ips,omitempty"`
	HttpStatusCode int      `json:"-"`
}

BatchShowIpBelongsResponse Response Object

func (BatchShowIpBelongsResponse) String

type CdnIp

type CdnIp struct {

	// 需查询的IP地址。
	Ip *string `json:"ip,omitempty"`

	// 是否是华为云CDN节点。(true:是华为云CDN节点,false:不是华为云CDN节点)
	Belongs *bool `json:"belongs,omitempty"`

	// IP归属地省份。(Unknown:表示未知归属地)
	Region *string `json:"region,omitempty"`

	// 运营商名称。如果IP归属地未知,该字段返回null。
	Isp *string `json:"isp,omitempty"`

	// 平台。如果IP归属地未知,该字段返回null。
	Platform *string `json:"platform,omitempty"`
}

func (CdnIp) String

func (o CdnIp) String() string

type CreateDomainMappingRequest

type CreateDomainMappingRequest struct {
	Body *DomainMapping `json:"body,omitempty"`
}

CreateDomainMappingRequest Request Object

func (CreateDomainMappingRequest) String

type CreateDomainMappingResponse

type CreateDomainMappingResponse struct {

	// 直播播放域名
	PullDomain *string `json:"pull_domain,omitempty"`

	// 直播播放域名关联的推流域名
	PushDomain     *string `json:"push_domain,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDomainMappingResponse Response Object

func (CreateDomainMappingResponse) String

type CreateDomainRequest

type CreateDomainRequest struct {
	Body *LiveDomainCreateReq `json:"body,omitempty"`
}

CreateDomainRequest Request Object

func (CreateDomainRequest) String

func (o CreateDomainRequest) String() string

type CreateDomainResponse

type CreateDomainResponse struct {

	// 直播域名
	Domain *string `json:"domain,omitempty"`

	// 域名类型 - pull表示播放域名 - push表示推流域名
	DomainType *CreateDomainResponseDomainType `json:"domain_type,omitempty"`

	// 直播域名的CNAME
	DomainCname *string `json:"domain_cname,omitempty"`

	// 直播所属直播中心
	Region *string `json:"region,omitempty"`

	// 直播域名的状态
	Status *CreateDomainResponseStatus `json:"status,omitempty"`

	// 域名创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 状态描述
	StatusDescribe *string `json:"status_describe,omitempty"`

	// 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域
	ServiceArea *CreateDomainResponseServiceArea `json:"service_area,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateDomainResponse Response Object

func (CreateDomainResponse) String

func (o CreateDomainResponse) String() string

type CreateDomainResponseDomainType

type CreateDomainResponseDomainType struct {
	// contains filtered or unexported fields
}

func (CreateDomainResponseDomainType) MarshalJSON

func (c CreateDomainResponseDomainType) MarshalJSON() ([]byte, error)

func (*CreateDomainResponseDomainType) UnmarshalJSON

func (c *CreateDomainResponseDomainType) UnmarshalJSON(b []byte) error

func (CreateDomainResponseDomainType) Value

type CreateDomainResponseDomainTypeEnum

type CreateDomainResponseDomainTypeEnum struct {
	PULL CreateDomainResponseDomainType
	PUSH CreateDomainResponseDomainType
}

func GetCreateDomainResponseDomainTypeEnum

func GetCreateDomainResponseDomainTypeEnum() CreateDomainResponseDomainTypeEnum

type CreateDomainResponseServiceArea

type CreateDomainResponseServiceArea struct {
	// contains filtered or unexported fields
}

func (CreateDomainResponseServiceArea) MarshalJSON

func (c CreateDomainResponseServiceArea) MarshalJSON() ([]byte, error)

func (*CreateDomainResponseServiceArea) UnmarshalJSON

func (c *CreateDomainResponseServiceArea) UnmarshalJSON(b []byte) error

func (CreateDomainResponseServiceArea) Value

type CreateDomainResponseServiceAreaEnum

type CreateDomainResponseServiceAreaEnum struct {
	MAINLAND_CHINA         CreateDomainResponseServiceArea
	OUTSIDE_MAINLAND_CHINA CreateDomainResponseServiceArea
}

func GetCreateDomainResponseServiceAreaEnum

func GetCreateDomainResponseServiceAreaEnum() CreateDomainResponseServiceAreaEnum

type CreateDomainResponseStatus

type CreateDomainResponseStatus struct {
	// contains filtered or unexported fields
}

func (CreateDomainResponseStatus) MarshalJSON

func (c CreateDomainResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateDomainResponseStatus) UnmarshalJSON

func (c *CreateDomainResponseStatus) UnmarshalJSON(b []byte) error

func (CreateDomainResponseStatus) Value

type CreateDomainResponseStatusEnum

type CreateDomainResponseStatusEnum struct {
	ON          CreateDomainResponseStatus
	OFF         CreateDomainResponseStatus
	CONFIGURING CreateDomainResponseStatus
	DISABLE     CreateDomainResponseStatus
}

func GetCreateDomainResponseStatusEnum

func GetCreateDomainResponseStatusEnum() CreateDomainResponseStatusEnum

type CreateRecordCallbackConfigRequest

type CreateRecordCallbackConfigRequest struct {
	Body *RecordCallbackConfigRequest `json:"body,omitempty"`
}

CreateRecordCallbackConfigRequest Request Object

func (CreateRecordCallbackConfigRequest) String

type CreateRecordCallbackConfigResponse

type CreateRecordCallbackConfigResponse struct {

	// 配置id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制回调通知url地址
	NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"`

	// 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE
	NotifyEventSubscription *[]CreateRecordCallbackConfigResponseNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	// 加密类型
	SignType *CreateRecordCallbackConfigResponseSignType `json:"sign_type,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateRecordCallbackConfigResponse Response Object

func (CreateRecordCallbackConfigResponse) String

type CreateRecordCallbackConfigResponseNotifyEventSubscription

type CreateRecordCallbackConfigResponseNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (CreateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON

func (*CreateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON

func (CreateRecordCallbackConfigResponseNotifyEventSubscription) Value

type CreateRecordCallbackConfigResponseSignType

type CreateRecordCallbackConfigResponseSignType struct {
	// contains filtered or unexported fields
}

func (CreateRecordCallbackConfigResponseSignType) MarshalJSON

func (*CreateRecordCallbackConfigResponseSignType) UnmarshalJSON

func (CreateRecordCallbackConfigResponseSignType) Value

type CreateRecordCallbackConfigResponseSignTypeEnum

type CreateRecordCallbackConfigResponseSignTypeEnum struct {
	MD5        CreateRecordCallbackConfigResponseSignType
	HMACSHA256 CreateRecordCallbackConfigResponseSignType
}

func GetCreateRecordCallbackConfigResponseSignTypeEnum

func GetCreateRecordCallbackConfigResponseSignTypeEnum() CreateRecordCallbackConfigResponseSignTypeEnum

type CreateRecordIndexRequest

type CreateRecordIndexRequest struct {
	Body *RecordIndexRequestBody `json:"body,omitempty"`
}

CreateRecordIndexRequest Request Object

func (CreateRecordIndexRequest) String

func (o CreateRecordIndexRequest) String() string

type CreateRecordIndexResponse

type CreateRecordIndexResponse struct {

	// 索引文件地址
	IndexUrl *string `json:"index_url,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream *string `json:"stream,omitempty"`

	// 开始时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC时间)。(实际视频的开始时间)
	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	// 结束时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC时间)。(实际视频的结束时间)
	EndTime *sdktime.SdkTime `json:"end_time,omitempty"`

	// 录制时长。单位:秒。
	Duration *int32 `json:"duration,omitempty"`

	// 视频宽。
	Width *int32 `json:"width,omitempty"`

	// 视频高。
	Height *int32 `json:"height,omitempty"`

	// OBS Bucket所在RegionID
	Location *CreateRecordIndexResponseLocation `json:"location,omitempty"`

	// 桶名称
	Bucket *string `json:"bucket,omitempty"`

	// m3u8文件路径。默认Index/{publish_domain}/{app}/{stream}-{start_time}-{end_time}
	Object *string `json:"object,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateRecordIndexResponse Response Object

func (CreateRecordIndexResponse) String

func (o CreateRecordIndexResponse) String() string

type CreateRecordIndexResponseLocation

type CreateRecordIndexResponseLocation struct {
	// contains filtered or unexported fields
}

func (CreateRecordIndexResponseLocation) MarshalJSON

func (c CreateRecordIndexResponseLocation) MarshalJSON() ([]byte, error)

func (*CreateRecordIndexResponseLocation) UnmarshalJSON

func (c *CreateRecordIndexResponseLocation) UnmarshalJSON(b []byte) error

func (CreateRecordIndexResponseLocation) Value

type CreateRecordIndexResponseLocationEnum

type CreateRecordIndexResponseLocationEnum struct {
	CN_NORTH_4 CreateRecordIndexResponseLocation
	CN_NORTH_5 CreateRecordIndexResponseLocation
	CN_NORTH_6 CreateRecordIndexResponseLocation
}

func GetCreateRecordIndexResponseLocationEnum

func GetCreateRecordIndexResponseLocationEnum() CreateRecordIndexResponseLocationEnum

type CreateRecordRuleRequest

type CreateRecordRuleRequest struct {
	Body *RecordRuleRequest `json:"body,omitempty"`
}

CreateRecordRuleRequest Request Object

func (CreateRecordRuleRequest) String

func (o CreateRecordRuleRequest) String() string

type CreateRecordRuleResponse

type CreateRecordRuleResponse struct {

	// 规则id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream *string `json:"stream,omitempty"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD, ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD: 持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD: 命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。命令控制的接口参考/v1/{project_id}/record/control - PLAN_RECORD: 计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD: 按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。租户提供的接口定义参考:/customer-record-ondemand-url
	RecordType *CreateRecordRuleResponseRecordType `json:"record_type,omitempty"`

	DefaultRecordConfig *DefaultRecordConfig `json:"default_record_config,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateRecordRuleResponse Response Object

func (CreateRecordRuleResponse) String

func (o CreateRecordRuleResponse) String() string

type CreateRecordRuleResponseRecordType

type CreateRecordRuleResponseRecordType struct {
	// contains filtered or unexported fields
}

func (CreateRecordRuleResponseRecordType) MarshalJSON

func (c CreateRecordRuleResponseRecordType) MarshalJSON() ([]byte, error)

func (*CreateRecordRuleResponseRecordType) UnmarshalJSON

func (c *CreateRecordRuleResponseRecordType) UnmarshalJSON(b []byte) error

func (CreateRecordRuleResponseRecordType) Value

type CreateRecordRuleResponseRecordTypeEnum

type CreateRecordRuleResponseRecordTypeEnum struct {
	CONTINUOUS_RECORD CreateRecordRuleResponseRecordType
	COMMAND_RECORD    CreateRecordRuleResponseRecordType
	PLAN_RECORD       CreateRecordRuleResponseRecordType
	ON_DEMAND_RECORD  CreateRecordRuleResponseRecordType
}

func GetCreateRecordRuleResponseRecordTypeEnum

func GetCreateRecordRuleResponseRecordTypeEnum() CreateRecordRuleResponseRecordTypeEnum

type CreateSnapshotConfigRequest

type CreateSnapshotConfigRequest struct {
	Body *LiveSnapshotConfig `json:"body,omitempty"`
}

CreateSnapshotConfigRequest Request Object

func (CreateSnapshotConfigRequest) String

type CreateSnapshotConfigResponse

type CreateSnapshotConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateSnapshotConfigResponse Response Object

func (CreateSnapshotConfigResponse) String

type CreateStreamForbiddenRequest

type CreateStreamForbiddenRequest struct {
	Body *StreamForbiddenSetting `json:"body,omitempty"`
}

CreateStreamForbiddenRequest Request Object

func (CreateStreamForbiddenRequest) String

type CreateStreamForbiddenResponse

type CreateStreamForbiddenResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateStreamForbiddenResponse Response Object

func (CreateStreamForbiddenResponse) String

type CreateTranscodingsTemplateRequest

type CreateTranscodingsTemplateRequest struct {
	Body *StreamTranscodingTemplate `json:"body,omitempty"`
}

CreateTranscodingsTemplateRequest Request Object

func (CreateTranscodingsTemplateRequest) String

type CreateTranscodingsTemplateResponse

type CreateTranscodingsTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateTranscodingsTemplateResponse Response Object

func (CreateTranscodingsTemplateResponse) String

type DecoupledLiveDomainInfo

type DecoupledLiveDomainInfo struct {

	// 直播域名
	Domain string `json:"domain"`

	// 域名类型
	DomainType DecoupledLiveDomainInfoDomainType `json:"domain_type"`

	// CDN厂商
	Vendor DecoupledLiveDomainInfoVendor `json:"vendor"`

	// 直播所属直播中心
	Region string `json:"region"`

	// 直播域名的CName
	DomainCname string `json:"domain_cname"`

	// 直播域名的状态
	Status DecoupledLiveDomainInfoStatus `json:"status"`

	// 播放域名关联的推流域名(只有domain_type为pull的时候有效)
	RelatedDomain string `json:"related_domain"`

	// 域名创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间
	CreateTime *sdktime.SdkTime `json:"create_time"`

	// 状态描述
	StatusDescribe *string `json:"status_describe,omitempty"`

	// 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域
	ServiceArea *DecoupledLiveDomainInfoServiceArea `json:"service_area,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// IPV6开关是否开启,默认关闭,true为开启;false或空为关闭
	IsIpv6 *bool `json:"is_ipv6,omitempty"`
}

func (DecoupledLiveDomainInfo) String

func (o DecoupledLiveDomainInfo) String() string

type DecoupledLiveDomainInfoDomainType

type DecoupledLiveDomainInfoDomainType struct {
	// contains filtered or unexported fields
}

func (DecoupledLiveDomainInfoDomainType) MarshalJSON

func (c DecoupledLiveDomainInfoDomainType) MarshalJSON() ([]byte, error)

func (*DecoupledLiveDomainInfoDomainType) UnmarshalJSON

func (c *DecoupledLiveDomainInfoDomainType) UnmarshalJSON(b []byte) error

func (DecoupledLiveDomainInfoDomainType) Value

type DecoupledLiveDomainInfoDomainTypeEnum

type DecoupledLiveDomainInfoDomainTypeEnum struct {
	PULL DecoupledLiveDomainInfoDomainType
	PUSH DecoupledLiveDomainInfoDomainType
}

func GetDecoupledLiveDomainInfoDomainTypeEnum

func GetDecoupledLiveDomainInfoDomainTypeEnum() DecoupledLiveDomainInfoDomainTypeEnum

type DecoupledLiveDomainInfoServiceArea

type DecoupledLiveDomainInfoServiceArea struct {
	// contains filtered or unexported fields
}

func (DecoupledLiveDomainInfoServiceArea) MarshalJSON

func (c DecoupledLiveDomainInfoServiceArea) MarshalJSON() ([]byte, error)

func (*DecoupledLiveDomainInfoServiceArea) UnmarshalJSON

func (c *DecoupledLiveDomainInfoServiceArea) UnmarshalJSON(b []byte) error

func (DecoupledLiveDomainInfoServiceArea) Value

type DecoupledLiveDomainInfoServiceAreaEnum

type DecoupledLiveDomainInfoServiceAreaEnum struct {
	MAINLAND_CHINA         DecoupledLiveDomainInfoServiceArea
	OUTSIDE_MAINLAND_CHINA DecoupledLiveDomainInfoServiceArea
}

func GetDecoupledLiveDomainInfoServiceAreaEnum

func GetDecoupledLiveDomainInfoServiceAreaEnum() DecoupledLiveDomainInfoServiceAreaEnum

type DecoupledLiveDomainInfoStatus

type DecoupledLiveDomainInfoStatus struct {
	// contains filtered or unexported fields
}

func (DecoupledLiveDomainInfoStatus) MarshalJSON

func (c DecoupledLiveDomainInfoStatus) MarshalJSON() ([]byte, error)

func (*DecoupledLiveDomainInfoStatus) UnmarshalJSON

func (c *DecoupledLiveDomainInfoStatus) UnmarshalJSON(b []byte) error

func (DecoupledLiveDomainInfoStatus) Value

type DecoupledLiveDomainInfoStatusEnum

type DecoupledLiveDomainInfoStatusEnum struct {
	ON          DecoupledLiveDomainInfoStatus
	OFF         DecoupledLiveDomainInfoStatus
	CONFIGURING DecoupledLiveDomainInfoStatus
}

func GetDecoupledLiveDomainInfoStatusEnum

func GetDecoupledLiveDomainInfoStatusEnum() DecoupledLiveDomainInfoStatusEnum

type DecoupledLiveDomainInfoVendor

type DecoupledLiveDomainInfoVendor struct {
	// contains filtered or unexported fields
}

func (DecoupledLiveDomainInfoVendor) MarshalJSON

func (c DecoupledLiveDomainInfoVendor) MarshalJSON() ([]byte, error)

func (*DecoupledLiveDomainInfoVendor) UnmarshalJSON

func (c *DecoupledLiveDomainInfoVendor) UnmarshalJSON(b []byte) error

func (DecoupledLiveDomainInfoVendor) Value

type DefaultRecordConfig

type DefaultRecordConfig struct {

	// 录制格式,当前支持:FLV,HLS,MP4三种格式,设置格式时必须使用大写字母
	RecordFormat []VideoFormatVar `json:"record_format"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr"`

	HlsConfig *HlsRecordConfig `json:"hls_config,omitempty"`

	FlvConfig *FlvRecordConfig `json:"flv_config,omitempty"`

	Mp4Config *Mp4RecordConfig `json:"mp4_config,omitempty"`
}

func (DefaultRecordConfig) String

func (o DefaultRecordConfig) String() string

type DeleteDomainHttpsCertRequest

type DeleteDomainHttpsCertRequest struct {

	// 直播播放域名
	Domain string `json:"domain"`
}

DeleteDomainHttpsCertRequest Request Object

func (DeleteDomainHttpsCertRequest) String

type DeleteDomainHttpsCertResponse

type DeleteDomainHttpsCertResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDomainHttpsCertResponse Response Object

func (DeleteDomainHttpsCertResponse) String

type DeleteDomainKeyChainRequest

type DeleteDomainKeyChainRequest struct {

	// 直播域名,包括推流域名和播放域名
	Domain string `json:"domain"`
}

DeleteDomainKeyChainRequest Request Object

func (DeleteDomainKeyChainRequest) String

type DeleteDomainKeyChainResponse

type DeleteDomainKeyChainResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDomainKeyChainResponse Response Object

func (DeleteDomainKeyChainResponse) String

type DeleteDomainMappingRequest

type DeleteDomainMappingRequest struct {

	// 直播播放域名
	PullDomain string `json:"pull_domain"`

	// 直播推流域名
	PushDomain string `json:"push_domain"`
}

DeleteDomainMappingRequest Request Object

func (DeleteDomainMappingRequest) String

type DeleteDomainMappingResponse

type DeleteDomainMappingResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDomainMappingResponse Response Object

func (DeleteDomainMappingResponse) String

type DeleteDomainRequest

type DeleteDomainRequest struct {

	// 直播域名
	Domain string `json:"domain"`
}

DeleteDomainRequest Request Object

func (DeleteDomainRequest) String

func (o DeleteDomainRequest) String() string

type DeleteDomainResponse

type DeleteDomainResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDomainResponse Response Object

func (DeleteDomainResponse) String

func (o DeleteDomainResponse) String() string

type DeleteRecordCallbackConfigRequest

type DeleteRecordCallbackConfigRequest struct {

	// 配置ID
	Id string `json:"id"`
}

DeleteRecordCallbackConfigRequest Request Object

func (DeleteRecordCallbackConfigRequest) String

type DeleteRecordCallbackConfigResponse

type DeleteRecordCallbackConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRecordCallbackConfigResponse Response Object

func (DeleteRecordCallbackConfigResponse) String

type DeleteRecordRuleRequest

type DeleteRecordRuleRequest struct {

	// 规则ID
	Id string `json:"id"`
}

DeleteRecordRuleRequest Request Object

func (DeleteRecordRuleRequest) String

func (o DeleteRecordRuleRequest) String() string

type DeleteRecordRuleResponse

type DeleteRecordRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRecordRuleResponse Response Object

func (DeleteRecordRuleResponse) String

func (o DeleteRecordRuleResponse) String() string

type DeleteSnapshotConfigRequest

type DeleteSnapshotConfigRequest struct {

	// 直播流播放域名
	Domain string `json:"domain"`

	// 应用名称
	AppName string `json:"app_name"`
}

DeleteSnapshotConfigRequest Request Object

func (DeleteSnapshotConfigRequest) String

type DeleteSnapshotConfigResponse

type DeleteSnapshotConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSnapshotConfigResponse Response Object

func (DeleteSnapshotConfigResponse) String

type DeleteStreamForbiddenRequest

type DeleteStreamForbiddenRequest struct {

	// 推流域名
	Domain string `json:"domain"`

	// RTMP应用名称
	AppName string `json:"app_name"`

	// 流名称
	StreamName string `json:"stream_name"`
}

DeleteStreamForbiddenRequest Request Object

func (DeleteStreamForbiddenRequest) String

type DeleteStreamForbiddenResponse

type DeleteStreamForbiddenResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteStreamForbiddenResponse Response Object

func (DeleteStreamForbiddenResponse) String

type DeleteTranscodingsTemplateRequest

type DeleteTranscodingsTemplateRequest struct {

	// 推流域名
	Domain string `json:"domain"`

	// 应用名称
	AppName string `json:"app_name"`
}

DeleteTranscodingsTemplateRequest Request Object

func (DeleteTranscodingsTemplateRequest) String

type DeleteTranscodingsTemplateResponse

type DeleteTranscodingsTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteTranscodingsTemplateResponse Response Object

func (DeleteTranscodingsTemplateResponse) String

type DomainHttpsCertInfo

type DomainHttpsCertInfo struct {

	// 证书格式,默认为PEM,当前只支持PEM格式
	CertificateFormat *DomainHttpsCertInfoCertificateFormat `json:"certificate_format,omitempty"`

	// 证书内容
	Certificate string `json:"certificate"`

	// 私钥内容
	CertificateKey string `json:"certificate_key"`

	// 是否开启重定向,默认false
	ForceRedirect *bool `json:"force_redirect,omitempty"`
}

func (DomainHttpsCertInfo) String

func (o DomainHttpsCertInfo) String() string

type DomainHttpsCertInfoCertificateFormat

type DomainHttpsCertInfoCertificateFormat struct {
	// contains filtered or unexported fields
}

func (DomainHttpsCertInfoCertificateFormat) MarshalJSON

func (c DomainHttpsCertInfoCertificateFormat) MarshalJSON() ([]byte, error)

func (*DomainHttpsCertInfoCertificateFormat) UnmarshalJSON

func (c *DomainHttpsCertInfoCertificateFormat) UnmarshalJSON(b []byte) error

func (DomainHttpsCertInfoCertificateFormat) Value

type DomainHttpsCertInfoCertificateFormatEnum

type DomainHttpsCertInfoCertificateFormatEnum struct {
	PEM DomainHttpsCertInfoCertificateFormat
}

func GetDomainHttpsCertInfoCertificateFormatEnum

func GetDomainHttpsCertInfoCertificateFormatEnum() DomainHttpsCertInfoCertificateFormatEnum

type DomainIpv6SwitchReq

type DomainIpv6SwitchReq struct {

	// 域名
	Domain string `json:"domain"`

	// IPV6开关配置,默认关闭,true为开启,false为关闭
	IsIpv6 *bool `json:"is_ipv6,omitempty"`
}

func (DomainIpv6SwitchReq) String

func (o DomainIpv6SwitchReq) String() string

type DomainMapping

type DomainMapping struct {

	// 直播播放域名
	PullDomain string `json:"pull_domain"`

	// 直播播放域名关联的推流域名
	PushDomain string `json:"push_domain"`
}

func (DomainMapping) String

func (o DomainMapping) String() string

type FlvRecordConfig

type FlvRecordConfig struct {

	// 单位为秒,周期录制时长,最小1分钟,最大12小时。如果为0则整个流录制一个文件。
	RecordCycle int32 `json:"record_cycle"`

	// 录制FLV文件含路径和文件名的前缀, 默认Record/{publish_domain}/{app}/{record_type}/{record_format}/{stream}_{file_start_time}/{file_start_time}
	RecordPrefix *string `json:"record_prefix,omitempty"`

	// 录制flv拼接时长,如果流中断超过该时间,则生成新文件。单位秒。如果为0表示流中断就生成新文件。默认为0。
	RecordMaxDurationToMergeFile *int32 `json:"record_max_duration_to_merge_file,omitempty"`
}

func (FlvRecordConfig) String

func (o FlvRecordConfig) String() string

type HlsRecordConfig

type HlsRecordConfig struct {

	// 单位为秒,周期录制时长,最小1分钟(60秒),最大12小时。如果为0则整个流录制一个文件。
	RecordCycle int32 `json:"record_cycle"`

	// 录制m3u8文件含路径和文件名的前缀, 默认Record/{publish_domain}/{app}/{record_type}/{record_format}/{stream}_{file_start_time}/{stream}_{file_start_time}
	RecordPrefix *string `json:"record_prefix,omitempty"`

	// 录制ts文件名的前缀, 默认{file_start_time_unix}_{file_end_time_unix}_{ts_sequence_number}
	RecordTsPrefix *string `json:"record_ts_prefix,omitempty"`

	// 录制HLS时ts的切片时长,非必须,缺省为10,单位秒,最小2,最大60
	RecordSliceDuration *int32 `json:"record_slice_duration,omitempty"`

	// 录制HLS文件拼接时长,如果流中断超过该时间,则生成新文件。单位秒。如果为0表示流中断就生成新文件,如果为-1则表示相同的流中断恢复后继续在30天内的前一个文件保存。默认为0。
	RecordMaxDurationToMergeFile *int32 `json:"record_max_duration_to_merge_file,omitempty"`
}

func (HlsRecordConfig) String

func (o HlsRecordConfig) String() string

type KeyChainInfo

type KeyChainInfo struct {

	// 防盗链Key值,由32个字符组成,支持大写字母、小写字母、数字。不可为纯数字或纯字母。
	Key string `json:"key"`

	// 计算鉴权串的方式: - d_sha256:鉴权方式D,采用HMAC-SHA256算法,建议优先选择此方式; - c_aes:鉴权方式C,采用对称加密算法; - b_md5:鉴权方式B,采用MD5信息摘要算法; - a_md5:鉴权方式A,采用MD5信息摘要算法。  > 鉴权方式ABC存在安全风险,鉴权方式D拥有更高的安全性,建议您优先使用鉴权方式D。
	AuthType KeyChainInfoAuthType `json:"auth_type"`

	// URL鉴权信息的超时时长  取值范围:[60,2592000],即1分钟-30天  单位:秒  鉴权信息中携带的请求时间与直播服务收到请求时的时间的最大差值,用于检查直播推流URL或者直播播放URL是否已过期
	Timeout int32 `json:"timeout"`
}

func (KeyChainInfo) String

func (o KeyChainInfo) String() string

type KeyChainInfoAuthType

type KeyChainInfoAuthType struct {
	// contains filtered or unexported fields
}

func (KeyChainInfoAuthType) MarshalJSON

func (c KeyChainInfoAuthType) MarshalJSON() ([]byte, error)

func (*KeyChainInfoAuthType) UnmarshalJSON

func (c *KeyChainInfoAuthType) UnmarshalJSON(b []byte) error

func (KeyChainInfoAuthType) Value

func (c KeyChainInfoAuthType) Value() string

type KeyChainInfoAuthTypeEnum

type KeyChainInfoAuthTypeEnum struct {
	D_SHA256 KeyChainInfoAuthType
	C_AES    KeyChainInfoAuthType
	B_MD5    KeyChainInfoAuthType
	A_MD5    KeyChainInfoAuthType
}

func GetKeyChainInfoAuthTypeEnum

func GetKeyChainInfoAuthTypeEnum() KeyChainInfoAuthTypeEnum

type ListLiveSampleLogsRequest

type ListLiveSampleLogsRequest struct {

	// 播放域名。
	PlayDomain string `json:"play_domain"`

	// 查询开始时间,UTC时间:YYYY-MM-DDTHH:mm:ssZ,如北京时间2020年3月4日16点00分00秒可表示为2020-03-04T08:00:00Z。仅支持查询最近3个月内的数据。
	StartTime *sdktime.SdkTime `json:"start_time"`

	// 查询结束时间,UTC时间:YYYY-MM-DDTHH:mm:ssZ,如北京时间2020年3月4日16点00分00秒可表示为2020-03-04T08:00:00Z。查询时间跨度不能大于7天。
	EndTime *sdktime.SdkTime `json:"end_time"`
}

ListLiveSampleLogsRequest Request Object

func (ListLiveSampleLogsRequest) String

func (o ListLiveSampleLogsRequest) String() string

type ListLiveSampleLogsResponse

type ListLiveSampleLogsResponse struct {

	// 符合查询条件的总条目数
	Total *int32 `json:"total,omitempty"`

	// 播放域名
	Domain *string `json:"domain,omitempty"`

	// 日志信息列表
	Logs           *[]LogInfo `json:"logs,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListLiveSampleLogsResponse Response Object

func (ListLiveSampleLogsResponse) String

type ListLiveStreamsOnlineRequest

type ListLiveStreamsOnlineRequest struct {

	// 推流域名
	PublishDomain string `json:"publish_domain"`

	// 应用名
	App *string `json:"app,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围[1,100],默认值10
	Limit *int32 `json:"limit,omitempty"`

	// 流名,用于单流查询,携带stream参数时app不能缺省
	Stream *string `json:"stream,omitempty"`
}

ListLiveStreamsOnlineRequest Request Object

func (ListLiveStreamsOnlineRequest) String

type ListLiveStreamsOnlineResponse

type ListLiveStreamsOnlineResponse struct {

	// 总条页数
	TotalPage *int64 `json:"total_page,omitempty"`

	// 总条目数
	TotalNum *int64 `json:"total_num,omitempty"`

	// 偏移量
	Offset *int64 `json:"offset,omitempty"`

	// 每页条目数
	Limit *int64 `json:"limit,omitempty"`

	// 请求唯一标识
	RequestId *string `json:"request_id,omitempty"`

	// 推流统计
	Streams        *[]OnlineInfo `json:"streams,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListLiveStreamsOnlineResponse Response Object

func (ListLiveStreamsOnlineResponse) String

type ListRecordCallbackConfigsRequest

type ListRecordCallbackConfigsRequest struct {

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 流应用名称
	App *string `json:"app,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围[1,100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListRecordCallbackConfigsRequest Request Object

func (ListRecordCallbackConfigsRequest) String

type ListRecordCallbackConfigsResponse

type ListRecordCallbackConfigsResponse struct {

	// 查询结果的总元素数量
	Total *int32 `json:"total,omitempty"`

	// 回调配置
	CallbackConfig *[]RecordCallbackConfig `json:"callback_config,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListRecordCallbackConfigsResponse Response Object

func (ListRecordCallbackConfigsResponse) String

type ListRecordContentsRequest

type ListRecordContentsRequest struct {

	// 直播推流放域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 流应用名称
	App *string `json:"app,omitempty"`

	// 流名称
	Stream *string `json:"stream,omitempty"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD,ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD:命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。 - PLAN_RECORD:计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD:按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。
	RecordType *ListRecordContentsRequestRecordType `json:"record_type,omitempty"`

	// 开始时间,格式为:yyyy-mm-ddThh:mm:ssZ,UTC时间
	StartTime string `json:"start_time"`

	// 结束时间,格式为:yyyy-mm-ddThh:mm:ssZ,UTC时间
	EndTime *string `json:"end_time,omitempty"`

	// 分页编号,从0开始算
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围[1,100]
	Limit *int32 `json:"limit,omitempty"`
}

ListRecordContentsRequest Request Object

func (ListRecordContentsRequest) String

func (o ListRecordContentsRequest) String() string

type ListRecordContentsRequestRecordType

type ListRecordContentsRequestRecordType struct {
	// contains filtered or unexported fields
}

func (ListRecordContentsRequestRecordType) MarshalJSON

func (c ListRecordContentsRequestRecordType) MarshalJSON() ([]byte, error)

func (*ListRecordContentsRequestRecordType) UnmarshalJSON

func (c *ListRecordContentsRequestRecordType) UnmarshalJSON(b []byte) error

func (ListRecordContentsRequestRecordType) Value

type ListRecordContentsRequestRecordTypeEnum

type ListRecordContentsRequestRecordTypeEnum struct {
	CONTINUOUS_RECORD ListRecordContentsRequestRecordType
	COMMAND_RECORD    ListRecordContentsRequestRecordType
	PLAN_RECORD       ListRecordContentsRequestRecordType
	ON_DEMAND_RECORD  ListRecordContentsRequestRecordType
}

func GetListRecordContentsRequestRecordTypeEnum

func GetListRecordContentsRequestRecordTypeEnum() ListRecordContentsRequestRecordTypeEnum

type ListRecordContentsResponse

type ListRecordContentsResponse struct {

	// 查询结果的总元素数量
	Total *int32 `json:"total,omitempty"`

	// 录制内容数组
	RecordContents *[]RecordContentInfoV2 `json:"record_contents,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRecordContentsResponse Response Object

func (ListRecordContentsResponse) String

type ListRecordRulesRequest

type ListRecordRulesRequest struct {

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 流应用名称
	App *string `json:"app,omitempty"`

	// 流名称
	Stream *string `json:"stream,omitempty"`

	// 录制类型,如果不填写则查询所有录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD,ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD:命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。 - PLAN_RECORD:计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD:按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。
	RecordType *ListRecordRulesRequestRecordType `json:"record_type,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围[1,100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListRecordRulesRequest Request Object

func (ListRecordRulesRequest) String

func (o ListRecordRulesRequest) String() string

type ListRecordRulesRequestRecordType

type ListRecordRulesRequestRecordType struct {
	// contains filtered or unexported fields
}

func (ListRecordRulesRequestRecordType) MarshalJSON

func (c ListRecordRulesRequestRecordType) MarshalJSON() ([]byte, error)

func (*ListRecordRulesRequestRecordType) UnmarshalJSON

func (c *ListRecordRulesRequestRecordType) UnmarshalJSON(b []byte) error

func (ListRecordRulesRequestRecordType) Value

type ListRecordRulesRequestRecordTypeEnum

type ListRecordRulesRequestRecordTypeEnum struct {
	CONTINUOUS_RECORD ListRecordRulesRequestRecordType
	COMMAND_RECORD    ListRecordRulesRequestRecordType
	PLAN_RECORD       ListRecordRulesRequestRecordType
	ON_DEMAND_RECORD  ListRecordRulesRequestRecordType
}

func GetListRecordRulesRequestRecordTypeEnum

func GetListRecordRulesRequestRecordTypeEnum() ListRecordRulesRequestRecordTypeEnum

type ListRecordRulesResponse

type ListRecordRulesResponse struct {

	// 查询结果的总元素数量
	Total *int32 `json:"total,omitempty"`

	// 录制配置数组
	RecordConfig   *[]RecordRule `json:"record_config,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListRecordRulesResponse Response Object

func (ListRecordRulesResponse) String

func (o ListRecordRulesResponse) String() string

type ListSnapshotConfigsRequest

type ListSnapshotConfigsRequest struct {

	// 域名
	Domain string `json:"domain"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 每页记录数  取值范围[1,100]  默认值:10
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListSnapshotConfigsRequest Request Object

func (ListSnapshotConfigsRequest) String

type ListSnapshotConfigsResponse

type ListSnapshotConfigsResponse struct {

	// 总条目数
	Total *int32 `json:"total,omitempty"`

	SnapshotConfigList *LiveSnapshotConfig `json:"snapshot_config_list,omitempty"`

	// 每页记录数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset         *int32 `json:"offset,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSnapshotConfigsResponse Response Object

func (ListSnapshotConfigsResponse) String

type ListStreamForbiddenRequest

type ListStreamForbiddenRequest struct {

	// 推流域名
	Domain string `json:"domain"`

	// 应用名称,不指定则查询domain下所有应用的禁止直播推流信息
	AppName *string `json:"app_name,omitempty"`

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

	// 分页编号。 默认为0。
	Page *int32 `json:"page,omitempty"`

	// 每页记录数。  取值范围:1-100。  默认为10。
	Size *int32 `json:"size,omitempty"`
}

ListStreamForbiddenRequest Request Object

func (ListStreamForbiddenRequest) String

type ListStreamForbiddenResponse

type ListStreamForbiddenResponse struct {

	// 查询结果的总元素数量
	Total *int32 `json:"total,omitempty"`

	// 禁播黑名单列表
	Blocks         *[]StreamForbiddenList `json:"blocks,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ListStreamForbiddenResponse Response Object

func (ListStreamForbiddenResponse) String

type LiveDomainCreateReq

type LiveDomainCreateReq struct {

	// 直播域名
	Domain string `json:"domain"`

	// 域名类型 - pull表示播放域名 - push表示推流域名
	DomainType LiveDomainCreateReqDomainType `json:"domain_type"`

	// 直播所属的直播中心
	Region string `json:"region"`

	// 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域
	ServiceArea *LiveDomainCreateReqServiceArea `json:"service_area,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (LiveDomainCreateReq) String

func (o LiveDomainCreateReq) String() string

type LiveDomainCreateReqDomainType

type LiveDomainCreateReqDomainType struct {
	// contains filtered or unexported fields
}

func (LiveDomainCreateReqDomainType) MarshalJSON

func (c LiveDomainCreateReqDomainType) MarshalJSON() ([]byte, error)

func (*LiveDomainCreateReqDomainType) UnmarshalJSON

func (c *LiveDomainCreateReqDomainType) UnmarshalJSON(b []byte) error

func (LiveDomainCreateReqDomainType) Value

type LiveDomainCreateReqDomainTypeEnum

type LiveDomainCreateReqDomainTypeEnum struct {
	PULL LiveDomainCreateReqDomainType
	PUSH LiveDomainCreateReqDomainType
}

func GetLiveDomainCreateReqDomainTypeEnum

func GetLiveDomainCreateReqDomainTypeEnum() LiveDomainCreateReqDomainTypeEnum

type LiveDomainCreateReqServiceArea

type LiveDomainCreateReqServiceArea struct {
	// contains filtered or unexported fields
}

func (LiveDomainCreateReqServiceArea) MarshalJSON

func (c LiveDomainCreateReqServiceArea) MarshalJSON() ([]byte, error)

func (*LiveDomainCreateReqServiceArea) UnmarshalJSON

func (c *LiveDomainCreateReqServiceArea) UnmarshalJSON(b []byte) error

func (LiveDomainCreateReqServiceArea) Value

type LiveDomainCreateReqServiceAreaEnum

type LiveDomainCreateReqServiceAreaEnum struct {
	MAINLAND_CHINA         LiveDomainCreateReqServiceArea
	OUTSIDE_MAINLAND_CHINA LiveDomainCreateReqServiceArea
}

func GetLiveDomainCreateReqServiceAreaEnum

func GetLiveDomainCreateReqServiceAreaEnum() LiveDomainCreateReqServiceAreaEnum

type LiveDomainModifyReq

type LiveDomainModifyReq struct {

	// 直播域名,不允许修改
	Domain string `json:"domain"`

	// 直播域名状态,通过修改此字段,实现域名的启用和停用。注意:域名处于“配置中”状态时,不允对该域名执行启停操作。
	Status *LiveDomainModifyReqStatus `json:"status,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (LiveDomainModifyReq) String

func (o LiveDomainModifyReq) String() string

type LiveDomainModifyReqStatus

type LiveDomainModifyReqStatus struct {
	// contains filtered or unexported fields
}

func (LiveDomainModifyReqStatus) MarshalJSON

func (c LiveDomainModifyReqStatus) MarshalJSON() ([]byte, error)

func (*LiveDomainModifyReqStatus) UnmarshalJSON

func (c *LiveDomainModifyReqStatus) UnmarshalJSON(b []byte) error

func (LiveDomainModifyReqStatus) Value

type LiveDomainModifyReqStatusEnum

type LiveDomainModifyReqStatusEnum struct {
	ON  LiveDomainModifyReqStatus
	OFF LiveDomainModifyReqStatus
}

func GetLiveDomainModifyReqStatusEnum

func GetLiveDomainModifyReqStatusEnum() LiveDomainModifyReqStatusEnum

type LiveSnapshotConfig

type LiveSnapshotConfig struct {

	// 直播推流域名
	Domain string `json:"domain"`

	// 应用名称
	AppName string `json:"app_name"`

	// 回调鉴权密钥值  长度范围:[32-128]  若需要使用回调鉴权功能,请配置鉴权密钥,否则,留空即可。
	AuthKey *string `json:"auth_key,omitempty"`

	// 截图频率  取值范围:[5-3600]  单位:秒
	TimeInterval int32 `json:"time_interval"`

	// 在OBS桶存储截图的方式:  - 0:实时截图,以时间戳命名截图文件,保存所有截图文件到OBS桶。例:snapshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg  - 1:覆盖截图,只保存最新的截图文件,新的截图会覆盖原来的截图文件。例:snapshot/{domain}/{app_name}/{stream_name}.jpg
	ObjectWriteMode int32 `json:"object_write_mode"`

	ObsLocation *ObsFileAddr `json:"obs_location"`

	// 是否启用回调通知 - on:启用。 - off:不启用。
	CallBackEnable *LiveSnapshotConfigCallBackEnable `json:"call_back_enable,omitempty"`

	// 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。
	CallBackUrl *string `json:"call_back_url,omitempty"`
}

func (LiveSnapshotConfig) String

func (o LiveSnapshotConfig) String() string

type LiveSnapshotConfigCallBackEnable

type LiveSnapshotConfigCallBackEnable struct {
	// contains filtered or unexported fields
}

func (LiveSnapshotConfigCallBackEnable) MarshalJSON

func (c LiveSnapshotConfigCallBackEnable) MarshalJSON() ([]byte, error)

func (*LiveSnapshotConfigCallBackEnable) UnmarshalJSON

func (c *LiveSnapshotConfigCallBackEnable) UnmarshalJSON(b []byte) error

func (LiveSnapshotConfigCallBackEnable) Value

type LiveSnapshotConfigCallBackEnableEnum

type LiveSnapshotConfigCallBackEnableEnum struct {
	ON  LiveSnapshotConfigCallBackEnable
	OFF LiveSnapshotConfigCallBackEnable
}

func GetLiveSnapshotConfigCallBackEnableEnum

func GetLiveSnapshotConfigCallBackEnableEnum() LiveSnapshotConfigCallBackEnableEnum

type LogInfo

type LogInfo struct {

	// 日志文件名,打包文件名格式:{Domain}_{logStartTimeStamp}.log.gz
	Name string `json:"name"`

	// 日志下载链接
	Url string `json:"url"`

	// 日志文件大小
	Size int64 `json:"size"`

	// 日志文件中日志开始时间,北京时间
	StartTime string `json:"start_time"`

	// 日志文件中日志结束时间,北京时间
	EndTime string `json:"end_time"`
}

func (LogInfo) String

func (o LogInfo) String() string

type Mp4RecordConfig

type Mp4RecordConfig struct {

	// 单位为秒,周期录制时长,最小1分钟,最大12小时。如果为0则整个流录制一个文件。
	RecordCycle int32 `json:"record_cycle"`

	// 录制文件含路径和文件名的前缀, 默认Record/{publish_domain}/{app}/{record_type}/{record_format}/{stream}_{file_start_time}/{file_start_time}
	RecordPrefix *string `json:"record_prefix,omitempty"`

	// 录制mp4拼接时长,如果流中断超过该时间,则生成新文件。单位秒。如果为0表示流中断就生成新文件。默认为0。
	RecordMaxDurationToMergeFile *int32 `json:"record_max_duration_to_merge_file,omitempty"`
}

func (Mp4RecordConfig) String

func (o Mp4RecordConfig) String() string

type ObsAuthorityConfigV2

type ObsAuthorityConfigV2 struct {

	// OBS桶名
	Bucket string `json:"bucket"`

	// 操作 - 1:授权 - 0:取消授权
	Operation int32 `json:"operation"`
}

func (ObsAuthorityConfigV2) String

func (o ObsAuthorityConfigV2) String() string

type ObsFileAddr

type ObsFileAddr struct {

	// OBS的bucket名称
	Bucket string `json:"bucket"`

	// OBS Bucket所在的区域,且必须保持与使用的直播服务区域保持一致。
	Location string `json:"location"`

	// OBS对象路径,遵守OSS Object定义 - 当用于指示input时,需要指定到具体对象 - 当用于指示output时,只需指定到转码结果期望存放的路径
	Object string `json:"object"`
}

func (ObsFileAddr) String

func (o ObsFileAddr) String() string

type OnlineInfo

type OnlineInfo struct {

	// 域名
	PublishDomain string `json:"publish_domain"`

	// 应用名
	App string `json:"app"`

	// 流名
	Stream string `json:"stream"`

	// 视频编码方式 - H264 - H265
	VideoCodec OnlineInfoVideoCodec `json:"video_codec"`

	// 音频编码方式 - AAC
	AudioCodec OnlineInfoAudioCodec `json:"audio_codec"`

	// 视频帧率
	VideoFrameRate *int64 `json:"video_frame_rate,omitempty"`

	// 音频帧率
	AudioFrameRate *int64 `json:"audio_frame_rate,omitempty"`

	// 视频码率
	VideoBitrate *int64 `json:"video_bitrate,omitempty"`

	// 音频码率
	AudioBitrate *int64 `json:"audio_bitrate,omitempty"`

	// 视频分辨率
	Resolution *string `json:"resolution,omitempty"`

	// 推流设备的ip
	ClientIp string `json:"client_ip"`

	// 开始推流时刻 UTC格式 2006-01-02T15:04:05Z
	StartTime string `json:"start_time"`
}

func (OnlineInfo) String

func (o OnlineInfo) String() string

type OnlineInfoAudioCodec

type OnlineInfoAudioCodec struct {
	// contains filtered or unexported fields
}

func (OnlineInfoAudioCodec) MarshalJSON

func (c OnlineInfoAudioCodec) MarshalJSON() ([]byte, error)

func (*OnlineInfoAudioCodec) UnmarshalJSON

func (c *OnlineInfoAudioCodec) UnmarshalJSON(b []byte) error

func (OnlineInfoAudioCodec) Value

func (c OnlineInfoAudioCodec) Value() string

type OnlineInfoAudioCodecEnum

type OnlineInfoAudioCodecEnum struct {
	AAC OnlineInfoAudioCodec
}

func GetOnlineInfoAudioCodecEnum

func GetOnlineInfoAudioCodecEnum() OnlineInfoAudioCodecEnum

type OnlineInfoVideoCodec

type OnlineInfoVideoCodec struct {
	// contains filtered or unexported fields
}

func (OnlineInfoVideoCodec) MarshalJSON

func (c OnlineInfoVideoCodec) MarshalJSON() ([]byte, error)

func (*OnlineInfoVideoCodec) UnmarshalJSON

func (c *OnlineInfoVideoCodec) UnmarshalJSON(b []byte) error

func (OnlineInfoVideoCodec) Value

func (c OnlineInfoVideoCodec) Value() string

type OnlineInfoVideoCodecEnum

type OnlineInfoVideoCodecEnum struct {
	H264 OnlineInfoVideoCodec
	H265 OnlineInfoVideoCodec
}

func GetOnlineInfoVideoCodecEnum

func GetOnlineInfoVideoCodecEnum() OnlineInfoVideoCodecEnum

type QualityInfo

type QualityInfo struct {

	// 模板名称。
	TemplateName *string `json:"templateName,omitempty"`

	// 包含如下取值: - FHD: 超高清,系统缺省名称 - HD: 高清,系统缺省名称 - SD: 标清,系统缺省名称 - LD: 流畅,系统缺省名称 - XXX: 租户自定义名称。用户自定义名称不能与系统缺省名称冲突;多个自定义名称不能重复
	Quality string `json:"quality"`

	// 是否使用窄带高清转码,模板组里不同模板的PVC选项必须相同。 - on:启用。 - off:不启用。 默认为off
	Pvc *QualityInfoPvc `json:"PVC,omitempty"`

	// 是否启用高清低码,较PVC相比画质增强。 - on:启用。 - off:不启用。 默认为off。
	Hdlb *QualityInfoHdlb `json:"hdlb,omitempty"`

	// 视频编码格式,模板组里不同模板的编码格式必须相同。 - H264:使用H.264。 - H265:使用H.265。 默认为H264。
	Codec *QualityInfoCodec `json:"codec,omitempty"`

	// 视频宽度(单位:像素) - H264   取值范围:32-3840,必须为2的倍数 。 - H265   取值范围:320-3840 ,必须为4的倍数。
	Width *int32 `json:"width,omitempty"`

	// 视频高度(单位:像素) - H264   取值范围:32-2160,必须为2的倍数。 - H265   取值范围:240-2160,必须为4的倍数。
	Height *int32 `json:"height,omitempty"`

	// 转码视频的码率(单位:Kbps)。 取值范围:40-30000。
	Bitrate int32 `json:"bitrate"`

	// 转码视频帧率(单位:fps)。 取值范围:0-30,0表示保持帧率不变。
	VideoFrameRate *int32 `json:"video_frame_rate,omitempty"`

	// 转码输出支持的协议类型。当前只支持RTMP和HLS,且模板组里不同模板的输出协议类型必须相同。 - RTMP - HLS - DASH  默认为RTMP。
	Protocol *QualityInfoProtocol `json:"protocol,omitempty"`

	// I帧间隔(单位:帧)。  取值范围:0-500。  默认为25。
	IFrameInterval *int32 `json:"iFrameInterval,omitempty"`

	// 按时间设置I帧间隔,与“iFrameInterval”选择一个设置即可。  取值范围:[0,10]  默认值:4
	Gop *int32 `json:"gop,omitempty"`
}

func (QualityInfo) String

func (o QualityInfo) String() string

type QualityInfoCodec

type QualityInfoCodec struct {
	// contains filtered or unexported fields
}

func (QualityInfoCodec) MarshalJSON

func (c QualityInfoCodec) MarshalJSON() ([]byte, error)

func (*QualityInfoCodec) UnmarshalJSON

func (c *QualityInfoCodec) UnmarshalJSON(b []byte) error

func (QualityInfoCodec) Value

func (c QualityInfoCodec) Value() string

type QualityInfoCodecEnum

type QualityInfoCodecEnum struct {
	H264 QualityInfoCodec
	H265 QualityInfoCodec
}

func GetQualityInfoCodecEnum

func GetQualityInfoCodecEnum() QualityInfoCodecEnum

type QualityInfoHdlb

type QualityInfoHdlb struct {
	// contains filtered or unexported fields
}

func (QualityInfoHdlb) MarshalJSON

func (c QualityInfoHdlb) MarshalJSON() ([]byte, error)

func (*QualityInfoHdlb) UnmarshalJSON

func (c *QualityInfoHdlb) UnmarshalJSON(b []byte) error

func (QualityInfoHdlb) Value

func (c QualityInfoHdlb) Value() string

type QualityInfoHdlbEnum

type QualityInfoHdlbEnum struct {
	ON  QualityInfoHdlb
	OFF QualityInfoHdlb
}

func GetQualityInfoHdlbEnum

func GetQualityInfoHdlbEnum() QualityInfoHdlbEnum

type QualityInfoProtocol

type QualityInfoProtocol struct {
	// contains filtered or unexported fields
}

func (QualityInfoProtocol) MarshalJSON

func (c QualityInfoProtocol) MarshalJSON() ([]byte, error)

func (*QualityInfoProtocol) UnmarshalJSON

func (c *QualityInfoProtocol) UnmarshalJSON(b []byte) error

func (QualityInfoProtocol) Value

func (c QualityInfoProtocol) Value() string

type QualityInfoProtocolEnum

type QualityInfoProtocolEnum struct {
	RTMP QualityInfoProtocol
	HLS  QualityInfoProtocol
	DASH QualityInfoProtocol
}

func GetQualityInfoProtocolEnum

func GetQualityInfoProtocolEnum() QualityInfoProtocolEnum

type QualityInfoPvc

type QualityInfoPvc struct {
	// contains filtered or unexported fields
}

func (QualityInfoPvc) MarshalJSON

func (c QualityInfoPvc) MarshalJSON() ([]byte, error)

func (*QualityInfoPvc) UnmarshalJSON

func (c *QualityInfoPvc) UnmarshalJSON(b []byte) error

func (QualityInfoPvc) Value

func (c QualityInfoPvc) Value() string

type QualityInfoPvcEnum

type QualityInfoPvcEnum struct {
	ON  QualityInfoPvc
	OFF QualityInfoPvc
}

func GetQualityInfoPvcEnum

func GetQualityInfoPvcEnum() QualityInfoPvcEnum

type RecordCallbackConfig

type RecordCallbackConfig struct {

	// 配置id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain string `json:"publish_domain"`

	// app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App string `json:"app"`

	// 录制回调通知url地址
	NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"`

	// 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE
	NotifyEventSubscription *[]RecordCallbackConfigNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	// 加密类型
	SignType *RecordCallbackConfigSignType `json:"sign_type,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime *string `json:"update_time,omitempty"`
}

func (RecordCallbackConfig) String

func (o RecordCallbackConfig) String() string

type RecordCallbackConfigNotifyEventSubscription

type RecordCallbackConfigNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (RecordCallbackConfigNotifyEventSubscription) MarshalJSON

func (*RecordCallbackConfigNotifyEventSubscription) UnmarshalJSON

func (RecordCallbackConfigNotifyEventSubscription) Value

type RecordCallbackConfigRequest

type RecordCallbackConfigRequest struct {

	// 直播推流域名
	PublishDomain string `json:"publish_domain"`

	// app名称。如果需要匹配任意应用则需填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App string `json:"app"`

	// 录制回调通知url地址
	NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"`

	// 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE
	NotifyEventSubscription *[]RecordCallbackConfigRequestNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	// 加密类型
	SignType *RecordCallbackConfigRequestSignType `json:"sign_type,omitempty"`

	// 回调秘钥,主要用于鉴权。为了保护用户数据信息安全,建议填写。
	Key *string `json:"key,omitempty"`
}

func (RecordCallbackConfigRequest) String

type RecordCallbackConfigRequestNotifyEventSubscription

type RecordCallbackConfigRequestNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (RecordCallbackConfigRequestNotifyEventSubscription) MarshalJSON

func (*RecordCallbackConfigRequestNotifyEventSubscription) UnmarshalJSON

func (RecordCallbackConfigRequestNotifyEventSubscription) Value

type RecordCallbackConfigRequestSignType

type RecordCallbackConfigRequestSignType struct {
	// contains filtered or unexported fields
}

func (RecordCallbackConfigRequestSignType) MarshalJSON

func (c RecordCallbackConfigRequestSignType) MarshalJSON() ([]byte, error)

func (*RecordCallbackConfigRequestSignType) UnmarshalJSON

func (c *RecordCallbackConfigRequestSignType) UnmarshalJSON(b []byte) error

func (RecordCallbackConfigRequestSignType) Value

type RecordCallbackConfigRequestSignTypeEnum

type RecordCallbackConfigRequestSignTypeEnum struct {
	MD5        RecordCallbackConfigRequestSignType
	HMACSHA256 RecordCallbackConfigRequestSignType
}

func GetRecordCallbackConfigRequestSignTypeEnum

func GetRecordCallbackConfigRequestSignTypeEnum() RecordCallbackConfigRequestSignTypeEnum

type RecordCallbackConfigSignType

type RecordCallbackConfigSignType struct {
	// contains filtered or unexported fields
}

func (RecordCallbackConfigSignType) MarshalJSON

func (c RecordCallbackConfigSignType) MarshalJSON() ([]byte, error)

func (*RecordCallbackConfigSignType) UnmarshalJSON

func (c *RecordCallbackConfigSignType) UnmarshalJSON(b []byte) error

func (RecordCallbackConfigSignType) Value

type RecordCallbackConfigSignTypeEnum

type RecordCallbackConfigSignTypeEnum struct {
	MD5        RecordCallbackConfigSignType
	HMACSHA256 RecordCallbackConfigSignType
}

func GetRecordCallbackConfigSignTypeEnum

func GetRecordCallbackConfigSignTypeEnum() RecordCallbackConfigSignTypeEnum

type RecordContentInfoV2

type RecordContentInfoV2 struct {

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 录制文件名
	FileName *string `json:"file_name,omitempty"`

	// 应用名
	App *string `json:"app,omitempty"`

	// 录制的流名
	Stream *string `json:"stream,omitempty"`

	// 录制格式flv,hls,mp4
	RecordFormat *RecordContentInfoV2RecordFormat `json:"record_format,omitempty"`

	// 录制类型,CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD, ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD:命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。 - PLAN_RECORD:计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD:按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。
	RecordType *RecordContentInfoV2RecordType `json:"record_type,omitempty"`

	ObsAddr *RecordObsFileAddr `json:"obs_addr,omitempty"`

	VodInfo *VodInfoV2 `json:"vod_info,omitempty"`

	// OBS下载地址
	DownloadUrl *string `json:"download_url,omitempty"`

	// 录制开始时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。对record_type为PLAN_RECORD有效
	StartTime *string `json:"start_time,omitempty"`

	// 录制结束时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。对record_type为PLAN_RECORD有效
	EndTime *string `json:"end_time,omitempty"`

	// 该录制文件时长,单位为秒
	Duration *int32 `json:"duration,omitempty"`
}

func (RecordContentInfoV2) String

func (o RecordContentInfoV2) String() string

type RecordContentInfoV2RecordFormat

type RecordContentInfoV2RecordFormat struct {
	// contains filtered or unexported fields
}

func (RecordContentInfoV2RecordFormat) MarshalJSON

func (c RecordContentInfoV2RecordFormat) MarshalJSON() ([]byte, error)

func (*RecordContentInfoV2RecordFormat) UnmarshalJSON

func (c *RecordContentInfoV2RecordFormat) UnmarshalJSON(b []byte) error

func (RecordContentInfoV2RecordFormat) Value

type RecordContentInfoV2RecordType

type RecordContentInfoV2RecordType struct {
	// contains filtered or unexported fields
}

func (RecordContentInfoV2RecordType) MarshalJSON

func (c RecordContentInfoV2RecordType) MarshalJSON() ([]byte, error)

func (*RecordContentInfoV2RecordType) UnmarshalJSON

func (c *RecordContentInfoV2RecordType) UnmarshalJSON(b []byte) error

func (RecordContentInfoV2RecordType) Value

type RecordContentInfoV2RecordTypeEnum

type RecordContentInfoV2RecordTypeEnum struct {
	CONTINUOUS_RECORD RecordContentInfoV2RecordType
	COMMAND_RECORD    RecordContentInfoV2RecordType
	PLAN_RECORD       RecordContentInfoV2RecordType
	ON_DEMAND_RECORD  RecordContentInfoV2RecordType
}

func GetRecordContentInfoV2RecordTypeEnum

func GetRecordContentInfoV2RecordTypeEnum() RecordContentInfoV2RecordTypeEnum

type RecordControlInfo

type RecordControlInfo struct {

	// 直播推流域名
	PublishDomain string `json:"publish_domain"`

	// 应用名
	App string `json:"app"`

	// 待启动或停止录制的流名
	Stream string `json:"stream"`
}

func (RecordControlInfo) String

func (o RecordControlInfo) String() string

type RecordIndexRequestBody

type RecordIndexRequestBody struct {

	// 推流域名
	PublishDomain string `json:"publish_domain"`

	// app名
	App string `json:"app"`

	// 流名
	Stream string `json:"stream"`

	// 开始时间。格式为:YYYY-MM-DDTHH:mm:ssZ(UTC时间),开始时间与结束时间的间隔最大为12小时。
	StartTime *sdktime.SdkTime `json:"start_time"`

	// 结束时间。格式为:YYYY-MM-DDTHH:mm:ssZ(UTC时间),开始时间与结束时间的间隔最大为12小时。结束时间不允许大于当前时间。
	EndTime *sdktime.SdkTime `json:"end_time"`

	// \"m3u8文件在OBS中的储存路径。支持下列字符串的转义   - {publish_domain}   - {app}   - {stream}   - {start_time}   - {end_time} 其中{start_time},{end_time}为返回结果的实际时间。 默认值为Index/{publish_domain}/{app}/{stream}/{stream}-{start_time}-{end_time}\"
	Object *string `json:"object,omitempty"`
}

func (RecordIndexRequestBody) String

func (o RecordIndexRequestBody) String() string

type RecordObsFileAddr

type RecordObsFileAddr struct {

	// OBS的bucket名称
	Bucket string `json:"bucket"`

	// OBS Bucket所在RegionID
	Location RecordObsFileAddrLocation `json:"location"`

	// OBS对象路径,遵守OBS Object定义。如果为空则保存到根目录
	Object string `json:"object"`
}

func (RecordObsFileAddr) String

func (o RecordObsFileAddr) String() string

type RecordObsFileAddrLocation

type RecordObsFileAddrLocation struct {
	// contains filtered or unexported fields
}

func (RecordObsFileAddrLocation) MarshalJSON

func (c RecordObsFileAddrLocation) MarshalJSON() ([]byte, error)

func (*RecordObsFileAddrLocation) UnmarshalJSON

func (c *RecordObsFileAddrLocation) UnmarshalJSON(b []byte) error

func (RecordObsFileAddrLocation) Value

type RecordObsFileAddrLocationEnum

type RecordObsFileAddrLocationEnum struct {
	CN_NORTH_4 RecordObsFileAddrLocation
	CN_NORTH_5 RecordObsFileAddrLocation
	CN_NORTH_6 RecordObsFileAddrLocation
}

func GetRecordObsFileAddrLocationEnum

func GetRecordObsFileAddrLocationEnum() RecordObsFileAddrLocationEnum

type RecordRule

type RecordRule struct {

	// 规则id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain string `json:"publish_domain"`

	// 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App string `json:"app"`

	// 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream string `json:"stream"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD, ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD: 持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD: 命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。命令控制的接口参考/v1/{project_id}/record/control - PLAN_RECORD: 计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD: 按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。租户提供的接口定义参考:/customer-record-ondemand-url
	RecordType *RecordRuleRecordType `json:"record_type,omitempty"`

	DefaultRecordConfig *DefaultRecordConfig `json:"default_record_config,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime *string `json:"update_time,omitempty"`
}

func (RecordRule) String

func (o RecordRule) String() string

type RecordRuleRecordType

type RecordRuleRecordType struct {
	// contains filtered or unexported fields
}

func (RecordRuleRecordType) MarshalJSON

func (c RecordRuleRecordType) MarshalJSON() ([]byte, error)

func (*RecordRuleRecordType) UnmarshalJSON

func (c *RecordRuleRecordType) UnmarshalJSON(b []byte) error

func (RecordRuleRecordType) Value

func (c RecordRuleRecordType) Value() string

type RecordRuleRecordTypeEnum

type RecordRuleRecordTypeEnum struct {
	CONTINUOUS_RECORD RecordRuleRecordType
	COMMAND_RECORD    RecordRuleRecordType
	PLAN_RECORD       RecordRuleRecordType
	ON_DEMAND_RECORD  RecordRuleRecordType
}

func GetRecordRuleRecordTypeEnum

func GetRecordRuleRecordTypeEnum() RecordRuleRecordTypeEnum

type RecordRuleRequest

type RecordRuleRequest struct {

	// 直播推流域名
	PublishDomain string `json:"publish_domain"`

	// 应用名,如需匹配任意应用则填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App string `json:"app"`

	// 录制的流名,如需匹配任流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream string `json:"stream"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD,ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD:命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。 - PLAN_RECORD:计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD:按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。
	RecordType *RecordRuleRequestRecordType `json:"record_type,omitempty"`

	DefaultRecordConfig *DefaultRecordConfig `json:"default_record_config"`
}

func (RecordRuleRequest) String

func (o RecordRuleRequest) String() string

type RecordRuleRequestRecordType

type RecordRuleRequestRecordType struct {
	// contains filtered or unexported fields
}

func (RecordRuleRequestRecordType) MarshalJSON

func (c RecordRuleRequestRecordType) MarshalJSON() ([]byte, error)

func (*RecordRuleRequestRecordType) UnmarshalJSON

func (c *RecordRuleRequestRecordType) UnmarshalJSON(b []byte) error

func (RecordRuleRequestRecordType) Value

type RecordRuleRequestRecordTypeEnum

type RecordRuleRequestRecordTypeEnum struct {
	CONTINUOUS_RECORD RecordRuleRequestRecordType
	COMMAND_RECORD    RecordRuleRequestRecordType
	PLAN_RECORD       RecordRuleRequestRecordType
	ON_DEMAND_RECORD  RecordRuleRequestRecordType
}

func GetRecordRuleRequestRecordTypeEnum

func GetRecordRuleRequestRecordTypeEnum() RecordRuleRequestRecordTypeEnum

type RunRecordRequest

type RunRecordRequest struct {

	// 操作行为。 取值如下: - START:对指定流开始录制,必须在直播流已经推送情况下才能正常启动,使用此命令启动录制的直播流如果发生了断流且超出断流时长,就会停止录制,并且重新推流后不会自动启动录制。 - STOP:对指定流停止录制。
	Action RunRecordRequestAction `json:"action"`

	Body *RecordControlInfo `json:"body,omitempty"`
}

RunRecordRequest Request Object

func (RunRecordRequest) String

func (o RunRecordRequest) String() string

type RunRecordRequestAction

type RunRecordRequestAction struct {
	// contains filtered or unexported fields
}

func (RunRecordRequestAction) MarshalJSON

func (c RunRecordRequestAction) MarshalJSON() ([]byte, error)

func (*RunRecordRequestAction) UnmarshalJSON

func (c *RunRecordRequestAction) UnmarshalJSON(b []byte) error

func (RunRecordRequestAction) Value

func (c RunRecordRequestAction) Value() string

type RunRecordRequestActionEnum

type RunRecordRequestActionEnum struct {
	START RunRecordRequestAction
	STOP  RunRecordRequestAction
}

func GetRunRecordRequestActionEnum

func GetRunRecordRequestActionEnum() RunRecordRequestActionEnum

type RunRecordResponse

type RunRecordResponse struct {
	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RunRecordResponse Response Object

func (RunRecordResponse) String

func (o RunRecordResponse) String() string

type ShowDomainHttpsCertRequest

type ShowDomainHttpsCertRequest struct {

	// 直播播放域名
	Domain string `json:"domain"`
}

ShowDomainHttpsCertRequest Request Object

func (ShowDomainHttpsCertRequest) String

type ShowDomainHttpsCertResponse

type ShowDomainHttpsCertResponse struct {

	// 证书格式,默认为PEM,当前只支持PEM格式
	CertificateFormat *ShowDomainHttpsCertResponseCertificateFormat `json:"certificate_format,omitempty"`

	// 证书内容
	Certificate *string `json:"certificate,omitempty"`

	// 私钥内容
	CertificateKey *string `json:"certificate_key,omitempty"`

	// 是否开启重定向,默认false
	ForceRedirect  *bool `json:"force_redirect,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowDomainHttpsCertResponse Response Object

func (ShowDomainHttpsCertResponse) String

type ShowDomainHttpsCertResponseCertificateFormat

type ShowDomainHttpsCertResponseCertificateFormat struct {
	// contains filtered or unexported fields
}

func (ShowDomainHttpsCertResponseCertificateFormat) MarshalJSON

func (*ShowDomainHttpsCertResponseCertificateFormat) UnmarshalJSON

func (ShowDomainHttpsCertResponseCertificateFormat) Value

type ShowDomainHttpsCertResponseCertificateFormatEnum

type ShowDomainHttpsCertResponseCertificateFormatEnum struct {
	PEM ShowDomainHttpsCertResponseCertificateFormat
}

func GetShowDomainHttpsCertResponseCertificateFormatEnum

func GetShowDomainHttpsCertResponseCertificateFormatEnum() ShowDomainHttpsCertResponseCertificateFormatEnum

type ShowDomainKeyChainRequest

type ShowDomainKeyChainRequest struct {

	// 直播域名,包括推流域名和播放域名
	Domain string `json:"domain"`
}

ShowDomainKeyChainRequest Request Object

func (ShowDomainKeyChainRequest) String

func (o ShowDomainKeyChainRequest) String() string

type ShowDomainKeyChainResponse

type ShowDomainKeyChainResponse struct {

	// 防盗链Key值,由32个字符组成,支持大写字母、小写字母、数字。不可为纯数字或纯字母。
	Key *string `json:"key,omitempty"`

	// 计算鉴权串的方式: - d_sha256:鉴权方式D,采用HMAC-SHA256算法,建议优先选择此方式; - c_aes:鉴权方式C,采用对称加密算法; - b_md5:鉴权方式B,采用MD5信息摘要算法; - a_md5:鉴权方式A,采用MD5信息摘要算法。  > 鉴权方式ABC存在安全风险,鉴权方式D拥有更高的安全性,建议您优先使用鉴权方式D。
	AuthType *ShowDomainKeyChainResponseAuthType `json:"auth_type,omitempty"`

	// URL鉴权信息的超时时长  取值范围:[60,2592000],即1分钟-30天  单位:秒  鉴权信息中携带的请求时间与直播服务收到请求时的时间的最大差值,用于检查直播推流URL或者直播播放URL是否已过期
	Timeout        *int32 `json:"timeout,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowDomainKeyChainResponse Response Object

func (ShowDomainKeyChainResponse) String

type ShowDomainKeyChainResponseAuthType

type ShowDomainKeyChainResponseAuthType struct {
	// contains filtered or unexported fields
}

func (ShowDomainKeyChainResponseAuthType) MarshalJSON

func (c ShowDomainKeyChainResponseAuthType) MarshalJSON() ([]byte, error)

func (*ShowDomainKeyChainResponseAuthType) UnmarshalJSON

func (c *ShowDomainKeyChainResponseAuthType) UnmarshalJSON(b []byte) error

func (ShowDomainKeyChainResponseAuthType) Value

type ShowDomainRequest

type ShowDomainRequest struct {

	// 直播域名,如果不设置此字段,则返回租户所有的域名信息
	Domain *string `json:"domain,omitempty"`

	// 企业项目ID,如果不设置此字段,则不进行该字段过滤,返回所有域名信息
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ShowDomainRequest Request Object

func (ShowDomainRequest) String

func (o ShowDomainRequest) String() string

type ShowDomainResponse

type ShowDomainResponse struct {

	// 查询结果的总数量
	Total float32 `json:"total,omitempty"`

	// 直播域名列表
	DomainInfo     *[]DecoupledLiveDomainInfo `json:"domain_info,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

ShowDomainResponse Response Object

func (ShowDomainResponse) String

func (o ShowDomainResponse) String() string

type ShowRecordCallbackConfigRequest

type ShowRecordCallbackConfigRequest struct {

	// 配置ID
	Id string `json:"id"`
}

ShowRecordCallbackConfigRequest Request Object

func (ShowRecordCallbackConfigRequest) String

type ShowRecordCallbackConfigResponse

type ShowRecordCallbackConfigResponse struct {

	// 配置id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制回调通知url地址
	NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"`

	// 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE
	NotifyEventSubscription *[]ShowRecordCallbackConfigResponseNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	// 加密类型
	SignType *ShowRecordCallbackConfigResponseSignType `json:"sign_type,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowRecordCallbackConfigResponse Response Object

func (ShowRecordCallbackConfigResponse) String

type ShowRecordCallbackConfigResponseNotifyEventSubscription

type ShowRecordCallbackConfigResponseNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (ShowRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON

func (*ShowRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON

func (ShowRecordCallbackConfigResponseNotifyEventSubscription) Value

type ShowRecordCallbackConfigResponseSignType

type ShowRecordCallbackConfigResponseSignType struct {
	// contains filtered or unexported fields
}

func (ShowRecordCallbackConfigResponseSignType) MarshalJSON

func (*ShowRecordCallbackConfigResponseSignType) UnmarshalJSON

func (c *ShowRecordCallbackConfigResponseSignType) UnmarshalJSON(b []byte) error

func (ShowRecordCallbackConfigResponseSignType) Value

type ShowRecordCallbackConfigResponseSignTypeEnum

type ShowRecordCallbackConfigResponseSignTypeEnum struct {
	MD5        ShowRecordCallbackConfigResponseSignType
	HMACSHA256 ShowRecordCallbackConfigResponseSignType
}

func GetShowRecordCallbackConfigResponseSignTypeEnum

func GetShowRecordCallbackConfigResponseSignTypeEnum() ShowRecordCallbackConfigResponseSignTypeEnum

type ShowRecordRuleRequest

type ShowRecordRuleRequest struct {

	// 规则ID
	Id string `json:"id"`
}

ShowRecordRuleRequest Request Object

func (ShowRecordRuleRequest) String

func (o ShowRecordRuleRequest) String() string

type ShowRecordRuleResponse

type ShowRecordRuleResponse struct {

	// 规则id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream *string `json:"stream,omitempty"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD, ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD: 持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD: 命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。命令控制的接口参考/v1/{project_id}/record/control - PLAN_RECORD: 计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD: 按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。租户提供的接口定义参考:/customer-record-ondemand-url
	RecordType *ShowRecordRuleResponseRecordType `json:"record_type,omitempty"`

	DefaultRecordConfig *DefaultRecordConfig `json:"default_record_config,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowRecordRuleResponse Response Object

func (ShowRecordRuleResponse) String

func (o ShowRecordRuleResponse) String() string

type ShowRecordRuleResponseRecordType

type ShowRecordRuleResponseRecordType struct {
	// contains filtered or unexported fields
}

func (ShowRecordRuleResponseRecordType) MarshalJSON

func (c ShowRecordRuleResponseRecordType) MarshalJSON() ([]byte, error)

func (*ShowRecordRuleResponseRecordType) UnmarshalJSON

func (c *ShowRecordRuleResponseRecordType) UnmarshalJSON(b []byte) error

func (ShowRecordRuleResponseRecordType) Value

type ShowRecordRuleResponseRecordTypeEnum

type ShowRecordRuleResponseRecordTypeEnum struct {
	CONTINUOUS_RECORD ShowRecordRuleResponseRecordType
	COMMAND_RECORD    ShowRecordRuleResponseRecordType
	PLAN_RECORD       ShowRecordRuleResponseRecordType
	ON_DEMAND_RECORD  ShowRecordRuleResponseRecordType
}

func GetShowRecordRuleResponseRecordTypeEnum

func GetShowRecordRuleResponseRecordTypeEnum() ShowRecordRuleResponseRecordTypeEnum

type ShowTranscodingsTemplateRequest

type ShowTranscodingsTemplateRequest struct {

	// 推流域名
	Domain string `json:"domain"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 分页编号,默认为0。
	Page *int32 `json:"page,omitempty"`

	// 每页记录数。  取值范围:1-100。  默认为10。
	Size *int32 `json:"size,omitempty"`
}

ShowTranscodingsTemplateRequest Request Object

func (ShowTranscodingsTemplateRequest) String

type ShowTranscodingsTemplateResponse

type ShowTranscodingsTemplateResponse struct {

	// 查询结果的总元素数量
	Total *int32 `json:"total,omitempty"`

	// 播放域名
	Domain *string `json:"domain,omitempty"`

	// 转码模板
	Templates      *[]AppQualityInfo `json:"templates,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowTranscodingsTemplateResponse Response Object

func (ShowTranscodingsTemplateResponse) String

type StreamForbiddenList

type StreamForbiddenList struct {

	// 流应用名称
	AppName string `json:"app_name"`

	// 流名称
	StreamName string `json:"stream_name"`

	// 恢复流时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间,不指定则默认7天,最大禁推为90天
	ResumeTime *string `json:"resume_time,omitempty"`
}

func (StreamForbiddenList) String

func (o StreamForbiddenList) String() string

type StreamForbiddenSetting

type StreamForbiddenSetting struct {

	// 推流域名
	Domain string `json:"domain"`

	// 流应用名称
	AppName string `json:"app_name"`

	// 流名称
	StreamName string `json:"stream_name"`

	// 恢复流时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间,不指定则默认7天,最大禁推为90天
	ResumeTime *sdktime.SdkTime `json:"resume_time,omitempty"`
}

func (StreamForbiddenSetting) String

func (o StreamForbiddenSetting) String() string

type StreamTranscodingTemplate

type StreamTranscodingTemplate struct {

	// 推流域名
	Domain string `json:"domain"`

	// 应用名称。 默认为“live”,若您需要自定义应用名称,请先提交工单申请。
	AppName string `json:"app_name"`

	// 转码流触发模式。 - play:拉流触发转码。 - publish:推流触发转码。 默认为play
	TransType *StreamTranscodingTemplateTransType `json:"trans_type,omitempty"`

	// 视频质量信息
	QualityInfo []QualityInfo `json:"quality_info"`
}

func (StreamTranscodingTemplate) String

func (o StreamTranscodingTemplate) String() string

type StreamTranscodingTemplateTransType

type StreamTranscodingTemplateTransType struct {
	// contains filtered or unexported fields
}

func (StreamTranscodingTemplateTransType) MarshalJSON

func (c StreamTranscodingTemplateTransType) MarshalJSON() ([]byte, error)

func (*StreamTranscodingTemplateTransType) UnmarshalJSON

func (c *StreamTranscodingTemplateTransType) UnmarshalJSON(b []byte) error

func (StreamTranscodingTemplateTransType) Value

type StreamTranscodingTemplateTransTypeEnum

type StreamTranscodingTemplateTransTypeEnum struct {
	PLAY    StreamTranscodingTemplateTransType
	PUBLISH StreamTranscodingTemplateTransType
}

func GetStreamTranscodingTemplateTransTypeEnum

func GetStreamTranscodingTemplateTransTypeEnum() StreamTranscodingTemplateTransTypeEnum

type UpdateDomainHttpsCertRequest

type UpdateDomainHttpsCertRequest struct {

	// 直播播放域名
	Domain string `json:"domain"`

	Body *DomainHttpsCertInfo `json:"body,omitempty"`
}

UpdateDomainHttpsCertRequest Request Object

func (UpdateDomainHttpsCertRequest) String

type UpdateDomainHttpsCertResponse

type UpdateDomainHttpsCertResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateDomainHttpsCertResponse Response Object

func (UpdateDomainHttpsCertResponse) String

type UpdateDomainIp6SwitchRequest

type UpdateDomainIp6SwitchRequest struct {
	Body *DomainIpv6SwitchReq `json:"body,omitempty"`
}

UpdateDomainIp6SwitchRequest Request Object

func (UpdateDomainIp6SwitchRequest) String

type UpdateDomainIp6SwitchResponse

type UpdateDomainIp6SwitchResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateDomainIp6SwitchResponse Response Object

func (UpdateDomainIp6SwitchResponse) String

type UpdateDomainKeyChainRequest

type UpdateDomainKeyChainRequest struct {

	// 直播域名,包括推流域名和播放域名
	Domain string `json:"domain"`

	Body *KeyChainInfo `json:"body,omitempty"`
}

UpdateDomainKeyChainRequest Request Object

func (UpdateDomainKeyChainRequest) String

type UpdateDomainKeyChainResponse

type UpdateDomainKeyChainResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateDomainKeyChainResponse Response Object

func (UpdateDomainKeyChainResponse) String

type UpdateDomainRequest

type UpdateDomainRequest struct {
	Body *LiveDomainModifyReq `json:"body,omitempty"`
}

UpdateDomainRequest Request Object

func (UpdateDomainRequest) String

func (o UpdateDomainRequest) String() string

type UpdateDomainResponse

type UpdateDomainResponse struct {

	// 直播域名
	Domain *string `json:"domain,omitempty"`

	// 域名类型 - pull表示播放域名 - push表示推流域名
	DomainType *UpdateDomainResponseDomainType `json:"domain_type,omitempty"`

	// 直播域名的CNAME
	DomainCname *string `json:"domain_cname,omitempty"`

	// 直播所属直播中心
	Region *string `json:"region,omitempty"`

	// 直播域名的状态
	Status *UpdateDomainResponseStatus `json:"status,omitempty"`

	// 域名创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 状态描述
	StatusDescribe *string `json:"status_describe,omitempty"`

	// 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域
	ServiceArea *UpdateDomainResponseServiceArea `json:"service_area,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateDomainResponse Response Object

func (UpdateDomainResponse) String

func (o UpdateDomainResponse) String() string

type UpdateDomainResponseDomainType

type UpdateDomainResponseDomainType struct {
	// contains filtered or unexported fields
}

func (UpdateDomainResponseDomainType) MarshalJSON

func (c UpdateDomainResponseDomainType) MarshalJSON() ([]byte, error)

func (*UpdateDomainResponseDomainType) UnmarshalJSON

func (c *UpdateDomainResponseDomainType) UnmarshalJSON(b []byte) error

func (UpdateDomainResponseDomainType) Value

type UpdateDomainResponseDomainTypeEnum

type UpdateDomainResponseDomainTypeEnum struct {
	PULL UpdateDomainResponseDomainType
	PUSH UpdateDomainResponseDomainType
}

func GetUpdateDomainResponseDomainTypeEnum

func GetUpdateDomainResponseDomainTypeEnum() UpdateDomainResponseDomainTypeEnum

type UpdateDomainResponseServiceArea

type UpdateDomainResponseServiceArea struct {
	// contains filtered or unexported fields
}

func (UpdateDomainResponseServiceArea) MarshalJSON

func (c UpdateDomainResponseServiceArea) MarshalJSON() ([]byte, error)

func (*UpdateDomainResponseServiceArea) UnmarshalJSON

func (c *UpdateDomainResponseServiceArea) UnmarshalJSON(b []byte) error

func (UpdateDomainResponseServiceArea) Value

type UpdateDomainResponseServiceAreaEnum

type UpdateDomainResponseServiceAreaEnum struct {
	MAINLAND_CHINA         UpdateDomainResponseServiceArea
	OUTSIDE_MAINLAND_CHINA UpdateDomainResponseServiceArea
}

func GetUpdateDomainResponseServiceAreaEnum

func GetUpdateDomainResponseServiceAreaEnum() UpdateDomainResponseServiceAreaEnum

type UpdateDomainResponseStatus

type UpdateDomainResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDomainResponseStatus) MarshalJSON

func (c UpdateDomainResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateDomainResponseStatus) UnmarshalJSON

func (c *UpdateDomainResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateDomainResponseStatus) Value

type UpdateDomainResponseStatusEnum

type UpdateDomainResponseStatusEnum struct {
	ON          UpdateDomainResponseStatus
	OFF         UpdateDomainResponseStatus
	CONFIGURING UpdateDomainResponseStatus
	DISABLE     UpdateDomainResponseStatus
}

func GetUpdateDomainResponseStatusEnum

func GetUpdateDomainResponseStatusEnum() UpdateDomainResponseStatusEnum

type UpdateObsBucketAuthorityPublicRequest

type UpdateObsBucketAuthorityPublicRequest struct {
	Body *ObsAuthorityConfigV2 `json:"body,omitempty"`
}

UpdateObsBucketAuthorityPublicRequest Request Object

func (UpdateObsBucketAuthorityPublicRequest) String

type UpdateObsBucketAuthorityPublicResponse

type UpdateObsBucketAuthorityPublicResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateObsBucketAuthorityPublicResponse Response Object

func (UpdateObsBucketAuthorityPublicResponse) String

type UpdateRecordCallbackConfigRequest

type UpdateRecordCallbackConfigRequest struct {

	// 配置ID,在创建配置成功后返回
	Id string `json:"id"`

	Body *RecordCallbackConfigRequest `json:"body,omitempty"`
}

UpdateRecordCallbackConfigRequest Request Object

func (UpdateRecordCallbackConfigRequest) String

type UpdateRecordCallbackConfigResponse

type UpdateRecordCallbackConfigResponse struct {

	// 配置id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制回调通知url地址
	NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"`

	// 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE
	NotifyEventSubscription *[]UpdateRecordCallbackConfigResponseNotifyEventSubscription `json:"notify_event_subscription,omitempty"`

	// 加密类型
	SignType *UpdateRecordCallbackConfigResponseSignType `json:"sign_type,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateRecordCallbackConfigResponse Response Object

func (UpdateRecordCallbackConfigResponse) String

type UpdateRecordCallbackConfigResponseNotifyEventSubscription

type UpdateRecordCallbackConfigResponseNotifyEventSubscription struct {
	// contains filtered or unexported fields
}

func (UpdateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON

func (*UpdateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON

func (UpdateRecordCallbackConfigResponseNotifyEventSubscription) Value

type UpdateRecordCallbackConfigResponseSignType

type UpdateRecordCallbackConfigResponseSignType struct {
	// contains filtered or unexported fields
}

func (UpdateRecordCallbackConfigResponseSignType) MarshalJSON

func (*UpdateRecordCallbackConfigResponseSignType) UnmarshalJSON

func (UpdateRecordCallbackConfigResponseSignType) Value

type UpdateRecordCallbackConfigResponseSignTypeEnum

type UpdateRecordCallbackConfigResponseSignTypeEnum struct {
	MD5        UpdateRecordCallbackConfigResponseSignType
	HMACSHA256 UpdateRecordCallbackConfigResponseSignType
}

func GetUpdateRecordCallbackConfigResponseSignTypeEnum

func GetUpdateRecordCallbackConfigResponseSignTypeEnum() UpdateRecordCallbackConfigResponseSignTypeEnum

type UpdateRecordRuleRequest

type UpdateRecordRuleRequest struct {

	// 规则ID,在创建成功规则后返回
	Id string `json:"id"`

	Body *RecordRuleRequest `json:"body,omitempty"`
}

UpdateRecordRuleRequest Request Object

func (UpdateRecordRuleRequest) String

func (o UpdateRecordRuleRequest) String() string

type UpdateRecordRuleResponse

type UpdateRecordRuleResponse struct {

	// 规则id,由服务端返回。创建或修改的时候不携带
	Id *string `json:"id,omitempty"`

	// 直播推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配*
	App *string `json:"app,omitempty"`

	// 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配*
	Stream *string `json:"stream,omitempty"`

	// 录制类型,包括:CONTINUOUS_RECORD,COMMAND_RECORD,PLAN_RECORD, ON_DEMAND_RECORD。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD: 持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD: 命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。命令控制的接口参考/v1/{project_id}/record/control - PLAN_RECORD: 计划录制,在该规则类型配置后,推的流如果在计划录制的时间区间则触发录制。 - ON_DEMAND_RECORD: 按需录制,在该规则类型配置后,录制系统收到推流后,需要调用租户提供的接口查询录制规则,并根据规则录制。租户提供的接口定义参考:/customer-record-ondemand-url
	RecordType *UpdateRecordRuleResponseRecordType `json:"record_type,omitempty"`

	DefaultRecordConfig *DefaultRecordConfig `json:"default_record_config,omitempty"`

	// 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateRecordRuleResponse Response Object

func (UpdateRecordRuleResponse) String

func (o UpdateRecordRuleResponse) String() string

type UpdateRecordRuleResponseRecordType

type UpdateRecordRuleResponseRecordType struct {
	// contains filtered or unexported fields
}

func (UpdateRecordRuleResponseRecordType) MarshalJSON

func (c UpdateRecordRuleResponseRecordType) MarshalJSON() ([]byte, error)

func (*UpdateRecordRuleResponseRecordType) UnmarshalJSON

func (c *UpdateRecordRuleResponseRecordType) UnmarshalJSON(b []byte) error

func (UpdateRecordRuleResponseRecordType) Value

type UpdateRecordRuleResponseRecordTypeEnum

type UpdateRecordRuleResponseRecordTypeEnum struct {
	CONTINUOUS_RECORD UpdateRecordRuleResponseRecordType
	COMMAND_RECORD    UpdateRecordRuleResponseRecordType
	PLAN_RECORD       UpdateRecordRuleResponseRecordType
	ON_DEMAND_RECORD  UpdateRecordRuleResponseRecordType
}

func GetUpdateRecordRuleResponseRecordTypeEnum

func GetUpdateRecordRuleResponseRecordTypeEnum() UpdateRecordRuleResponseRecordTypeEnum

type UpdateSnapshotConfigRequest

type UpdateSnapshotConfigRequest struct {
	Body *LiveSnapshotConfig `json:"body,omitempty"`
}

UpdateSnapshotConfigRequest Request Object

func (UpdateSnapshotConfigRequest) String

type UpdateSnapshotConfigResponse

type UpdateSnapshotConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateSnapshotConfigResponse Response Object

func (UpdateSnapshotConfigResponse) String

type UpdateStreamForbiddenRequest

type UpdateStreamForbiddenRequest struct {
	Body *StreamForbiddenSetting `json:"body,omitempty"`
}

UpdateStreamForbiddenRequest Request Object

func (UpdateStreamForbiddenRequest) String

type UpdateStreamForbiddenResponse

type UpdateStreamForbiddenResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateStreamForbiddenResponse Response Object

func (UpdateStreamForbiddenResponse) String

type UpdateTranscodingsTemplateRequest

type UpdateTranscodingsTemplateRequest struct {
	Body *StreamTranscodingTemplate `json:"body,omitempty"`
}

UpdateTranscodingsTemplateRequest Request Object

func (UpdateTranscodingsTemplateRequest) String

type UpdateTranscodingsTemplateResponse

type UpdateTranscodingsTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateTranscodingsTemplateResponse Response Object

func (UpdateTranscodingsTemplateResponse) String

type VideoFormatVar

type VideoFormatVar struct {
	// contains filtered or unexported fields
}

func (VideoFormatVar) MarshalJSON

func (c VideoFormatVar) MarshalJSON() ([]byte, error)

func (*VideoFormatVar) UnmarshalJSON

func (c *VideoFormatVar) UnmarshalJSON(b []byte) error

func (VideoFormatVar) Value

func (c VideoFormatVar) Value() string

type VideoFormatVarEnum

type VideoFormatVarEnum struct {
	FLV VideoFormatVar
	HLS VideoFormatVar
	MP4 VideoFormatVar
}

func GetVideoFormatVarEnum

func GetVideoFormatVarEnum() VideoFormatVarEnum

type VodInfoV2

type VodInfoV2 struct {

	// VOD媒资id
	AssetId string `json:"asset_id"`

	// 点播播放地址
	PlayUrl *string `json:"play_url,omitempty"`
}

func (VodInfoV2) String

func (o VodInfoV2) String() string

Source Files

Jump to

Keyboard shortcuts

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