Documentation ¶
Index ¶
- type AppQualityInfo
- type CreateDomainMappingRequest
- type CreateDomainMappingResponse
- type CreateDomainRequest
- type CreateDomainResponse
- type CreateDomainResponseDomainType
- type CreateDomainResponseDomainTypeEnum
- type CreateDomainResponseServiceArea
- type CreateDomainResponseServiceAreaEnum
- type CreateDomainResponseStatus
- type CreateDomainResponseStatusEnum
- type CreateRecordCallbackConfigRequest
- type CreateRecordCallbackConfigResponse
- type CreateRecordRuleRequest
- type CreateRecordRuleResponse
- type CreateRecordRuleResponseRecordType
- type CreateRecordRuleResponseRecordTypeEnum
- type CreateStreamForbiddenRequest
- type CreateStreamForbiddenResponse
- type CreateTranscodingsTemplateRequest
- type CreateTranscodingsTemplateResponse
- type DecoupledLiveDomainInfo
- type DecoupledLiveDomainInfoDomainType
- type DecoupledLiveDomainInfoDomainTypeEnum
- type DecoupledLiveDomainInfoServiceArea
- type DecoupledLiveDomainInfoServiceAreaEnum
- type DecoupledLiveDomainInfoStatus
- type DecoupledLiveDomainInfoStatusEnum
- type DecoupledLiveDomainInfoVendor
- type DecoupledLiveDomainInfoVendorEnum
- type DefaultRecordConfig
- type DeleteDomainMappingRequest
- type DeleteDomainMappingResponse
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DeleteRecordCallbackConfigRequest
- type DeleteRecordCallbackConfigResponse
- type DeleteRecordRuleRequest
- type DeleteRecordRuleResponse
- type DeleteStreamForbiddenRequest
- type DeleteStreamForbiddenResponse
- type DeleteTranscodingsTemplateRequest
- type DeleteTranscodingsTemplateResponse
- type DomainMapping
- type FlvRecordConfig
- type HlsRecordConfig
- type ListLiveSampleLogsRequest
- type ListLiveSampleLogsResponse
- type ListLiveStreamsOnlineRequest
- type ListLiveStreamsOnlineResponse
- type ListRecordCallbackConfigsRequest
- type ListRecordCallbackConfigsResponse
- type ListRecordContentsRequest
- type ListRecordContentsRequestRecordType
- type ListRecordContentsRequestRecordTypeEnum
- type ListRecordContentsResponse
- type ListRecordRulesRequest
- type ListRecordRulesRequestRecordType
- type ListRecordRulesRequestRecordTypeEnum
- type ListRecordRulesResponse
- type ListStreamForbiddenRequest
- type ListStreamForbiddenResponse
- type LiveDomainCreateReq
- type LiveDomainCreateReqDomainType
- type LiveDomainCreateReqDomainTypeEnum
- type LiveDomainCreateReqServiceArea
- type LiveDomainCreateReqServiceAreaEnum
- type LiveDomainModifyReq
- type LiveDomainModifyReqStatus
- type LiveDomainModifyReqStatusEnum
- type LogInfo
- type Mp4RecordConfig
- type OnlineInfo
- type OnlineInfoAudioCodec
- type OnlineInfoAudioCodecEnum
- type OnlineInfoVideoCodec
- type OnlineInfoVideoCodecEnum
- type QualityInfo
- type QualityInfoCodec
- type QualityInfoCodecEnum
- type QualityInfoHdlb
- type QualityInfoHdlbEnum
- type QualityInfoProtocol
- type QualityInfoProtocolEnum
- type QualityInfoPvc
- type QualityInfoPvcEnum
- type RecordCallbackConfig
- type RecordCallbackConfigNotifyEventSubscription
- type RecordCallbackConfigNotifyEventSubscriptionEnum
- type RecordCallbackConfigRequest
- type RecordCallbackConfigRequestNotifyEventSubscription
- type RecordCallbackConfigRequestNotifyEventSubscriptionEnum
- type RecordCallbackConfigRequestSignType
- type RecordCallbackConfigRequestSignTypeEnum
- type RecordCallbackConfigSignType
- type RecordCallbackConfigSignTypeEnum
- type RecordContentInfoV2
- type RecordContentInfoV2RecordFormat
- type RecordContentInfoV2RecordFormatEnum
- type RecordContentInfoV2RecordType
- type RecordContentInfoV2RecordTypeEnum
- type RecordControlInfo
- type RecordObsFileAddr
- type RecordObsFileAddrLocation
- type RecordObsFileAddrLocationEnum
- type RecordRule
- type RecordRuleRecordType
- type RecordRuleRecordTypeEnum
- type RecordRuleRequest
- type RecordRuleRequestRecordType
- type RecordRuleRequestRecordTypeEnum
- type RunRecordRequest
- type RunRecordRequestAction
- type RunRecordRequestActionEnum
- type RunRecordResponse
- type ShowDomainRequest
- type ShowDomainResponse
- type ShowRecordCallbackConfigRequest
- type ShowRecordCallbackConfigResponse
- type ShowRecordCallbackConfigResponseNotifyEventSubscription
- type ShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum
- type ShowRecordCallbackConfigResponseSignType
- type ShowRecordCallbackConfigResponseSignTypeEnum
- type ShowRecordRuleRequest
- type ShowRecordRuleResponse
- type ShowRecordRuleResponseRecordType
- type ShowRecordRuleResponseRecordTypeEnum
- type ShowTranscodingsTemplateRequest
- type ShowTranscodingsTemplateResponse
- type StreamForbiddenList
- type StreamForbiddenSetting
- type StreamTranscodingTemplate
- type UpdateDomainRequest
- type UpdateDomainResponse
- type UpdateDomainResponseDomainType
- type UpdateDomainResponseDomainTypeEnum
- type UpdateDomainResponseServiceArea
- type UpdateDomainResponseServiceAreaEnum
- type UpdateDomainResponseStatus
- type UpdateDomainResponseStatusEnum
- type UpdateRecordCallbackConfigRequest
- type UpdateRecordCallbackConfigResponse
- type UpdateRecordRuleRequest
- type UpdateRecordRuleResponse
- type UpdateRecordRuleResponseRecordType
- type UpdateRecordRuleResponseRecordTypeEnum
- type UpdateStreamForbiddenRequest
- type UpdateStreamForbiddenResponse
- type UpdateTranscodingsTemplateRequest
- type UpdateTranscodingsTemplateResponse
- type VideoFormatVar
- type VideoFormatVarEnum
- type VodInfoV2
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 ¶
func (o CreateDomainMappingRequest) String() 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 ¶
func (o CreateDomainMappingResponse) String() 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
func (c CreateDomainResponseDomainType) Value() string
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
func (c CreateDomainResponseServiceArea) Value() string
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
func (c CreateDomainResponseStatus) Value() string
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
func (o CreateRecordCallbackConfigRequest) String() string
type CreateRecordCallbackConfigResponse ¶ added in v0.0.48
type CreateRecordCallbackConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateRecordCallbackConfigResponse) String ¶ added in v0.0.48
func (o CreateRecordCallbackConfigResponse) String() string
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
func (c CreateRecordRuleResponseRecordType) Value() string
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 ¶
func (o CreateStreamForbiddenRequest) String() string
type CreateStreamForbiddenResponse ¶
type CreateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateStreamForbiddenResponse) String ¶
func (o CreateStreamForbiddenResponse) String() string
type CreateTranscodingsTemplateRequest ¶
type CreateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
Request Object
func (CreateTranscodingsTemplateRequest) String ¶
func (o CreateTranscodingsTemplateRequest) String() string
type CreateTranscodingsTemplateResponse ¶
type CreateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateTranscodingsTemplateResponse) String ¶
func (o CreateTranscodingsTemplateResponse) String() 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
func (c DecoupledLiveDomainInfoDomainType) Value() string
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
func (c DecoupledLiveDomainInfoServiceArea) Value() string
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
func (c DecoupledLiveDomainInfoStatus) Value() string
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
func (c DecoupledLiveDomainInfoVendor) Value() string
type DecoupledLiveDomainInfoVendorEnum ¶
type DecoupledLiveDomainInfoVendorEnum struct { CHINA_NET_CENTER DecoupledLiveDomainInfoVendor KING_SOFT DecoupledLiveDomainInfoVendor TENCENT DecoupledLiveDomainInfoVendor U_CDN DecoupledLiveDomainInfoVendor TENCENT_OUTSIDE DecoupledLiveDomainInfoVendor DNION DecoupledLiveDomainInfoVendor BAISHAN DecoupledLiveDomainInfoVendor BAIDU DecoupledLiveDomainInfoVendor ONETHING DecoupledLiveDomainInfoVendor }
func GetDecoupledLiveDomainInfoVendorEnum ¶
func GetDecoupledLiveDomainInfoVendorEnum() DecoupledLiveDomainInfoVendorEnum
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 ¶
func (o DeleteDomainMappingRequest) String() string
type DeleteDomainMappingResponse ¶
type DeleteDomainMappingResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDomainMappingResponse) String ¶
func (o DeleteDomainMappingResponse) String() 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
func (o DeleteRecordCallbackConfigRequest) String() string
type DeleteRecordCallbackConfigResponse ¶ added in v0.0.48
type DeleteRecordCallbackConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRecordCallbackConfigResponse) String ¶ added in v0.0.48
func (o DeleteRecordCallbackConfigResponse) String() string
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 ¶
func (o DeleteStreamForbiddenRequest) String() string
type DeleteStreamForbiddenResponse ¶
type DeleteStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteStreamForbiddenResponse) String ¶
func (o DeleteStreamForbiddenResponse) String() string
type DeleteTranscodingsTemplateRequest ¶
type DeleteTranscodingsTemplateRequest struct { // 推流域名 Domain string `json:"domain"` // 应用名称 AppName string `json:"app_name"` }
Request Object
func (DeleteTranscodingsTemplateRequest) String ¶
func (o DeleteTranscodingsTemplateRequest) String() string
type DeleteTranscodingsTemplateResponse ¶
type DeleteTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTranscodingsTemplateResponse) String ¶
func (o DeleteTranscodingsTemplateResponse) 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 ¶ 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 ¶
func (o ListLiveSampleLogsResponse) String() 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 ¶
func (o ListLiveStreamsOnlineRequest) String() 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 ¶
func (o ListLiveStreamsOnlineResponse) String() 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
func (o ListRecordCallbackConfigsRequest) String() string
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
func (o ListRecordCallbackConfigsResponse) String() string
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
func (c ListRecordContentsRequestRecordType) Value() string
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
func (o ListRecordContentsResponse) String() string
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
func (c ListRecordRulesRequestRecordType) Value() string
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 ¶
func (o ListStreamForbiddenRequest) String() string
type ListStreamForbiddenResponse ¶
type ListStreamForbiddenResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 禁播黑名单列表 Blocks *[]StreamForbiddenList `json:"blocks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStreamForbiddenResponse) String ¶
func (o ListStreamForbiddenResponse) String() 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
func (c LiveDomainCreateReqDomainType) Value() string
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
func (c LiveDomainCreateReqServiceArea) Value() string
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
func (c LiveDomainModifyReqStatus) Value() string
type LiveDomainModifyReqStatusEnum ¶
type LiveDomainModifyReqStatusEnum struct { ON LiveDomainModifyReqStatus OFF LiveDomainModifyReqStatus }
func GetLiveDomainModifyReqStatusEnum ¶
func GetLiveDomainModifyReqStatusEnum() LiveDomainModifyReqStatusEnum
type LogInfo ¶
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 (c RecordCallbackConfigNotifyEventSubscription) MarshalJSON() ([]byte, error)
func (*RecordCallbackConfigNotifyEventSubscription) UnmarshalJSON ¶ added in v0.0.48
func (c *RecordCallbackConfigNotifyEventSubscription) UnmarshalJSON(b []byte) error
func (RecordCallbackConfigNotifyEventSubscription) Value ¶ added in v0.0.90
func (c RecordCallbackConfigNotifyEventSubscription) Value() string
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
func (o RecordCallbackConfigRequest) String() string
type RecordCallbackConfigRequestNotifyEventSubscription ¶ added in v0.0.48
type RecordCallbackConfigRequestNotifyEventSubscription struct {
// contains filtered or unexported fields
}
func (RecordCallbackConfigRequestNotifyEventSubscription) MarshalJSON ¶ added in v0.0.48
func (c RecordCallbackConfigRequestNotifyEventSubscription) MarshalJSON() ([]byte, error)
func (*RecordCallbackConfigRequestNotifyEventSubscription) UnmarshalJSON ¶ added in v0.0.48
func (c *RecordCallbackConfigRequestNotifyEventSubscription) UnmarshalJSON(b []byte) error
func (RecordCallbackConfigRequestNotifyEventSubscription) Value ¶ added in v0.0.90
func (c RecordCallbackConfigRequestNotifyEventSubscription) Value() string
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
func (c RecordCallbackConfigRequestSignType) Value() string
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
func (c RecordCallbackConfigSignType) Value() string
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
func (c RecordContentInfoV2RecordFormat) Value() string
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
func (c RecordContentInfoV2RecordType) Value() string
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
func (c RecordObsFileAddrLocation) Value() string
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
func (c RecordRuleRequestRecordType) Value() string
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
func (o ShowRecordCallbackConfigRequest) String() string
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
func (o ShowRecordCallbackConfigResponse) String() string
type ShowRecordCallbackConfigResponseNotifyEventSubscription ¶ added in v0.0.48
type ShowRecordCallbackConfigResponseNotifyEventSubscription struct {
// contains filtered or unexported fields
}
func (ShowRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON ¶ added in v0.0.48
func (c ShowRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON() ([]byte, error)
func (*ShowRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON ¶ added in v0.0.48
func (c *ShowRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON(b []byte) error
func (ShowRecordCallbackConfigResponseNotifyEventSubscription) Value ¶ added in v0.0.90
func (c ShowRecordCallbackConfigResponseNotifyEventSubscription) Value() string
type ShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.0.48
type ShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum struct { RECORD_NEW_FILE_START ShowRecordCallbackConfigResponseNotifyEventSubscription RECORD_FILE_COMPLETE ShowRecordCallbackConfigResponseNotifyEventSubscription RECORD_OVER ShowRecordCallbackConfigResponseNotifyEventSubscription RECORD_FAILED ShowRecordCallbackConfigResponseNotifyEventSubscription }
func GetShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.0.48
func GetShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum() ShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum
type ShowRecordCallbackConfigResponseSignType ¶ added in v0.0.56
type ShowRecordCallbackConfigResponseSignType struct {
// contains filtered or unexported fields
}
func (ShowRecordCallbackConfigResponseSignType) MarshalJSON ¶ added in v0.0.56
func (c ShowRecordCallbackConfigResponseSignType) MarshalJSON() ([]byte, error)
func (*ShowRecordCallbackConfigResponseSignType) UnmarshalJSON ¶ added in v0.0.56
func (c *ShowRecordCallbackConfigResponseSignType) UnmarshalJSON(b []byte) error
func (ShowRecordCallbackConfigResponseSignType) Value ¶ added in v0.0.90
func (c ShowRecordCallbackConfigResponseSignType) Value() string
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
func (c ShowRecordRuleResponseRecordType) Value() string
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 ¶
func (o ShowTranscodingsTemplateRequest) String() 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 ¶
func (o ShowTranscodingsTemplateResponse) String() 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
func (c UpdateDomainResponseDomainType) Value() string
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
func (c UpdateDomainResponseServiceArea) Value() string
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
func (c UpdateDomainResponseStatus) Value() string
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
func (o UpdateRecordCallbackConfigRequest) String() string
type UpdateRecordCallbackConfigResponse ¶ added in v0.0.48
type UpdateRecordCallbackConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateRecordCallbackConfigResponse) String ¶ added in v0.0.48
func (o UpdateRecordCallbackConfigResponse) String() string
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
func (c UpdateRecordRuleResponseRecordType) Value() string
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 ¶
func (o UpdateStreamForbiddenRequest) String() string
type UpdateStreamForbiddenResponse ¶
type UpdateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateStreamForbiddenResponse) String ¶
func (o UpdateStreamForbiddenResponse) String() string
type UpdateTranscodingsTemplateRequest ¶
type UpdateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
Request Object
func (UpdateTranscodingsTemplateRequest) String ¶
func (o UpdateTranscodingsTemplateRequest) String() string
type UpdateTranscodingsTemplateResponse ¶
type UpdateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTranscodingsTemplateResponse) String ¶
func (o UpdateTranscodingsTemplateResponse) String() 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
Source Files ¶
- model_app_quality_info.go
- model_create_domain_mapping_request.go
- model_create_domain_mapping_response.go
- model_create_domain_request.go
- model_create_domain_response.go
- model_create_record_callback_config_request.go
- model_create_record_callback_config_response.go
- model_create_record_rule_request.go
- model_create_record_rule_response.go
- model_create_stream_forbidden_request.go
- model_create_stream_forbidden_response.go
- model_create_transcodings_template_request.go
- model_create_transcodings_template_response.go
- model_decoupled_live_domain_info.go
- model_default_record_config.go
- model_delete_domain_mapping_request.go
- model_delete_domain_mapping_response.go
- model_delete_domain_request.go
- model_delete_domain_response.go
- model_delete_record_callback_config_request.go
- model_delete_record_callback_config_response.go
- model_delete_record_rule_request.go
- model_delete_record_rule_response.go
- model_delete_stream_forbidden_request.go
- model_delete_stream_forbidden_response.go
- model_delete_transcodings_template_request.go
- model_delete_transcodings_template_response.go
- model_domain_mapping.go
- model_flv_record_config.go
- model_hls_record_config.go
- model_list_live_sample_logs_request.go
- model_list_live_sample_logs_response.go
- model_list_live_streams_online_request.go
- model_list_live_streams_online_response.go
- model_list_record_callback_configs_request.go
- model_list_record_callback_configs_response.go
- model_list_record_contents_request.go
- model_list_record_contents_response.go
- model_list_record_rules_request.go
- model_list_record_rules_response.go
- model_list_stream_forbidden_request.go
- model_list_stream_forbidden_response.go
- model_live_domain_create_req.go
- model_live_domain_modify_req.go
- model_log_info.go
- model_mp4_record_config.go
- model_online_info.go
- model_quality_info.go
- model_record_callback_config.go
- model_record_callback_config_request.go
- model_record_content_info_v2.go
- model_record_control_info.go
- model_record_obs_file_addr.go
- model_record_rule.go
- model_record_rule_request.go
- model_run_record_request.go
- model_run_record_response.go
- model_show_domain_request.go
- model_show_domain_response.go
- model_show_record_callback_config_request.go
- model_show_record_callback_config_response.go
- model_show_record_rule_request.go
- model_show_record_rule_response.go
- model_show_transcodings_template_request.go
- model_show_transcodings_template_response.go
- model_stream_forbidden_list.go
- model_stream_forbidden_setting.go
- model_stream_transcoding_template.go
- model_update_domain_request.go
- model_update_domain_response.go
- model_update_record_callback_config_request.go
- model_update_record_callback_config_response.go
- model_update_record_rule_request.go
- model_update_record_rule_response.go
- model_update_stream_forbidden_request.go
- model_update_stream_forbidden_response.go
- model_update_transcodings_template_request.go
- model_update_transcodings_template_response.go
- model_video_format_var.go
- model_vod_info_v2.go