Documentation ¶
Index ¶
- type AppQualityInfo
- type BatchShowIpBelongsRequest
- type BatchShowIpBelongsResponse
- type CallbackUrl
- type CallbackUrlCallBackArea
- type CallbackUrlCallBackAreaEnum
- type CdnIp
- type CreateDomainMappingRequest
- type CreateDomainMappingResponse
- type CreateDomainRequest
- type CreateDomainResponse
- type CreateDomainResponseDomainType
- type CreateDomainResponseDomainTypeEnum
- type CreateDomainResponseServiceArea
- type CreateDomainResponseServiceAreaEnum
- type CreateDomainResponseStatus
- type CreateDomainResponseStatusEnum
- type CreateOttChannelInfoReq
- type CreateOttChannelInfoReqRecordSettings
- type CreateOttChannelInfoReqState
- type CreateOttChannelInfoReqStateEnum
- type CreateOttChannelInfoRequest
- type CreateOttChannelInfoResponse
- type CreateRecordCallbackConfigRequest
- type CreateRecordCallbackConfigResponse
- type CreateRecordCallbackConfigResponseNotifyEventSubscription
- type CreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum
- type CreateRecordCallbackConfigResponseSignType
- type CreateRecordCallbackConfigResponseSignTypeEnum
- type CreateRecordIndexRequest
- type CreateRecordIndexResponse
- type CreateRecordIndexResponseLocation
- type CreateRecordIndexResponseLocationEnum
- type CreateRecordRuleRequest
- type CreateRecordRuleResponse
- type CreateRecordRuleResponseRecordType
- type CreateRecordRuleResponseRecordTypeEnum
- type CreateSnapshotConfigRequest
- type CreateSnapshotConfigResponse
- type CreateStreamForbiddenRequest
- type CreateStreamForbiddenResponse
- type CreateTranscodingsTemplateRequest
- type CreateTranscodingsTemplateResponse
- type CreateUrlAuthchainReq
- type CreateUrlAuthchainReqDomainType
- type CreateUrlAuthchainReqDomainTypeEnum
- type CreateUrlAuthchainRequest
- type CreateUrlAuthchainResponse
- type DashPackageItem
- type DecoupledLiveDomainInfo
- type DecoupledLiveDomainInfoDomainType
- type DecoupledLiveDomainInfoDomainTypeEnum
- type DecoupledLiveDomainInfoServiceArea
- type DecoupledLiveDomainInfoServiceAreaEnum
- type DecoupledLiveDomainInfoStatus
- type DecoupledLiveDomainInfoStatusEnum
- type DecoupledLiveDomainInfoVendor
- type DecoupledLiveDomainInfoVendorEnum
- type DefaultRecordConfig
- type DelayConfig
- type DeleteDomainHttpsCertRequest
- type DeleteDomainHttpsCertResponse
- type DeleteDomainKeyChainRequest
- type DeleteDomainKeyChainResponse
- type DeleteDomainMappingRequest
- type DeleteDomainMappingResponse
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DeleteOttChannelInfoRequest
- type DeleteOttChannelInfoResponse
- type DeletePublishTemplateRequest
- type DeletePublishTemplateResponse
- type DeleteRecordCallbackConfigRequest
- type DeleteRecordCallbackConfigResponse
- type DeleteRecordRuleRequest
- type DeleteRecordRuleResponse
- type DeleteRefererChainRequest
- type DeleteRefererChainResponse
- type DeleteSnapshotConfigRequest
- type DeleteSnapshotConfigResponse
- type DeleteStreamForbiddenRequest
- type DeleteStreamForbiddenResponse
- type DeleteTranscodingsTemplateRequest
- type DeleteTranscodingsTemplateResponse
- type DomainHttpsCertInfo
- type DomainHttpsCertInfoCertificateFormat
- type DomainHttpsCertInfoCertificateFormatEnum
- type DomainIpv6SwitchReq
- type DomainMapping
- type Encryption
- type EncryptionEncryptionMethod
- type EncryptionEncryptionMethodEnum
- type EncryptionLevel
- type EncryptionLevelEnum
- type EncryptionSystemIds
- type EncryptionSystemIdsEnum
- type EndpointItem
- type FailoverConditions
- type FailoverConditionsInputPreference
- type FailoverConditionsInputPreferenceEnum
- type FlvRecordConfig
- type GeoBlockingConfigInfo
- type HlsPackageItem
- type HlsRecordConfig
- type InputStreamInfo
- type InputStreamInfoInputProtocol
- type InputStreamInfoInputProtocolEnum
- type IpAuthInfo
- type IpAuthInfoAuthType
- type IpAuthInfoAuthTypeEnum
- type KeyChainInfo
- type KeyChainInfoAuthType
- type KeyChainInfoAuthTypeEnum
- type ListDelayConfigRequest
- type ListDelayConfigResponse
- type ListGeoBlockingConfigRequest
- type ListGeoBlockingConfigResponse
- type ListHlsConfigRequest
- type ListHlsConfigResponse
- type ListIpAuthListRequest
- type ListIpAuthListResponse
- type ListIpAuthListResponseAuthType
- type ListIpAuthListResponseAuthTypeEnum
- type ListLiveSampleLogsRequest
- type ListLiveSampleLogsResponse
- type ListLiveStreamsOnlineRequest
- type ListLiveStreamsOnlineResponse
- type ListOttChannelInfoRequest
- type ListOttChannelInfoResponse
- type ListPublishTemplateRequest
- type ListPublishTemplateResponse
- type ListPublishTemplateResponseCallBackArea
- type ListPublishTemplateResponseCallBackAreaEnum
- type ListRecordCallbackConfigsRequest
- type ListRecordCallbackConfigsResponse
- type ListRecordContentsRequest
- type ListRecordContentsRequestRecordType
- type ListRecordContentsRequestRecordTypeEnum
- type ListRecordContentsResponse
- type ListRecordRulesRequest
- type ListRecordRulesRequestRecordType
- type ListRecordRulesRequestRecordTypeEnum
- type ListRecordRulesResponse
- type ListSnapshotConfigsRequest
- type ListSnapshotConfigsResponse
- type ListStreamForbiddenRequest
- type ListStreamForbiddenResponse
- type LiveDomainCreateReq
- type LiveDomainCreateReqDomainType
- type LiveDomainCreateReqDomainTypeEnum
- type LiveDomainCreateReqServiceArea
- type LiveDomainCreateReqServiceAreaEnum
- type LiveDomainModifyReq
- type LiveDomainModifyReqStatus
- type LiveDomainModifyReqStatusEnum
- type LiveRequestArgs
- type LiveSnapshotConfig
- type LiveSnapshotConfigCallBackEnable
- type LiveSnapshotConfigCallBackEnableEnum
- type LogInfo
- type ModifyDelayConfig
- type ModifyHlsConfig
- type ModifyOttChannelEncoderSettings
- type ModifyOttChannelEncoderSettingsEncoderSettings
- type ModifyOttChannelEndPointsReq
- type ModifyOttChannelGeneral
- type ModifyOttChannelInfoEncoderSettingsRequest
- type ModifyOttChannelInfoEncoderSettingsResponse
- type ModifyOttChannelInfoEndPointsRequest
- type ModifyOttChannelInfoEndPointsResponse
- type ModifyOttChannelInfoGeneralRequest
- type ModifyOttChannelInfoGeneralResponse
- type ModifyOttChannelInfoInputRequest
- type ModifyOttChannelInfoInputResponse
- type ModifyOttChannelInfoRecordSettingsRequest
- type ModifyOttChannelInfoRecordSettingsResponse
- type ModifyOttChannelInfoStatsRequest
- type ModifyOttChannelInfoStatsResponse
- type ModifyOttChannelInputReq
- type ModifyOttChannelRecordSettings
- type ModifyOttChannelRecordSettingsRecordSettings
- type ModifyOttChannelState
- type ModifyOttChannelStateState
- type ModifyOttChannelStateStateEnum
- type ModifyPullSourcesConfig
- type ModifyPullSourcesConfigScheme
- type ModifyPullSourcesConfigSchemeEnum
- type ModifyPullSourcesConfigSourceType
- type ModifyPullSourcesConfigSourceTypeEnum
- type Mp4RecordConfig
- type MssPackageItem
- type ObsAuthorityConfigV2
- type ObsFileAddr
- type OnlineInfo
- type OnlineInfoAudioCodec
- type OnlineInfoAudioCodecEnum
- type OnlineInfoVideoCodec
- type OnlineInfoVideoCodecEnum
- type PackageRequestArgs
- type PushDomainApplication
- type QualityInfo
- type QualityInfoBitrateAdaptive
- type QualityInfoBitrateAdaptiveEnum
- type QualityInfoCodec
- type QualityInfoCodecEnum
- type QualityInfoHdlb
- type QualityInfoHdlbEnum
- type QualityInfoIFramePolicy
- type QualityInfoIFramePolicyEnum
- 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 RecordIndexRequestBody
- type RecordObsFileAddr
- type RecordObsFileAddrLocation
- type RecordObsFileAddrLocationEnum
- type RecordRequestArgs
- type RecordRule
- type RecordRuleRecordType
- type RecordRuleRecordTypeEnum
- type RecordRuleRequest
- type RecordRuleRequestRecordType
- type RecordRuleRequestRecordTypeEnum
- type RunRecordRequest
- type RunRecordRequestAction
- type RunRecordRequestActionEnum
- type RunRecordResponse
- type SecondarySourcesInfo
- type SetRefererChainInfo
- type SetRefererChainInfoGuardSwitch
- type SetRefererChainInfoGuardSwitchEnum
- type SetRefererChainInfoRefererConfigEmpty
- type SetRefererChainInfoRefererConfigEmptyEnum
- type SetRefererChainInfoRefererWhiteList
- type SetRefererChainInfoRefererWhiteListEnum
- type SetRefererChainRequest
- type SetRefererChainResponse
- type ShowDomainHttpsCertRequest
- type ShowDomainHttpsCertResponse
- type ShowDomainHttpsCertResponseCertificateFormat
- type ShowDomainHttpsCertResponseCertificateFormatEnum
- type ShowDomainKeyChainRequest
- type ShowDomainKeyChainResponse
- type ShowDomainKeyChainResponseAuthType
- type ShowDomainKeyChainResponseAuthTypeEnum
- type ShowDomainRequest
- type ShowDomainResponse
- type ShowPullSourcesConfigRequest
- type ShowPullSourcesConfigResponse
- type ShowPullSourcesConfigResponseScheme
- type ShowPullSourcesConfigResponseSchemeEnum
- type ShowPullSourcesConfigResponseSourceType
- type ShowPullSourcesConfigResponseSourceTypeEnum
- type ShowRecordCallbackConfigRequest
- type ShowRecordCallbackConfigResponse
- type ShowRecordCallbackConfigResponseNotifyEventSubscription
- type ShowRecordCallbackConfigResponseNotifyEventSubscriptionEnum
- type ShowRecordCallbackConfigResponseSignType
- type ShowRecordCallbackConfigResponseSignTypeEnum
- type ShowRecordRuleRequest
- type ShowRecordRuleResponse
- type ShowRecordRuleResponseRecordType
- type ShowRecordRuleResponseRecordTypeEnum
- type ShowRefererChainRequest
- type ShowRefererChainResponse
- type ShowRefererChainResponseGuardSwitch
- type ShowRefererChainResponseGuardSwitchEnum
- type ShowRefererChainResponseRefererConfigEmpty
- type ShowRefererChainResponseRefererConfigEmptyEnum
- type ShowRefererChainResponseRefererWhiteList
- type ShowRefererChainResponseRefererWhiteListEnum
- type ShowTranscodingsTemplateRequest
- type ShowTranscodingsTemplateResponse
- type SourceRsp
- type SourcesInfo
- type StreamForbiddenList
- type StreamForbiddenSetting
- type StreamSelectionItem
- type StreamTranscodingTemplate
- type StreamTranscodingTemplateTransType
- type StreamTranscodingTemplateTransTypeEnum
- type TimeshiftRequestArgs
- type UpdateDelayConfigRequest
- type UpdateDelayConfigResponse
- type UpdateDomainHttpsCertRequest
- type UpdateDomainHttpsCertResponse
- type UpdateDomainIp6SwitchRequest
- type UpdateDomainIp6SwitchResponse
- type UpdateDomainKeyChainRequest
- type UpdateDomainKeyChainResponse
- type UpdateDomainRequest
- type UpdateDomainResponse
- type UpdateDomainResponseDomainType
- type UpdateDomainResponseDomainTypeEnum
- type UpdateDomainResponseServiceArea
- type UpdateDomainResponseServiceAreaEnum
- type UpdateDomainResponseStatus
- type UpdateDomainResponseStatusEnum
- type UpdateGeoBlockingConfigRequest
- type UpdateGeoBlockingConfigResponse
- type UpdateHlsConfigRequest
- type UpdateHlsConfigResponse
- type UpdateIpAuthListRequest
- type UpdateIpAuthListResponse
- type UpdateObsBucketAuthorityPublicRequest
- type UpdateObsBucketAuthorityPublicResponse
- type UpdatePublishTemplateRequest
- type UpdatePublishTemplateResponse
- type UpdatePullSourcesConfigRequest
- type UpdatePullSourcesConfigResponse
- type UpdateRecordCallbackConfigRequest
- type UpdateRecordCallbackConfigResponse
- type UpdateRecordCallbackConfigResponseNotifyEventSubscription
- type UpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum
- type UpdateRecordCallbackConfigResponseSignType
- type UpdateRecordCallbackConfigResponseSignTypeEnum
- type UpdateRecordRuleRequest
- type UpdateRecordRuleResponse
- type UpdateRecordRuleResponseRecordType
- type UpdateRecordRuleResponseRecordTypeEnum
- type UpdateSnapshotConfigRequest
- type UpdateSnapshotConfigResponse
- 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 BatchShowIpBelongsRequest ¶ added in v0.1.41
type BatchShowIpBelongsRequest struct { // IP地址列表,最多20个。 Ip []string `json:"ip"` }
BatchShowIpBelongsRequest Request Object
func (BatchShowIpBelongsRequest) String ¶ added in v0.1.41
func (o BatchShowIpBelongsRequest) String() string
type BatchShowIpBelongsResponse ¶ added in v0.1.41
type BatchShowIpBelongsResponse struct { // IP归属信息列表。 CdnIps *[]CdnIp `json:"cdn_ips,omitempty"` HttpStatusCode int `json:"-"` }
BatchShowIpBelongsResponse Response Object
func (BatchShowIpBelongsResponse) String ¶ added in v0.1.41
func (o BatchShowIpBelongsResponse) String() string
type CallbackUrl ¶ added in v0.1.72
type CallbackUrl struct { // 回调地址 Url string `json:"url"` // 鉴权密钥 AuthSignKey *string `json:"auth_sign_key,omitempty"` // 接收回调通知服务器所在区域。 包含如下取值: - mainland_china:中国大陆区域。 - outside_mainland_china:中国大陆以外区域。 CallBackArea *CallbackUrlCallBackArea `json:"call_back_area,omitempty"` }
func (CallbackUrl) String ¶ added in v0.1.72
func (o CallbackUrl) String() string
type CallbackUrlCallBackArea ¶ added in v0.1.72
type CallbackUrlCallBackArea struct {
// contains filtered or unexported fields
}
func (CallbackUrlCallBackArea) MarshalJSON ¶ added in v0.1.72
func (c CallbackUrlCallBackArea) MarshalJSON() ([]byte, error)
func (*CallbackUrlCallBackArea) UnmarshalJSON ¶ added in v0.1.72
func (c *CallbackUrlCallBackArea) UnmarshalJSON(b []byte) error
func (CallbackUrlCallBackArea) Value ¶ added in v0.1.72
func (c CallbackUrlCallBackArea) Value() string
type CallbackUrlCallBackAreaEnum ¶ added in v0.1.72
type CallbackUrlCallBackAreaEnum struct { MAINLAND_CHINA CallbackUrlCallBackArea OUTSIDE_MAINLAND_CHINA CallbackUrlCallBackArea }
func GetCallbackUrlCallBackAreaEnum ¶ added in v0.1.72
func GetCallbackUrlCallBackAreaEnum() CallbackUrlCallBackAreaEnum
type CdnIp ¶ added in v0.1.41
type CdnIp struct { // 需查询的IP地址。 Ip *string `json:"ip,omitempty"` // 是否是华为云CDN节点。(true:是华为云CDN节点,false:不是华为云CDN节点) Belongs *bool `json:"belongs,omitempty"` // IP归属地省份。(Unknown:表示未知归属地) Region *string `json:"region,omitempty"` // 运营商名称。如果IP归属地未知,该字段返回null。 Isp *string `json:"isp,omitempty"` // 平台。如果IP归属地未知,该字段返回null。 Platform *string `json:"platform,omitempty"` }
type CreateDomainMappingRequest ¶
type CreateDomainMappingRequest struct {
Body *DomainMapping `json:"body,omitempty"`
}
CreateDomainMappingRequest 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:"-"` }
CreateDomainMappingResponse Response Object
func (CreateDomainMappingResponse) String ¶
func (o CreateDomainMappingResponse) String() string
type CreateDomainRequest ¶
type CreateDomainRequest struct {
Body *LiveDomainCreateReq `json:"body,omitempty"`
}
CreateDomainRequest Request Object
func (CreateDomainRequest) String ¶
func (o CreateDomainRequest) String() string
type CreateDomainResponse ¶
type CreateDomainResponse struct { // 直播域名 Domain *string `json:"domain,omitempty"` // 域名类型 - pull表示播放域名 - push表示推流域名 DomainType *CreateDomainResponseDomainType `json:"domain_type,omitempty"` // 直播域名的CNAME DomainCname *string `json:"domain_cname,omitempty"` // 直播所属直播中心 Region *string `json:"region,omitempty"` // 直播域名的状态 Status *CreateDomainResponseStatus `json:"status,omitempty"` // 域名创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 状态描述 StatusDescribe *string `json:"status_describe,omitempty"` // 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域 ServiceArea *CreateDomainResponseServiceArea `json:"service_area,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDomainResponse Response Object
func (CreateDomainResponse) String ¶
func (o CreateDomainResponse) String() string
type CreateDomainResponseDomainType ¶
type CreateDomainResponseDomainType struct {
// contains filtered or unexported fields
}
func (CreateDomainResponseDomainType) MarshalJSON ¶
func (c CreateDomainResponseDomainType) MarshalJSON() ([]byte, error)
func (*CreateDomainResponseDomainType) UnmarshalJSON ¶
func (c *CreateDomainResponseDomainType) UnmarshalJSON(b []byte) error
func (CreateDomainResponseDomainType) Value ¶ 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 }
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 CreateOttChannelInfoReq ¶ added in v0.1.87
type CreateOttChannelInfoReq struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务 Id string `json:"id"` // 频道名。可选配置 Name *string `json:"name,omitempty"` // 频道状态 - ON:频道下发成功后,自动启动拉流、转码、录制等功能 - OFF:仅保存频道信息,不启动频道 State CreateOttChannelInfoReqState `json:"state"` Input *InputStreamInfo `json:"input"` // 转码模板配置 EncoderSettings *[]ModifyOttChannelEncoderSettingsEncoderSettings `json:"encoder_settings,omitempty"` RecordSettings *CreateOttChannelInfoReqRecordSettings `json:"record_settings"` // 频道出流信息 Endpoints []EndpointItem `json:"endpoints"` }
CreateOttChannelInfoReq OTT频道创建消息体
func (CreateOttChannelInfoReq) String ¶ added in v0.1.87
func (o CreateOttChannelInfoReq) String() string
type CreateOttChannelInfoReqRecordSettings ¶ added in v0.1.87
type CreateOttChannelInfoReqRecordSettings struct { // 最大回看录制时长。在此时间段内会连续不断的录制,为必选项 单位:秒。取值为“0”时,表示不支持录制;最大支持录制14天 RollingbufferDuration int32 `json:"rollingbuffer_duration"` }
CreateOttChannelInfoReqRecordSettings 最大回看录制时长。在此时间段内会连续不断的录制,为必选项 单位:秒。取值为“0”时,表示不支持录制;最大支持录制14天
func (CreateOttChannelInfoReqRecordSettings) String ¶ added in v0.1.87
func (o CreateOttChannelInfoReqRecordSettings) String() string
type CreateOttChannelInfoReqState ¶ added in v0.1.87
type CreateOttChannelInfoReqState struct {
// contains filtered or unexported fields
}
func (CreateOttChannelInfoReqState) MarshalJSON ¶ added in v0.1.87
func (c CreateOttChannelInfoReqState) MarshalJSON() ([]byte, error)
func (*CreateOttChannelInfoReqState) UnmarshalJSON ¶ added in v0.1.87
func (c *CreateOttChannelInfoReqState) UnmarshalJSON(b []byte) error
func (CreateOttChannelInfoReqState) Value ¶ added in v0.1.87
func (c CreateOttChannelInfoReqState) Value() string
type CreateOttChannelInfoReqStateEnum ¶ added in v0.1.87
type CreateOttChannelInfoReqStateEnum struct { ON CreateOttChannelInfoReqState OFF CreateOttChannelInfoReqState }
func GetCreateOttChannelInfoReqStateEnum ¶ added in v0.1.87
func GetCreateOttChannelInfoReqStateEnum() CreateOttChannelInfoReqStateEnum
type CreateOttChannelInfoRequest ¶ added in v0.1.87
type CreateOttChannelInfoRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *CreateOttChannelInfoReq `json:"body,omitempty"` }
CreateOttChannelInfoRequest Request Object
func (CreateOttChannelInfoRequest) String ¶ added in v0.1.87
func (o CreateOttChannelInfoRequest) String() string
type CreateOttChannelInfoResponse ¶ added in v0.1.87
type CreateOttChannelInfoResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
CreateOttChannelInfoResponse Response Object
func (CreateOttChannelInfoResponse) String ¶ added in v0.1.87
func (o CreateOttChannelInfoResponse) String() string
type CreateRecordCallbackConfigRequest ¶ added in v0.0.48
type CreateRecordCallbackConfigRequest struct {
Body *RecordCallbackConfigRequest `json:"body,omitempty"`
}
CreateRecordCallbackConfigRequest 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 { // 配置id,由服务端返回。创建或修改的时候不携带 Id *string `json:"id,omitempty"` // 直播推流域名 PublishDomain *string `json:"publish_domain,omitempty"` // app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配* App *string `json:"app,omitempty"` // 录制回调通知url地址 NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"` // 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE NotifyEventSubscription *[]CreateRecordCallbackConfigResponseNotifyEventSubscription `json:"notify_event_subscription,omitempty"` // 加密类型 SignType *CreateRecordCallbackConfigResponseSignType `json:"sign_type,omitempty"` // 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回 CreateTime *string `json:"create_time,omitempty"` // 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
CreateRecordCallbackConfigResponse Response Object
func (CreateRecordCallbackConfigResponse) String ¶ added in v0.0.48
func (o CreateRecordCallbackConfigResponse) String() string
type CreateRecordCallbackConfigResponseNotifyEventSubscription ¶ added in v0.1.16
type CreateRecordCallbackConfigResponseNotifyEventSubscription struct {
// contains filtered or unexported fields
}
func (CreateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON ¶ added in v0.1.16
func (c CreateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON() ([]byte, error)
func (*CreateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON ¶ added in v0.1.16
func (c *CreateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON(b []byte) error
func (CreateRecordCallbackConfigResponseNotifyEventSubscription) Value ¶ added in v0.1.16
func (c CreateRecordCallbackConfigResponseNotifyEventSubscription) Value() string
type CreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.1.16
type CreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum struct { RECORD_NEW_FILE_START CreateRecordCallbackConfigResponseNotifyEventSubscription RECORD_FILE_COMPLETE CreateRecordCallbackConfigResponseNotifyEventSubscription RECORD_OVER CreateRecordCallbackConfigResponseNotifyEventSubscription RECORD_FAILED CreateRecordCallbackConfigResponseNotifyEventSubscription }
func GetCreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.1.16
func GetCreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum() CreateRecordCallbackConfigResponseNotifyEventSubscriptionEnum
type CreateRecordCallbackConfigResponseSignType ¶ added in v0.1.16
type CreateRecordCallbackConfigResponseSignType struct {
// contains filtered or unexported fields
}
func (CreateRecordCallbackConfigResponseSignType) MarshalJSON ¶ added in v0.1.16
func (c CreateRecordCallbackConfigResponseSignType) MarshalJSON() ([]byte, error)
func (*CreateRecordCallbackConfigResponseSignType) UnmarshalJSON ¶ added in v0.1.16
func (c *CreateRecordCallbackConfigResponseSignType) UnmarshalJSON(b []byte) error
func (CreateRecordCallbackConfigResponseSignType) Value ¶ added in v0.1.16
func (c CreateRecordCallbackConfigResponseSignType) Value() string
type CreateRecordCallbackConfigResponseSignTypeEnum ¶ added in v0.1.16
type CreateRecordCallbackConfigResponseSignTypeEnum struct { MD5 CreateRecordCallbackConfigResponseSignType HMACSHA256 CreateRecordCallbackConfigResponseSignType }
func GetCreateRecordCallbackConfigResponseSignTypeEnum ¶ added in v0.1.16
func GetCreateRecordCallbackConfigResponseSignTypeEnum() CreateRecordCallbackConfigResponseSignTypeEnum
type CreateRecordIndexRequest ¶ added in v0.0.101
type CreateRecordIndexRequest struct {
Body *RecordIndexRequestBody `json:"body,omitempty"`
}
CreateRecordIndexRequest Request Object
func (CreateRecordIndexRequest) String ¶ added in v0.0.101
func (o CreateRecordIndexRequest) String() string
type CreateRecordIndexResponse ¶ added in v0.0.101
type CreateRecordIndexResponse struct { // 索引文件地址 IndexUrl *string `json:"index_url,omitempty"` // 直播推流域名 PublishDomain *string `json:"publish_domain,omitempty"` // 应用名,如果任意应用填写*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配* App *string `json:"app,omitempty"` // 录制的流名,如果任意流名则填写*。录制规则匹配的时候,优先精确stream匹配,如果匹配不到,则匹配* Stream *string `json:"stream,omitempty"` // 开始时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC时间)。(实际视频的开始时间) StartTime *sdktime.SdkTime `json:"start_time,omitempty"` // 结束时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC时间)。(实际视频的结束时间) EndTime *sdktime.SdkTime `json:"end_time,omitempty"` // 录制时长。单位:秒。 Duration *int32 `json:"duration,omitempty"` // 视频宽。 Width *int32 `json:"width,omitempty"` // 视频高。 Height *int32 `json:"height,omitempty"` // OBS Bucket所在RegionID Location *CreateRecordIndexResponseLocation `json:"location,omitempty"` // 桶名称 Bucket *string `json:"bucket,omitempty"` // m3u8文件路径。默认Index/{publish_domain}/{app}/{stream}-{start_time}-{end_time} Object *string `json:"object,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
CreateRecordIndexResponse Response Object
func (CreateRecordIndexResponse) String ¶ added in v0.0.101
func (o CreateRecordIndexResponse) String() string
type CreateRecordIndexResponseLocation ¶ added in v0.0.101
type CreateRecordIndexResponseLocation struct {
// contains filtered or unexported fields
}
func (CreateRecordIndexResponseLocation) MarshalJSON ¶ added in v0.0.101
func (c CreateRecordIndexResponseLocation) MarshalJSON() ([]byte, error)
func (*CreateRecordIndexResponseLocation) UnmarshalJSON ¶ added in v0.0.101
func (c *CreateRecordIndexResponseLocation) UnmarshalJSON(b []byte) error
func (CreateRecordIndexResponseLocation) Value ¶ added in v0.0.101
func (c CreateRecordIndexResponseLocation) Value() string
type CreateRecordIndexResponseLocationEnum ¶ added in v0.0.101
type CreateRecordIndexResponseLocationEnum struct { CN_NORTH_4 CreateRecordIndexResponseLocation CN_NORTH_5 CreateRecordIndexResponseLocation CN_NORTH_6 CreateRecordIndexResponseLocation }
func GetCreateRecordIndexResponseLocationEnum ¶ added in v0.0.101
func GetCreateRecordIndexResponseLocationEnum() CreateRecordIndexResponseLocationEnum
type CreateRecordRuleRequest ¶ added in v0.0.48
type CreateRecordRuleRequest struct {
Body *RecordRuleRequest `json:"body,omitempty"`
}
CreateRecordRuleRequest 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:"-"` }
CreateRecordRuleResponse 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 CreateSnapshotConfigRequest ¶ added in v0.1.36
type CreateSnapshotConfigRequest struct {
Body *LiveSnapshotConfig `json:"body,omitempty"`
}
CreateSnapshotConfigRequest Request Object
func (CreateSnapshotConfigRequest) String ¶ added in v0.1.36
func (o CreateSnapshotConfigRequest) String() string
type CreateSnapshotConfigResponse ¶ added in v0.1.36
type CreateSnapshotConfigResponse struct {
HttpStatusCode int `json:"-"`
}
CreateSnapshotConfigResponse Response Object
func (CreateSnapshotConfigResponse) String ¶ added in v0.1.36
func (o CreateSnapshotConfigResponse) String() string
type CreateStreamForbiddenRequest ¶
type CreateStreamForbiddenRequest struct {
Body *StreamForbiddenSetting `json:"body,omitempty"`
}
CreateStreamForbiddenRequest Request Object
func (CreateStreamForbiddenRequest) String ¶
func (o CreateStreamForbiddenRequest) String() string
type CreateStreamForbiddenResponse ¶
type CreateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
CreateStreamForbiddenResponse Response Object
func (CreateStreamForbiddenResponse) String ¶
func (o CreateStreamForbiddenResponse) String() string
type CreateTranscodingsTemplateRequest ¶
type CreateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
CreateTranscodingsTemplateRequest Request Object
func (CreateTranscodingsTemplateRequest) String ¶
func (o CreateTranscodingsTemplateRequest) String() string
type CreateTranscodingsTemplateResponse ¶
type CreateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
CreateTranscodingsTemplateResponse Response Object
func (CreateTranscodingsTemplateResponse) String ¶
func (o CreateTranscodingsTemplateResponse) String() string
type CreateUrlAuthchainReq ¶ added in v0.1.72
type CreateUrlAuthchainReq struct { // 播放域名或推流域名 Domain string `json:"domain"` // 域名类型 DomainType CreateUrlAuthchainReqDomainType `json:"domain_type"` // 流名称,与推流或播放地址中的StreamName一致。 Stream string `json:"stream"` // 应用名称,与推流或播放地址中的AppName一致。 App string `json:"app"` // 鉴权方式C必选。 检查级别。LiveID由AppName和StreamName组成,即\"<app_name>/<stream_name>\"。 包含如下取值: - 3:只检查LiveID是否匹配,不检查鉴权URL是否过期。 - 5:检查LiveID是否匹配,Timestamp是否超时。 CheckLevel *int32 `json:"check_level,omitempty"` // 用户定义的有效访问时间起始点;例如:2006-01-02T15:04:05Z07:00 不传或为空表示当前时间 StartTime *string `json:"start_time,omitempty"` }
func (CreateUrlAuthchainReq) String ¶ added in v0.1.72
func (o CreateUrlAuthchainReq) String() string
type CreateUrlAuthchainReqDomainType ¶ added in v0.1.72
type CreateUrlAuthchainReqDomainType struct {
// contains filtered or unexported fields
}
func (CreateUrlAuthchainReqDomainType) MarshalJSON ¶ added in v0.1.72
func (c CreateUrlAuthchainReqDomainType) MarshalJSON() ([]byte, error)
func (*CreateUrlAuthchainReqDomainType) UnmarshalJSON ¶ added in v0.1.72
func (c *CreateUrlAuthchainReqDomainType) UnmarshalJSON(b []byte) error
func (CreateUrlAuthchainReqDomainType) Value ¶ added in v0.1.72
func (c CreateUrlAuthchainReqDomainType) Value() string
type CreateUrlAuthchainReqDomainTypeEnum ¶ added in v0.1.72
type CreateUrlAuthchainReqDomainTypeEnum struct { PULL CreateUrlAuthchainReqDomainType PUSH CreateUrlAuthchainReqDomainType }
func GetCreateUrlAuthchainReqDomainTypeEnum ¶ added in v0.1.72
func GetCreateUrlAuthchainReqDomainTypeEnum() CreateUrlAuthchainReqDomainTypeEnum
type CreateUrlAuthchainRequest ¶ added in v0.1.72
type CreateUrlAuthchainRequest struct {
Body *CreateUrlAuthchainReq `json:"body,omitempty"`
}
CreateUrlAuthchainRequest Request Object
func (CreateUrlAuthchainRequest) String ¶ added in v0.1.72
func (o CreateUrlAuthchainRequest) String() string
type CreateUrlAuthchainResponse ¶ added in v0.1.72
type CreateUrlAuthchainResponse struct { // 生成的鉴权串列表 Keychain *[]string `json:"keychain,omitempty"` HttpStatusCode int `json:"-"` }
CreateUrlAuthchainResponse Response Object
func (CreateUrlAuthchainResponse) String ¶ added in v0.1.72
func (o CreateUrlAuthchainResponse) String() string
type DashPackageItem ¶ added in v0.1.87
type DashPackageItem struct { // 客户自定义的拉流地址,包括方法、域名、路径和参数 Url string `json:"url"` // 从全量流中过滤出一个码率在[min, max]区间的流。如果不需要码率过滤可不选。 StreamSelection *[]StreamSelectionItem `json:"stream_selection,omitempty"` // 频道输出分片的时长,为必选项 单位:秒。取值范围:1-10 SegmentDurationSeconds *int32 `json:"segment_duration_seconds,omitempty"` // 频道直播返回分片的窗口长度,为频道输出分片的时长乘以数量后得到的值。实际返回的分片数不小于3个。 单位:秒。取值范围:0 - 86400(24小时转化成秒后的取值) PlaylistWindowSeconds *int32 `json:"playlist_window_seconds,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` // 广告配置 Ads *interface{} `json:"ads,omitempty"` // 其他额外参数 ExtArgs *interface{} `json:"ext_args,omitempty"` RequestArgs *PackageRequestArgs `json:"request_args,omitempty"` }
DashPackageItem DASH频道出流信息
func (DashPackageItem) String ¶ added in v0.1.87
func (o DashPackageItem) 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表示中国大陆以外区域 ServiceArea *DecoupledLiveDomainInfoServiceArea `json:"service_area,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // IPV6开关是否开启,默认关闭,true为开启;false或空为关闭 IsIpv6 *bool `json:"is_ipv6,omitempty"` }
func (DecoupledLiveDomainInfo) String ¶
func (o DecoupledLiveDomainInfo) String() string
type DecoupledLiveDomainInfoDomainType ¶
type DecoupledLiveDomainInfoDomainType struct {
// contains filtered or unexported fields
}
func (DecoupledLiveDomainInfoDomainType) MarshalJSON ¶
func (c DecoupledLiveDomainInfoDomainType) MarshalJSON() ([]byte, error)
func (*DecoupledLiveDomainInfoDomainType) UnmarshalJSON ¶
func (c *DecoupledLiveDomainInfoDomainType) UnmarshalJSON(b []byte) error
func (DecoupledLiveDomainInfoDomainType) Value ¶ 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 }
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 DelayConfig ¶ added in v0.1.72
type DelayConfig struct { // 应用名,默认为live App *string `json:"app,omitempty"` // 延时时间,单位:ms。 包含如下取值: - 2000(低)。 - 4000(中)。 - 6000(高)。 Delay *int32 `json:"delay,omitempty"` }
func (DelayConfig) String ¶ added in v0.1.72
func (o DelayConfig) String() string
type DeleteDomainHttpsCertRequest ¶ added in v0.1.36
type DeleteDomainHttpsCertRequest struct { // 直播播放域名 Domain string `json:"domain"` }
DeleteDomainHttpsCertRequest Request Object
func (DeleteDomainHttpsCertRequest) String ¶ added in v0.1.36
func (o DeleteDomainHttpsCertRequest) String() string
type DeleteDomainHttpsCertResponse ¶ added in v0.1.36
type DeleteDomainHttpsCertResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDomainHttpsCertResponse Response Object
func (DeleteDomainHttpsCertResponse) String ¶ added in v0.1.36
func (o DeleteDomainHttpsCertResponse) String() string
type DeleteDomainKeyChainRequest ¶ added in v0.1.36
type DeleteDomainKeyChainRequest struct { // 直播域名,包括推流域名和播放域名 Domain string `json:"domain"` }
DeleteDomainKeyChainRequest Request Object
func (DeleteDomainKeyChainRequest) String ¶ added in v0.1.36
func (o DeleteDomainKeyChainRequest) String() string
type DeleteDomainKeyChainResponse ¶ added in v0.1.36
type DeleteDomainKeyChainResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDomainKeyChainResponse Response Object
func (DeleteDomainKeyChainResponse) String ¶ added in v0.1.36
func (o DeleteDomainKeyChainResponse) String() string
type DeleteDomainMappingRequest ¶
type DeleteDomainMappingRequest struct { // 直播播放域名 PullDomain string `json:"pull_domain"` // 直播推流域名 PushDomain string `json:"push_domain"` }
DeleteDomainMappingRequest Request Object
func (DeleteDomainMappingRequest) String ¶
func (o DeleteDomainMappingRequest) String() string
type DeleteDomainMappingResponse ¶
type DeleteDomainMappingResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDomainMappingResponse Response Object
func (DeleteDomainMappingResponse) String ¶
func (o DeleteDomainMappingResponse) String() string
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { // 直播域名 Domain string `json:"domain"` }
DeleteDomainRequest Request Object
func (DeleteDomainRequest) String ¶
func (o DeleteDomainRequest) String() string
type DeleteDomainResponse ¶
type DeleteDomainResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDomainResponse Response Object
func (DeleteDomainResponse) String ¶
func (o DeleteDomainResponse) String() string
type DeleteOttChannelInfoRequest ¶ added in v0.1.87
type DeleteOttChannelInfoRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` // 推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID Id string `json:"id"` }
DeleteOttChannelInfoRequest Request Object
func (DeleteOttChannelInfoRequest) String ¶ added in v0.1.87
func (o DeleteOttChannelInfoRequest) String() string
type DeleteOttChannelInfoResponse ¶ added in v0.1.87
type DeleteOttChannelInfoResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
DeleteOttChannelInfoResponse Response Object
func (DeleteOttChannelInfoResponse) String ¶ added in v0.1.87
func (o DeleteOttChannelInfoResponse) String() string
type DeletePublishTemplateRequest ¶ added in v0.1.72
type DeletePublishTemplateRequest struct { // 推流域名 Domain string `json:"domain"` }
DeletePublishTemplateRequest Request Object
func (DeletePublishTemplateRequest) String ¶ added in v0.1.72
func (o DeletePublishTemplateRequest) String() string
type DeletePublishTemplateResponse ¶ added in v0.1.72
type DeletePublishTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePublishTemplateResponse Response Object
func (DeletePublishTemplateResponse) String ¶ added in v0.1.72
func (o DeletePublishTemplateResponse) String() string
type DeleteRecordCallbackConfigRequest ¶ added in v0.0.48
type DeleteRecordCallbackConfigRequest struct { // 配置ID Id string `json:"id"` }
DeleteRecordCallbackConfigRequest 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:"-"`
}
DeleteRecordCallbackConfigResponse 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"` }
DeleteRecordRuleRequest 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:"-"`
}
DeleteRecordRuleResponse Response Object
func (DeleteRecordRuleResponse) String ¶ added in v0.0.48
func (o DeleteRecordRuleResponse) String() string
type DeleteRefererChainRequest ¶ added in v0.1.105
type DeleteRefererChainRequest struct { // 直播域名 Domain string `json:"domain"` }
DeleteRefererChainRequest Request Object
func (DeleteRefererChainRequest) String ¶ added in v0.1.105
func (o DeleteRefererChainRequest) String() string
type DeleteRefererChainResponse ¶ added in v0.1.105
type DeleteRefererChainResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteRefererChainResponse Response Object
func (DeleteRefererChainResponse) String ¶ added in v0.1.105
func (o DeleteRefererChainResponse) String() string
type DeleteSnapshotConfigRequest ¶ added in v0.1.36
type DeleteSnapshotConfigRequest struct { // 直播流播放域名 Domain string `json:"domain"` // 应用名称 AppName string `json:"app_name"` }
DeleteSnapshotConfigRequest Request Object
func (DeleteSnapshotConfigRequest) String ¶ added in v0.1.36
func (o DeleteSnapshotConfigRequest) String() string
type DeleteSnapshotConfigResponse ¶ added in v0.1.36
type DeleteSnapshotConfigResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSnapshotConfigResponse Response Object
func (DeleteSnapshotConfigResponse) String ¶ added in v0.1.36
func (o DeleteSnapshotConfigResponse) String() string
type DeleteStreamForbiddenRequest ¶
type DeleteStreamForbiddenRequest struct { // 推流域名 Domain string `json:"domain"` // RTMP应用名称 AppName string `json:"app_name"` // 流名称 StreamName string `json:"stream_name"` }
DeleteStreamForbiddenRequest Request Object
func (DeleteStreamForbiddenRequest) String ¶
func (o DeleteStreamForbiddenRequest) String() string
type DeleteStreamForbiddenResponse ¶
type DeleteStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteStreamForbiddenResponse Response Object
func (DeleteStreamForbiddenResponse) String ¶
func (o DeleteStreamForbiddenResponse) String() string
type DeleteTranscodingsTemplateRequest ¶
type DeleteTranscodingsTemplateRequest struct { // 推流域名 Domain string `json:"domain"` // 应用名称 AppName string `json:"app_name"` }
DeleteTranscodingsTemplateRequest Request Object
func (DeleteTranscodingsTemplateRequest) String ¶
func (o DeleteTranscodingsTemplateRequest) String() string
type DeleteTranscodingsTemplateResponse ¶
type DeleteTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTranscodingsTemplateResponse Response Object
func (DeleteTranscodingsTemplateResponse) String ¶
func (o DeleteTranscodingsTemplateResponse) String() string
type DomainHttpsCertInfo ¶ added in v0.1.36
type DomainHttpsCertInfo struct { // 证书格式,默认为PEM,当前只支持PEM格式 CertificateFormat *DomainHttpsCertInfoCertificateFormat `json:"certificate_format,omitempty"` // 证书内容 Certificate string `json:"certificate"` // 私钥内容 CertificateKey string `json:"certificate_key"` // 是否开启重定向,默认false ForceRedirect *bool `json:"force_redirect,omitempty"` }
func (DomainHttpsCertInfo) String ¶ added in v0.1.36
func (o DomainHttpsCertInfo) String() string
type DomainHttpsCertInfoCertificateFormat ¶ added in v0.1.36
type DomainHttpsCertInfoCertificateFormat struct {
// contains filtered or unexported fields
}
func (DomainHttpsCertInfoCertificateFormat) MarshalJSON ¶ added in v0.1.36
func (c DomainHttpsCertInfoCertificateFormat) MarshalJSON() ([]byte, error)
func (*DomainHttpsCertInfoCertificateFormat) UnmarshalJSON ¶ added in v0.1.36
func (c *DomainHttpsCertInfoCertificateFormat) UnmarshalJSON(b []byte) error
func (DomainHttpsCertInfoCertificateFormat) Value ¶ added in v0.1.36
func (c DomainHttpsCertInfoCertificateFormat) Value() string
type DomainHttpsCertInfoCertificateFormatEnum ¶ added in v0.1.36
type DomainHttpsCertInfoCertificateFormatEnum struct {
PEM DomainHttpsCertInfoCertificateFormat
}
func GetDomainHttpsCertInfoCertificateFormatEnum ¶ added in v0.1.36
func GetDomainHttpsCertInfoCertificateFormatEnum() DomainHttpsCertInfoCertificateFormatEnum
type DomainIpv6SwitchReq ¶ added in v0.1.19
type DomainIpv6SwitchReq struct { // 域名 Domain string `json:"domain"` // IPV6开关配置,默认关闭,true为开启,false为关闭 IsIpv6 *bool `json:"is_ipv6,omitempty"` }
func (DomainIpv6SwitchReq) String ¶ added in v0.1.19
func (o DomainIpv6SwitchReq) String() string
type DomainMapping ¶
type DomainMapping struct { // 直播播放域名 PullDomain string `json:"pull_domain"` // 直播播放域名关联的推流域名 PushDomain string `json:"push_domain"` }
func (DomainMapping) String ¶
func (o DomainMapping) String() string
type Encryption ¶ added in v0.1.87
type Encryption struct { // 密钥缓存时间。如果密钥不变,默认缓存七天 KeyRotationIntervalSeconds *int32 `json:"key_rotation_interval_seconds,omitempty"` // 加密方式 EncryptionMethod *EncryptionEncryptionMethod `json:"encryption_method,omitempty"` // 取值如下: - content:一个频道对应一个密钥 - profile:一个码率对应一个密钥 默认值:content Level *EncryptionLevel `json:"level,omitempty"` // 客户生成的DRM内容ID DrmContentId string `json:"drm_content_id"` // system_id枚举值 SystemIds []EncryptionSystemIds `json:"system_ids"` // 增加到请求消息体header中的鉴权信息 AuthInfo string `json:"auth_info"` // 获取密钥的DRM地址 KmUrl string `json:"km_url"` }
Encryption 加密信息
func (Encryption) String ¶ added in v0.1.87
func (o Encryption) String() string
type EncryptionEncryptionMethod ¶ added in v0.1.87
type EncryptionEncryptionMethod struct {
// contains filtered or unexported fields
}
func (EncryptionEncryptionMethod) MarshalJSON ¶ added in v0.1.87
func (c EncryptionEncryptionMethod) MarshalJSON() ([]byte, error)
func (*EncryptionEncryptionMethod) UnmarshalJSON ¶ added in v0.1.87
func (c *EncryptionEncryptionMethod) UnmarshalJSON(b []byte) error
func (EncryptionEncryptionMethod) Value ¶ added in v0.1.87
func (c EncryptionEncryptionMethod) Value() string
type EncryptionEncryptionMethodEnum ¶ added in v0.1.87
type EncryptionEncryptionMethodEnum struct { SAMPLE_AES EncryptionEncryptionMethod AES_128 EncryptionEncryptionMethod }
func GetEncryptionEncryptionMethodEnum ¶ added in v0.1.87
func GetEncryptionEncryptionMethodEnum() EncryptionEncryptionMethodEnum
type EncryptionLevel ¶ added in v0.1.87
type EncryptionLevel struct {
// contains filtered or unexported fields
}
func (EncryptionLevel) MarshalJSON ¶ added in v0.1.87
func (c EncryptionLevel) MarshalJSON() ([]byte, error)
func (*EncryptionLevel) UnmarshalJSON ¶ added in v0.1.87
func (c *EncryptionLevel) UnmarshalJSON(b []byte) error
func (EncryptionLevel) Value ¶ added in v0.1.87
func (c EncryptionLevel) Value() string
type EncryptionLevelEnum ¶ added in v0.1.87
type EncryptionLevelEnum struct { CONTENT EncryptionLevel PROFILE EncryptionLevel }
func GetEncryptionLevelEnum ¶ added in v0.1.87
func GetEncryptionLevelEnum() EncryptionLevelEnum
type EncryptionSystemIds ¶ added in v0.1.87
type EncryptionSystemIds struct {
// contains filtered or unexported fields
}
func (EncryptionSystemIds) MarshalJSON ¶ added in v0.1.87
func (c EncryptionSystemIds) MarshalJSON() ([]byte, error)
func (*EncryptionSystemIds) UnmarshalJSON ¶ added in v0.1.87
func (c *EncryptionSystemIds) UnmarshalJSON(b []byte) error
func (EncryptionSystemIds) Value ¶ added in v0.1.87
func (c EncryptionSystemIds) Value() string
type EncryptionSystemIdsEnum ¶ added in v0.1.87
type EncryptionSystemIdsEnum struct { WIDEVINE EncryptionSystemIds PLAY_READY EncryptionSystemIds FAIR_PLAY EncryptionSystemIds }
func GetEncryptionSystemIdsEnum ¶ added in v0.1.87
func GetEncryptionSystemIdsEnum() EncryptionSystemIdsEnum
type EndpointItem ¶ added in v0.1.87
type EndpointItem struct { // HLS打包信息 HlsPackage *[]HlsPackageItem `json:"hls_package,omitempty"` // DASH打包信息 DashPackage *[]DashPackageItem `json:"dash_package,omitempty"` // MSS打包信息 MssPackage *[]MssPackageItem `json:"mss_package,omitempty"` }
EndpointItem 拉流打包信息
func (EndpointItem) String ¶ added in v0.1.87
func (o EndpointItem) String() string
type FailoverConditions ¶ added in v0.1.87
type FailoverConditions struct { // 入流停止的时长阈值。到达此阈值后,自动触发主备切换 单位:毫秒,取值范围:0 - 3600000 InputLossThresholdMsec *int32 `json:"input_loss_threshold_msec,omitempty"` // 以主入流URL为第一优先级(PRIMARY)或主备URL平等切换(EQUAL) 如果为平等切换时使用的是备URL,无需手工切换到主URL InputPreference *FailoverConditionsInputPreference `json:"input_preference,omitempty"` }
FailoverConditions 主备切换配置
func (FailoverConditions) String ¶ added in v0.1.87
func (o FailoverConditions) String() string
type FailoverConditionsInputPreference ¶ added in v0.1.87
type FailoverConditionsInputPreference struct {
// contains filtered or unexported fields
}
func (FailoverConditionsInputPreference) MarshalJSON ¶ added in v0.1.87
func (c FailoverConditionsInputPreference) MarshalJSON() ([]byte, error)
func (*FailoverConditionsInputPreference) UnmarshalJSON ¶ added in v0.1.87
func (c *FailoverConditionsInputPreference) UnmarshalJSON(b []byte) error
func (FailoverConditionsInputPreference) Value ¶ added in v0.1.87
func (c FailoverConditionsInputPreference) Value() string
type FailoverConditionsInputPreferenceEnum ¶ added in v0.1.87
type FailoverConditionsInputPreferenceEnum struct { EQUAL FailoverConditionsInputPreference PRIMARY FailoverConditionsInputPreference }
func GetFailoverConditionsInputPreferenceEnum ¶ added in v0.1.87
func GetFailoverConditionsInputPreferenceEnum() FailoverConditionsInputPreferenceEnum
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 GeoBlockingConfigInfo ¶ added in v0.1.72
type GeoBlockingConfigInfo struct { // 应用名 App string `json:"app"` // 限制区域列表, 空列表表示不限制。 除中国以外,其他地区代码,2位字母大写。代码格式参阅[ISO 3166-1 alpha-2](https://www.iso.org/obp/ui/#search/code/) 包含如下部分取值: - CN-IN:中国大陆 - CN-HK:中国香港 - CN-MO:中国澳门 - CN-TW:中国台湾 - BR:巴西 AreaWhitelist *[]string `json:"area_whitelist,omitempty"` }
func (GeoBlockingConfigInfo) String ¶ added in v0.1.72
func (o GeoBlockingConfigInfo) String() string
type HlsPackageItem ¶ added in v0.1.87
type HlsPackageItem struct { // 客户自定义的拉流地址,包括方法、域名、路径和参数 Url string `json:"url"` // 从全量流中过滤出一个码率在[min, max]区间的流。如果不需要码率过滤可不选。 StreamSelection *[]StreamSelectionItem `json:"stream_selection,omitempty"` // HLS版本号 HlsVersion *string `json:"hls_version,omitempty"` // 频道输出分片的时长,为必选项 单位:秒。取值范围:1-10 SegmentDurationSeconds *int32 `json:"segment_duration_seconds,omitempty"` // 频道直播返回分片的窗口长度,为频道输出分片的时长乘以数量后得到的值。实际返回的分片数不小于3个。 单位:秒。取值范围:0 - 86400(24小时转化成秒后的取值) PlaylistWindowSeconds *int32 `json:"playlist_window_seconds,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` // 广告配置 Ads *interface{} `json:"ads,omitempty"` // 其他额外参数 ExtArgs *interface{} `json:"ext_args,omitempty"` RequestArgs *PackageRequestArgs `json:"request_args,omitempty"` }
HlsPackageItem HLS频道出流信息
func (HlsPackageItem) String ¶ added in v0.1.87
func (o HlsPackageItem) 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 InputStreamInfo ¶ added in v0.1.87
type InputStreamInfo struct { // 频道入流协议 - FLV_PULL - RTMP_PUSH - RTMP_PULL - HLS_PULL - SRT_PULL - SRT_PUSH InputProtocol InputStreamInfoInputProtocol `json:"input_protocol"` // 频道主源流信息。入流协议为RTMP_PUSH和SRT_PUSH时,非必填项。其他情况下,均为必填项。 Sources *[]SourcesInfo `json:"sources,omitempty"` // 备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 SecondarySources *[]SecondarySourcesInfo `json:"secondary_sources,omitempty"` FailoverConditions *FailoverConditions `json:"failover_conditions,omitempty"` // 当入流协议为HLS_PULL时,最大带宽限制。 未配置会默认选择BANDWIDTH最高的流 MaxBandwidthLimit *int32 `json:"max_bandwidth_limit,omitempty"` // 当推流协议为SRT_PUSH时,如果配置了直推源站,编码器不支持输入streamid,需要打开设置为true IpPortMode *bool `json:"ip_port_mode,omitempty"` }
InputStreamInfo 频道入流信息
func (InputStreamInfo) String ¶ added in v0.1.87
func (o InputStreamInfo) String() string
type InputStreamInfoInputProtocol ¶ added in v0.1.87
type InputStreamInfoInputProtocol struct {
// contains filtered or unexported fields
}
func (InputStreamInfoInputProtocol) MarshalJSON ¶ added in v0.1.87
func (c InputStreamInfoInputProtocol) MarshalJSON() ([]byte, error)
func (*InputStreamInfoInputProtocol) UnmarshalJSON ¶ added in v0.1.87
func (c *InputStreamInfoInputProtocol) UnmarshalJSON(b []byte) error
func (InputStreamInfoInputProtocol) Value ¶ added in v0.1.87
func (c InputStreamInfoInputProtocol) Value() string
type InputStreamInfoInputProtocolEnum ¶ added in v0.1.87
type InputStreamInfoInputProtocolEnum struct { FLV_PULL InputStreamInfoInputProtocol RTMP_PUSH InputStreamInfoInputProtocol RTMP_PULL InputStreamInfoInputProtocol HLS_PULL InputStreamInfoInputProtocol SRT_PULL InputStreamInfoInputProtocol SRT_PUSH InputStreamInfoInputProtocol }
func GetInputStreamInfoInputProtocolEnum ¶ added in v0.1.87
func GetInputStreamInfoInputProtocolEnum() InputStreamInfoInputProtocolEnum
type IpAuthInfo ¶ added in v0.1.72
type IpAuthInfo struct { // 推流域名或播放域名 Domain string `json:"domain"` // 鉴权类型。 包含如下取值: - WHITE:IP白名单鉴权。 - BLACK:IP黑名单鉴权。 - NONE:不鉴权。 AuthType IpAuthInfoAuthType `json:"auth_type"` // IP黑名单列表,IP之间用;分隔,如192.168.0.0;192.168.0.8,最多支持配置100个IP。支持IP网段添加,例如127.0.0.1/24表示采用子网掩码中的前24位为有效位,即用32-24=8bit来表示主机号,该子网可以容纳2^8 - 2 = 254 台主机。故127.0.0.1/24 表示IP网段范围是:127.0.0.1~127.0.0.255 IpAuthList string `json:"ip_auth_list"` }
func (IpAuthInfo) String ¶ added in v0.1.72
func (o IpAuthInfo) String() string
type IpAuthInfoAuthType ¶ added in v0.1.72
type IpAuthInfoAuthType struct {
// contains filtered or unexported fields
}
func (IpAuthInfoAuthType) MarshalJSON ¶ added in v0.1.72
func (c IpAuthInfoAuthType) MarshalJSON() ([]byte, error)
func (*IpAuthInfoAuthType) UnmarshalJSON ¶ added in v0.1.72
func (c *IpAuthInfoAuthType) UnmarshalJSON(b []byte) error
func (IpAuthInfoAuthType) Value ¶ added in v0.1.72
func (c IpAuthInfoAuthType) Value() string
type IpAuthInfoAuthTypeEnum ¶ added in v0.1.72
type IpAuthInfoAuthTypeEnum struct { WHITE IpAuthInfoAuthType BLACK IpAuthInfoAuthType NONE IpAuthInfoAuthType }
func GetIpAuthInfoAuthTypeEnum ¶ added in v0.1.72
func GetIpAuthInfoAuthTypeEnum() IpAuthInfoAuthTypeEnum
type KeyChainInfo ¶ added in v0.1.36
type KeyChainInfo struct { // 防盗链Key值,由32个字符组成,支持大写字母、小写字母、数字。不可为纯数字或纯字母。 Key string `json:"key"` // 计算鉴权串的方式: - d_sha256:鉴权方式D,采用HMAC-SHA256算法,建议优先选择此方式; - c_aes:鉴权方式C,采用对称加密算法; - b_md5:鉴权方式B,采用MD5信息摘要算法; - a_md5:鉴权方式A,采用MD5信息摘要算法。 > 鉴权方式ABC存在安全风险,鉴权方式D拥有更高的安全性,建议您优先使用鉴权方式D。 AuthType KeyChainInfoAuthType `json:"auth_type"` // URL鉴权信息的超时时长 取值范围:[60,2592000],即1分钟-30天 单位:秒 鉴权信息中携带的请求时间与直播服务收到请求时的时间的最大差值,用于检查直播推流URL或者直播播放URL是否已过期 Timeout int32 `json:"timeout"` }
func (KeyChainInfo) String ¶ added in v0.1.36
func (o KeyChainInfo) String() string
type KeyChainInfoAuthType ¶ added in v0.1.36
type KeyChainInfoAuthType struct {
// contains filtered or unexported fields
}
func (KeyChainInfoAuthType) MarshalJSON ¶ added in v0.1.36
func (c KeyChainInfoAuthType) MarshalJSON() ([]byte, error)
func (*KeyChainInfoAuthType) UnmarshalJSON ¶ added in v0.1.36
func (c *KeyChainInfoAuthType) UnmarshalJSON(b []byte) error
func (KeyChainInfoAuthType) Value ¶ added in v0.1.36
func (c KeyChainInfoAuthType) Value() string
type KeyChainInfoAuthTypeEnum ¶ added in v0.1.36
type KeyChainInfoAuthTypeEnum struct { D_SHA256 KeyChainInfoAuthType C_AES KeyChainInfoAuthType B_MD5 KeyChainInfoAuthType A_MD5 KeyChainInfoAuthType }
func GetKeyChainInfoAuthTypeEnum ¶ added in v0.1.36
func GetKeyChainInfoAuthTypeEnum() KeyChainInfoAuthTypeEnum
type ListDelayConfigRequest ¶ added in v0.1.72
type ListDelayConfigRequest struct { // 播放域名 PlayDomain string `json:"play_domain"` }
ListDelayConfigRequest Request Object
func (ListDelayConfigRequest) String ¶ added in v0.1.72
func (o ListDelayConfigRequest) String() string
type ListDelayConfigResponse ¶ added in v0.1.72
type ListDelayConfigResponse struct { // 播放域名 PlayDomain *string `json:"play_domain,omitempty"` // 直播延时配置 DelayConfig *[]DelayConfig `json:"delay_config,omitempty"` HttpStatusCode int `json:"-"` }
ListDelayConfigResponse Response Object
func (ListDelayConfigResponse) String ¶ added in v0.1.72
func (o ListDelayConfigResponse) String() string
type ListGeoBlockingConfigRequest ¶ added in v0.1.72
type ListGeoBlockingConfigRequest struct { // 播放域名 PlayDomain string `json:"play_domain"` }
ListGeoBlockingConfigRequest Request Object
func (ListGeoBlockingConfigRequest) String ¶ added in v0.1.72
func (o ListGeoBlockingConfigRequest) String() string
type ListGeoBlockingConfigResponse ¶ added in v0.1.72
type ListGeoBlockingConfigResponse struct { // 直播播放域名 PlayDomain *string `json:"play_domain,omitempty"` // 应用列表 Apps *[]GeoBlockingConfigInfo `json:"apps,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListGeoBlockingConfigResponse Response Object
func (ListGeoBlockingConfigResponse) String ¶ added in v0.1.72
func (o ListGeoBlockingConfigResponse) String() string
type ListHlsConfigRequest ¶ added in v0.1.105
type ListHlsConfigRequest struct { // 推流域名 PushDomain string `json:"push_domain"` }
ListHlsConfigRequest Request Object
func (ListHlsConfigRequest) String ¶ added in v0.1.105
func (o ListHlsConfigRequest) String() string
type ListHlsConfigResponse ¶ added in v0.1.105
type ListHlsConfigResponse struct { // 推流域名 PushDomain *string `json:"push_domain,omitempty"` // 推流域名APP配置 Application *[]PushDomainApplication `json:"application,omitempty"` HttpStatusCode int `json:"-"` }
ListHlsConfigResponse Response Object
func (ListHlsConfigResponse) String ¶ added in v0.1.105
func (o ListHlsConfigResponse) String() string
type ListIpAuthListRequest ¶ added in v0.1.72
type ListIpAuthListRequest struct { // 推流域名或播放域名 Domain string `json:"domain"` }
ListIpAuthListRequest Request Object
func (ListIpAuthListRequest) String ¶ added in v0.1.72
func (o ListIpAuthListRequest) String() string
type ListIpAuthListResponse ¶ added in v0.1.72
type ListIpAuthListResponse struct { // 推流域名或播放域名 Domain *string `json:"domain,omitempty"` // 鉴权类型。 包含如下取值: - WHITE:IP白名单鉴权。 - BLACK:IP黑名单鉴权。 - NONE:不鉴权。 AuthType *ListIpAuthListResponseAuthType `json:"auth_type,omitempty"` // IP黑名单列表,IP之间用;分隔,如192.168.0.0;192.168.0.8,最多支持配置100个IP。支持IP网段添加,例如127.0.0.1/24表示采用子网掩码中的前24位为有效位,即用32-24=8bit来表示主机号,该子网可以容纳2^8 - 2 = 254 台主机。故127.0.0.1/24 表示IP网段范围是:127.0.0.1~127.0.0.255 IpAuthList *string `json:"ip_auth_list,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListIpAuthListResponse Response Object
func (ListIpAuthListResponse) String ¶ added in v0.1.72
func (o ListIpAuthListResponse) String() string
type ListIpAuthListResponseAuthType ¶ added in v0.1.72
type ListIpAuthListResponseAuthType struct {
// contains filtered or unexported fields
}
func (ListIpAuthListResponseAuthType) MarshalJSON ¶ added in v0.1.72
func (c ListIpAuthListResponseAuthType) MarshalJSON() ([]byte, error)
func (*ListIpAuthListResponseAuthType) UnmarshalJSON ¶ added in v0.1.72
func (c *ListIpAuthListResponseAuthType) UnmarshalJSON(b []byte) error
func (ListIpAuthListResponseAuthType) Value ¶ added in v0.1.72
func (c ListIpAuthListResponseAuthType) Value() string
type ListIpAuthListResponseAuthTypeEnum ¶ added in v0.1.72
type ListIpAuthListResponseAuthTypeEnum struct { WHITE ListIpAuthListResponseAuthType BLACK ListIpAuthListResponseAuthType NONE ListIpAuthListResponseAuthType }
func GetListIpAuthListResponseAuthTypeEnum ¶ added in v0.1.72
func GetListIpAuthListResponseAuthTypeEnum() ListIpAuthListResponseAuthTypeEnum
type ListLiveSampleLogsRequest ¶
type ListLiveSampleLogsRequest struct { // 播放域名。 PlayDomain string `json:"play_domain"` // 查询开始时间,UTC时间:YYYY-MM-DDTHH:mm:ssZ,如北京时间2020年3月4日16点00分00秒可表示为2020-03-04T08:00:00Z。仅支持查询最近3个月内的数据。 StartTime *sdktime.SdkTime `json:"start_time"` // 查询结束时间,UTC时间:YYYY-MM-DDTHH:mm:ssZ,如北京时间2020年3月4日16点00分00秒可表示为2020-03-04T08:00:00Z。查询时间跨度不能大于7天。 EndTime *sdktime.SdkTime `json:"end_time"` }
ListLiveSampleLogsRequest Request Object
func (ListLiveSampleLogsRequest) String ¶
func (o ListLiveSampleLogsRequest) String() string
type ListLiveSampleLogsResponse ¶
type ListLiveSampleLogsResponse struct { // 符合查询条件的总条目数 Total *int32 `json:"total,omitempty"` // 播放域名 Domain *string `json:"domain,omitempty"` // 日志信息列表 Logs *[]LogInfo `json:"logs,omitempty"` HttpStatusCode int `json:"-"` }
ListLiveSampleLogsResponse Response Object
func (ListLiveSampleLogsResponse) String ¶
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"` }
ListLiveStreamsOnlineRequest 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:"-"` }
ListLiveStreamsOnlineResponse Response Object
func (ListLiveStreamsOnlineResponse) String ¶
func (o ListLiveStreamsOnlineResponse) String() string
type ListOttChannelInfoRequest ¶ added in v0.1.87
type ListOttChannelInfoRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名 AppName *string `json:"app_name,omitempty"` // 频道ID Id *string `json:"id,omitempty"` // 每页记录数,取值范围[1,100],默认值10 Limit *int32 `json:"limit,omitempty"` // 偏移量。表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
ListOttChannelInfoRequest Request Object
func (ListOttChannelInfoRequest) String ¶ added in v0.1.87
func (o ListOttChannelInfoRequest) String() string
type ListOttChannelInfoResponse ¶ added in v0.1.87
type ListOttChannelInfoResponse struct { // 总频道数 Total *int32 `json:"total,omitempty"` // 频道信息 Channels *[]CreateOttChannelInfoReq `json:"channels,omitempty"` HttpStatusCode int `json:"-"` }
ListOttChannelInfoResponse Response Object
func (ListOttChannelInfoResponse) String ¶ added in v0.1.87
func (o ListOttChannelInfoResponse) String() string
type ListPublishTemplateRequest ¶ added in v0.1.72
type ListPublishTemplateRequest struct { // 推流域名 Domain string `json:"domain"` }
ListPublishTemplateRequest Request Object
func (ListPublishTemplateRequest) String ¶ added in v0.1.72
func (o ListPublishTemplateRequest) String() string
type ListPublishTemplateResponse ¶ added in v0.1.72
type ListPublishTemplateResponse struct { // 回调地址 Url *string `json:"url,omitempty"` // 鉴权密钥 AuthSignKey *string `json:"auth_sign_key,omitempty"` // 接收回调通知服务器所在区域。 包含如下取值: - mainland_china:中国大陆区域。 - outside_mainland_china:中国大陆以外区域。 CallBackArea *ListPublishTemplateResponseCallBackArea `json:"call_back_area,omitempty"` HttpStatusCode int `json:"-"` }
ListPublishTemplateResponse Response Object
func (ListPublishTemplateResponse) String ¶ added in v0.1.72
func (o ListPublishTemplateResponse) String() string
type ListPublishTemplateResponseCallBackArea ¶ added in v0.1.72
type ListPublishTemplateResponseCallBackArea struct {
// contains filtered or unexported fields
}
func (ListPublishTemplateResponseCallBackArea) MarshalJSON ¶ added in v0.1.72
func (c ListPublishTemplateResponseCallBackArea) MarshalJSON() ([]byte, error)
func (*ListPublishTemplateResponseCallBackArea) UnmarshalJSON ¶ added in v0.1.72
func (c *ListPublishTemplateResponseCallBackArea) UnmarshalJSON(b []byte) error
func (ListPublishTemplateResponseCallBackArea) Value ¶ added in v0.1.72
func (c ListPublishTemplateResponseCallBackArea) Value() string
type ListPublishTemplateResponseCallBackAreaEnum ¶ added in v0.1.72
type ListPublishTemplateResponseCallBackAreaEnum struct { MAINLAND_CHINA ListPublishTemplateResponseCallBackArea OUTSIDE_MAINLAND_CHINA ListPublishTemplateResponseCallBackArea }
func GetListPublishTemplateResponseCallBackAreaEnum ¶ added in v0.1.72
func GetListPublishTemplateResponseCallBackAreaEnum() ListPublishTemplateResponseCallBackAreaEnum
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"` }
ListRecordCallbackConfigsRequest 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:"-"` }
ListRecordCallbackConfigsResponse 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。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_RECORD:命令录制,在该规则类型配置后,在流推送到录制系统后,租户需要通过命令控制该流的录制开始和结束。 RecordType *ListRecordContentsRequestRecordType `json:"record_type,omitempty"` // 开始时间,格式为:yyyy-mm-ddThh:mm:ssZ,UTC时间 StartTime string `json:"start_time"` // 结束时间,格式为:yyyy-mm-ddThh:mm:ssZ,UTC时间 EndTime *string `json:"end_time,omitempty"` // 分页编号,从0开始算 Offset *int32 `json:"offset,omitempty"` // 每页记录数,取值范围[1,100] Limit *int32 `json:"limit,omitempty"` }
ListRecordContentsRequest Request Object
func (ListRecordContentsRequest) String ¶ 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 }
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:"-"` }
ListRecordContentsResponse 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"` }
ListRecordRulesRequest 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:"-"` }
ListRecordRulesResponse Response Object
func (ListRecordRulesResponse) String ¶ added in v0.0.48
func (o ListRecordRulesResponse) String() string
type ListSnapshotConfigsRequest ¶ added in v0.1.36
type ListSnapshotConfigsRequest struct { // 域名 Domain string `json:"domain"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 每页记录数 取值范围[1,100] 默认值:10 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
ListSnapshotConfigsRequest Request Object
func (ListSnapshotConfigsRequest) String ¶ added in v0.1.36
func (o ListSnapshotConfigsRequest) String() string
type ListSnapshotConfigsResponse ¶ added in v0.1.36
type ListSnapshotConfigsResponse struct { // 总条目数 Total *int32 `json:"total,omitempty"` // 截图配置 SnapshotConfigList *[]LiveSnapshotConfig `json:"snapshot_config_list,omitempty"` // 每页记录数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotConfigsResponse Response Object
func (ListSnapshotConfigsResponse) String ¶ added in v0.1.36
func (o ListSnapshotConfigsResponse) String() string
type ListStreamForbiddenRequest ¶
type ListStreamForbiddenRequest struct { // 推流域名 Domain string `json:"domain"` // 应用名称,不指定则查询domain下所有应用的禁止直播推流信息 AppName *string `json:"app_name,omitempty"` // 流名称 StreamName *string `json:"stream_name,omitempty"` // 分页编号。 默认为0。 Page *int32 `json:"page,omitempty"` // 每页记录数。 取值范围:1-100。 默认为10。 Size *int32 `json:"size,omitempty"` }
ListStreamForbiddenRequest Request Object
func (ListStreamForbiddenRequest) String ¶
func (o ListStreamForbiddenRequest) String() string
type ListStreamForbiddenResponse ¶
type ListStreamForbiddenResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 禁播黑名单列表 Blocks *[]StreamForbiddenList `json:"blocks,omitempty"` HttpStatusCode int `json:"-"` }
ListStreamForbiddenResponse Response Object
func (ListStreamForbiddenResponse) String ¶
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表示中国大陆以外区域 ServiceArea *LiveDomainCreateReqServiceArea `json:"service_area,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (LiveDomainCreateReq) String ¶
func (o LiveDomainCreateReq) String() string
type LiveDomainCreateReqDomainType ¶
type LiveDomainCreateReqDomainType struct {
// contains filtered or unexported fields
}
func (LiveDomainCreateReqDomainType) MarshalJSON ¶
func (c LiveDomainCreateReqDomainType) MarshalJSON() ([]byte, error)
func (*LiveDomainCreateReqDomainType) UnmarshalJSON ¶
func (c *LiveDomainCreateReqDomainType) UnmarshalJSON(b []byte) error
func (LiveDomainCreateReqDomainType) Value ¶ 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 }
func GetLiveDomainCreateReqServiceAreaEnum ¶ added in v0.0.48
func GetLiveDomainCreateReqServiceAreaEnum() LiveDomainCreateReqServiceAreaEnum
type LiveDomainModifyReq ¶
type LiveDomainModifyReq struct { // 直播域名,不允许修改 Domain string `json:"domain"` // 直播域名状态,通过修改此字段,实现域名的启用和停用。注意:域名处于“配置中”状态时,不允对该域名执行启停操作。 Status *LiveDomainModifyReqStatus `json:"status,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (LiveDomainModifyReq) String ¶
func (o LiveDomainModifyReq) String() string
type LiveDomainModifyReqStatus ¶
type LiveDomainModifyReqStatus struct {
// contains filtered or unexported fields
}
func (LiveDomainModifyReqStatus) MarshalJSON ¶
func (c LiveDomainModifyReqStatus) MarshalJSON() ([]byte, error)
func (*LiveDomainModifyReqStatus) UnmarshalJSON ¶
func (c *LiveDomainModifyReqStatus) UnmarshalJSON(b []byte) error
func (LiveDomainModifyReqStatus) Value ¶ 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 LiveRequestArgs ¶ added in v0.1.87
type LiveRequestArgs struct { // 时延字段 Delay *string `json:"delay,omitempty"` // 单位 Unit *string `json:"unit,omitempty"` }
LiveRequestArgs 直播相关配置参数
func (LiveRequestArgs) String ¶ added in v0.1.87
func (o LiveRequestArgs) String() string
type LiveSnapshotConfig ¶ added in v0.1.36
type LiveSnapshotConfig struct { // 直播推流域名 Domain string `json:"domain"` // 应用名称 AppName string `json:"app_name"` // 回调鉴权密钥值 长度范围:[32-128] 若需要使用回调鉴权功能,请配置鉴权密钥,否则,留空即可。 AuthKey *string `json:"auth_key,omitempty"` // 截图频率 取值范围:[5-3600] 单位:秒 TimeInterval int32 `json:"time_interval"` // 在OBS桶存储截图的方式: - 0:实时截图,以时间戳命名截图文件,保存所有截图文件到OBS桶。例:snapshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg - 1:覆盖截图,只保存最新的截图文件,新的截图会覆盖原来的截图文件。例:snapshot/{domain}/{app_name}/{stream_name}.jpg ObjectWriteMode int32 `json:"object_write_mode"` ObsLocation *ObsFileAddr `json:"obs_location"` // 是否启用回调通知 - on:启用。 - off:不启用。 CallBackEnable *LiveSnapshotConfigCallBackEnable `json:"call_back_enable,omitempty"` // 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 CallBackUrl *string `json:"call_back_url,omitempty"` }
func (LiveSnapshotConfig) String ¶ added in v0.1.36
func (o LiveSnapshotConfig) String() string
type LiveSnapshotConfigCallBackEnable ¶ added in v0.1.36
type LiveSnapshotConfigCallBackEnable struct {
// contains filtered or unexported fields
}
func (LiveSnapshotConfigCallBackEnable) MarshalJSON ¶ added in v0.1.36
func (c LiveSnapshotConfigCallBackEnable) MarshalJSON() ([]byte, error)
func (*LiveSnapshotConfigCallBackEnable) UnmarshalJSON ¶ added in v0.1.36
func (c *LiveSnapshotConfigCallBackEnable) UnmarshalJSON(b []byte) error
func (LiveSnapshotConfigCallBackEnable) Value ¶ added in v0.1.36
func (c LiveSnapshotConfigCallBackEnable) Value() string
type LiveSnapshotConfigCallBackEnableEnum ¶ added in v0.1.36
type LiveSnapshotConfigCallBackEnableEnum struct { ON LiveSnapshotConfigCallBackEnable OFF LiveSnapshotConfigCallBackEnable }
func GetLiveSnapshotConfigCallBackEnableEnum ¶ added in v0.1.36
func GetLiveSnapshotConfigCallBackEnableEnum() LiveSnapshotConfigCallBackEnableEnum
type LogInfo ¶
type ModifyDelayConfig ¶ added in v0.1.72
type ModifyDelayConfig struct { // 播放域名 PlayDomain string `json:"play_domain"` // 应用名称,默认为live App *string `json:"app,omitempty"` // 延时时间,单位:ms。 包含如下取值: - 2000(低)。 - 4000(中)。 - 6000(高)。 Delay int32 `json:"delay"` }
func (ModifyDelayConfig) String ¶ added in v0.1.72
func (o ModifyDelayConfig) String() string
type ModifyHlsConfig ¶ added in v0.1.105
type ModifyHlsConfig struct { // 推流域名 PushDomain string `json:"push_domain"` // 推流域名APP配置 Application []PushDomainApplication `json:"application"` }
func (ModifyHlsConfig) String ¶ added in v0.1.105
func (o ModifyHlsConfig) String() string
type ModifyOttChannelEncoderSettings ¶ added in v0.1.87
type ModifyOttChannelEncoderSettings struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项 Id string `json:"id"` // 转码模板配置 EncoderSettings *[]ModifyOttChannelEncoderSettingsEncoderSettings `json:"encoder_settings,omitempty"` }
ModifyOttChannelEncoderSettings OTT频道通用消息
func (ModifyOttChannelEncoderSettings) String ¶ added in v0.1.87
func (o ModifyOttChannelEncoderSettings) String() string
type ModifyOttChannelEncoderSettingsEncoderSettings ¶ added in v0.1.87
type ModifyOttChannelEncoderSettingsEncoderSettings struct { // 转码模板ID TemplateId *string `json:"template_id,omitempty"` }
ModifyOttChannelEncoderSettingsEncoderSettings 转码模板配置项
func (ModifyOttChannelEncoderSettingsEncoderSettings) String ¶ added in v0.1.87
func (o ModifyOttChannelEncoderSettingsEncoderSettings) String() string
type ModifyOttChannelEndPointsReq ¶ added in v0.1.87
type ModifyOttChannelEndPointsReq struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项 Id string `json:"id"` // 频道出流信息 Endpoints *[]EndpointItem `json:"endpoints,omitempty"` }
ModifyOttChannelEndPointsReq OTT频道修改打包消息体
func (ModifyOttChannelEndPointsReq) String ¶ added in v0.1.87
func (o ModifyOttChannelEndPointsReq) String() string
type ModifyOttChannelGeneral ¶ added in v0.1.87
type ModifyOttChannelGeneral struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项 Id string `json:"id"` // 频道名称 Name string `json:"name"` }
ModifyOttChannelGeneral OTT频道修改通用消息
func (ModifyOttChannelGeneral) String ¶ added in v0.1.87
func (o ModifyOttChannelGeneral) String() string
type ModifyOttChannelInfoEncoderSettingsRequest ¶ added in v0.1.87
type ModifyOttChannelInfoEncoderSettingsRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelEncoderSettings `json:"body,omitempty"` }
ModifyOttChannelInfoEncoderSettingsRequest Request Object
func (ModifyOttChannelInfoEncoderSettingsRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoEncoderSettingsRequest) String() string
type ModifyOttChannelInfoEncoderSettingsResponse ¶ added in v0.1.87
type ModifyOttChannelInfoEncoderSettingsResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoEncoderSettingsResponse Response Object
func (ModifyOttChannelInfoEncoderSettingsResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoEncoderSettingsResponse) String() string
type ModifyOttChannelInfoEndPointsRequest ¶ added in v0.1.87
type ModifyOttChannelInfoEndPointsRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelEndPointsReq `json:"body,omitempty"` }
ModifyOttChannelInfoEndPointsRequest Request Object
func (ModifyOttChannelInfoEndPointsRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoEndPointsRequest) String() string
type ModifyOttChannelInfoEndPointsResponse ¶ added in v0.1.87
type ModifyOttChannelInfoEndPointsResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoEndPointsResponse Response Object
func (ModifyOttChannelInfoEndPointsResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoEndPointsResponse) String() string
type ModifyOttChannelInfoGeneralRequest ¶ added in v0.1.87
type ModifyOttChannelInfoGeneralRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelGeneral `json:"body,omitempty"` }
ModifyOttChannelInfoGeneralRequest Request Object
func (ModifyOttChannelInfoGeneralRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoGeneralRequest) String() string
type ModifyOttChannelInfoGeneralResponse ¶ added in v0.1.87
type ModifyOttChannelInfoGeneralResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoGeneralResponse Response Object
func (ModifyOttChannelInfoGeneralResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoGeneralResponse) String() string
type ModifyOttChannelInfoInputRequest ¶ added in v0.1.87
type ModifyOttChannelInfoInputRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelInputReq `json:"body,omitempty"` }
ModifyOttChannelInfoInputRequest Request Object
func (ModifyOttChannelInfoInputRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoInputRequest) String() string
type ModifyOttChannelInfoInputResponse ¶ added in v0.1.87
type ModifyOttChannelInfoInputResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoInputResponse Response Object
func (ModifyOttChannelInfoInputResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoInputResponse) String() string
type ModifyOttChannelInfoRecordSettingsRequest ¶ added in v0.1.87
type ModifyOttChannelInfoRecordSettingsRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelRecordSettings `json:"body,omitempty"` }
ModifyOttChannelInfoRecordSettingsRequest Request Object
func (ModifyOttChannelInfoRecordSettingsRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoRecordSettingsRequest) String() string
type ModifyOttChannelInfoRecordSettingsResponse ¶ added in v0.1.87
type ModifyOttChannelInfoRecordSettingsResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoRecordSettingsResponse Response Object
func (ModifyOttChannelInfoRecordSettingsResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoRecordSettingsResponse) String() string
type ModifyOttChannelInfoStatsRequest ¶ added in v0.1.87
type ModifyOttChannelInfoStatsRequest struct { // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。 AccessControlAllowInternal *string `json:"Access-Control-Allow-Internal,omitempty"` // 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 AccessControlAllowExternal *string `json:"Access-Control-Allow-External,omitempty"` Body *ModifyOttChannelState `json:"body,omitempty"` }
ModifyOttChannelInfoStatsRequest Request Object
func (ModifyOttChannelInfoStatsRequest) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoStatsRequest) String() string
type ModifyOttChannelInfoStatsResponse ¶ added in v0.1.87
type ModifyOttChannelInfoStatsResponse struct { // 错误码 ResultCode *string `json:"result_code,omitempty"` // 错误描述 ResultMsg *string `json:"result_msg,omitempty"` // 推流域名 Domain *string `json:"domain,omitempty"` // 组名或应用名,为必填项 AppName *string `json:"app_name,omitempty"` // 频道ID。频道唯一标识,为必填项 Id *string `json:"id,omitempty"` // 推流URL列表。创建频道时,只有入流协议为RTMP_PUSH时,会返回推流URL列表 Sources *[]SourceRsp `json:"sources,omitempty"` HttpStatusCode int `json:"-"` }
ModifyOttChannelInfoStatsResponse Response Object
func (ModifyOttChannelInfoStatsResponse) String ¶ added in v0.1.87
func (o ModifyOttChannelInfoStatsResponse) String() string
type ModifyOttChannelInputReq ¶ added in v0.1.87
type ModifyOttChannelInputReq struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项 Id string `json:"id"` Input *InputStreamInfo `json:"input,omitempty"` }
ModifyOttChannelInputReq OTT频道修改入流消息体
func (ModifyOttChannelInputReq) String ¶ added in v0.1.87
func (o ModifyOttChannelInputReq) String() string
type ModifyOttChannelRecordSettings ¶ added in v0.1.87
type ModifyOttChannelRecordSettings struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项 Id string `json:"id"` RecordSettings *ModifyOttChannelRecordSettingsRecordSettings `json:"record_settings,omitempty"` }
ModifyOttChannelRecordSettings OTT频道修改录制消息体
func (ModifyOttChannelRecordSettings) String ¶ added in v0.1.87
func (o ModifyOttChannelRecordSettings) String() string
type ModifyOttChannelRecordSettingsRecordSettings ¶ added in v0.1.87
type ModifyOttChannelRecordSettingsRecordSettings struct { // 最大回看录制时长。在此时间段内会连续不断的录制,为必选项 单位:秒。取值为“0”时,表示不支持录制;最大支持录制14天。 RollingbufferDuration *int32 `json:"rollingbuffer_duration,omitempty"` }
ModifyOttChannelRecordSettingsRecordSettings 最大回看录制时长。在此时间段内会连续不断的录制,为必选项 单位:秒。取值为“0”时,表示不支持录制;最大支持录制14天
func (ModifyOttChannelRecordSettingsRecordSettings) String ¶ added in v0.1.87
func (o ModifyOttChannelRecordSettingsRecordSettings) String() string
type ModifyOttChannelState ¶ added in v0.1.87
type ModifyOttChannelState struct { // 频道推流域名 Domain string `json:"domain"` // 组名或应用名 AppName string `json:"app_name"` // 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务 Id string `json:"id"` // 频道状态 - ON:频道下发成功后,自动启动拉流、转码、录制等功能 - OFF:仅保存频道信息,不启动频道 State ModifyOttChannelStateState `json:"state"` }
ModifyOttChannelState OTT频道修改状态
func (ModifyOttChannelState) String ¶ added in v0.1.87
func (o ModifyOttChannelState) String() string
type ModifyOttChannelStateState ¶ added in v0.1.87
type ModifyOttChannelStateState struct {
// contains filtered or unexported fields
}
func (ModifyOttChannelStateState) MarshalJSON ¶ added in v0.1.87
func (c ModifyOttChannelStateState) MarshalJSON() ([]byte, error)
func (*ModifyOttChannelStateState) UnmarshalJSON ¶ added in v0.1.87
func (c *ModifyOttChannelStateState) UnmarshalJSON(b []byte) error
func (ModifyOttChannelStateState) Value ¶ added in v0.1.87
func (c ModifyOttChannelStateState) Value() string
type ModifyOttChannelStateStateEnum ¶ added in v0.1.87
type ModifyOttChannelStateStateEnum struct { ON ModifyOttChannelStateState OFF ModifyOttChannelStateState }
func GetModifyOttChannelStateStateEnum ¶ added in v0.1.87
func GetModifyOttChannelStateStateEnum() ModifyOttChannelStateStateEnum
type ModifyPullSourcesConfig ¶ added in v0.1.72
type ModifyPullSourcesConfig struct { // 直播播放域名 PlayDomain string `json:"play_domain"` // 回源方式。 包含如下取值: - domain: 回源客户源站,源站地址是域名格式。回源域名,可配置多个,如果回源失败,将按照配置顺序进行轮循。 - ipaddr: 回源客户源站,源站地址是IP格式。回源IP,可配置多个,如果回源失败,将按照配置顺序进行轮循。同时,最多可以配置一个回源域名,如果配置,回源时httpflv HOST头填该域名,RTMP tcurl字段填该域名,否则按当前IP作为HOST。 - huawei: 回源华为源站,域名创建后的默认值。 SourceType ModifyPullSourcesConfigSourceType `json:"source_type"` // 回源域名列表,最多可配置10个。 - 当回源方式是“domain”时,此参数必选,域名配置多个时,如果回源失败,将按照配置顺序进行轮循。 - 当回源方式是“ipaddr”时,最多可以配置一个回源域名,如果配置,回源时httpflv HOST头填该域名,RTMP tcurl 字段填该域名,否则按当前IP作为HOST。 Sources *[]string `json:"sources,omitempty"` // 回源IP地址列表,最多可配置10个。当回源方式是“ipaddr”时,此参数必选,IP配置多个时,如果回源失败,将按照配置顺序进行轮循。 SourcesIp *[]string `json:"sources_ip,omitempty"` // 回源端口。 SourcePort *int32 `json:"source_port,omitempty"` // 回源协议,回源方式非“huawei”时必选。 包含如下取值: - http - rtmp Scheme *ModifyPullSourcesConfigScheme `json:"scheme,omitempty"` // 回源客户源站时在URL携带的参数。 AdditionalArgs map[string]string `json:"additional_args,omitempty"` }
func (ModifyPullSourcesConfig) String ¶ added in v0.1.72
func (o ModifyPullSourcesConfig) String() string
type ModifyPullSourcesConfigScheme ¶ added in v0.1.72
type ModifyPullSourcesConfigScheme struct {
// contains filtered or unexported fields
}
func (ModifyPullSourcesConfigScheme) MarshalJSON ¶ added in v0.1.72
func (c ModifyPullSourcesConfigScheme) MarshalJSON() ([]byte, error)
func (*ModifyPullSourcesConfigScheme) UnmarshalJSON ¶ added in v0.1.72
func (c *ModifyPullSourcesConfigScheme) UnmarshalJSON(b []byte) error
func (ModifyPullSourcesConfigScheme) Value ¶ added in v0.1.72
func (c ModifyPullSourcesConfigScheme) Value() string
type ModifyPullSourcesConfigSchemeEnum ¶ added in v0.1.72
type ModifyPullSourcesConfigSchemeEnum struct { HTTP ModifyPullSourcesConfigScheme RTMP ModifyPullSourcesConfigScheme }
func GetModifyPullSourcesConfigSchemeEnum ¶ added in v0.1.72
func GetModifyPullSourcesConfigSchemeEnum() ModifyPullSourcesConfigSchemeEnum
type ModifyPullSourcesConfigSourceType ¶ added in v0.1.72
type ModifyPullSourcesConfigSourceType struct {
// contains filtered or unexported fields
}
func (ModifyPullSourcesConfigSourceType) MarshalJSON ¶ added in v0.1.72
func (c ModifyPullSourcesConfigSourceType) MarshalJSON() ([]byte, error)
func (*ModifyPullSourcesConfigSourceType) UnmarshalJSON ¶ added in v0.1.72
func (c *ModifyPullSourcesConfigSourceType) UnmarshalJSON(b []byte) error
func (ModifyPullSourcesConfigSourceType) Value ¶ added in v0.1.72
func (c ModifyPullSourcesConfigSourceType) Value() string
type ModifyPullSourcesConfigSourceTypeEnum ¶ added in v0.1.72
type ModifyPullSourcesConfigSourceTypeEnum struct { DOMAIN ModifyPullSourcesConfigSourceType IPADDR ModifyPullSourcesConfigSourceType HUAWEI ModifyPullSourcesConfigSourceType }
func GetModifyPullSourcesConfigSourceTypeEnum ¶ added in v0.1.72
func GetModifyPullSourcesConfigSourceTypeEnum() ModifyPullSourcesConfigSourceTypeEnum
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 MssPackageItem ¶ added in v0.1.87
type MssPackageItem struct { // 客户自定义的拉流地址,包括方法、域名、路径和参数 Url string `json:"url"` // 从全量流中过滤出一个码率在[min, max]区间的流。如果不需要码率过滤可不选。 StreamSelection *[]StreamSelectionItem `json:"stream_selection,omitempty"` // 频道输出分片的时长,为必选项 单位:秒。取值范围:1-10 SegmentDurationSeconds *int32 `json:"segment_duration_seconds,omitempty"` // 频道直播返回分片的窗口长度,为频道输出分片的时长乘以数量后得到的值。实际返回的分片数不小于3个。 单位:秒。取值范围:0 - 86400(24小时转化成秒后的取值) PlaylistWindowSeconds *int32 `json:"playlist_window_seconds,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` // 其他额外参数 ExtArgs *interface{} `json:"ext_args,omitempty"` // 延播时长,单位秒 DelaySegment *int32 `json:"delay_segment,omitempty"` RequestArgs *PackageRequestArgs `json:"request_args,omitempty"` }
MssPackageItem MSS频道出流信息
func (MssPackageItem) String ¶ added in v0.1.87
func (o MssPackageItem) String() string
type ObsAuthorityConfigV2 ¶ added in v0.1.36
type ObsAuthorityConfigV2 struct { // OBS桶名 Bucket string `json:"bucket"` // 操作 - 1:授权 - 0:取消授权 Operation int32 `json:"operation"` }
func (ObsAuthorityConfigV2) String ¶ added in v0.1.36
func (o ObsAuthorityConfigV2) String() string
type ObsFileAddr ¶
type ObsFileAddr struct { // OBS的bucket名称 Bucket string `json:"bucket"` // OBS Bucket所在的区域,且必须保持与使用的直播服务区域保持一致。 Location string `json:"location"` // OBS对象路径,遵守OSS Object定义 - 当用于指示input时,需要指定到具体对象 - 当用于指示output时,只需指定到转码结果期望存放的路径 Object string `json:"object"` }
func (ObsFileAddr) String ¶
func (o ObsFileAddr) String() string
type OnlineInfo ¶
type OnlineInfo struct { // 域名 PublishDomain string `json:"publish_domain"` // 应用名 App string `json:"app"` // 流名 Stream string `json:"stream"` // 视频编码方式 - H264 - H265 VideoCodec OnlineInfoVideoCodec `json:"video_codec"` // 音频编码方式 - AAC AudioCodec OnlineInfoAudioCodec `json:"audio_codec"` // 视频帧率 VideoFrameRate *int64 `json:"video_frame_rate,omitempty"` // 音频帧率 AudioFrameRate *int64 `json:"audio_frame_rate,omitempty"` // 视频码率 VideoBitrate *int64 `json:"video_bitrate,omitempty"` // 音频码率 AudioBitrate *int64 `json:"audio_bitrate,omitempty"` // 视频分辨率 Resolution *string `json:"resolution,omitempty"` // 推流设备的ip ClientIp string `json:"client_ip"` // 开始推流时刻 UTC格式 2006-01-02T15:04:05Z StartTime string `json:"start_time"` }
func (OnlineInfo) String ¶
func (o OnlineInfo) String() string
type OnlineInfoAudioCodec ¶
type OnlineInfoAudioCodec struct {
// contains filtered or unexported fields
}
func (OnlineInfoAudioCodec) MarshalJSON ¶
func (c OnlineInfoAudioCodec) MarshalJSON() ([]byte, error)
func (*OnlineInfoAudioCodec) UnmarshalJSON ¶
func (c *OnlineInfoAudioCodec) UnmarshalJSON(b []byte) error
func (OnlineInfoAudioCodec) Value ¶ 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 PackageRequestArgs ¶ added in v0.1.87
type PackageRequestArgs struct { // 录制播放相关配置 Record *[]RecordRequestArgs `json:"record,omitempty"` // 时移播放相关配置 Timeshift *[]TimeshiftRequestArgs `json:"timeshift,omitempty"` // 直播播放相关配置 Live *[]LiveRequestArgs `json:"live,omitempty"` }
func (PackageRequestArgs) String ¶ added in v0.1.87
func (o PackageRequestArgs) String() string
type PushDomainApplication ¶ added in v0.1.105
type PushDomainApplication struct { // 应用名,默认为live Name *string `json:"name,omitempty"` // HLS切片时长,单位:s。 HlsFragment *int32 `json:"hls_fragment,omitempty"` // 每个M3U8文件内ts切片个数 HlsTsCount *int32 `json:"hls_ts_count,omitempty"` // 每个M3U8文件内最小ts分片数 HlsMinFrags *int32 `json:"hls_min_frags,omitempty"` }
func (PushDomainApplication) String ¶ added in v0.1.105
func (o PushDomainApplication) String() string
type QualityInfo ¶
type QualityInfo struct { // 自定义模板名称。 - 若需要自定义模板名称,请将quality参数设置为userdefine; - 多个自定义模板名称之间不能重复; - 自定义模板名称不能与其他模板的quality参数重复; - 若quality不为userdefine,请勿填写此字段。 TemplateName *string `json:"templateName,omitempty"` // 包含如下取值: - lud: 超高清,系统缺省名称; - lhd: 高清,系统缺省名称; - lsd: 标清,系统缺省名称; - lld: 流畅,系统缺省名称; - userdefine: 视频质量自定义。填写userdefine时,templateName字段不能为空。 Quality string `json:"quality"` // 是否使用窄带高清转码。默认值:off。 注意:该字段已不再维护,建议使用hdlb。 包含如下取值: - off:不启用。 - on:启用。 Pvc *QualityInfoPvc `json:"PVC,omitempty"` // 是否启用高清低码,较PVC相比画质增强。默认值:off。 提示:使用hdlb字段开启高清低码时,PVC字段不生效。 包含如下取值: - off:不开启高清低码; - on:开启高清低码。 Hdlb *QualityInfoHdlb `json:"hdlb,omitempty"` // 视频编码格式。默认为H264。 - H264:使用H.264。 - H265:使用H.265。 Codec *QualityInfoCodec `json:"codec,omitempty"` // 视频长边(横屏的宽,竖屏的高) 单位:像素;默认值:0 - H264 建议取值范围:32-3840,必须为2的倍数 。 - H265 建议取值范围:320-3840 ,必须为2的倍数。 注意:width和height全为0,则输出分辨率和源一致;width和height只有一个为0, 则分辨率按非0项的比例缩放。 Width *int32 `json:"width,omitempty"` // 视频短边(横屏的高,竖屏的宽) 单位:像素;默认值:0 - H264 建议取值范围:32-2160,必须为2的倍数。 - H265 建议取值范围:240-2160,必须为2的倍数。 注意:width和height全为0,则输出分辨率和源一致;width和height只有一个为0, 则分辨率按非0项的比例缩放。 Height *int32 `json:"height,omitempty"` // 转码视频的码率 单位:Kbps 取值范围:40-30000 Bitrate int32 `json:"bitrate"` // 转码视频帧率 单位:fps 默认值:0 取值范围:0-60,0表示保持帧率不变。 VideoFrameRate *int32 `json:"video_frame_rate,omitempty"` // 转码输出支持的协议类型。默认为RTMP。当前只支持RTMP。 包含如下取值: - RTMP Protocol *QualityInfoProtocol `json:"protocol,omitempty"` // 最大I帧间隔 单位:帧数 取值范围:[0, 500],默认值:50 注意:若希望通过iFrameInterval设置i帧间隔,请将gop设为0,或不传gop参数。 IFrameInterval *int32 `json:"iFrameInterval,omitempty"` // 按时间设置I帧间隔 单位:秒 取值范围:[0,10],默认值:2 注意:gop不为0时,则以gop设置i帧间隔,iFrameInterval字段不生效。 Gop *int32 `json:"gop,omitempty"` // 自适应码率参数,默认值:off。 包含如下取值: - off:关闭码率自适应,目标码率按设定的码率输出; - minimum:目标码率按设定码率和源文件码率最小值输出(即码率不上扬); - adaptive:目标码率按源文件码率自适应输出。 BitrateAdaptive *QualityInfoBitrateAdaptive `json:"bitrate_adaptive,omitempty"` // 编码输出I帧策略,默认值:auto。 包含如下取值: - auto:I帧按设置的gop时长输出; - strictSync:编码输出I帧完全和源保持一致(源是I帧则编码输出I帧,源不是I帧则编码非I帧),设置该参数后gop时长设置无效。 IFramePolicy *QualityInfoIFramePolicy `json:"i_frame_policy,omitempty"` }
func (QualityInfo) String ¶
func (o QualityInfo) String() string
type QualityInfoBitrateAdaptive ¶ added in v0.1.60
type QualityInfoBitrateAdaptive struct {
// contains filtered or unexported fields
}
func (QualityInfoBitrateAdaptive) MarshalJSON ¶ added in v0.1.60
func (c QualityInfoBitrateAdaptive) MarshalJSON() ([]byte, error)
func (*QualityInfoBitrateAdaptive) UnmarshalJSON ¶ added in v0.1.60
func (c *QualityInfoBitrateAdaptive) UnmarshalJSON(b []byte) error
func (QualityInfoBitrateAdaptive) Value ¶ added in v0.1.60
func (c QualityInfoBitrateAdaptive) Value() string
type QualityInfoBitrateAdaptiveEnum ¶ added in v0.1.60
type QualityInfoBitrateAdaptiveEnum struct { MINIMUM QualityInfoBitrateAdaptive ADAPTIVE QualityInfoBitrateAdaptive }
func GetQualityInfoBitrateAdaptiveEnum ¶ added in v0.1.60
func GetQualityInfoBitrateAdaptiveEnum() QualityInfoBitrateAdaptiveEnum
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 QualityInfoIFramePolicy ¶ added in v0.1.60
type QualityInfoIFramePolicy struct {
// contains filtered or unexported fields
}
func (QualityInfoIFramePolicy) MarshalJSON ¶ added in v0.1.60
func (c QualityInfoIFramePolicy) MarshalJSON() ([]byte, error)
func (*QualityInfoIFramePolicy) UnmarshalJSON ¶ added in v0.1.60
func (c *QualityInfoIFramePolicy) UnmarshalJSON(b []byte) error
func (QualityInfoIFramePolicy) Value ¶ added in v0.1.60
func (c QualityInfoIFramePolicy) Value() string
type QualityInfoIFramePolicyEnum ¶ added in v0.1.60
type QualityInfoIFramePolicyEnum struct { AUTO QualityInfoIFramePolicy STRICT_SYNC QualityInfoIFramePolicy }
func GetQualityInfoIFramePolicyEnum ¶ added in v0.1.60
func GetQualityInfoIFramePolicyEnum() QualityInfoIFramePolicyEnum
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"` // 回调秘钥,主要用于鉴权。为了保护用户数据信息安全,建议填写。 Key *string `json:"key,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。默认CONTINUOUS_RECORD。 - CONTINUOUS_RECORD:持续录制,在该规则类型配置后,只要有流到推送到录制系统,就触发录制。 - COMMAND_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 }
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 RecordIndexRequestBody ¶ added in v0.0.101
type RecordIndexRequestBody struct { // 推流域名 PublishDomain string `json:"publish_domain"` // app名 App string `json:"app"` // 流名 Stream string `json:"stream"` // 开始时间。格式为:YYYY-MM-DDTHH:mm:ssZ(UTC时间),开始时间与结束时间的间隔最大为12小时。 StartTime *sdktime.SdkTime `json:"start_time"` // 结束时间。格式为:YYYY-MM-DDTHH:mm:ssZ(UTC时间),开始时间与结束时间的间隔最大为12小时。结束时间不允许大于当前时间。 EndTime *sdktime.SdkTime `json:"end_time"` // \"m3u8文件在OBS中的储存路径。支持下列字符串的转义 - {publish_domain} - {app} - {stream} - {start_time} - {end_time} 其中{start_time},{end_time}为返回结果的实际时间。 默认值为Index/{publish_domain}/{app}/{stream}/{stream}-{start_time}-{end_time}\" Object *string `json:"object,omitempty"` }
func (RecordIndexRequestBody) String ¶ added in v0.0.101
func (o RecordIndexRequestBody) 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 RecordRequestArgs ¶ added in v0.1.87
type RecordRequestArgs struct { // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 格式 Format *string `json:"format,omitempty"` // 单位 Unit *string `json:"unit,omitempty"` }
RecordRequestArgs 录制相关配置参数
func (RecordRequestArgs) String ¶ added in v0.1.87
func (o RecordRequestArgs) String() string
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"` }
RunRecordRequest 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:"-"` }
RunRecordResponse Response Object
func (RunRecordResponse) String ¶ added in v0.0.68
func (o RunRecordResponse) String() string
type SecondarySourcesInfo ¶ added in v0.1.87
type SecondarySourcesInfo struct { // 频道源流URL,用于外部拉流 Url *string `json:"url,omitempty"` // 码率。无需直播转码时,此参数为必填项 单位:bps。取值范围:0 - 104,857,600(100Mbps) Bitrate *int32 `json:"bitrate,omitempty"` // 分辨率对应宽的值,非必填项 取值范围:0 - 4096(4K) Width *int32 `json:"width,omitempty"` // 分辨率对应高的值,非必填项 取值范围:0 - 2160(4K) Height *int32 `json:"height,omitempty"` // 是否使用bitrate来固定码率。默认值:false BitrateFor3u8 *bool `json:"bitrate_for3u8,omitempty"` // 协议为SRT_PUSH时的加密信息 Passphrase *string `json:"passphrase,omitempty"` // 备入流地址列表 BackupUrls *[]string `json:"backup_urls,omitempty"` // 协议为SRT_PULL时,拉流地址的streamid StreamId *string `json:"stream_id,omitempty"` // 协议为SRT_PULL时,拉流时延 Latency *int32 `json:"latency,omitempty"` }
SecondarySourcesInfo 主入流信息
func (SecondarySourcesInfo) String ¶ added in v0.1.87
func (o SecondarySourcesInfo) String() string
type SetRefererChainInfo ¶ added in v0.1.105
type SetRefererChainInfo struct { // 直播域名 Domain string `json:"domain"` // referer防盗链开关:true表示开启;false表示关闭 GuardSwitch SetRefererChainInfoGuardSwitch `json:"guard_switch"` // 是否包含referer头域:true表示包含;false表示不包含;guard_switch为true则必填 RefererConfigEmpty *SetRefererChainInfoRefererConfigEmpty `json:"referer_config_empty,omitempty"` // 是否为referer白名单:true表示白名单;false表示黑名单;guard_switch为true则必填 RefererWhiteList *SetRefererChainInfoRefererWhiteList `json:"referer_white_list,omitempty"` // 域名列表,域名为正则表达式;最多支持配置100个域名,以英文“;”进行分隔;guard_switch为true则必填 RefererAuthList *[]string `json:"referer_auth_list,omitempty"` }
func (SetRefererChainInfo) String ¶ added in v0.1.105
func (o SetRefererChainInfo) String() string
type SetRefererChainInfoGuardSwitch ¶ added in v0.1.105
type SetRefererChainInfoGuardSwitch struct {
// contains filtered or unexported fields
}
func (SetRefererChainInfoGuardSwitch) MarshalJSON ¶ added in v0.1.105
func (c SetRefererChainInfoGuardSwitch) MarshalJSON() ([]byte, error)
func (*SetRefererChainInfoGuardSwitch) UnmarshalJSON ¶ added in v0.1.105
func (c *SetRefererChainInfoGuardSwitch) UnmarshalJSON(b []byte) error
func (SetRefererChainInfoGuardSwitch) Value ¶ added in v0.1.105
func (c SetRefererChainInfoGuardSwitch) Value() string
type SetRefererChainInfoGuardSwitchEnum ¶ added in v0.1.105
type SetRefererChainInfoGuardSwitchEnum struct { TRUE SetRefererChainInfoGuardSwitch FALSE SetRefererChainInfoGuardSwitch }
func GetSetRefererChainInfoGuardSwitchEnum ¶ added in v0.1.105
func GetSetRefererChainInfoGuardSwitchEnum() SetRefererChainInfoGuardSwitchEnum
type SetRefererChainInfoRefererConfigEmpty ¶ added in v0.1.105
type SetRefererChainInfoRefererConfigEmpty struct {
// contains filtered or unexported fields
}
func (SetRefererChainInfoRefererConfigEmpty) MarshalJSON ¶ added in v0.1.105
func (c SetRefererChainInfoRefererConfigEmpty) MarshalJSON() ([]byte, error)
func (*SetRefererChainInfoRefererConfigEmpty) UnmarshalJSON ¶ added in v0.1.105
func (c *SetRefererChainInfoRefererConfigEmpty) UnmarshalJSON(b []byte) error
func (SetRefererChainInfoRefererConfigEmpty) Value ¶ added in v0.1.105
func (c SetRefererChainInfoRefererConfigEmpty) Value() string
type SetRefererChainInfoRefererConfigEmptyEnum ¶ added in v0.1.105
type SetRefererChainInfoRefererConfigEmptyEnum struct { TRUE SetRefererChainInfoRefererConfigEmpty FALSE SetRefererChainInfoRefererConfigEmpty }
func GetSetRefererChainInfoRefererConfigEmptyEnum ¶ added in v0.1.105
func GetSetRefererChainInfoRefererConfigEmptyEnum() SetRefererChainInfoRefererConfigEmptyEnum
type SetRefererChainInfoRefererWhiteList ¶ added in v0.1.105
type SetRefererChainInfoRefererWhiteList struct {
// contains filtered or unexported fields
}
func (SetRefererChainInfoRefererWhiteList) MarshalJSON ¶ added in v0.1.105
func (c SetRefererChainInfoRefererWhiteList) MarshalJSON() ([]byte, error)
func (*SetRefererChainInfoRefererWhiteList) UnmarshalJSON ¶ added in v0.1.105
func (c *SetRefererChainInfoRefererWhiteList) UnmarshalJSON(b []byte) error
func (SetRefererChainInfoRefererWhiteList) Value ¶ added in v0.1.105
func (c SetRefererChainInfoRefererWhiteList) Value() string
type SetRefererChainInfoRefererWhiteListEnum ¶ added in v0.1.105
type SetRefererChainInfoRefererWhiteListEnum struct { TRUE SetRefererChainInfoRefererWhiteList FALSE SetRefererChainInfoRefererWhiteList }
func GetSetRefererChainInfoRefererWhiteListEnum ¶ added in v0.1.105
func GetSetRefererChainInfoRefererWhiteListEnum() SetRefererChainInfoRefererWhiteListEnum
type SetRefererChainRequest ¶ added in v0.1.105
type SetRefererChainRequest struct {
Body *SetRefererChainInfo `json:"body,omitempty"`
}
SetRefererChainRequest Request Object
func (SetRefererChainRequest) String ¶ added in v0.1.105
func (o SetRefererChainRequest) String() string
type SetRefererChainResponse ¶ added in v0.1.105
type SetRefererChainResponse struct {
HttpStatusCode int `json:"-"`
}
SetRefererChainResponse Response Object
func (SetRefererChainResponse) String ¶ added in v0.1.105
func (o SetRefererChainResponse) String() string
type ShowDomainHttpsCertRequest ¶ added in v0.1.36
type ShowDomainHttpsCertRequest struct { // 直播播放域名 Domain string `json:"domain"` }
ShowDomainHttpsCertRequest Request Object
func (ShowDomainHttpsCertRequest) String ¶ added in v0.1.36
func (o ShowDomainHttpsCertRequest) String() string
type ShowDomainHttpsCertResponse ¶ added in v0.1.36
type ShowDomainHttpsCertResponse struct { // 证书格式,默认为PEM,当前只支持PEM格式 CertificateFormat *ShowDomainHttpsCertResponseCertificateFormat `json:"certificate_format,omitempty"` // 证书内容 Certificate *string `json:"certificate,omitempty"` // 私钥内容 CertificateKey *string `json:"certificate_key,omitempty"` // 是否开启重定向,默认false ForceRedirect *bool `json:"force_redirect,omitempty"` HttpStatusCode int `json:"-"` }
ShowDomainHttpsCertResponse Response Object
func (ShowDomainHttpsCertResponse) String ¶ added in v0.1.36
func (o ShowDomainHttpsCertResponse) String() string
type ShowDomainHttpsCertResponseCertificateFormat ¶ added in v0.1.36
type ShowDomainHttpsCertResponseCertificateFormat struct {
// contains filtered or unexported fields
}
func (ShowDomainHttpsCertResponseCertificateFormat) MarshalJSON ¶ added in v0.1.36
func (c ShowDomainHttpsCertResponseCertificateFormat) MarshalJSON() ([]byte, error)
func (*ShowDomainHttpsCertResponseCertificateFormat) UnmarshalJSON ¶ added in v0.1.36
func (c *ShowDomainHttpsCertResponseCertificateFormat) UnmarshalJSON(b []byte) error
func (ShowDomainHttpsCertResponseCertificateFormat) Value ¶ added in v0.1.36
func (c ShowDomainHttpsCertResponseCertificateFormat) Value() string
type ShowDomainHttpsCertResponseCertificateFormatEnum ¶ added in v0.1.36
type ShowDomainHttpsCertResponseCertificateFormatEnum struct {
PEM ShowDomainHttpsCertResponseCertificateFormat
}
func GetShowDomainHttpsCertResponseCertificateFormatEnum ¶ added in v0.1.36
func GetShowDomainHttpsCertResponseCertificateFormatEnum() ShowDomainHttpsCertResponseCertificateFormatEnum
type ShowDomainKeyChainRequest ¶ added in v0.1.36
type ShowDomainKeyChainRequest struct { // 直播域名,包括推流域名和播放域名 Domain string `json:"domain"` }
ShowDomainKeyChainRequest Request Object
func (ShowDomainKeyChainRequest) String ¶ added in v0.1.36
func (o ShowDomainKeyChainRequest) String() string
type ShowDomainKeyChainResponse ¶ added in v0.1.36
type ShowDomainKeyChainResponse struct { // 防盗链Key值,由32个字符组成,支持大写字母、小写字母、数字。不可为纯数字或纯字母。 Key *string `json:"key,omitempty"` // 计算鉴权串的方式: - d_sha256:鉴权方式D,采用HMAC-SHA256算法,建议优先选择此方式; - c_aes:鉴权方式C,采用对称加密算法; - b_md5:鉴权方式B,采用MD5信息摘要算法; - a_md5:鉴权方式A,采用MD5信息摘要算法。 > 鉴权方式ABC存在安全风险,鉴权方式D拥有更高的安全性,建议您优先使用鉴权方式D。 AuthType *ShowDomainKeyChainResponseAuthType `json:"auth_type,omitempty"` // URL鉴权信息的超时时长 取值范围:[60,2592000],即1分钟-30天 单位:秒 鉴权信息中携带的请求时间与直播服务收到请求时的时间的最大差值,用于检查直播推流URL或者直播播放URL是否已过期 Timeout *int32 `json:"timeout,omitempty"` HttpStatusCode int `json:"-"` }
ShowDomainKeyChainResponse Response Object
func (ShowDomainKeyChainResponse) String ¶ added in v0.1.36
func (o ShowDomainKeyChainResponse) String() string
type ShowDomainKeyChainResponseAuthType ¶ added in v0.1.36
type ShowDomainKeyChainResponseAuthType struct {
// contains filtered or unexported fields
}
func (ShowDomainKeyChainResponseAuthType) MarshalJSON ¶ added in v0.1.36
func (c ShowDomainKeyChainResponseAuthType) MarshalJSON() ([]byte, error)
func (*ShowDomainKeyChainResponseAuthType) UnmarshalJSON ¶ added in v0.1.36
func (c *ShowDomainKeyChainResponseAuthType) UnmarshalJSON(b []byte) error
func (ShowDomainKeyChainResponseAuthType) Value ¶ added in v0.1.36
func (c ShowDomainKeyChainResponseAuthType) Value() string
type ShowDomainKeyChainResponseAuthTypeEnum ¶ added in v0.1.36
type ShowDomainKeyChainResponseAuthTypeEnum struct { D_SHA256 ShowDomainKeyChainResponseAuthType C_AES ShowDomainKeyChainResponseAuthType B_MD5 ShowDomainKeyChainResponseAuthType A_MD5 ShowDomainKeyChainResponseAuthType }
func GetShowDomainKeyChainResponseAuthTypeEnum ¶ added in v0.1.36
func GetShowDomainKeyChainResponseAuthTypeEnum() ShowDomainKeyChainResponseAuthTypeEnum
type ShowDomainRequest ¶
type ShowDomainRequest struct { // 直播域名,如果不设置此字段,则返回租户所有的域名信息 Domain *string `json:"domain,omitempty"` // 企业项目ID,如果不设置此字段,则不进行该字段过滤,返回所有域名信息 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ShowDomainRequest Request Object
func (ShowDomainRequest) String ¶
func (o ShowDomainRequest) String() string
type ShowDomainResponse ¶
type ShowDomainResponse struct { // 查询结果的总数量 Total float32 `json:"total,omitempty"` // 直播域名列表 DomainInfo *[]DecoupledLiveDomainInfo `json:"domain_info,omitempty"` HttpStatusCode int `json:"-"` }
ShowDomainResponse Response Object
func (ShowDomainResponse) String ¶
func (o ShowDomainResponse) String() string
type ShowPullSourcesConfigRequest ¶ added in v0.1.72
type ShowPullSourcesConfigRequest struct { // 播放域名 PlayDomain string `json:"play_domain"` }
ShowPullSourcesConfigRequest Request Object
func (ShowPullSourcesConfigRequest) String ¶ added in v0.1.72
func (o ShowPullSourcesConfigRequest) String() string
type ShowPullSourcesConfigResponse ¶ added in v0.1.72
type ShowPullSourcesConfigResponse struct { // 播放域名 PlayDomain *string `json:"play_domain,omitempty"` // 回源方式。 - domain: 回源客户源站,源站地址是域名格式。回源域名,可配置多个,如果回源失败,将按照配置顺序进行轮循。 - ipaddr: 回源客户源站,源站地址是IP格式。回源IP,可配置多个,如果回源失败,将按照配置顺序进行轮循。同时,最多可以配置一个回源域名,如果配置,回源时httpflv HOST头填该域名,RTMP tcurl字段填该域名,否则按当前IP作为HOST。 - huawei: 回源华为源站,域名创建后的默认值。 SourceType *ShowPullSourcesConfigResponseSourceType `json:"source_type,omitempty"` // 回源域名列表,最多可配置10个。 - 当回源方式是“domain”时,此参数必选,域名配置多个时,如果回源失败,将按照配置顺序进行轮循。 - 当回源方式是“ipaddr”时,最多可以配置一个回源域名,如果配置,回源时httpflv HOST头填该域名,RTMP tcurl 字段填该域名,否则按当前IP作为HOST。 Sources *[]string `json:"sources,omitempty"` // 回源IP地址列表,最多可配置10个。当回源方式是“ipaddr”时,此参数必选,IP配置多个时,如果回源失败,将按照配置顺序进行轮循。 SourcesIp *[]string `json:"sources_ip,omitempty"` // 回源端口。 SourcePort *int32 `json:"source_port,omitempty"` // 回源协议,回源方式非“huawei”时必选。 Scheme *ShowPullSourcesConfigResponseScheme `json:"scheme,omitempty"` // 回源客户源站时在URL携带的参数。 AdditionalArgs map[string]string `json:"additional_args,omitempty"` HttpStatusCode int `json:"-"` }
ShowPullSourcesConfigResponse Response Object
func (ShowPullSourcesConfigResponse) String ¶ added in v0.1.72
func (o ShowPullSourcesConfigResponse) String() string
type ShowPullSourcesConfigResponseScheme ¶ added in v0.1.72
type ShowPullSourcesConfigResponseScheme struct {
// contains filtered or unexported fields
}
func (ShowPullSourcesConfigResponseScheme) MarshalJSON ¶ added in v0.1.72
func (c ShowPullSourcesConfigResponseScheme) MarshalJSON() ([]byte, error)
func (*ShowPullSourcesConfigResponseScheme) UnmarshalJSON ¶ added in v0.1.72
func (c *ShowPullSourcesConfigResponseScheme) UnmarshalJSON(b []byte) error
func (ShowPullSourcesConfigResponseScheme) Value ¶ added in v0.1.72
func (c ShowPullSourcesConfigResponseScheme) Value() string
type ShowPullSourcesConfigResponseSchemeEnum ¶ added in v0.1.72
type ShowPullSourcesConfigResponseSchemeEnum struct { HTTP ShowPullSourcesConfigResponseScheme RTMP ShowPullSourcesConfigResponseScheme }
func GetShowPullSourcesConfigResponseSchemeEnum ¶ added in v0.1.72
func GetShowPullSourcesConfigResponseSchemeEnum() ShowPullSourcesConfigResponseSchemeEnum
type ShowPullSourcesConfigResponseSourceType ¶ added in v0.1.72
type ShowPullSourcesConfigResponseSourceType struct {
// contains filtered or unexported fields
}
func (ShowPullSourcesConfigResponseSourceType) MarshalJSON ¶ added in v0.1.72
func (c ShowPullSourcesConfigResponseSourceType) MarshalJSON() ([]byte, error)
func (*ShowPullSourcesConfigResponseSourceType) UnmarshalJSON ¶ added in v0.1.72
func (c *ShowPullSourcesConfigResponseSourceType) UnmarshalJSON(b []byte) error
func (ShowPullSourcesConfigResponseSourceType) Value ¶ added in v0.1.72
func (c ShowPullSourcesConfigResponseSourceType) Value() string
type ShowPullSourcesConfigResponseSourceTypeEnum ¶ added in v0.1.72
type ShowPullSourcesConfigResponseSourceTypeEnum struct { DOMAIN ShowPullSourcesConfigResponseSourceType IPADDR ShowPullSourcesConfigResponseSourceType HUAWEI ShowPullSourcesConfigResponseSourceType }
func GetShowPullSourcesConfigResponseSourceTypeEnum ¶ added in v0.1.72
func GetShowPullSourcesConfigResponseSourceTypeEnum() ShowPullSourcesConfigResponseSourceTypeEnum
type ShowRecordCallbackConfigRequest ¶ added in v0.0.48
type ShowRecordCallbackConfigRequest struct { // 配置ID Id string `json:"id"` }
ShowRecordCallbackConfigRequest 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:"-"` }
ShowRecordCallbackConfigResponse 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"` }
ShowRecordRuleRequest 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:"-"` }
ShowRecordRuleResponse 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 ShowRefererChainRequest ¶ added in v0.1.105
type ShowRefererChainRequest struct { // 直播播放域名 Domain string `json:"domain"` }
ShowRefererChainRequest Request Object
func (ShowRefererChainRequest) String ¶ added in v0.1.105
func (o ShowRefererChainRequest) String() string
type ShowRefererChainResponse ¶ added in v0.1.105
type ShowRefererChainResponse struct { // 直播域名 Domain *string `json:"domain,omitempty"` // referer防盗链开关:true表示开启;false表示关闭 GuardSwitch *ShowRefererChainResponseGuardSwitch `json:"guard_switch,omitempty"` // 是否包含referer头域:true表示包含;false表示不包含;guard_switch为true则必填 RefererConfigEmpty *ShowRefererChainResponseRefererConfigEmpty `json:"referer_config_empty,omitempty"` // 是否为referer白名单:true表示白名单;false表示黑名单;guard_switch为true则必填 RefererWhiteList *ShowRefererChainResponseRefererWhiteList `json:"referer_white_list,omitempty"` // 域名列表,域名为正则表达式;最多支持配置100个域名,以英文“;”进行分隔;guard_switch为true则必填 RefererAuthList *[]string `json:"referer_auth_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowRefererChainResponse Response Object
func (ShowRefererChainResponse) String ¶ added in v0.1.105
func (o ShowRefererChainResponse) String() string
type ShowRefererChainResponseGuardSwitch ¶ added in v0.1.105
type ShowRefererChainResponseGuardSwitch struct {
// contains filtered or unexported fields
}
func (ShowRefererChainResponseGuardSwitch) MarshalJSON ¶ added in v0.1.105
func (c ShowRefererChainResponseGuardSwitch) MarshalJSON() ([]byte, error)
func (*ShowRefererChainResponseGuardSwitch) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowRefererChainResponseGuardSwitch) UnmarshalJSON(b []byte) error
func (ShowRefererChainResponseGuardSwitch) Value ¶ added in v0.1.105
func (c ShowRefererChainResponseGuardSwitch) Value() string
type ShowRefererChainResponseGuardSwitchEnum ¶ added in v0.1.105
type ShowRefererChainResponseGuardSwitchEnum struct { TRUE ShowRefererChainResponseGuardSwitch FALSE ShowRefererChainResponseGuardSwitch }
func GetShowRefererChainResponseGuardSwitchEnum ¶ added in v0.1.105
func GetShowRefererChainResponseGuardSwitchEnum() ShowRefererChainResponseGuardSwitchEnum
type ShowRefererChainResponseRefererConfigEmpty ¶ added in v0.1.105
type ShowRefererChainResponseRefererConfigEmpty struct {
// contains filtered or unexported fields
}
func (ShowRefererChainResponseRefererConfigEmpty) MarshalJSON ¶ added in v0.1.105
func (c ShowRefererChainResponseRefererConfigEmpty) MarshalJSON() ([]byte, error)
func (*ShowRefererChainResponseRefererConfigEmpty) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowRefererChainResponseRefererConfigEmpty) UnmarshalJSON(b []byte) error
func (ShowRefererChainResponseRefererConfigEmpty) Value ¶ added in v0.1.105
func (c ShowRefererChainResponseRefererConfigEmpty) Value() string
type ShowRefererChainResponseRefererConfigEmptyEnum ¶ added in v0.1.105
type ShowRefererChainResponseRefererConfigEmptyEnum struct { TRUE ShowRefererChainResponseRefererConfigEmpty FALSE ShowRefererChainResponseRefererConfigEmpty }
func GetShowRefererChainResponseRefererConfigEmptyEnum ¶ added in v0.1.105
func GetShowRefererChainResponseRefererConfigEmptyEnum() ShowRefererChainResponseRefererConfigEmptyEnum
type ShowRefererChainResponseRefererWhiteList ¶ added in v0.1.105
type ShowRefererChainResponseRefererWhiteList struct {
// contains filtered or unexported fields
}
func (ShowRefererChainResponseRefererWhiteList) MarshalJSON ¶ added in v0.1.105
func (c ShowRefererChainResponseRefererWhiteList) MarshalJSON() ([]byte, error)
func (*ShowRefererChainResponseRefererWhiteList) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowRefererChainResponseRefererWhiteList) UnmarshalJSON(b []byte) error
func (ShowRefererChainResponseRefererWhiteList) Value ¶ added in v0.1.105
func (c ShowRefererChainResponseRefererWhiteList) Value() string
type ShowRefererChainResponseRefererWhiteListEnum ¶ added in v0.1.105
type ShowRefererChainResponseRefererWhiteListEnum struct { TRUE ShowRefererChainResponseRefererWhiteList FALSE ShowRefererChainResponseRefererWhiteList }
func GetShowRefererChainResponseRefererWhiteListEnum ¶ added in v0.1.105
func GetShowRefererChainResponseRefererWhiteListEnum() ShowRefererChainResponseRefererWhiteListEnum
type ShowTranscodingsTemplateRequest ¶
type ShowTranscodingsTemplateRequest struct { // 推流域名 Domain string `json:"domain"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 分页编号,默认为0。 Page *int32 `json:"page,omitempty"` // 每页记录数。 取值范围:1-100。 默认为10。 Size *int32 `json:"size,omitempty"` }
ShowTranscodingsTemplateRequest Request Object
func (ShowTranscodingsTemplateRequest) String ¶
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:"-"` }
ShowTranscodingsTemplateResponse Response Object
func (ShowTranscodingsTemplateResponse) String ¶
func (o ShowTranscodingsTemplateResponse) String() string
type SourceRsp ¶ added in v0.1.87
type SourceRsp struct { // RTMP推流地址 Url *string `json:"url,omitempty"` // 码率。 单位:bps。取值范围:0 - 104,857,600(100Mbps) Bitrate *int32 `json:"bitrate,omitempty"` // 分辨率对应宽的值。取值范围:0 - 4096(4K) Width *int32 `json:"width,omitempty"` // 分辨率对应高的值。取值范围:0 - 2160(4K) Height *int32 `json:"height,omitempty"` // 描述是否使用该流做截图 EnableSnapshot *bool `json:"enable_snapshot,omitempty"` }
SourceRsp RTMP推流地址。只有频道入流协议为RTMP_PUSH时,会返回RTMP推流地址
type SourcesInfo ¶ added in v0.1.87
type SourcesInfo struct { // 频道源流URL,用于外部拉流 Url *string `json:"url,omitempty"` // 码率。无需直播转码时,此参数为必填项 单位:bps。取值范围:0 - 104,857,600(100Mbps) Bitrate *int32 `json:"bitrate,omitempty"` // 分辨率对应宽的值,非必填项 取值范围:0 - 4096(4K) Width *int32 `json:"width,omitempty"` // 分辨率对应高的值,非必填项 取值范围:0 - 2160(4K) Height *int32 `json:"height,omitempty"` // 描述是否使用该流做截图 EnableSnapshot *bool `json:"enable_snapshot,omitempty"` // 是否使用bitrate来固定码率。默认值:false BitrateFor3u8 *bool `json:"bitrate_for3u8,omitempty"` // 协议为SRT_PUSH时的加密信息 Passphrase *string `json:"passphrase,omitempty"` // 备入流地址列表 BackupUrls *[]string `json:"backup_urls,omitempty"` // 协议为SRT_PULL时,拉流地址的streamid StreamId *string `json:"stream_id,omitempty"` // 协议为SRT_PULL时,拉流时延 Latency *int32 `json:"latency,omitempty"` }
SourcesInfo 主入流信息
func (SourcesInfo) String ¶ added in v0.1.87
func (o SourcesInfo) 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 StreamSelectionItem ¶ added in v0.1.87
type StreamSelectionItem struct { // 拉流URL中用于码率过滤的参数 Key *string `json:"key,omitempty"` // 最小码率,单位:bps 取值范围:0 - 104,857,600(100Mbps) MaxBandwidth *int32 `json:"max_bandwidth,omitempty"` // 最小码率,单位:bps 取值范围:0 - 104,857,600(100Mbps) MinBandwidth *int32 `json:"min_bandwidth,omitempty"` }
StreamSelectionItem 从全量流中过滤出一个码率在[min, max]区间的流。如果不需要码率过滤可不选。
func (StreamSelectionItem) String ¶ added in v0.1.87
func (o StreamSelectionItem) String() string
type StreamTranscodingTemplate ¶
type StreamTranscodingTemplate struct { // 推流域名 Domain string `json:"domain"` // 应用名称。 默认为“live”,若您需要自定义应用名称,请先提交工单申请。 AppName string `json:"app_name"` // 转码流触发模式。 - play:拉流触发转码。 - publish:推流触发转码。 默认为play TransType *StreamTranscodingTemplateTransType `json:"trans_type,omitempty"` // 视频质量信息 QualityInfo []QualityInfo `json:"quality_info"` }
func (StreamTranscodingTemplate) String ¶
func (o StreamTranscodingTemplate) String() string
type StreamTranscodingTemplateTransType ¶ added in v0.1.5
type StreamTranscodingTemplateTransType struct {
// contains filtered or unexported fields
}
func (StreamTranscodingTemplateTransType) MarshalJSON ¶ added in v0.1.5
func (c StreamTranscodingTemplateTransType) MarshalJSON() ([]byte, error)
func (*StreamTranscodingTemplateTransType) UnmarshalJSON ¶ added in v0.1.5
func (c *StreamTranscodingTemplateTransType) UnmarshalJSON(b []byte) error
func (StreamTranscodingTemplateTransType) Value ¶ added in v0.1.5
func (c StreamTranscodingTemplateTransType) Value() string
type StreamTranscodingTemplateTransTypeEnum ¶ added in v0.1.5
type StreamTranscodingTemplateTransTypeEnum struct { PLAY StreamTranscodingTemplateTransType PUBLISH StreamTranscodingTemplateTransType }
func GetStreamTranscodingTemplateTransTypeEnum ¶ added in v0.1.5
func GetStreamTranscodingTemplateTransTypeEnum() StreamTranscodingTemplateTransTypeEnum
type TimeshiftRequestArgs ¶ added in v0.1.87
type TimeshiftRequestArgs struct { // 时移时长字段名 BackTime *string `json:"back_time,omitempty"` // 单位 Unit *string `json:"unit,omitempty"` }
TimeshiftRequestArgs 时移相关配置参数
func (TimeshiftRequestArgs) String ¶ added in v0.1.87
func (o TimeshiftRequestArgs) String() string
type UpdateDelayConfigRequest ¶ added in v0.1.72
type UpdateDelayConfigRequest struct {
Body *ModifyDelayConfig `json:"body,omitempty"`
}
UpdateDelayConfigRequest Request Object
func (UpdateDelayConfigRequest) String ¶ added in v0.1.72
func (o UpdateDelayConfigRequest) String() string
type UpdateDelayConfigResponse ¶ added in v0.1.72
type UpdateDelayConfigResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDelayConfigResponse Response Object
func (UpdateDelayConfigResponse) String ¶ added in v0.1.72
func (o UpdateDelayConfigResponse) String() string
type UpdateDomainHttpsCertRequest ¶ added in v0.1.36
type UpdateDomainHttpsCertRequest struct { // 直播播放域名 Domain string `json:"domain"` Body *DomainHttpsCertInfo `json:"body,omitempty"` }
UpdateDomainHttpsCertRequest Request Object
func (UpdateDomainHttpsCertRequest) String ¶ added in v0.1.36
func (o UpdateDomainHttpsCertRequest) String() string
type UpdateDomainHttpsCertResponse ¶ added in v0.1.36
type UpdateDomainHttpsCertResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDomainHttpsCertResponse Response Object
func (UpdateDomainHttpsCertResponse) String ¶ added in v0.1.36
func (o UpdateDomainHttpsCertResponse) String() string
type UpdateDomainIp6SwitchRequest ¶ added in v0.1.19
type UpdateDomainIp6SwitchRequest struct {
Body *DomainIpv6SwitchReq `json:"body,omitempty"`
}
UpdateDomainIp6SwitchRequest Request Object
func (UpdateDomainIp6SwitchRequest) String ¶ added in v0.1.19
func (o UpdateDomainIp6SwitchRequest) String() string
type UpdateDomainIp6SwitchResponse ¶ added in v0.1.19
type UpdateDomainIp6SwitchResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDomainIp6SwitchResponse Response Object
func (UpdateDomainIp6SwitchResponse) String ¶ added in v0.1.19
func (o UpdateDomainIp6SwitchResponse) String() string
type UpdateDomainKeyChainRequest ¶ added in v0.1.36
type UpdateDomainKeyChainRequest struct { // 直播域名,包括推流域名和播放域名 Domain string `json:"domain"` Body *KeyChainInfo `json:"body,omitempty"` }
UpdateDomainKeyChainRequest Request Object
func (UpdateDomainKeyChainRequest) String ¶ added in v0.1.36
func (o UpdateDomainKeyChainRequest) String() string
type UpdateDomainKeyChainResponse ¶ added in v0.1.36
type UpdateDomainKeyChainResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDomainKeyChainResponse Response Object
func (UpdateDomainKeyChainResponse) String ¶ added in v0.1.36
func (o UpdateDomainKeyChainResponse) String() string
type UpdateDomainRequest ¶
type UpdateDomainRequest struct {
Body *LiveDomainModifyReq `json:"body,omitempty"`
}
UpdateDomainRequest Request Object
func (UpdateDomainRequest) String ¶
func (o UpdateDomainRequest) String() string
type UpdateDomainResponse ¶
type UpdateDomainResponse struct { // 直播域名 Domain *string `json:"domain,omitempty"` // 域名类型 - pull表示播放域名 - push表示推流域名 DomainType *UpdateDomainResponseDomainType `json:"domain_type,omitempty"` // 直播域名的CNAME DomainCname *string `json:"domain_cname,omitempty"` // 直播所属直播中心 Region *string `json:"region,omitempty"` // 直播域名的状态 Status *UpdateDomainResponseStatus `json:"status,omitempty"` // 域名创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 状态描述 StatusDescribe *string `json:"status_describe,omitempty"` // 域名应用区域 - mainland_china表示中国大陆区域 - outside_mainland_china表示中国大陆以外区域 ServiceArea *UpdateDomainResponseServiceArea `json:"service_area,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDomainResponse Response Object
func (UpdateDomainResponse) String ¶
func (o UpdateDomainResponse) String() string
type UpdateDomainResponseDomainType ¶
type UpdateDomainResponseDomainType struct {
// contains filtered or unexported fields
}
func (UpdateDomainResponseDomainType) MarshalJSON ¶
func (c UpdateDomainResponseDomainType) MarshalJSON() ([]byte, error)
func (*UpdateDomainResponseDomainType) UnmarshalJSON ¶
func (c *UpdateDomainResponseDomainType) UnmarshalJSON(b []byte) error
func (UpdateDomainResponseDomainType) Value ¶ 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 }
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 UpdateGeoBlockingConfigRequest ¶ added in v0.1.72
type UpdateGeoBlockingConfigRequest struct { // 播放域名 PlayDomain string `json:"play_domain"` Body *GeoBlockingConfigInfo `json:"body,omitempty"` }
UpdateGeoBlockingConfigRequest Request Object
func (UpdateGeoBlockingConfigRequest) String ¶ added in v0.1.72
func (o UpdateGeoBlockingConfigRequest) String() string
type UpdateGeoBlockingConfigResponse ¶ added in v0.1.72
type UpdateGeoBlockingConfigResponse struct { XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateGeoBlockingConfigResponse Response Object
func (UpdateGeoBlockingConfigResponse) String ¶ added in v0.1.72
func (o UpdateGeoBlockingConfigResponse) String() string
type UpdateHlsConfigRequest ¶ added in v0.1.105
type UpdateHlsConfigRequest struct {
Body *ModifyHlsConfig `json:"body,omitempty"`
}
UpdateHlsConfigRequest Request Object
func (UpdateHlsConfigRequest) String ¶ added in v0.1.105
func (o UpdateHlsConfigRequest) String() string
type UpdateHlsConfigResponse ¶ added in v0.1.105
type UpdateHlsConfigResponse struct { // 推流域名 PushDomain *string `json:"push_domain,omitempty"` // 推流域名APP配置 Application *[]PushDomainApplication `json:"application,omitempty"` HttpStatusCode int `json:"-"` }
UpdateHlsConfigResponse Response Object
func (UpdateHlsConfigResponse) String ¶ added in v0.1.105
func (o UpdateHlsConfigResponse) String() string
type UpdateIpAuthListRequest ¶ added in v0.1.72
type UpdateIpAuthListRequest struct {
Body *IpAuthInfo `json:"body,omitempty"`
}
UpdateIpAuthListRequest Request Object
func (UpdateIpAuthListRequest) String ¶ added in v0.1.72
func (o UpdateIpAuthListRequest) String() string
type UpdateIpAuthListResponse ¶ added in v0.1.72
type UpdateIpAuthListResponse struct { XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateIpAuthListResponse Response Object
func (UpdateIpAuthListResponse) String ¶ added in v0.1.72
func (o UpdateIpAuthListResponse) String() string
type UpdateObsBucketAuthorityPublicRequest ¶ added in v0.1.36
type UpdateObsBucketAuthorityPublicRequest struct {
Body *ObsAuthorityConfigV2 `json:"body,omitempty"`
}
UpdateObsBucketAuthorityPublicRequest Request Object
func (UpdateObsBucketAuthorityPublicRequest) String ¶ added in v0.1.36
func (o UpdateObsBucketAuthorityPublicRequest) String() string
type UpdateObsBucketAuthorityPublicResponse ¶ added in v0.1.36
type UpdateObsBucketAuthorityPublicResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateObsBucketAuthorityPublicResponse Response Object
func (UpdateObsBucketAuthorityPublicResponse) String ¶ added in v0.1.36
func (o UpdateObsBucketAuthorityPublicResponse) String() string
type UpdatePublishTemplateRequest ¶ added in v0.1.72
type UpdatePublishTemplateRequest struct { // 推流域名 Domain string `json:"domain"` Body *CallbackUrl `json:"body,omitempty"` }
UpdatePublishTemplateRequest Request Object
func (UpdatePublishTemplateRequest) String ¶ added in v0.1.72
func (o UpdatePublishTemplateRequest) String() string
type UpdatePublishTemplateResponse ¶ added in v0.1.72
type UpdatePublishTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
UpdatePublishTemplateResponse Response Object
func (UpdatePublishTemplateResponse) String ¶ added in v0.1.72
func (o UpdatePublishTemplateResponse) String() string
type UpdatePullSourcesConfigRequest ¶ added in v0.1.72
type UpdatePullSourcesConfigRequest struct {
Body *ModifyPullSourcesConfig `json:"body,omitempty"`
}
UpdatePullSourcesConfigRequest Request Object
func (UpdatePullSourcesConfigRequest) String ¶ added in v0.1.72
func (o UpdatePullSourcesConfigRequest) String() string
type UpdatePullSourcesConfigResponse ¶ added in v0.1.72
type UpdatePullSourcesConfigResponse struct {
HttpStatusCode int `json:"-"`
}
UpdatePullSourcesConfigResponse Response Object
func (UpdatePullSourcesConfigResponse) String ¶ added in v0.1.72
func (o UpdatePullSourcesConfigResponse) String() string
type UpdateRecordCallbackConfigRequest ¶ added in v0.0.48
type UpdateRecordCallbackConfigRequest struct { // 配置ID,在创建配置成功后返回 Id string `json:"id"` Body *RecordCallbackConfigRequest `json:"body,omitempty"` }
UpdateRecordCallbackConfigRequest 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 { // 配置id,由服务端返回。创建或修改的时候不携带 Id *string `json:"id,omitempty"` // 直播推流域名 PublishDomain *string `json:"publish_domain,omitempty"` // app名称。如果匹配任意需填写为*。录制规则匹配的时候,优先精确app匹配,如果匹配不到,则匹配* App *string `json:"app,omitempty"` // 录制回调通知url地址 NotifyCallbackUrl *string `json:"notify_callback_url,omitempty"` // 订阅录制通知消息。消息类型。RECORD_NEW_FILE_START开始创建新的录制文件。RECORD_FILE_COMPLETE录制文件生成完成。RECORD_OVER录制结束。RECORD_FAILED表示录制失败。如果不填写,默认订阅RECORD_FILE_COMPLETE NotifyEventSubscription *[]UpdateRecordCallbackConfigResponseNotifyEventSubscription `json:"notify_event_subscription,omitempty"` // 加密类型 SignType *UpdateRecordCallbackConfigResponseSignType `json:"sign_type,omitempty"` // 创建时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回 CreateTime *string `json:"create_time,omitempty"` // 修改时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。 在查询的时候返回 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
UpdateRecordCallbackConfigResponse Response Object
func (UpdateRecordCallbackConfigResponse) String ¶ added in v0.0.48
func (o UpdateRecordCallbackConfigResponse) String() string
type UpdateRecordCallbackConfigResponseNotifyEventSubscription ¶ added in v0.1.16
type UpdateRecordCallbackConfigResponseNotifyEventSubscription struct {
// contains filtered or unexported fields
}
func (UpdateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON ¶ added in v0.1.16
func (c UpdateRecordCallbackConfigResponseNotifyEventSubscription) MarshalJSON() ([]byte, error)
func (*UpdateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON ¶ added in v0.1.16
func (c *UpdateRecordCallbackConfigResponseNotifyEventSubscription) UnmarshalJSON(b []byte) error
func (UpdateRecordCallbackConfigResponseNotifyEventSubscription) Value ¶ added in v0.1.16
func (c UpdateRecordCallbackConfigResponseNotifyEventSubscription) Value() string
type UpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.1.16
type UpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum struct { RECORD_NEW_FILE_START UpdateRecordCallbackConfigResponseNotifyEventSubscription RECORD_FILE_COMPLETE UpdateRecordCallbackConfigResponseNotifyEventSubscription RECORD_OVER UpdateRecordCallbackConfigResponseNotifyEventSubscription RECORD_FAILED UpdateRecordCallbackConfigResponseNotifyEventSubscription }
func GetUpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum ¶ added in v0.1.16
func GetUpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum() UpdateRecordCallbackConfigResponseNotifyEventSubscriptionEnum
type UpdateRecordCallbackConfigResponseSignType ¶ added in v0.1.16
type UpdateRecordCallbackConfigResponseSignType struct {
// contains filtered or unexported fields
}
func (UpdateRecordCallbackConfigResponseSignType) MarshalJSON ¶ added in v0.1.16
func (c UpdateRecordCallbackConfigResponseSignType) MarshalJSON() ([]byte, error)
func (*UpdateRecordCallbackConfigResponseSignType) UnmarshalJSON ¶ added in v0.1.16
func (c *UpdateRecordCallbackConfigResponseSignType) UnmarshalJSON(b []byte) error
func (UpdateRecordCallbackConfigResponseSignType) Value ¶ added in v0.1.16
func (c UpdateRecordCallbackConfigResponseSignType) Value() string
type UpdateRecordCallbackConfigResponseSignTypeEnum ¶ added in v0.1.16
type UpdateRecordCallbackConfigResponseSignTypeEnum struct { MD5 UpdateRecordCallbackConfigResponseSignType HMACSHA256 UpdateRecordCallbackConfigResponseSignType }
func GetUpdateRecordCallbackConfigResponseSignTypeEnum ¶ added in v0.1.16
func GetUpdateRecordCallbackConfigResponseSignTypeEnum() UpdateRecordCallbackConfigResponseSignTypeEnum
type UpdateRecordRuleRequest ¶ added in v0.0.48
type UpdateRecordRuleRequest struct { // 规则ID,在创建成功规则后返回 Id string `json:"id"` Body *RecordRuleRequest `json:"body,omitempty"` }
UpdateRecordRuleRequest 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:"-"` }
UpdateRecordRuleResponse 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 UpdateSnapshotConfigRequest ¶ added in v0.1.36
type UpdateSnapshotConfigRequest struct {
Body *LiveSnapshotConfig `json:"body,omitempty"`
}
UpdateSnapshotConfigRequest Request Object
func (UpdateSnapshotConfigRequest) String ¶ added in v0.1.36
func (o UpdateSnapshotConfigRequest) String() string
type UpdateSnapshotConfigResponse ¶ added in v0.1.36
type UpdateSnapshotConfigResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateSnapshotConfigResponse Response Object
func (UpdateSnapshotConfigResponse) String ¶ added in v0.1.36
func (o UpdateSnapshotConfigResponse) String() string
type UpdateStreamForbiddenRequest ¶
type UpdateStreamForbiddenRequest struct {
Body *StreamForbiddenSetting `json:"body,omitempty"`
}
UpdateStreamForbiddenRequest Request Object
func (UpdateStreamForbiddenRequest) String ¶
func (o UpdateStreamForbiddenRequest) String() string
type UpdateStreamForbiddenResponse ¶
type UpdateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateStreamForbiddenResponse Response Object
func (UpdateStreamForbiddenResponse) String ¶
func (o UpdateStreamForbiddenResponse) String() string
type UpdateTranscodingsTemplateRequest ¶
type UpdateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
UpdateTranscodingsTemplateRequest Request Object
func (UpdateTranscodingsTemplateRequest) String ¶
func (o UpdateTranscodingsTemplateRequest) String() string
type UpdateTranscodingsTemplateResponse ¶
type UpdateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateTranscodingsTemplateResponse 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_batch_show_ip_belongs_request.go
- model_batch_show_ip_belongs_response.go
- model_callback_url.go
- model_cdn_ip.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_ott_channel_info_req.go
- model_create_ott_channel_info_req_record_settings.go
- model_create_ott_channel_info_request.go
- model_create_ott_channel_info_response.go
- model_create_record_callback_config_request.go
- model_create_record_callback_config_response.go
- model_create_record_index_request.go
- model_create_record_index_response.go
- model_create_record_rule_request.go
- model_create_record_rule_response.go
- model_create_snapshot_config_request.go
- model_create_snapshot_config_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_create_url_authchain_req.go
- model_create_url_authchain_request.go
- model_create_url_authchain_response.go
- model_dash_package_item.go
- model_decoupled_live_domain_info.go
- model_default_record_config.go
- model_delay_config.go
- model_delete_domain_https_cert_request.go
- model_delete_domain_https_cert_response.go
- model_delete_domain_key_chain_request.go
- model_delete_domain_key_chain_response.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_ott_channel_info_request.go
- model_delete_ott_channel_info_response.go
- model_delete_publish_template_request.go
- model_delete_publish_template_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_referer_chain_request.go
- model_delete_referer_chain_response.go
- model_delete_snapshot_config_request.go
- model_delete_snapshot_config_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_https_cert_info.go
- model_domain_ipv6_switch_req.go
- model_domain_mapping.go
- model_encryption.go
- model_endpoint_item.go
- model_failover_conditions.go
- model_flv_record_config.go
- model_geo_blocking_config_info.go
- model_hls_package_item.go
- model_hls_record_config.go
- model_input_stream_info.go
- model_ip_auth_info.go
- model_key_chain_info.go
- model_list_delay_config_request.go
- model_list_delay_config_response.go
- model_list_geo_blocking_config_request.go
- model_list_geo_blocking_config_response.go
- model_list_hls_config_request.go
- model_list_hls_config_response.go
- model_list_ip_auth_list_request.go
- model_list_ip_auth_list_response.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_ott_channel_info_request.go
- model_list_ott_channel_info_response.go
- model_list_publish_template_request.go
- model_list_publish_template_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_snapshot_configs_request.go
- model_list_snapshot_configs_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_live_request_args.go
- model_live_snapshot_config.go
- model_log_info.go
- model_modify_delay_config.go
- model_modify_hls_config.go
- model_modify_ott_channel_encoder_settings.go
- model_modify_ott_channel_encoder_settings_encoder_settings.go
- model_modify_ott_channel_end_points_req.go
- model_modify_ott_channel_general.go
- model_modify_ott_channel_info_encoder_settings_request.go
- model_modify_ott_channel_info_encoder_settings_response.go
- model_modify_ott_channel_info_end_points_request.go
- model_modify_ott_channel_info_end_points_response.go
- model_modify_ott_channel_info_general_request.go
- model_modify_ott_channel_info_general_response.go
- model_modify_ott_channel_info_input_request.go
- model_modify_ott_channel_info_input_response.go
- model_modify_ott_channel_info_record_settings_request.go
- model_modify_ott_channel_info_record_settings_response.go
- model_modify_ott_channel_info_stats_request.go
- model_modify_ott_channel_info_stats_response.go
- model_modify_ott_channel_input_req.go
- model_modify_ott_channel_record_settings.go
- model_modify_ott_channel_record_settings_record_settings.go
- model_modify_ott_channel_state.go
- model_modify_pull_sources_config.go
- model_mp4_record_config.go
- model_mss_package_item.go
- model_obs_authority_config_v2.go
- model_obs_file_addr.go
- model_online_info.go
- model_package_request_args.go
- model_push_domain_application.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_index_request_body.go
- model_record_obs_file_addr.go
- model_record_request_args.go
- model_record_rule.go
- model_record_rule_request.go
- model_run_record_request.go
- model_run_record_response.go
- model_secondary_sources_info.go
- model_set_referer_chain_info.go
- model_set_referer_chain_request.go
- model_set_referer_chain_response.go
- model_show_domain_https_cert_request.go
- model_show_domain_https_cert_response.go
- model_show_domain_key_chain_request.go
- model_show_domain_key_chain_response.go
- model_show_domain_request.go
- model_show_domain_response.go
- model_show_pull_sources_config_request.go
- model_show_pull_sources_config_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_referer_chain_request.go
- model_show_referer_chain_response.go
- model_show_transcodings_template_request.go
- model_show_transcodings_template_response.go
- model_source_rsp.go
- model_sources_info.go
- model_stream_forbidden_list.go
- model_stream_forbidden_setting.go
- model_stream_selection_item.go
- model_stream_transcoding_template.go
- model_timeshift_request_args.go
- model_update_delay_config_request.go
- model_update_delay_config_response.go
- model_update_domain_https_cert_request.go
- model_update_domain_https_cert_response.go
- model_update_domain_ip6_switch_request.go
- model_update_domain_ip6_switch_response.go
- model_update_domain_key_chain_request.go
- model_update_domain_key_chain_response.go
- model_update_domain_request.go
- model_update_domain_response.go
- model_update_geo_blocking_config_request.go
- model_update_geo_blocking_config_response.go
- model_update_hls_config_request.go
- model_update_hls_config_response.go
- model_update_ip_auth_list_request.go
- model_update_ip_auth_list_response.go
- model_update_obs_bucket_authority_public_request.go
- model_update_obs_bucket_authority_public_response.go
- model_update_publish_template_request.go
- model_update_publish_template_response.go
- model_update_pull_sources_config_request.go
- model_update_pull_sources_config_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_snapshot_config_request.go
- model_update_snapshot_config_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