model

package
v0.0.97 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

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 CreateDomainMappingRequest

type CreateDomainMappingRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

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

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

Response Object

func (CreateDomainMappingResponse) String

type CreateDomainRequest

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

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表示中国大陆以外区域 - global表示全球区域
	ServiceArea    *CreateDomainResponseServiceArea `json:"service_area,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

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 added in v0.0.90

type CreateDomainResponseDomainTypeEnum

type CreateDomainResponseDomainTypeEnum struct {
	PULL CreateDomainResponseDomainType
	PUSH CreateDomainResponseDomainType
}

func GetCreateDomainResponseDomainTypeEnum

func GetCreateDomainResponseDomainTypeEnum() CreateDomainResponseDomainTypeEnum

type CreateDomainResponseServiceArea added in v0.0.48

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

func (CreateDomainResponseServiceArea) MarshalJSON added in v0.0.48

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

func (*CreateDomainResponseServiceArea) UnmarshalJSON added in v0.0.48

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

func (CreateDomainResponseServiceArea) Value added in v0.0.90

type CreateDomainResponseServiceAreaEnum added in v0.0.48

type CreateDomainResponseServiceAreaEnum struct {
	MAINLAND_CHINA         CreateDomainResponseServiceArea
	OUTSIDE_MAINLAND_CHINA CreateDomainResponseServiceArea
	GLOBAL                 CreateDomainResponseServiceArea
}

func GetCreateDomainResponseServiceAreaEnum added in v0.0.48

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 added in v0.0.90

type CreateDomainResponseStatusEnum

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

func GetCreateDomainResponseStatusEnum

func GetCreateDomainResponseStatusEnum() CreateDomainResponseStatusEnum

type CreateRecordCallbackConfigRequest added in v0.0.48

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

Request Object

func (CreateRecordCallbackConfigRequest) String added in v0.0.48

type CreateRecordCallbackConfigResponse added in v0.0.48

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

Response Object

func (CreateRecordCallbackConfigResponse) String added in v0.0.48

type CreateRecordRuleRequest added in v0.0.48

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

Request Object

func (CreateRecordRuleRequest) String added in v0.0.48

func (o CreateRecordRuleRequest) String() string

type CreateRecordRuleResponse added in v0.0.48

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

Response Object

func (CreateRecordRuleResponse) String added in v0.0.48

func (o CreateRecordRuleResponse) String() string

type CreateRecordRuleResponseRecordType added in v0.0.48

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

func (CreateRecordRuleResponseRecordType) MarshalJSON added in v0.0.48

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

func (*CreateRecordRuleResponseRecordType) UnmarshalJSON added in v0.0.48

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

func (CreateRecordRuleResponseRecordType) Value added in v0.0.90

type CreateRecordRuleResponseRecordTypeEnum added in v0.0.48

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

func GetCreateRecordRuleResponseRecordTypeEnum added in v0.0.48

func GetCreateRecordRuleResponseRecordTypeEnum() CreateRecordRuleResponseRecordTypeEnum

type CreateStreamForbiddenRequest

type CreateStreamForbiddenRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

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

Request Object

func (CreateStreamForbiddenRequest) String

type CreateStreamForbiddenResponse

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

Response Object

func (CreateStreamForbiddenResponse) String

type CreateTranscodingsTemplateRequest

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

Request Object

func (CreateTranscodingsTemplateRequest) String

type CreateTranscodingsTemplateResponse

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

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表示中国大陆以外区域 - global表示全球区域
	ServiceArea *DecoupledLiveDomainInfoServiceArea `json:"service_area,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 added in v0.0.90

type DecoupledLiveDomainInfoDomainTypeEnum

type DecoupledLiveDomainInfoDomainTypeEnum struct {
	PULL DecoupledLiveDomainInfoDomainType
	PUSH DecoupledLiveDomainInfoDomainType
}

func GetDecoupledLiveDomainInfoDomainTypeEnum

func GetDecoupledLiveDomainInfoDomainTypeEnum() DecoupledLiveDomainInfoDomainTypeEnum

type DecoupledLiveDomainInfoServiceArea added in v0.0.56

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

func (DecoupledLiveDomainInfoServiceArea) MarshalJSON added in v0.0.56

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

func (*DecoupledLiveDomainInfoServiceArea) UnmarshalJSON added in v0.0.56

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

func (DecoupledLiveDomainInfoServiceArea) Value added in v0.0.90

type DecoupledLiveDomainInfoServiceAreaEnum added in v0.0.56

type DecoupledLiveDomainInfoServiceAreaEnum struct {
	MAINLAND_CHINA         DecoupledLiveDomainInfoServiceArea
	OUTSIDE_MAINLAND_CHINA DecoupledLiveDomainInfoServiceArea
	GLOBAL                 DecoupledLiveDomainInfoServiceArea
}

func GetDecoupledLiveDomainInfoServiceAreaEnum added in v0.0.56

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 added in v0.0.90

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 added in v0.0.90

type DefaultRecordConfig added in v0.0.48

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 added in v0.0.48

func (o DefaultRecordConfig) String() string

type DeleteDomainMappingRequest

type DeleteDomainMappingRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

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

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

Request Object

func (DeleteDomainMappingRequest) String

type DeleteDomainMappingResponse

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

Response Object

func (DeleteDomainMappingResponse) String

type DeleteDomainRequest

type DeleteDomainRequest struct {

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

Request Object

func (DeleteDomainRequest) String

func (o DeleteDomainRequest) String() string

type DeleteDomainResponse

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

Response Object

func (DeleteDomainResponse) String

func (o DeleteDomainResponse) String() string

type DeleteRecordCallbackConfigRequest added in v0.0.48

type DeleteRecordCallbackConfigRequest struct {

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

Request Object

func (DeleteRecordCallbackConfigRequest) String added in v0.0.48

type DeleteRecordCallbackConfigResponse added in v0.0.48

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

Response Object

func (DeleteRecordCallbackConfigResponse) String added in v0.0.48

type DeleteRecordRuleRequest added in v0.0.48

type DeleteRecordRuleRequest struct {

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

Request Object

func (DeleteRecordRuleRequest) String added in v0.0.48

func (o DeleteRecordRuleRequest) String() string

type DeleteRecordRuleResponse added in v0.0.48

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

Response Object

func (DeleteRecordRuleResponse) String added in v0.0.48

func (o DeleteRecordRuleResponse) String() string

type DeleteStreamForbiddenRequest

type DeleteStreamForbiddenRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

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

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

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

Request Object

func (DeleteStreamForbiddenRequest) String

type DeleteStreamForbiddenResponse

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

Response Object

func (DeleteStreamForbiddenResponse) String

type DeleteTranscodingsTemplateRequest

type DeleteTranscodingsTemplateRequest struct {

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

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

Request Object

func (DeleteTranscodingsTemplateRequest) String

type DeleteTranscodingsTemplateResponse

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

Response Object

func (DeleteTranscodingsTemplateResponse) 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 added in v0.0.48

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 added in v0.0.48

func (o FlvRecordConfig) String() string

type HlsRecordConfig added in v0.0.48

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 added in v0.0.48

func (o HlsRecordConfig) String() string

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

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

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

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

Response Object

func (ListLiveStreamsOnlineResponse) String

type ListRecordCallbackConfigsRequest added in v0.0.48

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

Request Object

func (ListRecordCallbackConfigsRequest) String added in v0.0.48

type ListRecordCallbackConfigsResponse added in v0.0.48

type ListRecordCallbackConfigsResponse struct {

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

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

Response Object

func (ListRecordCallbackConfigsResponse) String added in v0.0.48

type ListRecordContentsRequest added in v0.0.62

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

Request Object

func (ListRecordContentsRequest) String added in v0.0.62

func (o ListRecordContentsRequest) String() string

type ListRecordContentsRequestRecordType added in v0.0.62

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

func (ListRecordContentsRequestRecordType) MarshalJSON added in v0.0.62

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

func (*ListRecordContentsRequestRecordType) UnmarshalJSON added in v0.0.62

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

func (ListRecordContentsRequestRecordType) Value added in v0.0.90

type ListRecordContentsRequestRecordTypeEnum added in v0.0.62

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

func GetListRecordContentsRequestRecordTypeEnum added in v0.0.62

func GetListRecordContentsRequestRecordTypeEnum() ListRecordContentsRequestRecordTypeEnum

type ListRecordContentsResponse added in v0.0.62

type ListRecordContentsResponse struct {

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

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

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

Response Object

func (ListRecordContentsResponse) String added in v0.0.62

type ListRecordRulesRequest added in v0.0.48

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

Request Object

func (ListRecordRulesRequest) String added in v0.0.48

func (o ListRecordRulesRequest) String() string

type ListRecordRulesRequestRecordType added in v0.0.48

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

func (ListRecordRulesRequestRecordType) MarshalJSON added in v0.0.48

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

func (*ListRecordRulesRequestRecordType) UnmarshalJSON added in v0.0.48

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

func (ListRecordRulesRequestRecordType) Value added in v0.0.90

type ListRecordRulesRequestRecordTypeEnum added in v0.0.48

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

func GetListRecordRulesRequestRecordTypeEnum added in v0.0.48

func GetListRecordRulesRequestRecordTypeEnum() ListRecordRulesRequestRecordTypeEnum

type ListRecordRulesResponse added in v0.0.48

type ListRecordRulesResponse struct {

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

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

Response Object

func (ListRecordRulesResponse) String added in v0.0.48

func (o ListRecordRulesResponse) String() string

type ListStreamForbiddenRequest

type ListStreamForbiddenRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

	// 推流域名
	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"`
}

Request Object

func (ListStreamForbiddenRequest) String

type ListStreamForbiddenResponse

type ListStreamForbiddenResponse struct {

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

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

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表示中国大陆以外区域 - global表示全球区域
	ServiceArea *LiveDomainCreateReqServiceArea `json:"service_area,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 added in v0.0.90

type LiveDomainCreateReqDomainTypeEnum

type LiveDomainCreateReqDomainTypeEnum struct {
	PULL LiveDomainCreateReqDomainType
	PUSH LiveDomainCreateReqDomainType
}

func GetLiveDomainCreateReqDomainTypeEnum

func GetLiveDomainCreateReqDomainTypeEnum() LiveDomainCreateReqDomainTypeEnum

type LiveDomainCreateReqServiceArea added in v0.0.48

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

func (LiveDomainCreateReqServiceArea) MarshalJSON added in v0.0.48

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

func (*LiveDomainCreateReqServiceArea) UnmarshalJSON added in v0.0.48

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

func (LiveDomainCreateReqServiceArea) Value added in v0.0.90

type LiveDomainCreateReqServiceAreaEnum added in v0.0.48

type LiveDomainCreateReqServiceAreaEnum struct {
	MAINLAND_CHINA         LiveDomainCreateReqServiceArea
	OUTSIDE_MAINLAND_CHINA LiveDomainCreateReqServiceArea
	GLOBAL                 LiveDomainCreateReqServiceArea
}

func GetLiveDomainCreateReqServiceAreaEnum added in v0.0.48

func GetLiveDomainCreateReqServiceAreaEnum() LiveDomainCreateReqServiceAreaEnum

type LiveDomainModifyReq

type LiveDomainModifyReq struct {

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

	// 直播域名状态,通过修改此字段,实现域名的启用和停用。注意:域名处于“配置中”状态时,不允对该域名执行启停操作。
	Status *LiveDomainModifyReqStatus `json:"status,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 added in v0.0.90

type LiveDomainModifyReqStatusEnum

type LiveDomainModifyReqStatusEnum struct {
	ON  LiveDomainModifyReqStatus
	OFF LiveDomainModifyReqStatus
}

func GetLiveDomainModifyReqStatusEnum

func GetLiveDomainModifyReqStatusEnum() LiveDomainModifyReqStatusEnum

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 added in v0.0.48

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 added in v0.0.48

func (o Mp4RecordConfig) 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 added in v0.0.90

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 added in v0.0.90

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

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

	// 转码视频的码率(单位: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 added in v0.0.90

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 added in v0.0.90

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 added in v0.0.90

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 added in v0.0.90

func (c QualityInfoPvc) Value() string

type QualityInfoPvcEnum

type QualityInfoPvcEnum struct {
	ON  QualityInfoPvc
	OFF QualityInfoPvc
}

func GetQualityInfoPvcEnum

func GetQualityInfoPvcEnum() QualityInfoPvcEnum

type RecordCallbackConfig added in v0.0.48

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 added in v0.0.48

func (o RecordCallbackConfig) String() string

type RecordCallbackConfigNotifyEventSubscription added in v0.0.48

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

func (RecordCallbackConfigNotifyEventSubscription) MarshalJSON added in v0.0.48

func (*RecordCallbackConfigNotifyEventSubscription) UnmarshalJSON added in v0.0.48

func (RecordCallbackConfigNotifyEventSubscription) Value added in v0.0.90

type RecordCallbackConfigNotifyEventSubscriptionEnum added in v0.0.48

type RecordCallbackConfigNotifyEventSubscriptionEnum struct {
	RECORD_NEW_FILE_START RecordCallbackConfigNotifyEventSubscription
	RECORD_FILE_COMPLETE  RecordCallbackConfigNotifyEventSubscription
	RECORD_OVER           RecordCallbackConfigNotifyEventSubscription
	RECORD_FAILED         RecordCallbackConfigNotifyEventSubscription
}

func GetRecordCallbackConfigNotifyEventSubscriptionEnum added in v0.0.48

func GetRecordCallbackConfigNotifyEventSubscriptionEnum() RecordCallbackConfigNotifyEventSubscriptionEnum

type RecordCallbackConfigRequest added in v0.0.48

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

func (RecordCallbackConfigRequest) String added in v0.0.48

type RecordCallbackConfigRequestNotifyEventSubscription added in v0.0.48

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

func (RecordCallbackConfigRequestNotifyEventSubscription) MarshalJSON added in v0.0.48

func (*RecordCallbackConfigRequestNotifyEventSubscription) UnmarshalJSON added in v0.0.48

func (RecordCallbackConfigRequestNotifyEventSubscription) Value added in v0.0.90

type RecordCallbackConfigRequestNotifyEventSubscriptionEnum added in v0.0.48

type RecordCallbackConfigRequestNotifyEventSubscriptionEnum struct {
	RECORD_NEW_FILE_START RecordCallbackConfigRequestNotifyEventSubscription
	RECORD_FILE_COMPLETE  RecordCallbackConfigRequestNotifyEventSubscription
	RECORD_OVER           RecordCallbackConfigRequestNotifyEventSubscription
	RECORD_FAILED         RecordCallbackConfigRequestNotifyEventSubscription
}

func GetRecordCallbackConfigRequestNotifyEventSubscriptionEnum added in v0.0.48

func GetRecordCallbackConfigRequestNotifyEventSubscriptionEnum() RecordCallbackConfigRequestNotifyEventSubscriptionEnum

type RecordCallbackConfigRequestSignType added in v0.0.48

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

func (RecordCallbackConfigRequestSignType) MarshalJSON added in v0.0.48

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

func (*RecordCallbackConfigRequestSignType) UnmarshalJSON added in v0.0.48

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

func (RecordCallbackConfigRequestSignType) Value added in v0.0.90

type RecordCallbackConfigRequestSignTypeEnum added in v0.0.48

type RecordCallbackConfigRequestSignTypeEnum struct {
	MD5        RecordCallbackConfigRequestSignType
	HMACSHA256 RecordCallbackConfigRequestSignType
}

func GetRecordCallbackConfigRequestSignTypeEnum added in v0.0.48

func GetRecordCallbackConfigRequestSignTypeEnum() RecordCallbackConfigRequestSignTypeEnum

type RecordCallbackConfigSignType added in v0.0.56

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

func (RecordCallbackConfigSignType) MarshalJSON added in v0.0.56

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

func (*RecordCallbackConfigSignType) UnmarshalJSON added in v0.0.56

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

func (RecordCallbackConfigSignType) Value added in v0.0.90

type RecordCallbackConfigSignTypeEnum added in v0.0.56

type RecordCallbackConfigSignTypeEnum struct {
	MD5        RecordCallbackConfigSignType
	HMACSHA256 RecordCallbackConfigSignType
}

func GetRecordCallbackConfigSignTypeEnum added in v0.0.56

func GetRecordCallbackConfigSignTypeEnum() RecordCallbackConfigSignTypeEnum

type RecordContentInfoV2 added in v0.0.62

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 added in v0.0.62

func (o RecordContentInfoV2) String() string

type RecordContentInfoV2RecordFormat added in v0.0.62

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

func (RecordContentInfoV2RecordFormat) MarshalJSON added in v0.0.62

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

func (*RecordContentInfoV2RecordFormat) UnmarshalJSON added in v0.0.62

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

func (RecordContentInfoV2RecordFormat) Value added in v0.0.90

type RecordContentInfoV2RecordFormatEnum added in v0.0.62

type RecordContentInfoV2RecordFormatEnum struct {
	FLV RecordContentInfoV2RecordFormat
	HLS RecordContentInfoV2RecordFormat
	MP4 RecordContentInfoV2RecordFormat
}

func GetRecordContentInfoV2RecordFormatEnum added in v0.0.62

func GetRecordContentInfoV2RecordFormatEnum() RecordContentInfoV2RecordFormatEnum

type RecordContentInfoV2RecordType added in v0.0.62

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

func (RecordContentInfoV2RecordType) MarshalJSON added in v0.0.62

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

func (*RecordContentInfoV2RecordType) UnmarshalJSON added in v0.0.62

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

func (RecordContentInfoV2RecordType) Value added in v0.0.90

type RecordContentInfoV2RecordTypeEnum added in v0.0.62

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

func GetRecordContentInfoV2RecordTypeEnum added in v0.0.62

func GetRecordContentInfoV2RecordTypeEnum() RecordContentInfoV2RecordTypeEnum

type RecordControlInfo added in v0.0.68

type RecordControlInfo struct {

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

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

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

func (RecordControlInfo) String added in v0.0.68

func (o RecordControlInfo) String() string

type RecordObsFileAddr added in v0.0.48

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 added in v0.0.48

func (o RecordObsFileAddr) String() string

type RecordObsFileAddrLocation added in v0.0.48

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

func (RecordObsFileAddrLocation) MarshalJSON added in v0.0.48

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

func (*RecordObsFileAddrLocation) UnmarshalJSON added in v0.0.48

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

func (RecordObsFileAddrLocation) Value added in v0.0.90

type RecordObsFileAddrLocationEnum added in v0.0.48

type RecordObsFileAddrLocationEnum struct {
	CN_NORTH_4 RecordObsFileAddrLocation
	CN_NORTH_5 RecordObsFileAddrLocation
	CN_NORTH_6 RecordObsFileAddrLocation
}

func GetRecordObsFileAddrLocationEnum added in v0.0.48

func GetRecordObsFileAddrLocationEnum() RecordObsFileAddrLocationEnum

type RecordRule added in v0.0.48

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 added in v0.0.48

func (o RecordRule) String() string

type RecordRuleRecordType added in v0.0.48

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

func (RecordRuleRecordType) MarshalJSON added in v0.0.48

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

func (*RecordRuleRecordType) UnmarshalJSON added in v0.0.48

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

func (RecordRuleRecordType) Value added in v0.0.90

func (c RecordRuleRecordType) Value() string

type RecordRuleRecordTypeEnum added in v0.0.48

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

func GetRecordRuleRecordTypeEnum added in v0.0.48

func GetRecordRuleRecordTypeEnum() RecordRuleRecordTypeEnum

type RecordRuleRequest added in v0.0.48

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 added in v0.0.48

func (o RecordRuleRequest) String() string

type RecordRuleRequestRecordType added in v0.0.48

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

func (RecordRuleRequestRecordType) MarshalJSON added in v0.0.48

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

func (*RecordRuleRequestRecordType) UnmarshalJSON added in v0.0.48

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

func (RecordRuleRequestRecordType) Value added in v0.0.90

type RecordRuleRequestRecordTypeEnum added in v0.0.48

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

func GetRecordRuleRequestRecordTypeEnum added in v0.0.48

func GetRecordRuleRequestRecordTypeEnum() RecordRuleRequestRecordTypeEnum

type RunRecordRequest added in v0.0.68

type RunRecordRequest struct {

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

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

Request Object

func (RunRecordRequest) String added in v0.0.68

func (o RunRecordRequest) String() string

type RunRecordRequestAction added in v0.0.68

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

func (RunRecordRequestAction) MarshalJSON added in v0.0.68

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

func (*RunRecordRequestAction) UnmarshalJSON added in v0.0.68

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

func (RunRecordRequestAction) Value added in v0.0.90

func (c RunRecordRequestAction) Value() string

type RunRecordRequestActionEnum added in v0.0.68

type RunRecordRequestActionEnum struct {
	START RunRecordRequestAction
	STOP  RunRecordRequestAction
}

func GetRunRecordRequestActionEnum added in v0.0.68

func GetRunRecordRequestActionEnum() RunRecordRequestActionEnum

type RunRecordResponse added in v0.0.68

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

Response Object

func (RunRecordResponse) String added in v0.0.68

func (o RunRecordResponse) String() string

type ShowDomainRequest

type ShowDomainRequest struct {

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

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

Response Object

func (ShowDomainResponse) String

func (o ShowDomainResponse) String() string

type ShowRecordCallbackConfigRequest added in v0.0.48

type ShowRecordCallbackConfigRequest struct {

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

Request Object

func (ShowRecordCallbackConfigRequest) String added in v0.0.48

type ShowRecordCallbackConfigResponse added in v0.0.48

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

Response Object

func (ShowRecordCallbackConfigResponse) String added in v0.0.48

type ShowRecordCallbackConfigResponseNotifyEventSubscription added in v0.0.48

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

func (ShowRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON added in v0.0.48

func (*ShowRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON added in v0.0.48

func (ShowRecordCallbackConfigResponseNotifyEventSubscription) Value added in v0.0.90

type ShowRecordCallbackConfigResponseSignType added in v0.0.56

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

func (ShowRecordCallbackConfigResponseSignType) MarshalJSON added in v0.0.56

func (*ShowRecordCallbackConfigResponseSignType) UnmarshalJSON added in v0.0.56

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

func (ShowRecordCallbackConfigResponseSignType) Value added in v0.0.90

type ShowRecordCallbackConfigResponseSignTypeEnum added in v0.0.56

type ShowRecordCallbackConfigResponseSignTypeEnum struct {
	MD5        ShowRecordCallbackConfigResponseSignType
	HMACSHA256 ShowRecordCallbackConfigResponseSignType
}

func GetShowRecordCallbackConfigResponseSignTypeEnum added in v0.0.56

func GetShowRecordCallbackConfigResponseSignTypeEnum() ShowRecordCallbackConfigResponseSignTypeEnum

type ShowRecordRuleRequest added in v0.0.48

type ShowRecordRuleRequest struct {

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

Request Object

func (ShowRecordRuleRequest) String added in v0.0.48

func (o ShowRecordRuleRequest) String() string

type ShowRecordRuleResponse added in v0.0.48

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

Response Object

func (ShowRecordRuleResponse) String added in v0.0.48

func (o ShowRecordRuleResponse) String() string

type ShowRecordRuleResponseRecordType added in v0.0.48

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

func (ShowRecordRuleResponseRecordType) MarshalJSON added in v0.0.48

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

func (*ShowRecordRuleResponseRecordType) UnmarshalJSON added in v0.0.48

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

func (ShowRecordRuleResponseRecordType) Value added in v0.0.90

type ShowRecordRuleResponseRecordTypeEnum added in v0.0.48

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

func GetShowRecordRuleResponseRecordTypeEnum added in v0.0.48

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

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

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

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

func (StreamTranscodingTemplate) String

func (o StreamTranscodingTemplate) String() string

type UpdateDomainRequest

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

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表示中国大陆以外区域 - global表示全球区域
	ServiceArea    *UpdateDomainResponseServiceArea `json:"service_area,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

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 added in v0.0.90

type UpdateDomainResponseDomainTypeEnum

type UpdateDomainResponseDomainTypeEnum struct {
	PULL UpdateDomainResponseDomainType
	PUSH UpdateDomainResponseDomainType
}

func GetUpdateDomainResponseDomainTypeEnum

func GetUpdateDomainResponseDomainTypeEnum() UpdateDomainResponseDomainTypeEnum

type UpdateDomainResponseServiceArea added in v0.0.48

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

func (UpdateDomainResponseServiceArea) MarshalJSON added in v0.0.48

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

func (*UpdateDomainResponseServiceArea) UnmarshalJSON added in v0.0.48

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

func (UpdateDomainResponseServiceArea) Value added in v0.0.90

type UpdateDomainResponseServiceAreaEnum added in v0.0.48

type UpdateDomainResponseServiceAreaEnum struct {
	MAINLAND_CHINA         UpdateDomainResponseServiceArea
	OUTSIDE_MAINLAND_CHINA UpdateDomainResponseServiceArea
	GLOBAL                 UpdateDomainResponseServiceArea
}

func GetUpdateDomainResponseServiceAreaEnum added in v0.0.48

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 added in v0.0.90

type UpdateDomainResponseStatusEnum

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

func GetUpdateDomainResponseStatusEnum

func GetUpdateDomainResponseStatusEnum() UpdateDomainResponseStatusEnum

type UpdateRecordCallbackConfigRequest added in v0.0.48

type UpdateRecordCallbackConfigRequest struct {

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

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

Request Object

func (UpdateRecordCallbackConfigRequest) String added in v0.0.48

type UpdateRecordCallbackConfigResponse added in v0.0.48

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

Response Object

func (UpdateRecordCallbackConfigResponse) String added in v0.0.48

type UpdateRecordRuleRequest added in v0.0.48

type UpdateRecordRuleRequest struct {

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

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

Request Object

func (UpdateRecordRuleRequest) String added in v0.0.48

func (o UpdateRecordRuleRequest) String() string

type UpdateRecordRuleResponse added in v0.0.48

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

Response Object

func (UpdateRecordRuleResponse) String added in v0.0.48

func (o UpdateRecordRuleResponse) String() string

type UpdateRecordRuleResponseRecordType added in v0.0.48

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

func (UpdateRecordRuleResponseRecordType) MarshalJSON added in v0.0.48

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

func (*UpdateRecordRuleResponseRecordType) UnmarshalJSON added in v0.0.48

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

func (UpdateRecordRuleResponseRecordType) Value added in v0.0.90

type UpdateRecordRuleResponseRecordTypeEnum added in v0.0.48

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

func GetUpdateRecordRuleResponseRecordTypeEnum added in v0.0.48

func GetUpdateRecordRuleResponseRecordTypeEnum() UpdateRecordRuleResponseRecordTypeEnum

type UpdateStreamForbiddenRequest

type UpdateStreamForbiddenRequest struct {

	// op账号需要携带的特定project_id,当使用op账号时该值为所操作租户的project_id
	SpecifyProject *string `json:"specify_project,omitempty"`

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

Request Object

func (UpdateStreamForbiddenRequest) String

type UpdateStreamForbiddenResponse

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

Response Object

func (UpdateStreamForbiddenResponse) String

type UpdateTranscodingsTemplateRequest

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

Request Object

func (UpdateTranscodingsTemplateRequest) String

type UpdateTranscodingsTemplateResponse

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

Response Object

func (UpdateTranscodingsTemplateResponse) String

type VideoFormatVar added in v0.0.48

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

func (VideoFormatVar) MarshalJSON added in v0.0.48

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

func (*VideoFormatVar) UnmarshalJSON added in v0.0.48

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

func (VideoFormatVar) Value added in v0.0.90

func (c VideoFormatVar) Value() string

type VideoFormatVarEnum added in v0.0.48

type VideoFormatVarEnum struct {
	FLV VideoFormatVar
	HLS VideoFormatVar
	MP4 VideoFormatVar
}

func GetVideoFormatVarEnum added in v0.0.48

func GetVideoFormatVarEnum() VideoFormatVarEnum

type VodInfoV2 added in v0.0.62

type VodInfoV2 struct {

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

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

func (VodInfoV2) String added in v0.0.62

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