Documentation ¶
Index ¶
- Constants
- Variables
- type ArrangeInfo
- type AuditData
- type AuditDetailData
- type AuditPreset
- type AuditPresetsVhostAPP
- type AuthDetail
- type AuthInfoItem
- type BandwidthData
- type BandwidthDtailData
- type BindCertConsoleResp
- type CallbackDetail
- type CallbackInfo
- type CasterArrange
- type CasterBaseCondition
- type CasterCondition
- type CasterInfoResources
- type CasterLayoutCondition
- type CasterLayoutTplCondition
- type CasterLayoutUpdateCondition
- type CasterLayoutUpdateElement
- type CasterResourceCondition
- type CasterResourceImageCollectionCondition
- type CasterResourceImageCondition
- type CasterResourceImagesCondition
- type CasterResourceOPEDCondition
- type CasterTaskCode
- type CopyCasterPVWToPGMResp
- type CreateAuditPresetRequest
- type CreateAuditPresetResponse
- type CreateCasterArrangeResp
- type CreateCasterArrangeResponse
- type CreateCasterResourceImageResp
- type CreateCasterResourceImagesResp
- type CreateCasterResourceOPEDResp
- type CreateCasterResourceResp
- type CreateCasterResp
- type CreateCasterResponse
- type CreateCertConsoleResp
- type CreateDomainResp
- type CreateRecordPresetResp
- type CreateSnapshotPresetResp
- type CreateTranscodePresetResp
- type CreateWatermarkPresetResp
- type DeleteAuditPresetRequest
- type DeleteAuditPresetResponse
- type DeleteCallbackResp
- type DeleteCasterArrangeResp
- type DeleteCasterLayoutResp
- type DeleteCasterResourceImageResp
- type DeleteCasterResourceOPEDResp
- type DeleteCertConsoleResp
- type DeleteDomainResp
- type DeleteRecordPresetResp
- type DeleteRefererResp
- type DeleteSnapshotPresetResp
- type DeleteTranscodePresetResp
- type DeleteWatermarkPresetResp
- type DescribeAuthOutput
- type DescribeAuthResp
- type DescribeCallbackOutput
- type DescribeCallbackResp
- type DescribeCertDetailConsoleResp
- type DescribeCertDetailResp
- type DescribeDomainOutput
- type DescribeDomainResp
- type DescribeLiveAuditDataRequest
- type DescribeLiveAuditDataResp
- type DescribeLiveAuditDataResult
- type DescribePullToPushBandwidthDataRequest
- type DescribePullToPushBandwidthDataResp
- type DescribePullToPushBandwidthDataResult
- type DescribeRefererResp
- type DescribeRefererResult
- type DisableDomainResp
- type DomainInfo
- type ECasterStatus
- type ERTCStatus
- type ERTCUserID
- type EResourceCate
- type EResourceForm
- type EResourceType
- type EResourceUsed
- type EScene
- type Element
- type EnableDomainResp
- type ForbidStreamResp
- type GetCasterArrangeResp
- type GetCasterArrangeResponse
- type GetCasterConfigResp
- type GetCasterConfigResponse
- type GetCasterLayoutResp
- type GetCasterLayoutResponse
- type GetCasterResourceResp
- type GetCasterResourceResponse
- type GetCasterResourceVodInfoResp
- type GetCasterResourceVodInfoResponse
- type Image
- type ImageCollection
- type ImageCollections
- type LIVE
- func (p *LIVE) BindCert(query url.Values, body string) (*BindCertConsoleResp, int, error)
- func (p *LIVE) CopyCasterPVWToPGM(query url.Values, body string) (*CopyCasterPVWToPGMResp, int, error)
- func (p *LIVE) CreateCaster(query url.Values, body string) (*CreateCasterResp, int, error)
- func (p *LIVE) CreateCasterArrange(query url.Values, body string) (*CreateCasterArrangeResp, int, error)
- func (p *LIVE) CreateCasterResource(query url.Values, body string) (*CreateCasterResourceResp, int, error)
- func (p *LIVE) CreateCasterResourceImage(query url.Values, body string) (*CreateCasterResourceImageResp, int, error)
- func (p *LIVE) CreateCasterResourceImages(query url.Values, body string) (*CreateCasterResourceImagesResp, int, error)
- func (p *LIVE) CreateCasterResourceOPED(query url.Values, body string) (*CreateCasterResourceOPEDResp, int, error)
- func (p *LIVE) CreateCert(query url.Values, body string) (*CreateCertConsoleResp, int, error)
- func (p *LIVE) CreateDomain(query url.Values, body string) (*CreateDomainResp, int, error)
- func (p *LIVE) CreatePullToPushTask(req *request.CreatePullToPushTaskRequest) (*response.CreatePullToPushTaskResponse, int, error)
- func (p *LIVE) CreateRecordPreset(query url.Values, body string) (*CreateRecordPresetResp, int, error)
- func (p *LIVE) CreateSnapshotAuditPreset(query url.Values, body string) (*CreateAuditPresetResponse, int, error)
- func (p *LIVE) CreateSnapshotPreset(query url.Values, body string) (*CreateSnapshotPresetResp, int, error)
- func (p *LIVE) CreateTranscodePreset(query url.Values, body string) (*CreateTranscodePresetResp, int, error)
- func (p *LIVE) CreateVQScoreTask(req *request.CreateVQScoreTaskRequest) (*response.CreateVQScoreTaskResponse, int, error)
- func (p *LIVE) CreateWatermarkPreset(query url.Values, body string) (*CreateWatermarkPresetResp, int, error)
- func (p *LIVE) DeleteCallback(query url.Values, body string) (*DeleteCallbackResp, int, error)
- func (p *LIVE) DeleteCasterArrange(query url.Values, body string) (*DeleteCasterArrangeResp, int, error)
- func (p *LIVE) DeleteCasterLayout(query url.Values, body string) (*DeleteCasterLayoutResp, int, error)
- func (p *LIVE) DeleteCasterResourceImage(query url.Values, body string) (*DeleteCasterResourceImageResp, int, error)
- func (p *LIVE) DeleteCasterResourceOPED(query url.Values, body string) (*DeleteCasterResourceOPEDResp, int, error)
- func (p *LIVE) DeleteCert(query url.Values, body string) (*DeleteCertConsoleResp, int, error)
- func (p *LIVE) DeleteDenyConfig(req *request.DeleteDenyConfigRequest) (*response.DeleteDenyConfigResponse, int, error)
- func (p *LIVE) DeleteDenyConfigV2(req *request.DeleteDenyConfigV2Request) (*response.DeleteDenyConfigV2Response, int, error)
- func (p *LIVE) DeleteDomain(query url.Values, body string) (*DeleteDomainResp, int, error)
- func (p *LIVE) DeletePullToPushTask(req *request.DeletePullToPushTaskRequest) (*response.DeletePullToPushTaskResponse, int, error)
- func (p *LIVE) DeleteRecordPreset(query url.Values, body string) (*DeleteRecordPresetResp, int, error)
- func (p *LIVE) DeleteReferer(query url.Values, body string) (*DeleteRefererResp, int, error)
- func (p *LIVE) DeleteRelaySourceV2(req *request.DeleteRelaySourceRequest) (*response.DeleteRelaySourceResponse, int, error)
- func (p *LIVE) DeleteSnapshotAuditPreset(query url.Values, body string) (*DeleteAuditPresetResponse, int, error)
- func (p *LIVE) DeleteSnapshotPreset(query url.Values, body string) (*DeleteSnapshotPresetResp, int, error)
- func (p *LIVE) DeleteTranscodePreset(query url.Values, body string) (*DeleteTranscodePresetResp, int, error)
- func (p *LIVE) DeleteWatermarkPreset(query url.Values, body string) (*DeleteWatermarkPresetResp, int, error)
- func (p *LIVE) DescribeAuth(query url.Values, body string) (*DescribeAuthResp, int, error)
- func (p *LIVE) DescribeCDNSnapshotHistory(req *request.DescribeCDNSnapshotHistoryRequest) (*response.DescribeCDNSnapshotHistoryResponse, int, error)
- func (p *LIVE) DescribeCallback(query url.Values, body string) (*DescribeCallbackResp, int, error)
- func (p *LIVE) DescribeClosedStreamInfoByPage(req *request.DescribeClosedStreamInfoByPageRequest) (*response.DescribeClosedStreamInfoByPageResponse, int, error)
- func (p *LIVE) DescribeDenyConfig(req *request.DescribeDenyConfigRequest) (*response.DescribeDenyConfigResponse, int, error)
- func (p *LIVE) DescribeDenyConfigV2(req *request.DescribeDenyConfigV2Request) (*response.DescribeDenyConfigV2Response, int, error)
- func (p *LIVE) DescribeDomain(query url.Values, body string) (*DescribeDomainResp, int, error)
- func (p *LIVE) DescribeForbiddenStreamInfoByPage(req *request.DescribeForbiddenStreamInfoByPageRequest) (*response.DescribeForbiddenStreamInfoByPageResponse, int, error)
- func (p *LIVE) DescribeLiveAuditData(query url.Values, body string) (*DescribeLiveAuditDataResp, int, error)
- func (p *LIVE) DescribeLiveStreamInfoByPage(req *request.DescribeLiveStreamInfoByPageRequest) (*response.DescribeLiveStreamInfoByPageResponse, int, error)
- func (p *LIVE) DescribeLiveStreamState(req *request.DescribeLiveStreamStateRequest) (*response.DescribeLiveStreamStateResponse, int, error)
- func (p *LIVE) DescribePullToPushBandwidthData(query url.Values, body string) (*DescribePullToPushBandwidthDataResp, int, error)
- func (p *LIVE) DescribeRecordTaskFileHistory(req *request.DescribeRecordTaskFileHistoryRequest) (*response.DescribeRecordTaskFileHistoryResponse, int, error)
- func (p *LIVE) DescribeReferer(query url.Values, body string) (*DescribeRefererResp, int, error)
- func (p *LIVE) DescribeRelaySourceV2(req *request.DescribeRelaySourceRequest) (*response.DescribeRelaySourceResponse, int, error)
- func (p *LIVE) DescribeVQScoreTask(req *request.DescribeVQScoreTaskRequest) (*response.DescribeVQScoreTaskResponse, int, error)
- func (p *LIVE) DisableDomain(query url.Values, body string) (*DisableDomainResp, int, error)
- func (p *LIVE) EnableDomain(query url.Values, body string) (*EnableDomainResp, int, error)
- func (p *LIVE) ForbidStream(query url.Values, body string) (*ForbidStreamResp, int, error)
- func (p *LIVE) GeneratePlayURL(req *request.GeneratePlayURLRequest) (*response.GeneratePlayURLResponse, int, error)
- func (p *LIVE) GeneratePushURL(req *request.GeneratePushURLRequest) (*response.GeneratePushURLResponse, int, error)
- func (p *LIVE) GetAPIInfo(api string) *base.ApiInfo
- func (p *LIVE) GetCasterArrange(query url.Values, body string) (*GetCasterArrangeResp, int, error)
- func (p *LIVE) GetCasterConfig(query url.Values, body string) (*GetCasterConfigResp, int, error)
- func (p *LIVE) GetCasterLayout(query url.Values, body string) (*GetCasterLayoutResp, int, error)
- func (p *LIVE) GetCasterResource(query url.Values, body string) (*GetCasterResourceResp, int, error)
- func (p *LIVE) GetCasterResourceVodInfo(query url.Values, body string) (*GetCasterResourceVodInfoResp, int, error)
- func (p *LIVE) GetPlayerAuthWithExpiredTime() (*SecurityToken2, error)
- func (p *LIVE) GetServiceInfo() *base.ServiceInfo
- func (p *LIVE) KillStream(req *request.KillStreamRequest) (*response.KillStreamResponse, int, error)
- func (p *LIVE) ListCasters(query url.Values, body string) (*ListCastersResp, int, error)
- func (p *LIVE) ListCert(query url.Values, body string) (*ListCertConsoleResp, int, error)
- func (p *LIVE) ListCommonTransPresetDetail(query url.Values, body string) (*ListCommonTransPresetDetailResp, int, error)
- func (p *LIVE) ListDomainDetail(query url.Values, body string) (*ListDomainDetailResp, int, error)
- func (p *LIVE) ListPullToPushTask(req *request.ListPullToPushTaskRequest) (*response.ListPullToPushTaskResponse, int, error)
- func (p *LIVE) ListVQScoreTask(req *request.ListVQScoreTaskRequest) (*response.ListVQScoreTaskResponse, int, error)
- func (p *LIVE) ListVhostRecordPreset(query url.Values, body string) (*ListVhostRecordPresetResp, int, error)
- func (p *LIVE) ListVhostSnapshotAuditPreset(query url.Values, body string) (*ListVhostAuditPresetResponse, int, error)
- func (p *LIVE) ListVhostSnapshotPreset(query url.Values, body string) (*ListVhostSnapshotPresetResp, int, error)
- func (p *LIVE) ListVhostTransCodePreset(query url.Values, body string) (*ListVhostTransCodePresetResp, int, error)
- func (p *LIVE) ListVhostWatermarkPreset(query url.Values, body string) (*ListVhostWatermarkPresetResp, int, error)
- func (p *LIVE) ListWatermarkPreset(query url.Values, body string) (*ListWatermarkPresetResp, int, error)
- func (p *LIVE) ManagerPullPushDomainBind(query url.Values, body string) (*ManagerPullPushDomainBindResp, int, error)
- func (p *LIVE) RemoveCasterResource(query url.Values, body string) (*RemoveCasterResourceResp, int, error)
- func (p *LIVE) RestartPullToPushTask(req *request.RestartPullToPushTaskRequest) (*response.RestartPullToPushTaskResponse, int, error)
- func (p *LIVE) ResumeStream(query url.Values, body string) (*ResumeStreamResp, int, error)
- func (p *LIVE) SetHost(host string)
- func (p *LIVE) SetRegion(region string)
- func (p *LIVE) SetSchema(schema string)
- func (p *LIVE) StartCaster(query url.Values, body string) (*StartCasterResp, int, error)
- func (p *LIVE) StartCasterOPEDArrange(query url.Values, body string) (*StartCasterOPEDArrangeResp, int, error)
- func (p *LIVE) StopCaster(query url.Values, body string) (*StopCasterResp, int, error)
- func (p *LIVE) StopPullToPushTask(req *request.StopPullToPushTaskRequest) (*response.StopPullToPushTaskResponse, int, error)
- func (p *LIVE) SwitchCasterLayout(query url.Values, body string) (*SwitchCasterLayoutResp, int, error)
- func (p *LIVE) SwitchCasterResource(query url.Values, body string) (*SwitchCasterResourceResp, int, error)
- func (p *LIVE) SwitchCasterResourceImage(query url.Values, body string) (*SwitchCasterResourceImageResp, int, error)
- func (p *LIVE) SwitchCasterResourceOPED(query url.Values, body string) (*SwitchCasterResourceOPEDResp, int, error)
- func (p *LIVE) UnbindCert(query url.Values, body string) (*UnbindCertConsoleResp, int, error)
- func (p *LIVE) UpdateAuthKey(query url.Values, body string) (*UpdateAuthKeyResp, int, error)
- func (p *LIVE) UpdateCallback(query url.Values, body string) (*UpdateCallbackResp, int, error)
- func (p *LIVE) UpdateCasterArrange(query url.Values, body string) (*UpdateCasterArrangeResp, int, error)
- func (p *LIVE) UpdateCasterConfig(query url.Values, body string) (*UpdateCasterConfigResp, int, error)
- func (p *LIVE) UpdateCasterImageCollection(query url.Values, body string) (*UpdateCasterImageCollectionResp, int, error)
- func (p *LIVE) UpdateCasterLayout(query url.Values, body string) (*UpdateCasterLayoutResp, int, error)
- func (p *LIVE) UpdateCert(query url.Values, body string) (*UpdateCertConsoleResp, int, error)
- func (p *LIVE) UpdateDenyConfig(req *request.UpdateDenyConfigRequest) (*response.UpdateDenyConfigResponse, int, error)
- func (p *LIVE) UpdateDenyConfigV2(req *request.UpdateDenyConfigV2Request) (*response.UpdateDenyConfigV2Response, int, error)
- func (p *LIVE) UpdatePullToPushTask(req *request.UpdatePullToPushTaskRequest) (*response.UpdatePullToPushTaskResponse, int, error)
- func (p *LIVE) UpdateRecordPreset(query url.Values, body string) (*UpdateRecordPresetResp, int, error)
- func (p *LIVE) UpdateReferer(query url.Values, body string) (*UpdateRefererResp, int, error)
- func (p *LIVE) UpdateRelaySourceV2(req *request.UpdateRelaySourceRequest) (*response.UpdateRelaySourceResponse, int, error)
- func (p *LIVE) UpdateSnapshotAuditPreset(query url.Values, body string) (*UpdateAuditPresetResponse, int, error)
- func (p *LIVE) UpdateSnapshotPreset(query url.Values, body string) (*UpdateSnapshotPresetResp, int, error)
- func (p *LIVE) UpdateTranscodePreset(query url.Values, body string) (*UpdateTranscodePresetResp, int, error)
- func (p *LIVE) UpdateWatermarkPreset(query url.Values, body string) (*UpdateWatermarkPresetResp, int, error)
- type ListCastersResp
- type ListCastersResponse
- type ListCertConsoleResp
- type ListCertResp
- type ListCommonTransPresetDetailReq
- type ListCommonTransPresetDetailResp
- type ListCommonTransPresetDetailResult
- type ListDomainDetailOutput
- type ListDomainDetailResp
- type ListVhostAuditPresetRequest
- type ListVhostAuditPresetResponse
- type ListVhostAuditPresetResult
- type ListVhostRecordPresetResp
- type ListVhostRecordPresetRespOutput
- type ListVhostSnapshotPresetResp
- type ListVhostSnapshotPresetRespOutput
- type ListVhostTransCodePresetResp
- type ListVhostTransCodePresetRespOutput
- type ListVhostWatermarkPresetResp
- type ListVhostWatermarkPresetResult
- type ListWatermarkPresetResp
- type ListWatermarkPresetResult
- type Logo
- type ManagerPullPushDomainBindResp
- type OPED
- type OpenAPICertData
- type OpenAPICreatChainResponse
- type PushParams
- type RefererInfo
- type RefererItem
- type RemoveCasterResourceResp
- type ResourceVodPlayInfo
- type ResumeStreamResp
- type SecurityToken2
- type SimpleCertInfo
- type SlicePreset
- type SlicePresetsVhostAPP
- type StartCasterOPEDArrangeResp
- type StartCasterResp
- type StopCasterResp
- type Stream
- type SwitchCasterLayoutResp
- type SwitchCasterLayoutResponse
- type SwitchCasterResourceImageResp
- type SwitchCasterResourceImageResponse
- type SwitchCasterResourceOPEDResp
- type SwitchCasterResourceOPEDResponse
- type SwitchCasterResourceResp
- type SwitchCasterResourceResponse
- type TranscodePreset
- type TranscodePresetResult
- type TranscodePresetVhostAPP
- type UnbindCertConsoleResp
- type UpdateAuditPresetRequest
- type UpdateAuditPresetResponse
- type UpdateAuthKeyResp
- type UpdateCallbackResp
- type UpdateCasterArrangeResp
- type UpdateCasterConfigResp
- type UpdateCasterImageCollectionResp
- type UpdateCasterLayoutResp
- type UpdateCertConsoleResp
- type UpdateRecordPresetResp
- type UpdateRefererResp
- type UpdateSnapshotPresetResp
- type UpdateTranscodePresetResp
- type UpdateWatermarkPresetResp
- type Video
- type WatermarkErrMsg
- type WatermarkPreset
Constants ¶
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 )
const ( DefaultRegion = "cn-north-1" ServiceVersion20230101 = "2023-01-01" ServiceVersion20200801 = "2020-08-01" ServiceVersion20180101 = "2018-01-01" ServiceName = "live" )
Variables ¶
var ( ServiceInfo = &base.ServiceInfo{ Timeout: 5 * time.Second, Host: "live.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, } ApiInfoList = map[string]*base.ApiInfo{ "ListCommonTransPresetDetail": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCommonTransPresetDetail"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCallback"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCallback"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteCallback": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCallback"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateDomain"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteDomain"}, "Version": []string{ServiceVersion20230101}, }, }, "ListDomainDetail": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListDomainDetail"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDomain"}, "Version": []string{ServiceVersion20230101}, }, }, "EnableDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"EnableDomain"}, "Version": []string{ServiceVersion20230101}, }, }, "DisableDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DisableDomain"}, "Version": []string{ServiceVersion20230101}, }, }, "ManagerPullPushDomainBind": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ManagerPullPushDomainBind"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateAuthKey": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateAuthKey"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeAuth": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeAuth"}, "Version": []string{ServiceVersion20230101}, }, }, "ForbidStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ForbidStream"}, "Version": []string{ServiceVersion20230101}, }, }, "ResumeStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ResumeStream"}, "Version": []string{ServiceVersion20230101}, }, }, "ListCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCert"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCert"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCert"}, "Version": []string{ServiceVersion20230101}, }, }, "BindCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindCert"}, "Version": []string{ServiceVersion20230101}, }, }, "UnbindCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbindCert"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCert"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateReferer": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateReferer"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteReferer": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteReferer"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeReferer": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeReferer"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateRecordPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateRecordPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateRecordPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRecordPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteRecordPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteRecordPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "ListVhostRecordPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVhostRecordPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateTranscodePreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateTranscodePreset"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateTranscodePreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateTranscodePreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteTranscodePreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteTranscodePreset"}, "Version": []string{ServiceVersion20230101}, }, }, "ListVhostTransCodePreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVhostTransCodePreset"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateSnapshotPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateSnapshotPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateSnapshotPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateSnapshotPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteSnapshotPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteSnapshotPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "ListVhostSnapshotPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVhostSnapshotPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribePullToPushBandwidthData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribePullToPushBandwidthData"}, "Version": []string{ServiceVersion20200801}, }, }, "CreateCaster": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCaster"}, "Version": []string{ServiceVersion20180101}, }, }, "ListCasters": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCasters"}, "Version": []string{ServiceVersion20180101}, }, }, "GetCasterInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetCasterInfo"}, "Version": []string{ServiceVersion20180101}, }, }, "StartCaster": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartCaster"}, "Version": []string{ServiceVersion20180101}, }, }, "StopCaster": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopCaster"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateCasterResource": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCasterResource"}, "Version": []string{ServiceVersion20180101}, }, }, "RemoveCasterResource": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"RemoveCasterResource"}, "Version": []string{ServiceVersion20180101}, }, }, "UpdateCasterLayout": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCasterLayout"}, "Version": []string{ServiceVersion20180101}, }, }, "DeleteCasterLayout": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCasterLayout"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateCasterResourceImage": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCasterResourceImage"}, "Version": []string{ServiceVersion20180101}, }, }, "DeleteCasterResourceImage": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCasterResourceImage"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateCasterResourceImages": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCasterResourceImages"}, "Version": []string{ServiceVersion20180101}, }, }, "UpdateCasterImageCollection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCasterImageCollection"}, "Version": []string{ServiceVersion20180101}, }, }, "UpdateCasterConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCasterConfig"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateCasterResourceOPED": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCasterResourceOPED"}, "Version": []string{ServiceVersion20180101}, }, }, "DeleteCasterResourceOPED": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCasterResourceOPED"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateSnapshotAuditPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateSnapshotAuditPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateSnapshotAuditPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateSnapshotAuditPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteSnapshotAuditPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteSnapshotAuditPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "ListVhostSnapshotAuditPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVhostSnapshotAuditPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeLiveAuditData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeLiveAuditData"}, "Version": []string{ServiceVersion20200801}, }, }, "SwitchCasterResource": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SwitchCasterResource"}, "Version": []string{ServiceVersion20180101}, }, }, "SwitchCasterResourceImage": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SwitchCasterResourceImage"}, "Version": []string{ServiceVersion20180101}, }, }, "SwitchCasterResourceOPED": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SwitchCasterResourceOPED"}, "Version": []string{ServiceVersion20180101}, }, }, "StartCasterOPEDArrange": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartCasterOPEDArrange"}, "Version": []string{ServiceVersion20180101}, }, }, "SwitchCasterLayout": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SwitchCasterLayout"}, "Version": []string{ServiceVersion20180101}, }, }, "CopyCasterPVWToPGM": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CopyCasterPVWToPGM"}, "Version": []string{ServiceVersion20180101}, }, }, "GetCasterResourceVodInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetCasterResourceVodInfo"}, "Version": []string{ServiceVersion20180101}, }, }, "CreateCasterArrange": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCasterArrange"}, "Version": []string{ServiceVersion20180101}, }, }, "UpdateCasterArrange": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCasterArrange"}, "Version": []string{ServiceVersion20180101}, }, }, "DeleteCasterArrange": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCasterArrange"}, "Version": []string{ServiceVersion20180101}, }, }, "ListVhostWatermarkPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVhostWatermarkPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "ListWatermarkPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListWatermarkPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateWatermarkPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateWatermarkPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateWatermarkPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateWatermarkPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteWatermarkPreset": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteWatermarkPreset"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeCDNSnapshotHistory": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCDNSnapshotHistory"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeRecordTaskFileHistory": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeRecordTaskFileHistory"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeLiveStreamInfoByPage": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeLiveStreamInfoByPage"}, "Version": []string{ServiceVersion20230101}, }, }, "KillStream": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"KillStream"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeClosedStreamInfoByPage": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeClosedStreamInfoByPage"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeLiveStreamState": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeLiveStreamState"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeForbiddenStreamInfoByPage": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeForbiddenStreamInfoByPage"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateRelaySourceV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRelaySourceV2"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteRelaySourceV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteRelaySourceV2"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeRelaySourceV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeRelaySourceV2"}, "Version": []string{ServiceVersion20230101}, }, }, "CreateVQScoreTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateVQScoreTask"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeVQScoreTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeVQScoreTask"}, "Version": []string{ServiceVersion20230101}, }, }, "ListVQScoreTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListVQScoreTask"}, "Version": []string{ServiceVersion20230101}, }, }, "GeneratePlayURL": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GeneratePlayURL"}, "Version": []string{ServiceVersion20230101}, }, }, "GeneratePushURL": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GeneratePushURL"}, "Version": []string{ServiceVersion20230101}, }, }, "CreatePullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreatePullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "ListPullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListPullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdatePullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "StopPullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopPullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "RestartPullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"RestartPullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "DeletePullToPushTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeletePullToPushTask"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateDenyConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateDenyConfig"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeDenyConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDenyConfig"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteDenyConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteDenyConfig"}, "Version": []string{ServiceVersion20230101}, }, }, "UpdateDenyConfigV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateDenyConfigV2"}, "Version": []string{ServiceVersion20230101}, }, }, "DescribeDenyConfigV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDenyConfigV2"}, "Version": []string{ServiceVersion20230101}, }, }, "DeleteDenyConfigV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteDenyConfigV2"}, "Version": []string{ServiceVersion20230101}, }, }, } )
var DefaultInstance = NewInstance()
DefaultInstance
Functions ¶
This section is empty.
Types ¶
type ArrangeInfo ¶
type AuditDetailData ¶
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 BandwidthData ¶
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 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 CasterBaseCondition ¶
type CasterCondition ¶
type CasterInfoResources ¶
type CasterInfoResources struct { Video []*Video Image []*Image ImageCollections []*ImageCollections OPED []*OPED }
type CasterLayoutCondition ¶
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 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 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 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 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 DescribeDomainOutput ¶
type DescribeDomainOutput struct {
DomainList []*DomainInfo `json:"DomainList"`
}
type DescribeDomainResp ¶
type DescribeDomainResp struct { ResponseMetadata base.ResponseMetadata Result *DescribeDomainOutput `json:"Result,omitempty"` }
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 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 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 ImageCollection ¶
type ImageCollections ¶
type ImageCollections struct { ID int64 Name string ImageCollection []ImageCollection DownloadStatus int DownloadPercent float32 }
type LIVE ¶
LIVE .
func (*LIVE) CopyCasterPVWToPGM ¶
func (*LIVE) CreateCaster ¶
func (*LIVE) CreateCasterArrange ¶
func (*LIVE) CreateCasterResource ¶
func (*LIVE) CreateCasterResourceImage ¶
func (*LIVE) CreateCasterResourceImages ¶
func (*LIVE) CreateCasterResourceOPED ¶
func (*LIVE) CreateCert ¶
* 2. 上传第三方证书
func (*LIVE) CreatePullToPushTask ¶
func (p *LIVE) CreatePullToPushTask(req *request.CreatePullToPushTaskRequest) (*response.CreatePullToPushTaskResponse, int, error)
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 ¶
func (p *LIVE) CreateVQScoreTask(req *request.CreateVQScoreTaskRequest) (*response.CreateVQScoreTaskResponse, int, error)
CreateVQScoreTask
- @param *request.CreateVQScoreTaskRequest
- @return *response.CreateVQScoreTaskResponse, int, error
func (*LIVE) CreateWatermarkPreset ¶
func (*LIVE) DeleteCasterArrange ¶
func (*LIVE) DeleteCasterLayout ¶
func (*LIVE) DeleteCasterResourceImage ¶
func (*LIVE) DeleteCasterResourceOPED ¶
func (*LIVE) DeleteCert ¶
* 7. 删除一个证书
func (*LIVE) DeleteDenyConfig ¶
func (p *LIVE) DeleteDenyConfig(req *request.DeleteDenyConfigRequest) (*response.DeleteDenyConfigResponse, int, error)
DeleteDenyConfig
- @param *request.DeleteDenyConfigRequest
- @return *response.DeleteDenyConfigResponse, int, error
func (*LIVE) DeleteDenyConfigV2 ¶
func (p *LIVE) DeleteDenyConfigV2(req *request.DeleteDenyConfigV2Request) (*response.DeleteDenyConfigV2Response, int, error)
DeleteDenyConfigV2
- @param *request.DeleteDenyConfigV2Request
- @return *response.DeleteDenyConfigV2Response, int, error
func (*LIVE) DeleteDomain ¶
* 删除域名
func (*LIVE) DeletePullToPushTask ¶
func (p *LIVE) DeletePullToPushTask(req *request.DeletePullToPushTaskRequest) (*response.DeletePullToPushTaskResponse, int, error)
DeletePullToPushTask
- @param *request.DeletePullToPushTaskRequest
- @return *response.DeletePullToPushTaskResponse, int, error
func (*LIVE) DeleteRecordPreset ¶
func (*LIVE) DeleteReferer ¶
* 2. 关闭防盗链
func (*LIVE) DeleteRelaySourceV2 ¶
func (p *LIVE) DeleteRelaySourceV2(req *request.DeleteRelaySourceRequest) (*response.DeleteRelaySourceResponse, int, error)
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 (*LIVE) DeleteTranscodePreset ¶
func (p *LIVE) DeleteTranscodePreset(query url.Values, body string) (*DeleteTranscodePresetResp, int, error)
* 3。
func (*LIVE) DeleteWatermarkPreset ¶
func (*LIVE) DescribeAuth ¶
func (*LIVE) DescribeCDNSnapshotHistory ¶
func (p *LIVE) DescribeCDNSnapshotHistory(req *request.DescribeCDNSnapshotHistoryRequest) (*response.DescribeCDNSnapshotHistoryResponse, int, error)
DescribeCDNSnapshotHistory
- @param *request.DescribeCDNSnapshotHistoryRequest
- @return *response.DescribeCDNSnapshotHistoryResponse, int, error
func (*LIVE) DescribeClosedStreamInfoByPage ¶
func (p *LIVE) DescribeClosedStreamInfoByPage(req *request.DescribeClosedStreamInfoByPageRequest) (*response.DescribeClosedStreamInfoByPageResponse, int, error)
DescribeClosedStreamInfoByPage
- @param *request.DescribeClosedStreamInfoByPageRequest
- @return *response.DescribeClosedStreamInfoByPageResponse, int, error
func (*LIVE) DescribeDenyConfig ¶
func (p *LIVE) DescribeDenyConfig(req *request.DescribeDenyConfigRequest) (*response.DescribeDenyConfigResponse, int, error)
DescribeDenyConfig
- @param *request.DescribeDenyConfigRequest
- @return *response.DescribeDenyConfigResponse, int, error
func (*LIVE) DescribeDenyConfigV2 ¶
func (p *LIVE) DescribeDenyConfigV2(req *request.DescribeDenyConfigV2Request) (*response.DescribeDenyConfigV2Response, int, error)
DescribeDenyConfigV2
- @param *request.DescribeDenyConfigV2Request
- @return *response.DescribeDenyConfigV2Response, int, error
func (*LIVE) DescribeDomain ¶
* 查询域名信息
func (*LIVE) DescribeForbiddenStreamInfoByPage ¶
func (p *LIVE) DescribeForbiddenStreamInfoByPage(req *request.DescribeForbiddenStreamInfoByPageRequest) (*response.DescribeForbiddenStreamInfoByPageResponse, int, error)
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) DescribeLiveStreamInfoByPage ¶
func (p *LIVE) DescribeLiveStreamInfoByPage(req *request.DescribeLiveStreamInfoByPageRequest) (*response.DescribeLiveStreamInfoByPageResponse, int, error)
DescribeLiveStreamInfoByPage
- @param *request.DescribeLiveStreamInfoByPageRequest
- @return *response.DescribeLiveStreamInfoByPageResponse, int, error
func (*LIVE) DescribeLiveStreamState ¶
func (p *LIVE) DescribeLiveStreamState(req *request.DescribeLiveStreamStateRequest) (*response.DescribeLiveStreamStateResponse, int, error)
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 ¶
func (p *LIVE) DescribeRecordTaskFileHistory(req *request.DescribeRecordTaskFileHistoryRequest) (*response.DescribeRecordTaskFileHistoryResponse, int, error)
DescribeRecordTaskFileHistory
- @param *request.DescribeRecordTaskFileHistoryRequest
- @return *response.DescribeRecordTaskFileHistoryResponse, int, error
func (*LIVE) DescribeReferer ¶
* 3. 查询防盗链内容
func (*LIVE) DescribeRelaySourceV2 ¶
func (p *LIVE) DescribeRelaySourceV2(req *request.DescribeRelaySourceRequest) (*response.DescribeRelaySourceResponse, int, error)
DescribeRelaySourceV2
- @param *request.DescribeRelaySourceRequest
- @return *response.DescribeRelaySourceResponse, int, error
func (*LIVE) DescribeVQScoreTask ¶
func (p *LIVE) DescribeVQScoreTask(req *request.DescribeVQScoreTaskRequest) (*response.DescribeVQScoreTaskResponse, int, error)
DescribeVQScoreTask
- @param *request.DescribeVQScoreTaskRequest
- @return *response.DescribeVQScoreTaskResponse, int, error
func (*LIVE) DisableDomain ¶
* 停用域名
func (*LIVE) EnableDomain ¶
* 启用域名
func (*LIVE) GeneratePlayURL ¶
func (p *LIVE) GeneratePlayURL(req *request.GeneratePlayURLRequest) (*response.GeneratePlayURLResponse, int, error)
GeneratePlayURL
- @param *request.GeneratePlayURLRequest
- @return *response.GeneratePlayURLResponse, int, error
func (*LIVE) GeneratePushURL ¶
func (p *LIVE) GeneratePushURL(req *request.GeneratePushURLRequest) (*response.GeneratePushURLResponse, int, error)
GeneratePushURL
- @param *request.GeneratePushURLRequest
- @return *response.GeneratePushURLResponse, int, error
func (*LIVE) GetCasterArrange ¶
func (*LIVE) GetCasterConfig ¶
func (*LIVE) GetCasterLayout ¶
func (*LIVE) GetCasterResource ¶
func (*LIVE) GetCasterResourceVodInfo ¶
func (*LIVE) GetPlayerAuthWithExpiredTime ¶
func (p *LIVE) GetPlayerAuthWithExpiredTime() (*SecurityToken2, error)
func (*LIVE) GetServiceInfo ¶
func (p *LIVE) GetServiceInfo() *base.ServiceInfo
GetServiceInfo interface
func (*LIVE) KillStream ¶
func (p *LIVE) KillStream(req *request.KillStreamRequest) (*response.KillStreamResponse, int, error)
KillStream
- @param *request.KillStreamRequest
- @return *response.KillStreamResponse, int, error
func (*LIVE) ListCasters ¶
func (*LIVE) ListCommonTransPresetDetail ¶
func (*LIVE) ListDomainDetail ¶
* 查询域名列表
func (*LIVE) ListPullToPushTask ¶
func (p *LIVE) ListPullToPushTask(req *request.ListPullToPushTaskRequest) (*response.ListPullToPushTaskResponse, int, error)
ListPullToPushTask
- @param *request.ListPullToPushTaskRequest
- @return *response.ListPullToPushTaskResponse, int, error
func (*LIVE) ListVQScoreTask ¶
func (p *LIVE) ListVQScoreTask(req *request.ListVQScoreTaskRequest) (*response.ListVQScoreTaskResponse, int, error)
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 (*LIVE) ListVhostTransCodePreset ¶
func (*LIVE) ListVhostWatermarkPreset ¶
func (p *LIVE) ListVhostWatermarkPreset(query url.Values, body string) (*ListVhostWatermarkPresetResp, int, error)
* 直播水印相关
func (*LIVE) ListWatermarkPreset ¶
func (*LIVE) ManagerPullPushDomainBind ¶
func (p *LIVE) ManagerPullPushDomainBind(query url.Values, body string) (*ManagerPullPushDomainBindResp, int, error)
* 通过请求参数区分这两个服务
拉流域名绑定推流域名 删除拉流域名绑定推流域名
func (*LIVE) RemoveCasterResource ¶
func (*LIVE) RestartPullToPushTask ¶
func (p *LIVE) RestartPullToPushTask(req *request.RestartPullToPushTaskRequest) (*response.RestartPullToPushTaskResponse, int, error)
RestartPullToPushTask
- @param *request.RestartPullToPushTaskRequest
- @return *response.RestartPullToPushTaskResponse, int, error
func (*LIVE) ResumeStream ¶
* 恢复禁播直播流
func (*LIVE) StartCaster ¶
func (*LIVE) StartCasterOPEDArrange ¶
func (*LIVE) StopCaster ¶
func (*LIVE) StopPullToPushTask ¶
func (p *LIVE) StopPullToPushTask(req *request.StopPullToPushTaskRequest) (*response.StopPullToPushTaskResponse, int, error)
StopPullToPushTask
- @param *request.StopPullToPushTaskRequest
- @return *response.StopPullToPushTaskResponse, int, error
func (*LIVE) SwitchCasterLayout ¶
func (*LIVE) SwitchCasterResource ¶
func (*LIVE) SwitchCasterResourceImage ¶
func (*LIVE) SwitchCasterResourceOPED ¶
func (*LIVE) UnbindCert ¶
* 6. 为这个domain解绑证书
func (*LIVE) UpdateAuthKey ¶
func (*LIVE) UpdateCallback ¶
* 通过入参messageType区分不同服务:
设置直播推流回调 - push 设置直播断流回调 - push_end 设置录制回调 - record 设置截图回调 - snapshot
func (*LIVE) UpdateCasterArrange ¶
func (*LIVE) UpdateCasterConfig ¶
func (*LIVE) UpdateCasterImageCollection ¶
func (*LIVE) UpdateCasterLayout ¶
func (*LIVE) UpdateCert ¶
* 4. 更新某个证书
func (*LIVE) UpdateDenyConfig ¶
func (p *LIVE) UpdateDenyConfig(req *request.UpdateDenyConfigRequest) (*response.UpdateDenyConfigResponse, int, error)
UpdateDenyConfig
- @param *request.UpdateDenyConfigRequest
- @return *response.UpdateDenyConfigResponse, int, error
func (*LIVE) UpdateDenyConfigV2 ¶
func (p *LIVE) UpdateDenyConfigV2(req *request.UpdateDenyConfigV2Request) (*response.UpdateDenyConfigV2Response, int, error)
UpdateDenyConfigV2
- @param *request.UpdateDenyConfigV2Request
- @return *response.UpdateDenyConfigV2Response, int, error
func (*LIVE) UpdatePullToPushTask ¶
func (p *LIVE) UpdatePullToPushTask(req *request.UpdatePullToPushTaskRequest) (*response.UpdatePullToPushTaskResponse, int, error)
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) UpdateRelaySourceV2 ¶
func (p *LIVE) UpdateRelaySourceV2(req *request.UpdateRelaySourceRequest) (*response.UpdateRelaySourceResponse, int, error)
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 (*LIVE) UpdateTranscodePreset ¶
func (p *LIVE) UpdateTranscodePreset(query url.Values, body string) (*UpdateTranscodePresetResp, int, error)
* 2。
func (*LIVE) UpdateWatermarkPreset ¶
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 ManagerPullPushDomainBindResp ¶
type ManagerPullPushDomainBindResp struct {
ResponseMetadata base.ResponseMetadata
}
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 PushParams ¶
type RefererInfo ¶
type RefererItem ¶
type RefererItem struct { Vhost string `json:"Vhost"` App string `json:"app"` RefererInfoList []*RefererInfo `json:"RefererInfoList"` }
type RemoveCasterResourceResp ¶
type RemoveCasterResourceResp struct {
ResponseMetadata base.ResponseMetadata
}
type ResourceVodPlayInfo ¶
type ResumeStreamResp ¶
type ResumeStreamResp struct {
ResponseMetadata base.ResponseMetadata
}
type SecurityToken2 ¶
type SimpleCertInfo ¶
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 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 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 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"` }