live

package
v0.0.0-...-4e0481d Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CasterInit    ECasterStatus = 1
	CasterRunning ECasterStatus = 2
	CasterFinish  ECasterStatus = 3

	SceneLayout EScene = 0
	ScenePVW    EScene = 1
	ScenePGM    EScene = 2

	ResourceNoneUsed   EResourceUsed = 0
	ResourceLayoutUsed EResourceUsed = 1
	ResourcePVWUsed    EResourceUsed = 2
	ResourcePGMUsed    EResourceUsed = 3

	ResourceTypePull            EResourceType = 1
	ResourceTypePush            EResourceType = 2
	ResourceTypeVideo           EResourceType = 3
	ResourceTypeVideoURL        EResourceType = 4
	ResourceTypePicture         EResourceType = 5
	ResourceTypePushMate        EResourceType = 6
	ResourceTypeImageCollection EResourceType = 7
	ResourceTypeOPED            EResourceType = 8

	ResourceCateVideo           EResourceCate = 1
	ResourceCatePicture         EResourceCate = 2
	ResourceCateText            EResourceCate = 3
	ResourceCateImageCollection EResourceCate = 4
	ResourceCateOPED            EResourceCate = 5

	RTCStatusNone ERTCStatus = 0
	RTCStatusOk   ERTCStatus = 1
	RTCStatusErr  ERTCStatus = 2

	ResourceFormNone EResourceForm = ""
	ResourceFormRts  EResourceForm = "rts"
	ResourceFormFlv  EResourceForm = "flv"

	CasterTaskCodeSuccess    CasterTaskCode = 0
	CasterTaskCodeInit       CasterTaskCode = 1
	CasterTaskCodeStop       CasterTaskCode = 2
	CasterTaskCodeNotCreated CasterTaskCode = 3
	CasterTaskCodeStartField CasterTaskCode = 500

	CloudCastDownloadStatusProcessing = 1
	CloudCastDownloadStatusSuc        = 2
	CloudCastDownloadStatusFail       = 3
)
View Source
const (
	DefaultRegion          = "cn-north-1"
	ServiceVersion20230101 = "2023-01-01"
	ServiceVersion20200801 = "2020-08-01"
	ServiceVersion20180101 = "2018-01-01"
	ServiceName            = "live"
)

Variables

View Source
var (
	ServiceInfo = &base.ServiceInfo{
		Timeout: 5 * time.Second,
		Host:    "live.volcengineapi.com",
		Header: http.Header{
			"Accept": []string{"application/json"},
		},
	}

	ApiInfoList = map[string]*base.ApiInfo{}/* 102 elements not displayed */

)
View Source
var DefaultInstance = NewInstance()

DefaultInstance

Functions

This section is empty.

Types

type ArrangeInfo

type ArrangeInfo struct {
	OpType     int
	ResourceNo int64
	ResourceID int64
	LayoutID   int64
}

type AuditData

type AuditData struct {
	TimeStamp time.Time `json:"TimeStamp"`
	Count     int64     `json:"Count"`
}

type AuditDetailData

type AuditDetailData struct {
	Domain        string       `json:"Domain"`
	TotalCount    int64        `json:"TotalCount"`
	AuditDataList []*AuditData `json:"AuditDataList"`
}

type AuditPreset

type AuditPreset struct {
	Interval           float64          `json:"Interval"`
	Bucket             string           `json:"Bucket"`
	ServiceID          string           `json:"ServiceID"`
	StorageDir         string           `json:"StorageDir"`
	Description        string           `json:"Description"`
	StorageStrategy    int64            `json:"StorageStrategy"`
	Label              []string         `json:"Label"`
	CallbackDetailList []CallbackDetail `json:"CallbackDetailList"`
	PresetName         string           `json:"PresetName"`
	UpdateTime         string           `json:"UpdateTime"`
}

type AuditPresetsVhostAPP

type AuditPresetsVhostAPP struct {
	Vhost       string      `json:"Vhost"`
	App         string      `json:"App"`
	AuditPreset AuditPreset `json:"AuditPreset"`
}

type AuthDetail

type AuthDetail struct {
}

type AuthInfoItem

type AuthInfoItem struct {
	Vhost          string      `json:"Vhost"`
	App            string      `json:"App"`
	SceneType      string      `json:"SceneType"`
	AuthStatus     bool        `json:"AuthStatus"`
	ValidDuration  int64       `json:"ValidDuration"`
	AuthDetailList interface{} `json:"AuthDetailList"`
}

type BandwidthData

type BandwidthData struct {
	TimeStamp   time.Time `json:"TimeStamp"`
	UpBandwidth float64   `json:"UpBandwidth"`
}

type BandwidthDtailData

type BandwidthDtailData struct {
	Domain            string           `json:"Domain"`
	DstAddrType       string           `json:"DstAddrType"`
	PeakUpBandwidth   float64          `json:"PeakUpBandwidth"`
	BandwidthDataList []*BandwidthData `json:"BandwidthDataList"`
}

type BindCertConsoleResp

type BindCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CallbackDetail

type CallbackDetail struct {
	CallbackType string `json:"CallbackType" binding:"oneof=http nsq kafka rpc"` // nsq kafka rpc not supported temporally
	URL          string `json:"URL" binding:"required"`
}

type CallbackInfo

type CallbackInfo struct {
	Vhost               string            `json:"Vhost"`
	App                 string            `json:"App" `
	MessageType         string            `json:"MessageType"`
	TranscodeCallback   int64             `json:"TranscodeCallback"`
	CallbackDetailList  []*CallbackDetail `json:"CallbackDetailList"`
	AuthEnable          bool              `json:"AuthEnable"`
	AuthKeyPrimary      string            `json:"AuthKeyPrimary"`
	AuthKeySecond       string            `json:"AuthKeySecond"`
	ValidDuration       int64             `json:"ValidDuration"`
	EncryptionAlgorithm string            `json:"EncryptionAlgorithm"`
	CallbackField       []string          `json:"CallbackField"`
	AuthField           map[string]string `json:"AuthField"`
	EncryptField        []string          `json:"EncryptField"`
	AppendField         map[string]string `json:"AppendField"`
	TimeoutSecond       int64             `json:"TimeoutSecond"`
	RetryTimes          int64             `json:"RetryTimes"`
	RetryInternalSecond int64             `json:"RetryInternalSecond"`
}

type CasterArrange

type CasterArrange struct {
	ID            int64
	OpType        int
	ExecType      int
	ExecTime      int64
	CountdownTime int64
	PreResourceID int64
	ResourceNo    int64
	ResourceID    int64
	LayoutID      int64
	MainBackup    bool
}

type CasterBaseCondition

type CasterBaseCondition struct {
	ID            int64
	CloudCasterID string
	IsBackup      bool
	Name          string
	Status        ECasterStatus
	CreateTime    int64
	UpdateTime    int64
	Creator       string
}

type CasterCondition

type CasterCondition struct {
	Name          string
	ID            int64
	UID           string
	CloudCasterID string
	Status        ECasterStatus
	HasBackup     bool
	CreateTime    int64
	UpdateTime    int64
}

type CasterInfoResources

type CasterInfoResources struct {
	Video            []*Video
	Image            []*Image
	ImageCollections []*ImageCollections
	OPED             []*OPED
}

type CasterLayoutCondition

type CasterLayoutCondition struct {
	ID       int64
	Name     string
	TplId    int64
	Elements []*Element
	PVWUsed  *bool
	PGMUsed  *bool
	BackupID int64
}

type CasterLayoutTplCondition

type CasterLayoutTplCondition struct {
	ID         int64
	Name       string
	Elements   []*Element
	W          int
	H          int
	ScreenType int
	CustomType int
}

type CasterLayoutUpdateCondition

type CasterLayoutUpdateCondition struct {
	ID         int                         `json:"ID"`
	CasterID   int                         `json:"CasterID"`
	Name       string                      `json:"Name"`
	W          int                         `json:"W"`
	H          int                         `json:"H"`
	ScreenType int                         `json:"ScreenType"`
	TplId      int                         `json:"TplId"`
	Elements   []CasterLayoutUpdateElement `json:"Elements"`
}

type CasterLayoutUpdateElement

type CasterLayoutUpdateElement struct {
	ResourceID   int     `json:"ResourceID"`
	ResourceNO   int     `json:"ResourceNO"`
	Name         string  `json:"Name"`
	X            int     `json:"X"`
	Y            float64 `json:"Y"`
	W            int     `json:"W"`
	H            float64 `json:"H"`
	ZIndex       int     `json:"ZIndex"`
	Opacity      int     `json:"Opacity"`
	Cate         int     `json:"Cate"`
	IsHide       bool    `json:"IsHide"`
	ImageIndexID int     `json:"ImageIndexID"`
}

type CasterResourceCondition

type CasterResourceCondition struct {
	ID                  int64
	CasterID            int64
	Name                string
	No                  int
	Cate                int
	Type                int
	URL                 string
	Volume              float64
	Duration            int
	BreakAt             int
	Mute                bool
	VodHeadSwitch       bool
	AdjustDts           int64
	AdjustAudio         int
	AdjustRtcPushUserID string
	VodUseDownload      bool
	VodPlayPolicy       int
}

type CasterResourceImageCollectionCondition

type CasterResourceImageCollectionCondition struct {
	ImageIndexID int64
	ImageID      string
	Name         string
	URL          string
}

type CasterResourceImageCondition

type CasterResourceImageCondition struct {
	ID       int64
	CasterID int64
	Name     string
	Cate     int
	Type     int
	URL      string
}

type CasterResourceImagesCondition

type CasterResourceImagesCondition struct {
	ID                   int64
	CasterID             int64
	Name                 string
	Cate                 int
	Type                 int
	ImageCollection      []CasterResourceImageCollectionCondition
	ImageCollectionIndex int64
}

type CasterResourceOPEDCondition

type CasterResourceOPEDCondition struct {
	ID       int64
	CasterID int64
	Name     string
	Cate     int
	Type     int
	URL      string
	Duration int
}

type CasterTaskCode

type CasterTaskCode int

type CopyCasterPVWToPGMResp

type CopyCasterPVWToPGMResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateAuditPresetRequest

type CreateAuditPresetRequest struct {
	Vhost              string           `json:"Vhost"`
	Domain             string           `json:"Domain"`
	App                string           `json:"App"`
	Interval           *float64         `json:"Interval"`
	Bucket             string           `json:"Bucket"`
	ServiceID          string           `json:"ServiceID"`
	StorageDir         string           `json:"StorageDir"`
	Description        string           `json:"Description"`
	StorageStrategy    *int64           `json:"StorageStrategy"`
	Label              []string         `json:"Label"`
	CallbackDetailList []CallbackDetail `json:"CallbackDetailList"`
}

type CreateAuditPresetResponse

type CreateAuditPresetResponse struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateCasterArrangeResp

type CreateCasterArrangeResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CreateCasterArrangeResponse `json:"Result,omitempty"`
}

type CreateCasterArrangeResponse

type CreateCasterArrangeResponse struct {
	ID            int64
	OpType        int
	ExecType      int
	ExecTime      int64
	CountdownTime int64
	PreResourceID int64
	ResourceNo    int64
	ResourceID    int64
	LayoutID      int64
	MainBackup    bool
}

type CreateCasterResourceImageResp

type CreateCasterResourceImageResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CasterResourceImageCondition `json:"Result,omitempty"`
}

type CreateCasterResourceImagesResp

type CreateCasterResourceImagesResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CasterResourceImagesCondition `json:"Result,omitempty"`
}

type CreateCasterResourceOPEDResp

type CreateCasterResourceOPEDResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CasterResourceOPEDCondition `json:"Result,omitempty"`
}

type CreateCasterResourceResp

type CreateCasterResourceResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CasterResourceCondition `json:"Result,omitempty"`
}

type CreateCasterResp

type CreateCasterResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CreateCasterResponse `json:"Result,omitempty"`
}

type CreateCasterResponse

type CreateCasterResponse struct {
	CasterID       *int64
	BackupCasterID *int64
}

type CreateCertConsoleResp

type CreateCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           OpenAPICreatChainResponse `json:"Result,omitempty"`
}

type CreateDomainResp

type CreateDomainResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateRecordPresetResp

type CreateRecordPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateSnapshotPresetResp

type CreateSnapshotPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateTranscodePresetResp

type CreateTranscodePresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type CreateWatermarkPresetResp

type CreateWatermarkPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteAuditPresetRequest

type DeleteAuditPresetRequest struct {
	Vhost      string `json:"Vhost"`
	App        string `json:"App"`
	PresetName string `json:"PresetName"`
}

type DeleteAuditPresetResponse

type DeleteAuditPresetResponse struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCallbackResp

type DeleteCallbackResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCasterArrangeResp

type DeleteCasterArrangeResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCasterLayoutResp

type DeleteCasterLayoutResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCasterResourceImageResp

type DeleteCasterResourceImageResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCasterResourceOPEDResp

type DeleteCasterResourceOPEDResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteCertConsoleResp

type DeleteCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteDomainResp

type DeleteDomainResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteRecordPresetResp

type DeleteRecordPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteRefererResp

type DeleteRefererResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteSnapshotPresetResp

type DeleteSnapshotPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteTranscodePresetResp

type DeleteTranscodePresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DeleteWatermarkPresetResp

type DeleteWatermarkPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DescribeAuthOutput

type DescribeAuthOutput struct {
	AuthList []*AuthInfoItem `json:"AuthList"`
}

type DescribeAuthResp

type DescribeAuthResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribeAuthOutput `json:"Result,omitempty"`
}

type DescribeCallbackOutput

type DescribeCallbackOutput struct {
	CallbackList []*CallbackInfo `json:"CallbackList"`
}

type DescribeCallbackResp

type DescribeCallbackResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribeCallbackOutput `json:"Result,omitempty"`
}

type DescribeCertDetailConsoleResp

type DescribeCertDetailConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           DescribeCertDetailResp `json:"Result,omitempty"`
}

type DescribeCertDetailResp

type DescribeCertDetailResp struct {
	ChainID    string           `json:"ChainID"`
	CertDomain string           `json:"Domain"`
	UseWay     string           `json:"UseWay,omitempty"`
	Status     string           `json:"Status,omitempty"`
	CertName   string           `json:"CertName,omitempty"`
	Rsa        *OpenAPICertData `json:"Rsa,omitempty"`
}

type DescribeDomainOutput

type DescribeDomainOutput struct {
	DomainList []*DomainInfo `json:"DomainList"`
}

type DescribeDomainResp

type DescribeDomainResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribeDomainOutput `json:"Result,omitempty"`
}

type DescribeLiveAuditDataRequest

type DescribeLiveAuditDataRequest struct {
	DomainList  []string `json:"DomainList"`
	StartTime   string   `json:"StartTime"`
	EndTime     string   `json:"EndTime"`
	Aggregation int64    `json:"Aggregation"`
	DetailField []string `json:"DetailField"`
}

type DescribeLiveAuditDataResp

type DescribeLiveAuditDataResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribeLiveAuditDataResult `json:"Result,omitempty"`
}

type DescribeLiveAuditDataResult

type DescribeLiveAuditDataResult struct {
	DomainList          []string           `json:"DomainList"`
	StartTime           time.Time          `json:"StartTime"`
	EndTime             time.Time          `json:"EndTime"`
	Aggregation         int                `json:"Aggregation"`
	DetailField         []string           `json:"DetailField"`
	TotalCount          int64              `json:"TotalCount"`
	AuditDataList       []*AuditData       `json:"AuditDataList"`
	AuditDetailDataList []*AuditDetailData `json:"AuditDetailDataList"`
}

type DescribeLiveMetricBandwidthDataReq

type DescribeLiveMetricBandwidthDataReq struct {
	DomainList     []string `json:"DomainList,omitempty"`
	Domain         string   `json:"Domain,omitempty"`
	App            string   `json:"App,omitempty"`
	Stream         string   `json:"Stream,omitempty"`
	ProtocolList   []string `json:"ProtocolList,omitempty"`
	ISPList        []string `json:"ISPList,omitempty"`
	RegionList     []Region `json:"RegionList,omitempty"`
	UserRegionList []Region `json:"UserRegionList,omitempty"`
	IPList         []string `json:"IPList,omitempty"`
	StartTime      string   `json:"StartTime"`
	EndTime        string   `json:"EndTime"`
	Aggregation    int      `json:"Aggregation"`
	ShowDetail     bool     `json:"ShowDetail,omitempty"`
}

type DescribeLiveMetricBandwidthDataResp

type DescribeLiveMetricBandwidthDataResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           DescribeLiveMetricBandwidthDataResult
}

type DescribeLiveMetricBandwidthDataResult

type DescribeLiveMetricBandwidthDataResult struct {
	DomainList              []string                    `json:"DomainList,omitempty"`
	Domain                  string                      `json:"Domain,omitempty"`
	App                     string                      `json:"App,omitempty"`
	Stream                  string                      `json:"Stream,omitempty"`
	ProtocolList            []string                    `json:"ProtocolList,omitempty"`
	ISPList                 []string                    `json:"ISPList,omitempty"`
	RegionList              []Region                    `json:"RegionList,omitempty"`
	UserRegionList          []Region                    `json:"UserRegionList,omitempty"`
	IPList                  []string                    `json:"IPList,omitempty"`
	StartTime               string                      `json:"StartTime,omitempty"`
	EndTime                 string                      `json:"EndTime,omitempty"`
	Aggregation             int                         `json:"Aggregation"`
	ShowDetail              bool                        `json:"ShowDetail,omitempty"`
	PeakUpBandwidth         float64                     `json:"PeakUpBandwidth"`
	PeakDownBandwidth       float64                     `json:"PeakDownBandwidth"`
	BandwidthDataList       []MetricBandwidthData       `json:"BandwidthDataList,omitempty"`
	BandwidthDetailDataList []MetricBandwidthDetailData `json:"BandwidthDetailDataList,omitempty"`
}

type DescribeLiveMetricTrafficDataReq

type DescribeLiveMetricTrafficDataReq struct {
	DomainList     []string `json:"DomainList,omitempty"`
	Domain         string   `json:"Domain,omitempty"`
	App            string   `json:"App,omitempty"`
	Stream         string   `json:"Stream,omitempty"`
	ProtocolList   []string `json:"ProtocolList,omitempty"`
	ISPList        []string `json:"ISPList,omitempty"`
	RegionList     []Region `json:"RegionList,omitempty"`
	UserRegionList []Region `json:"UserRegionList,omitempty"`
	IPList         []string `json:"IPList,omitempty"`
	StartTime      string   `json:"StartTime"`
	EndTime        string   `json:"EndTime"`
	Aggregation    int      `json:"Aggregation"`
	ShowDetail     bool     `json:"ShowDetail,omitempty"`
}

type DescribeLiveMetricTrafficDataResp

type DescribeLiveMetricTrafficDataResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           DescribeLiveMetricTrafficDataResult
}

type DescribeLiveMetricTrafficDataResult

type DescribeLiveMetricTrafficDataResult struct {
	DomainList            []string            `json:"DomainList,omitempty"`
	Domain                string              `json:"Domain,omitempty"`
	App                   string              `json:"App,omitempty"`
	Stream                string              `json:"Stream,omitempty"`
	ProtocolList          []string            `json:"ProtocolList,omitempty"`
	ISPList               []string            `json:"ISPList,omitempty"`
	RegionList            []Region            `json:"RegionList,omitempty"`
	UserRegionList        []Region            `json:"UserRegionList,omitempty"`
	IPList                []string            `json:"IPList,omitempty"`
	StartTime             string              `json:"StartTime,omitempty"`
	EndTime               string              `json:"EndTime,omitempty"`
	Aggregation           int                 `json:"Aggregation"`
	ShowDetail            bool                `json:"ShowDetail,omitempty"`
	TotalUpTraffic        float64             `json:"TotalUpTraffic"`
	TotalDownTraffic      float64             `json:"TotalDownTraffic"`
	TrafficDataList       []TrafficData       `json:"TrafficDataList,omitempty"`
	TrafficDetailDataList []TrafficDetailData `json:"TrafficDetailDataList,omitempty"`
}

type DescribePullToPushBandwidthDataRequest

type DescribePullToPushBandwidthDataRequest struct {
	DomainList      []string  `json:"DomainList"`
	DstAddrTypeList []string  `json:"DstAddrTypeList"`
	StartTime       time.Time `json:"StartTime"`
	EndTime         time.Time `json:"EndTime"`
	Aggregation     int       `json:"Aggregation,omitempty"`
	ShowDetail      bool      `json:"ShowDetail,omitempty"`
}

type DescribePullToPushBandwidthDataResp

type DescribePullToPushBandwidthDataResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribePullToPushBandwidthDataResult `json:"Result,omitempty"`
}

type DescribePullToPushBandwidthDataResult

type DescribePullToPushBandwidthDataResult struct {
	DomainList              []string              `json:"DomainList"`
	DstAddrTypeList         []string              `json:"DstAddrTypeList"`
	StartTime               time.Time             `json:"StartTime"`
	EndTime                 time.Time             `json:"EndTime"`
	Aggregation             int                   `json:"Aggregation"`
	ShowDetail              bool                  `json:"ShowDetail"`
	PeakUpBandwidth         float64               `json:"PeakUpBandwidth"`
	BandwidthDataList       []*BandwidthData      `json:"BandwidthDataList"`
	BandwidthDetailDataList []*BandwidthDtailData `json:"BandwidthDetailDataList"`
}

type DescribeRefererResp

type DescribeRefererResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DescribeRefererResult `json:"Result,omitempty"`
}

type DescribeRefererResult

type DescribeRefererResult struct {
	RefererList []*RefererItem `json:"RefererList,omitempty"`
}

type DisableDomainResp

type DisableDomainResp struct {
	ResponseMetadata base.ResponseMetadata
}

type DomainInfo

type DomainInfo struct {
	Vhost       string `json:"Vhost"`
	Domain      string `json:"Domain"`
	Type        string `json:"Type"`
	Region      string `json:"Region"`
	Status      int64  `json:"Status"`
	CName       string `json:"CName"`
	ChainID     string `json:"ChainID"`
	CertDomain  string `json:"CertDomain"`
	CnameCheck  int64  `json:"CnameCheck"`
	DomainCheck int64  `json:"DomainCheck"`
	ICPCheck    int64  `json:"ICPCheck"`
	CreateTime  string `json:"CreateTime"`
	CertName    string `json:"CertName"`
	PushDomain  string `json:"PushDomain"`
}

type ECasterStatus

type ECasterStatus int

type ERTCStatus

type ERTCStatus int

type ERTCUserID

type ERTCUserID string

type EResourceCate

type EResourceCate int

type EResourceForm

type EResourceForm string

type EResourceType

type EResourceType int

type EResourceUsed

type EResourceUsed int

type EScene

type EScene int

type Element

type Element struct {
	Name         string
	W            float32
	H            float32
	X            float32
	Y            float32
	ResourceID   int
	ResourceNO   int
	Opacity      int
	ZIndex       int
	Cate         int
	IsHide       bool
	ImageIndexID int64
}

type EnableDomainResp

type EnableDomainResp struct {
	ResponseMetadata base.ResponseMetadata
}

type ForbidStreamResp

type ForbidStreamResp struct {
	ResponseMetadata base.ResponseMetadata
}

type GetCasterArrangeResp

type GetCasterArrangeResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *GetCasterArrangeResponse `json:"Result,omitempty"`
}

type GetCasterArrangeResponse

type GetCasterArrangeResponse struct {
	Arranges []*CasterArrange
}

type GetCasterConfigResp

type GetCasterConfigResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *GetCasterConfigResponse `json:"Result,omitempty"`
}

type GetCasterConfigResponse

type GetCasterConfigResponse struct {
	Caster     *CasterCondition
	PushParams *PushParams
}

type GetCasterLayoutResp

type GetCasterLayoutResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *GetCasterLayoutResponse `json:"Result,omitempty"`
}

type GetCasterLayoutResponse

type GetCasterLayoutResponse struct {
	Layouts    []*CasterLayoutCondition
	LayoutTpls []*CasterLayoutTplCondition
}

type GetCasterResourceResp

type GetCasterResourceResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *GetCasterResourceResponse `json:"Result,omitempty"`
}

type GetCasterResourceResponse

type GetCasterResourceResponse struct {
	Resources *CasterInfoResources
}

type GetCasterResourceVodInfoResp

type GetCasterResourceVodInfoResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *GetCasterResourceVodInfoResponse `json:"Result,omitempty"`
}

type GetCasterResourceVodInfoResponse

type GetCasterResourceVodInfoResponse struct {
	Resource []*ResourceVodPlayInfo
}

type Image

type Image struct {
	ID      int64
	ImageID string
	Name    string
	URL     string
	PGMUsed bool
	PVWUsed bool
}

type ImageCollection

type ImageCollection struct {
	ImageIndexID   int64
	ImageID        string
	Name           string
	URL            string
	DownloadStatus int
}

type ImageCollections

type ImageCollections struct {
	ID              int64
	Name            string
	ImageCollection []ImageCollection
	DownloadStatus  int
	DownloadPercent float32
}

type LIVE

type LIVE struct {
	*base.Client
}

LIVE .

func NewInstance

func NewInstance() *LIVE

NewInstance create a instance

func (*LIVE) BindCert

func (p *LIVE) BindCert(query url.Values, body string) (*BindCertConsoleResp, int, error)

* 5. 为某个domain绑定证书

func (*LIVE) CopyCasterPVWToPGM

func (p *LIVE) CopyCasterPVWToPGM(query url.Values, body string) (*CopyCasterPVWToPGMResp, int, error)

func (*LIVE) CreateCaster

func (p *LIVE) CreateCaster(query url.Values, body string) (*CreateCasterResp, int, error)

func (*LIVE) CreateCasterArrange

func (p *LIVE) CreateCasterArrange(query url.Values, body string) (*CreateCasterArrangeResp, int, error)

func (*LIVE) CreateCasterResource

func (p *LIVE) CreateCasterResource(query url.Values, body string) (*CreateCasterResourceResp, int, error)

func (*LIVE) CreateCasterResourceImage

func (p *LIVE) CreateCasterResourceImage(query url.Values, body string) (*CreateCasterResourceImageResp, int, error)

func (*LIVE) CreateCasterResourceImages

func (p *LIVE) CreateCasterResourceImages(query url.Values, body string) (*CreateCasterResourceImagesResp, int, error)

func (*LIVE) CreateCasterResourceOPED

func (p *LIVE) CreateCasterResourceOPED(query url.Values, body string) (*CreateCasterResourceOPEDResp, int, error)

func (*LIVE) CreateCert

func (p *LIVE) CreateCert(query url.Values, body string) (*CreateCertConsoleResp, int, error)

* 2. 上传第三方证书

func (*LIVE) CreateDomain

func (p *LIVE) CreateDomain(query url.Values, body string) (*CreateDomainResp, int, error)

* 域名相关的

* 添加域名

func (*LIVE) CreatePullToPushTask

CreatePullToPushTask

  • @param *request.CreatePullToPushTaskRequest
  • @return *response.CreatePullToPushTaskResponse, int, error

func (*LIVE) CreateRecordPreset

func (p *LIVE) CreateRecordPreset(query url.Values, body string) (*CreateRecordPresetResp, int, error)

* 录制相关

* 1,

func (*LIVE) CreateSnapshotAuditPreset

func (p *LIVE) CreateSnapshotAuditPreset(query url.Values, body string) (*CreateAuditPresetResponse, int, error)

CreateSnapshotAuditPreset 创建截图审核模板

func (*LIVE) CreateSnapshotPreset

func (p *LIVE) CreateSnapshotPreset(query url.Values, body string) (*CreateSnapshotPresetResp, int, error)

* 截图相关的

func (*LIVE) CreateTranscodePreset

func (p *LIVE) CreateTranscodePreset(query url.Values, body string) (*CreateTranscodePresetResp, int, error)

* 转码相关的

* 1。

func (*LIVE) CreateVQScoreTask

CreateVQScoreTask

  • @param *request.CreateVQScoreTaskRequest
  • @return *response.CreateVQScoreTaskResponse, int, error

func (*LIVE) CreateWatermarkPreset

func (p *LIVE) CreateWatermarkPreset(query url.Values, body string) (*CreateWatermarkPresetResp, int, error)

func (*LIVE) DeleteCallback

func (p *LIVE) DeleteCallback(query url.Values, body string) (*DeleteCallbackResp, int, error)

* 通过入参messageType区分不同服务:

删除直播推流回调
删除直播断流回调
删除录制回调
删除截图回调

func (*LIVE) DeleteCasterArrange

func (p *LIVE) DeleteCasterArrange(query url.Values, body string) (*DeleteCasterArrangeResp, int, error)

func (*LIVE) DeleteCasterLayout

func (p *LIVE) DeleteCasterLayout(query url.Values, body string) (*DeleteCasterLayoutResp, int, error)

func (*LIVE) DeleteCasterResourceImage

func (p *LIVE) DeleteCasterResourceImage(query url.Values, body string) (*DeleteCasterResourceImageResp, int, error)

func (*LIVE) DeleteCasterResourceOPED

func (p *LIVE) DeleteCasterResourceOPED(query url.Values, body string) (*DeleteCasterResourceOPEDResp, int, error)

func (*LIVE) DeleteCert

func (p *LIVE) DeleteCert(query url.Values, body string) (*DeleteCertConsoleResp, int, error)

* 7. 删除一个证书

func (*LIVE) DeleteDenyConfig

DeleteDenyConfig

  • @param *request.DeleteDenyConfigRequest
  • @return *response.DeleteDenyConfigResponse, int, error

func (*LIVE) DeleteDenyConfigV2

DeleteDenyConfigV2

  • @param *request.DeleteDenyConfigV2Request
  • @return *response.DeleteDenyConfigV2Response, int, error

func (*LIVE) DeleteDomain

func (p *LIVE) DeleteDomain(query url.Values, body string) (*DeleteDomainResp, int, error)

* 删除域名

func (*LIVE) DeletePullToPushTask

DeletePullToPushTask

  • @param *request.DeletePullToPushTaskRequest
  • @return *response.DeletePullToPushTaskResponse, int, error

func (*LIVE) DeleteRecordPreset

func (p *LIVE) DeleteRecordPreset(query url.Values, body string) (*DeleteRecordPresetResp, int, error)

func (*LIVE) DeleteReferer

func (p *LIVE) DeleteReferer(query url.Values, body string) (*DeleteRefererResp, int, error)

* 2. 关闭防盗链

func (*LIVE) DeleteRelaySourceV2

DeleteRelaySourceV2

  • @param *request.DeleteRelaySourceRequest
  • @return *response.DeleteRelaySourceResponse, int, error

func (*LIVE) DeleteSnapshotAuditPreset

func (p *LIVE) DeleteSnapshotAuditPreset(query url.Values, body string) (*DeleteAuditPresetResponse, int, error)

DeleteSnapshotAuditPreset 删除截图审核模板

func (*LIVE) DeleteSnapshotPreset

func (p *LIVE) DeleteSnapshotPreset(query url.Values, body string) (*DeleteSnapshotPresetResp, int, error)

func (*LIVE) DeleteTranscodePreset

func (p *LIVE) DeleteTranscodePreset(query url.Values, body string) (*DeleteTranscodePresetResp, int, error)

* 3。

func (*LIVE) DeleteWatermarkPreset

func (p *LIVE) DeleteWatermarkPreset(query url.Values, body string) (*DeleteWatermarkPresetResp, int, error)

func (*LIVE) DescribeAuth

func (p *LIVE) DescribeAuth(query url.Values, body string) (*DescribeAuthResp, int, error)

func (*LIVE) DescribeCDNSnapshotHistory

DescribeCDNSnapshotHistory

  • @param *request.DescribeCDNSnapshotHistoryRequest
  • @return *response.DescribeCDNSnapshotHistoryResponse, int, error

func (*LIVE) DescribeCallback

func (p *LIVE) DescribeCallback(query url.Values, body string) (*DescribeCallbackResp, int, error)

* 通过入参messageType区分不同服务:

查询直播推流回调
查询直播断流回调
查询录制回调
查询截图回调

func (*LIVE) DescribeClosedStreamInfoByPage

DescribeClosedStreamInfoByPage

  • @param *request.DescribeClosedStreamInfoByPageRequest
  • @return *response.DescribeClosedStreamInfoByPageResponse, int, error

func (*LIVE) DescribeDenyConfig

DescribeDenyConfig

  • @param *request.DescribeDenyConfigRequest
  • @return *response.DescribeDenyConfigResponse, int, error

func (*LIVE) DescribeDenyConfigV2

DescribeDenyConfigV2

  • @param *request.DescribeDenyConfigV2Request
  • @return *response.DescribeDenyConfigV2Response, int, error

func (*LIVE) DescribeDomain

func (p *LIVE) DescribeDomain(query url.Values, body string) (*DescribeDomainResp, int, error)

* 查询域名信息

func (*LIVE) DescribeForbiddenStreamInfoByPage

DescribeForbiddenStreamInfoByPage

  • @param *request.DescribeForbiddenStreamInfoByPageRequest
  • @return *response.DescribeForbiddenStreamInfoByPageResponse, int, error

func (*LIVE) DescribeLiveAuditData

func (p *LIVE) DescribeLiveAuditData(query url.Values, body string) (*DescribeLiveAuditDataResp, int, error)

* 截图审核用量相关

func (*LIVE) DescribeLiveMetricBandwidthData

func (p *LIVE) DescribeLiveMetricBandwidthData(query url.Values, body string) (*DescribeLiveMetricBandwidthDataResp, int, error)

func (*LIVE) DescribeLiveMetricTrafficData

func (p *LIVE) DescribeLiveMetricTrafficData(query url.Values, body string) (*DescribeLiveMetricTrafficDataResp, int, error)

func (*LIVE) DescribeLiveStreamInfoByPage

DescribeLiveStreamInfoByPage

  • @param *request.DescribeLiveStreamInfoByPageRequest
  • @return *response.DescribeLiveStreamInfoByPageResponse, int, error

func (*LIVE) DescribeLiveStreamState

DescribeLiveStreamState

  • @param *request.DescribeLiveStreamInfoByPageRequest
  • @return *response.DescribeLiveStreamStateResponse, int, error

func (*LIVE) DescribePullToPushBandwidthData

func (p *LIVE) DescribePullToPushBandwidthData(query url.Values, body string) (*DescribePullToPushBandwidthDataResp, int, error)

* 用量查询相关

func (*LIVE) DescribeRecordTaskFileHistory

DescribeRecordTaskFileHistory

  • @param *request.DescribeRecordTaskFileHistoryRequest
  • @return *response.DescribeRecordTaskFileHistoryResponse, int, error

func (*LIVE) DescribeReferer

func (p *LIVE) DescribeReferer(query url.Values, body string) (*DescribeRefererResp, int, error)

* 3. 查询防盗链内容

func (*LIVE) DescribeRelaySourceV2

DescribeRelaySourceV2

  • @param *request.DescribeRelaySourceRequest
  • @return *response.DescribeRelaySourceResponse, int, error

func (*LIVE) DescribeVQScoreTask

DescribeVQScoreTask

  • @param *request.DescribeVQScoreTaskRequest
  • @return *response.DescribeVQScoreTaskResponse, int, error

func (*LIVE) DisableDomain

func (p *LIVE) DisableDomain(query url.Values, body string) (*DisableDomainResp, int, error)

* 停用域名

func (*LIVE) EnableDomain

func (p *LIVE) EnableDomain(query url.Values, body string) (*EnableDomainResp, int, error)

* 启用域名

func (*LIVE) ForbidStream

func (p *LIVE) ForbidStream(query url.Values, body string) (*ForbidStreamResp, int, error)

* 流信息相关

* 禁播直播流

func (*LIVE) GeneratePlayURL

GeneratePlayURL

  • @param *request.GeneratePlayURLRequest
  • @return *response.GeneratePlayURLResponse, int, error

func (*LIVE) GeneratePushURL

GeneratePushURL

  • @param *request.GeneratePushURLRequest
  • @return *response.GeneratePushURLResponse, int, error

func (*LIVE) GetAPIInfo

func (p *LIVE) GetAPIInfo(api string) *base.ApiInfo

GetAPIInfo interface

func (*LIVE) GetCasterArrange

func (p *LIVE) GetCasterArrange(query url.Values, body string) (*GetCasterArrangeResp, int, error)

func (*LIVE) GetCasterConfig

func (p *LIVE) GetCasterConfig(query url.Values, body string) (*GetCasterConfigResp, int, error)

func (*LIVE) GetCasterLayout

func (p *LIVE) GetCasterLayout(query url.Values, body string) (*GetCasterLayoutResp, int, error)

func (*LIVE) GetCasterResource

func (p *LIVE) GetCasterResource(query url.Values, body string) (*GetCasterResourceResp, int, error)

func (*LIVE) GetCasterResourceVodInfo

func (p *LIVE) GetCasterResourceVodInfo(query url.Values, body string) (*GetCasterResourceVodInfoResp, int, error)

func (*LIVE) GetPlayerAuthWithExpiredTime

func (p *LIVE) GetPlayerAuthWithExpiredTime() (*SecurityToken2, error)

func (*LIVE) GetServiceInfo

func (p *LIVE) GetServiceInfo() *base.ServiceInfo

GetServiceInfo interface

func (*LIVE) KillStream

KillStream

  • @param *request.KillStreamRequest
  • @return *response.KillStreamResponse, int, error

func (*LIVE) ListCasters

func (p *LIVE) ListCasters(query url.Values, body string) (*ListCastersResp, int, error)

func (*LIVE) ListCert

func (p *LIVE) ListCert(query url.Values, body string) (*ListCertConsoleResp, int, error)

* 证书管理相关

* 1. 某个AccountID下的证书查询功能

func (*LIVE) ListCommonTransPresetDetail

func (p *LIVE) ListCommonTransPresetDetail(query url.Values, body string) (*ListCommonTransPresetDetailResp, int, error)

func (*LIVE) ListDomainDetail

func (p *LIVE) ListDomainDetail(query url.Values, body string) (*ListDomainDetailResp, int, error)

* 查询域名列表

func (*LIVE) ListPullToPushTask

ListPullToPushTask

  • @param *request.ListPullToPushTaskRequest
  • @return *response.ListPullToPushTaskResponse, int, error

func (*LIVE) ListVQScoreTask

ListVQScoreTask

  • @param *request.ListVQScoreTaskRequest
  • @return *response.ListVQScoreTaskResponse, int, error

func (*LIVE) ListVhostRecordPreset

func (p *LIVE) ListVhostRecordPreset(query url.Values, body string) (*ListVhostRecordPresetResp, int, error)

* 6。

func (*LIVE) ListVhostSnapshotAuditPreset

func (p *LIVE) ListVhostSnapshotAuditPreset(query url.Values, body string) (*ListVhostAuditPresetResponse, int, error)

ListVhostSnapshotAuditPreset 查询截图审核模板

func (*LIVE) ListVhostSnapshotPreset

func (p *LIVE) ListVhostSnapshotPreset(query url.Values, body string) (*ListVhostSnapshotPresetResp, int, error)

func (*LIVE) ListVhostTransCodePreset

func (p *LIVE) ListVhostTransCodePreset(query url.Values, body string) (*ListVhostTransCodePresetResp, int, error)

func (*LIVE) ListVhostWatermarkPreset

func (p *LIVE) ListVhostWatermarkPreset(query url.Values, body string) (*ListVhostWatermarkPresetResp, int, error)

* 直播水印相关

func (*LIVE) ListWatermarkPreset

func (p *LIVE) ListWatermarkPreset(query url.Values, body string) (*ListWatermarkPresetResp, int, error)

func (*LIVE) ManagerPullPushDomainBind

func (p *LIVE) ManagerPullPushDomainBind(query url.Values, body string) (*ManagerPullPushDomainBindResp, int, error)

* 通过请求参数区分这两个服务

拉流域名绑定推流域名
删除拉流域名绑定推流域名

func (*LIVE) RemoveCasterResource

func (p *LIVE) RemoveCasterResource(query url.Values, body string) (*RemoveCasterResourceResp, int, error)

func (*LIVE) RestartPullToPushTask

RestartPullToPushTask

  • @param *request.RestartPullToPushTaskRequest
  • @return *response.RestartPullToPushTaskResponse, int, error

func (*LIVE) ResumeStream

func (p *LIVE) ResumeStream(query url.Values, body string) (*ResumeStreamResp, int, error)

* 恢复禁播直播流

func (*LIVE) SetHost

func (p *LIVE) SetHost(host string)

SetHost .

func (*LIVE) SetRegion

func (p *LIVE) SetRegion(region string)

SetHost .

func (*LIVE) SetSchema

func (p *LIVE) SetSchema(schema string)

SetSchema .

func (*LIVE) StartCaster

func (p *LIVE) StartCaster(query url.Values, body string) (*StartCasterResp, int, error)

func (*LIVE) StartCasterOPEDArrange

func (p *LIVE) StartCasterOPEDArrange(query url.Values, body string) (*StartCasterOPEDArrangeResp, int, error)

func (*LIVE) StopCaster

func (p *LIVE) StopCaster(query url.Values, body string) (*StopCasterResp, int, error)

func (*LIVE) StopPullToPushTask

StopPullToPushTask

  • @param *request.StopPullToPushTaskRequest
  • @return *response.StopPullToPushTaskResponse, int, error

func (*LIVE) SwitchCasterLayout

func (p *LIVE) SwitchCasterLayout(query url.Values, body string) (*SwitchCasterLayoutResp, int, error)

func (*LIVE) SwitchCasterResource

func (p *LIVE) SwitchCasterResource(query url.Values, body string) (*SwitchCasterResourceResp, int, error)

func (*LIVE) SwitchCasterResourceImage

func (p *LIVE) SwitchCasterResourceImage(query url.Values, body string) (*SwitchCasterResourceImageResp, int, error)

func (*LIVE) SwitchCasterResourceOPED

func (p *LIVE) SwitchCasterResourceOPED(query url.Values, body string) (*SwitchCasterResourceOPEDResp, int, error)

func (*LIVE) UnbindCert

func (p *LIVE) UnbindCert(query url.Values, body string) (*UnbindCertConsoleResp, int, error)

* 6. 为这个domain解绑证书

func (*LIVE) UpdateAuthKey

func (p *LIVE) UpdateAuthKey(query url.Values, body string) (*UpdateAuthKeyResp, int, error)

func (*LIVE) UpdateCallback

func (p *LIVE) UpdateCallback(query url.Values, body string) (*UpdateCallbackResp, int, error)

* 通过入参messageType区分不同服务:

设置直播推流回调 - push
设置直播断流回调 - push_end
设置录制回调  - record
设置截图回调 - snapshot

func (*LIVE) UpdateCasterArrange

func (p *LIVE) UpdateCasterArrange(query url.Values, body string) (*UpdateCasterArrangeResp, int, error)

func (*LIVE) UpdateCasterConfig

func (p *LIVE) UpdateCasterConfig(query url.Values, body string) (*UpdateCasterConfigResp, int, error)

func (*LIVE) UpdateCasterImageCollection

func (p *LIVE) UpdateCasterImageCollection(query url.Values, body string) (*UpdateCasterImageCollectionResp, int, error)

func (*LIVE) UpdateCasterLayout

func (p *LIVE) UpdateCasterLayout(query url.Values, body string) (*UpdateCasterLayoutResp, int, error)

func (*LIVE) UpdateCert

func (p *LIVE) UpdateCert(query url.Values, body string) (*UpdateCertConsoleResp, int, error)

* 4. 更新某个证书

func (*LIVE) UpdateDenyConfig

UpdateDenyConfig

  • @param *request.UpdateDenyConfigRequest
  • @return *response.UpdateDenyConfigResponse, int, error

func (*LIVE) UpdateDenyConfigV2

UpdateDenyConfigV2

  • @param *request.UpdateDenyConfigV2Request
  • @return *response.UpdateDenyConfigV2Response, int, error

func (*LIVE) UpdatePullToPushTask

UpdatePullToPushTask

  • @param *request.UpdatePullToPushTaskRequest
  • @return *response.UpdatePullToPushTaskResponse, int, error

func (*LIVE) UpdateRecordPreset

func (p *LIVE) UpdateRecordPreset(query url.Values, body string) (*UpdateRecordPresetResp, int, error)

* 2。

func (*LIVE) UpdateReferer

func (p *LIVE) UpdateReferer(query url.Values, body string) (*UpdateRefererResp, int, error)

* 防盗链相关

* 1. 创建/更新防盗链配置

func (*LIVE) UpdateRelaySourceV2

UpdateRelaySourceV2

  • @param *request.UpdateRelaySourceRequest
  • @return *response.UpdateRelaySourceResponse, int, error

func (*LIVE) UpdateSnapshotAuditPreset

func (p *LIVE) UpdateSnapshotAuditPreset(query url.Values, body string) (*UpdateAuditPresetResponse, int, error)

UpdateSnapshotAuditPreset 更新截图审核模板

func (*LIVE) UpdateSnapshotPreset

func (p *LIVE) UpdateSnapshotPreset(query url.Values, body string) (*UpdateSnapshotPresetResp, int, error)

func (*LIVE) UpdateTranscodePreset

func (p *LIVE) UpdateTranscodePreset(query url.Values, body string) (*UpdateTranscodePresetResp, int, error)

* 2。

func (*LIVE) UpdateWatermarkPreset

func (p *LIVE) UpdateWatermarkPreset(query url.Values, body string) (*UpdateWatermarkPresetResp, int, error)

type ListCastersResp

type ListCastersResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListCastersResponse `json:"Result,omitempty"`
}

type ListCastersResponse

type ListCastersResponse struct {
	Casters []*CasterBaseCondition
	Count   int64
}

type ListCertConsoleResp

type ListCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListCertResp `json:"Result,omitempty"`
}

type ListCertResp

type ListCertResp struct {
	CertList []SimpleCertInfo `json:"CertList"`
}

type ListCommonTransPresetDetailReq

type ListCommonTransPresetDetailReq struct {
	PresetList []string `json:"PresetList"`
}

type ListCommonTransPresetDetailResp

type ListCommonTransPresetDetailResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListCommonTransPresetDetailResult
}

type ListCommonTransPresetDetailResult

type ListCommonTransPresetDetailResult struct {
	StandardPresetDetail     []*TranscodePresetResult `json:"StandardPresetDetail"`
	NarrowBandHDPresetDetail []*TranscodePresetResult `json:"NarrowBandHDPresetDetail"`
}

type ListDomainDetailOutput

type ListDomainDetailOutput struct {
	DomainList []*DomainInfo `json:"DomainList"`
	Total      int64         `json:"Total"`
}

type ListDomainDetailResp

type ListDomainDetailResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListDomainDetailOutput `json:"Result,omitempty"`
}

type ListVhostAuditPresetRequest

type ListVhostAuditPresetRequest struct {
	Vhost string `json:"Vhost"`
}

type ListVhostAuditPresetResponse

type ListVhostAuditPresetResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListVhostAuditPresetResult `json:"Result,omitempty"`
}

type ListVhostAuditPresetResult

type ListVhostAuditPresetResult struct {
	PresetList []AuditPresetsVhostAPP `json:"PresetList"`
}

type ListVhostRecordPresetResp

type ListVhostRecordPresetResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListVhostRecordPresetRespOutput `json:"Result,omitempty"`
}

type ListVhostRecordPresetRespOutput

type ListVhostRecordPresetRespOutput struct {
	PresetList []*SlicePresetsVhostAPP `json:"PresetList"`
}

type ListVhostSnapshotPresetResp

type ListVhostSnapshotPresetResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListVhostSnapshotPresetRespOutput `json:"Result,omitempty"`
}

type ListVhostSnapshotPresetRespOutput

type ListVhostSnapshotPresetRespOutput struct {
	PresetList []*SlicePresetsVhostAPP `json:"PresetList"`
}

type ListVhostTransCodePresetResp

type ListVhostTransCodePresetResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListVhostTransCodePresetRespOutput `json:"Result,omitempty"`
}

type ListVhostTransCodePresetRespOutput

type ListVhostTransCodePresetRespOutput struct {
	CommonPresetList    []TranscodePresetVhostAPP `json:"CommonPresetList"`
	CustomizePresetList []TranscodePresetVhostAPP `json:"CustomizePresetList"`
}

type ListVhostWatermarkPresetResp

type ListVhostWatermarkPresetResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListVhostWatermarkPresetResult `json:"Result,omitempty"`
}

type ListVhostWatermarkPresetResult

type ListVhostWatermarkPresetResult struct {
	WatermarkPresetList []*WatermarkPreset `json:"WatermarkPresetList"`
	WatermarkErrMsgList []*WatermarkErrMsg `json:"WatermarkErrMsgList"`
	StaticsMsg          *string
}

type ListWatermarkPresetResp

type ListWatermarkPresetResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListWatermarkPresetResult `json:"Result,omitempty"`
}

type ListWatermarkPresetResult

type ListWatermarkPresetResult struct {
	Preset *WatermarkPreset `json:"Preset" form:"Preset"`
}
type Logo struct {
	URL string
	X   int
	Y   int
	W   int
	H   int
}

type ManagerPullPushDomainBindResp

type ManagerPullPushDomainBindResp struct {
	ResponseMetadata base.ResponseMetadata
}

type MetricBandwidthData

type MetricBandwidthData struct {
	TimeStamp     string  `json:"TimeStamp"`
	UpBandwidth   float64 `json:"UpBandwidth"`
	DownBandwidth float64 `json:"DownBandwidth"`
}

type MetricBandwidthDetailData

type MetricBandwidthDetailData struct {
	Domain            string                `json:"Domain,omitempty"`
	Protocol          string                `json:"Protocol,omitempty"`
	ISP               string                `json:"ISP,omitempty"`
	IP                string                `json:"IP,omitempty"`
	PeakUpBandwidth   float64               `json:"PeakUpBandwidth"`
	PeakDownBandwidth float64               `json:"PeakDownBandwidth"`
	BandwidthDataList []MetricBandwidthData `json:"BandwidthDataList,omitempty"`
}

type OPED

type OPED struct {
	ID          int64
	Name        string
	URL         string
	PVWUsed     bool
	PGMUsed     bool
	Duration    int
	ArrangeInfo ArrangeInfo
}

type OpenAPICertData

type OpenAPICertData struct {
	PubKey       string `json:"PubKey"`
	PriKey       string `json:"PriKey"`
	CertType     string `json:"CertType"`
	PubName      string `json:"PubName"`
	PriName      string `json:"PriName"`
	NotBefore    string `json:"NotBefore"`
	NotAfter     string `json:"NotAfter"`
	FingerPrint  string `json:"FingerPrint"`
	SerialNumber string `json:"SerialNumber"`
}

type OpenAPICreatChainResponse

type OpenAPICreatChainResponse struct {
	ChainID   string `json:"ChainID"`
	Domain    string `json:"Domain"`
	UseWay    string `json:"UseWay"`
	AccountID string `json:"AccountID"`
}

type PushParams

type PushParams struct {
	Direction int
	Size      int
	Fps       int
	VBitRate  int
	Delay     int
	SEI       string
	SEIs      []string
	Gop       int
	ABitRate  int
	AChannel  string
	Codec     string
	Profile   string
	ASample   int
	Tune      string
	Options   string
	Streams   []*Stream
}

type RefererInfo

type RefererInfo struct {
	Type     string `json:"Type"`
	Key      string `json:"Key"`
	Value    string `json:"Value"`
	Priority int64  `json:"Priority"`
}

type RefererItem

type RefererItem struct {
	Vhost           string         `json:"Vhost"`
	App             string         `json:"app"`
	RefererInfoList []*RefererInfo `json:"RefererInfoList"`
}

type Region

type Region struct {
	Area     string
	Country  string
	Province string
}

type RemoveCasterResourceResp

type RemoveCasterResourceResp struct {
	ResponseMetadata base.ResponseMetadata
}

type ResourceVodPlayInfo

type ResourceVodPlayInfo struct {
	ID          int64
	Duration    int
	Type        int
	VodPlayTime int
}

type ResumeStreamResp

type ResumeStreamResp struct {
	ResponseMetadata base.ResponseMetadata
}

type SecurityToken2

type SecurityToken2 struct {
	AccessKeyID     string `json:"AccessKeyId"`
	SecretAccessKey string
	SessionToken    string
	ExpiredTime     string
	CurrentTime     string
}

type SimpleCertInfo

type SimpleCertInfo struct {
	CertDomain string `json:"CertDomain"`
	CertName   string `json:"CertName"`
	ChainID    string `json:"ChainID"`
	NotBefore  string `json:"NotBefore"`
	NotAfter   string `json:"NotAfter"`
	Status     string `json:"Status"`
	StatusCode int    `json:"statuscode"`
}

type SlicePreset

type SlicePreset struct {
	Preset         *string         `json:"Preset,omitempty"`
	Description    *string         `json:"Description,omitempty"`
	AccountID      *string         `json:"AccountID,omitempty"`
	Bucket         *string         `json:"Bucket,omitempty"`
	Status         *int64          `json:"Status,omitempty"`
	AccessKey      *string         `json:"AccessKey,omitempty"`
	Interval       *int64          `json:"Interval,omitempty"`
	Format         []string        `json:"Format,omitempty"`
	Duration       *int64          `json:"Duration,omitempty"`
	SliceDuration  *int64          `json:"SliceDuration,omitempty"`
	ReserveDays    *int64          `json:"ReserveDays,omitempty"`
	SnapshotFormat *string         `json:"SnapshotFormat,omitempty"`
	CallbackDetail *CallbackDetail `json:"CallbackDetail"`
}

type SlicePresetsVhostAPP

type SlicePresetsVhostAPP struct {
	Vhost       string       `json:"Vhost"`
	App         string       `json:"App"`
	SlicePreset *SlicePreset `json:"SlicePreset"`
}

type StartCasterOPEDArrangeResp

type StartCasterOPEDArrangeResp struct {
	ResponseMetadata base.ResponseMetadata
}

type StartCasterResp

type StartCasterResp struct {
	ResponseMetadata base.ResponseMetadata
}

type StopCasterResp

type StopCasterResp struct {
	ResponseMetadata base.ResponseMetadata
}

type Stream

type Stream struct {
	ID  int64
	URL string
}

type SwitchCasterLayoutResp

type SwitchCasterLayoutResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *SwitchCasterLayoutResponse `json:"Result,omitempty"`
}

type SwitchCasterLayoutResponse

type SwitchCasterLayoutResponse struct {
	NotStart bool
}

type SwitchCasterResourceImageResp

type SwitchCasterResourceImageResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *SwitchCasterResourceImageResponse `json:"Result,omitempty"`
}

type SwitchCasterResourceImageResponse

type SwitchCasterResourceImageResponse struct {
	NotStart bool
}

type SwitchCasterResourceOPEDResp

type SwitchCasterResourceOPEDResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *SwitchCasterResourceOPEDResponse `json:"Result,omitempty"`
}

type SwitchCasterResourceOPEDResponse

type SwitchCasterResourceOPEDResponse struct {
	NotStart bool
}

type SwitchCasterResourceResp

type SwitchCasterResourceResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *SwitchCasterResourceResponse `json:"Result,omitempty"`
}

type SwitchCasterResourceResponse

type SwitchCasterResourceResponse struct {
	NotStart bool
}

type TrafficData

type TrafficData struct {
	TimeStamp   string  `json:"TimeStamp"`
	UpTraffic   float64 `json:"UpTraffic"`
	DownTraffic float64 `json:"DownTraffic"`
}

type TrafficDetailData

type TrafficDetailData struct {
	Domain           string        `json:"Domain,omitempty"`
	Protocol         string        `json:"Protocol,omitempty"`
	ISP              string        `json:"ISP,omitempty"`
	IP               string        `json:"IP,omitempty"`
	TotalUpTraffic   float64       `json:"TotalUpTraffic"`
	TotalDownTraffic float64       `json:"TotalDownTraffic"`
	TrafficDataList  []TrafficData `json:"TrafficDataList,omitempty"`
}

type TranscodePreset

type TranscodePreset struct {
	Preset       *string `json:"Preset,omitempty"`
	Status       *int64  `json:"Status,omitempty"`
	SuffixName   *string `json:"SuffixName,omitempty"`
	StopInterval *int64  `json:"StopInterval,omitempty"`
	Describe     *string `json:"Describe,omitempty"`
	PresetKind   *int64  `json:"PresetKind,omitempty"`
	PresetType   *int    `json:"PresetType,omitempty"`
	Roi          *bool   `json:"Roi,omitempty"`
	Vclass       *bool   `json:"Vclass,omitempty"`
	Ocr          *bool   `json:"Ocr,omitempty"`
	Modifier     *string `json:"Modifier,omitempty"`
	Revision     *string `json:"Revision,omitempty"`
	//*****video param ******
	Vn           *int64  `json:"Vn,omitempty"`
	FPS          *int64  `json:"FPS,omitempty"`
	VideoBitrate *int64  `json:"VideoBitrate,omitempty"`
	VbThreshold  *string `json:"VbThreshold,omitempty"`
	Vcodec       *string `json:"Vcodec,omitempty"`
	VProfile     *string `json:"VProfile,omitempty"`
	VLevel       *string `json:"VLevel,omitempty"`
	VRateCtrl    *string `json:"VRateCtrl,omitempty"`
	GopMin       *int64  `json:"GopMin,omitempty"`
	GOP          *int64  `json:"GOP,omitempty"`
	BFrames      *int64  `json:"BFrames,omitempty"`
	LookAhead    *int64  `json:"LookAhead,omitempty"`
	VPreset      *string `json:"VPreset,omitempty"`
	Threads      *int64  `json:"Threads,omitempty"`
	Width        *int64  `json:"Width,omitempty"`
	Height       *int64  `json:"Height,omitempty"`
	As           *string `json:"As,omitempty"`
	AutoTrans    *int64  `json:"AutoTrans,omitempty"`
	LongSide     *int64  `json:"LongSide,omitempty"`
	ShortSide    *int64  `json:"ShortSide,omitempty"`
	Abr          *bool   `json:"Abr,omitempty"`
	VBVBufSize   *int64  `json:"VBVBufSize,omitempty"`
	VBVMaxRate   *int64  `json:"VBVMaxRate,omitempty"`
	Qp           *int64  `json:"Qp,omitempty"`
	HVSPre       *bool   `json:"HVSPre,omitempty"`
	BCM          *int64  `json:"BCM,omitempty"`
	VBRatio      *int64  `json:"VBRatio,omitempty"`
	SITI         *bool   `json:"SITI,omitempty"`

	// Nvidia hardware encoding related parameters, Vcodec, Width, Height, Vr, Vb, gop reuse the above general parameters, other software encoding parameters are ignored
	// When NvPriority = 0, it means that nvidia hardware transcoding is not enabled, and all nv parameters are not used
	NvPriority  *int64  `json:"NvPriority,omitempty"` // nvidia transcoding priority, 0 means off, >0 means on, the larger the priority, the higher the priority
	NvCodec     *string `json:"NvCodec,omitempty"`
	NvPreset    *string `json:"NvPreset,omitempty"`
	NvProfile   *string `json:"NvProfile,omitempty"`
	NvGop       *int64  `json:"NvGop,omitempty"`
	NvBf        *int64  `json:"NvBf,omitempty"`
	NvRefs      *int64  `json:"NvRefs,omitempty"`
	NvLookahead *int64  `json:"NvLookahead,omitempty"`
	NvTempAQ    *int64  `json:"NvTempAQ,omitempty"`
	NvHVSPre    *bool   `json:"NvHVSPre,omitempty"`
	NvPercent   *int64  `json:"NvPercent,omitempty"`
	//***** audio param *****
	An            *int64  `json:"An,omitempty"`
	AR            *int64  `json:"AR,omitempty"`
	AudioBitrate  *int64  `json:"AudioBitrate,omitempty"`
	Acodec        *string `json:"Acodec,omitempty"`
	AProfile      *string `json:"AProfile,omitempty"`
	RegionConfig  *string `json:"RegionConfig,omitempty"`
	AdvancedParam *string `json:"AdvancedParam,omitempty"`
}

type TranscodePresetResult

type TranscodePresetResult struct {
	Preset       *string `json:"Preset,omitempty"`
	Status       *int64  `json:"Status,omitempty"`
	SuffixName   *string `json:"SuffixName,omitempty"`
	VideoBitrate *int64  `json:"VideoBitrate,omitempty"`
	Vcodec       *string `json:"Vcodec,omitempty"`
	AudioBitrate *int64  `json:"AudioBitrate,omitempty"`
	Acodec       *string `json:"Acodec,omitempty"`
	FPS          *int64  `json:"FPS,omitempty"`
	GOP          *int64  `json:"GOP,omitempty"`
	Width        *int64  `json:"Width,omitempty"`
	Height       *int64  `json:"Height,omitempty"`
	AutoTrans    *int64  `json:"AutoTrans,omitempty"`
	As           *string `json:"As,omitempty"`
	ShortSide    *int64  `json:"ShortSide,omitempty"`
	LongSide     *int64  `json:"LongSide,omitempty"`
	Roi          *bool   `json:"Roi,omitempty"`
}

type TranscodePresetVhostAPP

type TranscodePresetVhostAPP struct {
	Vhost           string           `json:"Vhost"`
	App             string           `json:"App"`
	TranscodePreset *TranscodePreset `json:"TranscodePreset"`
}

type UnbindCertConsoleResp

type UnbindCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateAuditPresetRequest

type UpdateAuditPresetRequest struct {
	Vhost              string           `json:"Vhost"`
	Domain             string           `json:"Domain"`
	App                string           `json:"App"`
	Interval           *float64         `json:"Interval"`
	Bucket             *string          `json:"Bucket"`
	ServiceID          *string          `json:"ServiceID"`
	StorageDir         string           `json:"StorageDir"`
	Description        string           `json:"Description"`
	StorageStrategy    *int64           `json:"StorageStrategy"`
	Label              []string         `json:"Label"`
	CallbackDetailList []CallbackDetail `json:"CallbackDetailList"`
	PresetName         string           `json:"PresetName"`
}

type UpdateAuditPresetResponse

type UpdateAuditPresetResponse struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateAuthKeyResp

type UpdateAuthKeyResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateCallbackResp

type UpdateCallbackResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateCasterArrangeResp

type UpdateCasterArrangeResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateCasterConfigResp

type UpdateCasterConfigResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateCasterImageCollectionResp

type UpdateCasterImageCollectionResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateCasterLayoutResp

type UpdateCasterLayoutResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CasterLayoutUpdateCondition `json:"Result,omitempty"`
}

type UpdateCertConsoleResp

type UpdateCertConsoleResp struct {
	ResponseMetadata base.ResponseMetadata
	Result           OpenAPICreatChainResponse `json:"Result,omitempty"`
}

type UpdateRecordPresetResp

type UpdateRecordPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateRefererResp

type UpdateRefererResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateSnapshotPresetResp

type UpdateSnapshotPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateTranscodePresetResp

type UpdateTranscodePresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type UpdateWatermarkPresetResp

type UpdateWatermarkPresetResp struct {
	ResponseMetadata base.ResponseMetadata
}

type Video

type Video struct {
	ID                  int64
	Name                string
	No                  int64
	Type                EResourceType
	URL                 string
	Volume              float64
	Duration            int
	BreakAt             int64
	Mute                bool
	VodHeadSwitch       bool
	VideoUsed           EResourceUsed
	AudioUsed           EResourceUsed
	RtcPushUserID       ERTCUserID
	Status              ERTCStatus
	PGMUsed             bool
	PVWUsed             bool
	AdjustDts           int64
	AdjustAudio         int
	AdjustRtcPushUserID ERTCUserID
	VodUseDownload      bool
}

type WatermarkErrMsg

type WatermarkErrMsg struct {
	AccountID *string `json:"AccountID,omitempty"`
	Vhost     *string `json:"Vhost,omitempty"`
	App       *string `json:"App,omitempty"`
	ErrMsg    *string `json:"ErrMsg,omitempty"`
}

type WatermarkPreset

type WatermarkPreset struct {
	ID            *int64   `json:"ID,omitempty"`
	AccountID     *string  `json:"AccountID,omitempty"`
	Vhost         *string  `json:"Vhost,omitempty"`
	App           *string  `json:"App,omitempty"`
	Picture       *string  `json:"Picture,omitempty"`
	PictureKey    *string  `json:"PictureKey,omitempty"`
	Orientation   *string  `json:"Orientation,omitempty"`
	PosX          *float64 `json:"PosX,omitempty"`
	PosY          *float64 `json:"PosY,omitempty"`
	RelativeWidth *float64 `json:"RelativeWidth,omitempty"`
}

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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