Documentation ¶
Index ¶
- func GenReqDefForCreateDomain() *def.HttpRequestDef
- func GenReqDefForCreateDomainMapping() *def.HttpRequestDef
- func GenReqDefForCreateRecordCallbackConfig() *def.HttpRequestDef
- func GenReqDefForCreateRecordIndex() *def.HttpRequestDef
- func GenReqDefForCreateRecordRule() *def.HttpRequestDef
- func GenReqDefForCreateStreamForbidden() *def.HttpRequestDef
- func GenReqDefForCreateTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteDomain() *def.HttpRequestDef
- func GenReqDefForDeleteDomainMapping() *def.HttpRequestDef
- func GenReqDefForDeleteRecordCallbackConfig() *def.HttpRequestDef
- func GenReqDefForDeleteRecordRule() *def.HttpRequestDef
- func GenReqDefForDeleteStreamForbidden() *def.HttpRequestDef
- func GenReqDefForDeleteTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForListLiveSampleLogs() *def.HttpRequestDef
- func GenReqDefForListLiveStreamsOnline() *def.HttpRequestDef
- func GenReqDefForListRecordCallbackConfigs() *def.HttpRequestDef
- func GenReqDefForListRecordContents() *def.HttpRequestDef
- func GenReqDefForListRecordRules() *def.HttpRequestDef
- func GenReqDefForListStreamForbidden() *def.HttpRequestDef
- func GenReqDefForRunRecord() *def.HttpRequestDef
- func GenReqDefForShowDomain() *def.HttpRequestDef
- func GenReqDefForShowRecordCallbackConfig() *def.HttpRequestDef
- func GenReqDefForShowRecordRule() *def.HttpRequestDef
- func GenReqDefForShowTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateDomain() *def.HttpRequestDef
- func GenReqDefForUpdateDomainIp6Switch() *def.HttpRequestDef
- func GenReqDefForUpdateRecordCallbackConfig() *def.HttpRequestDef
- func GenReqDefForUpdateRecordRule() *def.HttpRequestDef
- func GenReqDefForUpdateStreamForbidden() *def.HttpRequestDef
- func GenReqDefForUpdateTranscodingsTemplate() *def.HttpRequestDef
- func LiveClientBuilder() *http_client.HcHttpClientBuilder
- type CreateDomainInvoker
- type CreateDomainMappingInvoker
- type CreateRecordCallbackConfigInvoker
- type CreateRecordIndexInvoker
- type CreateRecordRuleInvoker
- type CreateStreamForbiddenInvoker
- type CreateTranscodingsTemplateInvoker
- type DeleteDomainInvoker
- type DeleteDomainMappingInvoker
- type DeleteRecordCallbackConfigInvoker
- type DeleteRecordRuleInvoker
- type DeleteStreamForbiddenInvoker
- type DeleteTranscodingsTemplateInvoker
- type ListLiveSampleLogsInvoker
- type ListLiveStreamsOnlineInvoker
- type ListRecordCallbackConfigsInvoker
- type ListRecordContentsInvoker
- type ListRecordRulesInvoker
- type ListStreamForbiddenInvoker
- type LiveClient
- func (c *LiveClient) CreateDomain(request *model.CreateDomainRequest) (*model.CreateDomainResponse, error)
- func (c *LiveClient) CreateDomainInvoker(request *model.CreateDomainRequest) *CreateDomainInvoker
- func (c *LiveClient) CreateDomainMapping(request *model.CreateDomainMappingRequest) (*model.CreateDomainMappingResponse, error)
- func (c *LiveClient) CreateDomainMappingInvoker(request *model.CreateDomainMappingRequest) *CreateDomainMappingInvoker
- func (c *LiveClient) CreateRecordCallbackConfig(request *model.CreateRecordCallbackConfigRequest) (*model.CreateRecordCallbackConfigResponse, error)
- func (c *LiveClient) CreateRecordCallbackConfigInvoker(request *model.CreateRecordCallbackConfigRequest) *CreateRecordCallbackConfigInvoker
- func (c *LiveClient) CreateRecordIndex(request *model.CreateRecordIndexRequest) (*model.CreateRecordIndexResponse, error)
- func (c *LiveClient) CreateRecordIndexInvoker(request *model.CreateRecordIndexRequest) *CreateRecordIndexInvoker
- func (c *LiveClient) CreateRecordRule(request *model.CreateRecordRuleRequest) (*model.CreateRecordRuleResponse, error)
- func (c *LiveClient) CreateRecordRuleInvoker(request *model.CreateRecordRuleRequest) *CreateRecordRuleInvoker
- func (c *LiveClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
- func (c *LiveClient) CreateStreamForbiddenInvoker(request *model.CreateStreamForbiddenRequest) *CreateStreamForbiddenInvoker
- func (c *LiveClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
- func (c *LiveClient) CreateTranscodingsTemplateInvoker(request *model.CreateTranscodingsTemplateRequest) *CreateTranscodingsTemplateInvoker
- func (c *LiveClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)
- func (c *LiveClient) DeleteDomainInvoker(request *model.DeleteDomainRequest) *DeleteDomainInvoker
- func (c *LiveClient) DeleteDomainMapping(request *model.DeleteDomainMappingRequest) (*model.DeleteDomainMappingResponse, error)
- func (c *LiveClient) DeleteDomainMappingInvoker(request *model.DeleteDomainMappingRequest) *DeleteDomainMappingInvoker
- func (c *LiveClient) DeleteRecordCallbackConfig(request *model.DeleteRecordCallbackConfigRequest) (*model.DeleteRecordCallbackConfigResponse, error)
- func (c *LiveClient) DeleteRecordCallbackConfigInvoker(request *model.DeleteRecordCallbackConfigRequest) *DeleteRecordCallbackConfigInvoker
- func (c *LiveClient) DeleteRecordRule(request *model.DeleteRecordRuleRequest) (*model.DeleteRecordRuleResponse, error)
- func (c *LiveClient) DeleteRecordRuleInvoker(request *model.DeleteRecordRuleRequest) *DeleteRecordRuleInvoker
- func (c *LiveClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
- func (c *LiveClient) DeleteStreamForbiddenInvoker(request *model.DeleteStreamForbiddenRequest) *DeleteStreamForbiddenInvoker
- func (c *LiveClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
- func (c *LiveClient) DeleteTranscodingsTemplateInvoker(request *model.DeleteTranscodingsTemplateRequest) *DeleteTranscodingsTemplateInvoker
- func (c *LiveClient) ListLiveSampleLogs(request *model.ListLiveSampleLogsRequest) (*model.ListLiveSampleLogsResponse, error)
- func (c *LiveClient) ListLiveSampleLogsInvoker(request *model.ListLiveSampleLogsRequest) *ListLiveSampleLogsInvoker
- func (c *LiveClient) ListLiveStreamsOnline(request *model.ListLiveStreamsOnlineRequest) (*model.ListLiveStreamsOnlineResponse, error)
- func (c *LiveClient) ListLiveStreamsOnlineInvoker(request *model.ListLiveStreamsOnlineRequest) *ListLiveStreamsOnlineInvoker
- func (c *LiveClient) ListRecordCallbackConfigs(request *model.ListRecordCallbackConfigsRequest) (*model.ListRecordCallbackConfigsResponse, error)
- func (c *LiveClient) ListRecordCallbackConfigsInvoker(request *model.ListRecordCallbackConfigsRequest) *ListRecordCallbackConfigsInvoker
- func (c *LiveClient) ListRecordContents(request *model.ListRecordContentsRequest) (*model.ListRecordContentsResponse, error)
- func (c *LiveClient) ListRecordContentsInvoker(request *model.ListRecordContentsRequest) *ListRecordContentsInvoker
- func (c *LiveClient) ListRecordRules(request *model.ListRecordRulesRequest) (*model.ListRecordRulesResponse, error)
- func (c *LiveClient) ListRecordRulesInvoker(request *model.ListRecordRulesRequest) *ListRecordRulesInvoker
- func (c *LiveClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
- func (c *LiveClient) ListStreamForbiddenInvoker(request *model.ListStreamForbiddenRequest) *ListStreamForbiddenInvoker
- func (c *LiveClient) RunRecord(request *model.RunRecordRequest) (*model.RunRecordResponse, error)
- func (c *LiveClient) RunRecordInvoker(request *model.RunRecordRequest) *RunRecordInvoker
- func (c *LiveClient) ShowDomain(request *model.ShowDomainRequest) (*model.ShowDomainResponse, error)
- func (c *LiveClient) ShowDomainInvoker(request *model.ShowDomainRequest) *ShowDomainInvoker
- func (c *LiveClient) ShowRecordCallbackConfig(request *model.ShowRecordCallbackConfigRequest) (*model.ShowRecordCallbackConfigResponse, error)
- func (c *LiveClient) ShowRecordCallbackConfigInvoker(request *model.ShowRecordCallbackConfigRequest) *ShowRecordCallbackConfigInvoker
- func (c *LiveClient) ShowRecordRule(request *model.ShowRecordRuleRequest) (*model.ShowRecordRuleResponse, error)
- func (c *LiveClient) ShowRecordRuleInvoker(request *model.ShowRecordRuleRequest) *ShowRecordRuleInvoker
- func (c *LiveClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
- func (c *LiveClient) ShowTranscodingsTemplateInvoker(request *model.ShowTranscodingsTemplateRequest) *ShowTranscodingsTemplateInvoker
- func (c *LiveClient) UpdateDomain(request *model.UpdateDomainRequest) (*model.UpdateDomainResponse, error)
- func (c *LiveClient) UpdateDomainInvoker(request *model.UpdateDomainRequest) *UpdateDomainInvoker
- func (c *LiveClient) UpdateDomainIp6Switch(request *model.UpdateDomainIp6SwitchRequest) (*model.UpdateDomainIp6SwitchResponse, error)
- func (c *LiveClient) UpdateDomainIp6SwitchInvoker(request *model.UpdateDomainIp6SwitchRequest) *UpdateDomainIp6SwitchInvoker
- func (c *LiveClient) UpdateRecordCallbackConfig(request *model.UpdateRecordCallbackConfigRequest) (*model.UpdateRecordCallbackConfigResponse, error)
- func (c *LiveClient) UpdateRecordCallbackConfigInvoker(request *model.UpdateRecordCallbackConfigRequest) *UpdateRecordCallbackConfigInvoker
- func (c *LiveClient) UpdateRecordRule(request *model.UpdateRecordRuleRequest) (*model.UpdateRecordRuleResponse, error)
- func (c *LiveClient) UpdateRecordRuleInvoker(request *model.UpdateRecordRuleRequest) *UpdateRecordRuleInvoker
- func (c *LiveClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
- func (c *LiveClient) UpdateStreamForbiddenInvoker(request *model.UpdateStreamForbiddenRequest) *UpdateStreamForbiddenInvoker
- func (c *LiveClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
- func (c *LiveClient) UpdateTranscodingsTemplateInvoker(request *model.UpdateTranscodingsTemplateRequest) *UpdateTranscodingsTemplateInvoker
- type RunRecordInvoker
- type ShowDomainInvoker
- type ShowRecordCallbackConfigInvoker
- type ShowRecordRuleInvoker
- type ShowTranscodingsTemplateInvoker
- type UpdateDomainInvoker
- type UpdateDomainIp6SwitchInvoker
- type UpdateRecordCallbackConfigInvoker
- type UpdateRecordRuleInvoker
- type UpdateStreamForbiddenInvoker
- type UpdateTranscodingsTemplateInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateDomain ¶
func GenReqDefForCreateDomain() *def.HttpRequestDef
func GenReqDefForCreateDomainMapping ¶
func GenReqDefForCreateDomainMapping() *def.HttpRequestDef
func GenReqDefForCreateRecordCallbackConfig ¶ added in v0.0.48
func GenReqDefForCreateRecordCallbackConfig() *def.HttpRequestDef
func GenReqDefForCreateRecordIndex ¶ added in v0.0.101
func GenReqDefForCreateRecordIndex() *def.HttpRequestDef
func GenReqDefForCreateRecordRule ¶ added in v0.0.48
func GenReqDefForCreateRecordRule() *def.HttpRequestDef
func GenReqDefForCreateStreamForbidden ¶
func GenReqDefForCreateStreamForbidden() *def.HttpRequestDef
func GenReqDefForCreateTranscodingsTemplate ¶
func GenReqDefForCreateTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForDeleteDomain ¶
func GenReqDefForDeleteDomain() *def.HttpRequestDef
func GenReqDefForDeleteDomainMapping ¶
func GenReqDefForDeleteDomainMapping() *def.HttpRequestDef
func GenReqDefForDeleteRecordCallbackConfig ¶ added in v0.0.48
func GenReqDefForDeleteRecordCallbackConfig() *def.HttpRequestDef
func GenReqDefForDeleteRecordRule ¶ added in v0.0.48
func GenReqDefForDeleteRecordRule() *def.HttpRequestDef
func GenReqDefForDeleteStreamForbidden ¶
func GenReqDefForDeleteStreamForbidden() *def.HttpRequestDef
func GenReqDefForDeleteTranscodingsTemplate ¶
func GenReqDefForDeleteTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForListLiveSampleLogs ¶
func GenReqDefForListLiveSampleLogs() *def.HttpRequestDef
func GenReqDefForListLiveStreamsOnline ¶
func GenReqDefForListLiveStreamsOnline() *def.HttpRequestDef
func GenReqDefForListRecordCallbackConfigs ¶ added in v0.0.48
func GenReqDefForListRecordCallbackConfigs() *def.HttpRequestDef
func GenReqDefForListRecordContents ¶ added in v0.0.62
func GenReqDefForListRecordContents() *def.HttpRequestDef
func GenReqDefForListRecordRules ¶ added in v0.0.48
func GenReqDefForListRecordRules() *def.HttpRequestDef
func GenReqDefForListStreamForbidden ¶
func GenReqDefForListStreamForbidden() *def.HttpRequestDef
func GenReqDefForRunRecord ¶ added in v0.0.68
func GenReqDefForRunRecord() *def.HttpRequestDef
func GenReqDefForShowDomain ¶
func GenReqDefForShowDomain() *def.HttpRequestDef
func GenReqDefForShowRecordCallbackConfig ¶ added in v0.0.48
func GenReqDefForShowRecordCallbackConfig() *def.HttpRequestDef
func GenReqDefForShowRecordRule ¶ added in v0.0.48
func GenReqDefForShowRecordRule() *def.HttpRequestDef
func GenReqDefForShowTranscodingsTemplate ¶
func GenReqDefForShowTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForUpdateDomain ¶
func GenReqDefForUpdateDomain() *def.HttpRequestDef
func GenReqDefForUpdateDomainIp6Switch ¶ added in v0.1.19
func GenReqDefForUpdateDomainIp6Switch() *def.HttpRequestDef
func GenReqDefForUpdateRecordCallbackConfig ¶ added in v0.0.48
func GenReqDefForUpdateRecordCallbackConfig() *def.HttpRequestDef
func GenReqDefForUpdateRecordRule ¶ added in v0.0.48
func GenReqDefForUpdateRecordRule() *def.HttpRequestDef
func GenReqDefForUpdateStreamForbidden ¶
func GenReqDefForUpdateStreamForbidden() *def.HttpRequestDef
func GenReqDefForUpdateTranscodingsTemplate ¶
func GenReqDefForUpdateTranscodingsTemplate() *def.HttpRequestDef
func LiveClientBuilder ¶
func LiveClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type CreateDomainInvoker ¶ added in v0.0.90
type CreateDomainInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDomainInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDomainInvoker) Invoke() (*model.CreateDomainResponse, error)
type CreateDomainMappingInvoker ¶ added in v0.0.90
type CreateDomainMappingInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDomainMappingInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDomainMappingInvoker) Invoke() (*model.CreateDomainMappingResponse, error)
type CreateRecordCallbackConfigInvoker ¶ added in v0.0.90
type CreateRecordCallbackConfigInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRecordCallbackConfigInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRecordCallbackConfigInvoker) Invoke() (*model.CreateRecordCallbackConfigResponse, error)
type CreateRecordIndexInvoker ¶ added in v0.0.101
type CreateRecordIndexInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRecordIndexInvoker) Invoke ¶ added in v0.0.101
func (i *CreateRecordIndexInvoker) Invoke() (*model.CreateRecordIndexResponse, error)
type CreateRecordRuleInvoker ¶ added in v0.0.90
type CreateRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRecordRuleInvoker) Invoke() (*model.CreateRecordRuleResponse, error)
type CreateStreamForbiddenInvoker ¶ added in v0.0.90
type CreateStreamForbiddenInvoker struct {
*invoker.BaseInvoker
}
func (*CreateStreamForbiddenInvoker) Invoke ¶ added in v0.0.90
func (i *CreateStreamForbiddenInvoker) Invoke() (*model.CreateStreamForbiddenResponse, error)
type CreateTranscodingsTemplateInvoker ¶ added in v0.0.90
type CreateTranscodingsTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTranscodingsTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTranscodingsTemplateInvoker) Invoke() (*model.CreateTranscodingsTemplateResponse, error)
type DeleteDomainInvoker ¶ added in v0.0.90
type DeleteDomainInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDomainInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDomainInvoker) Invoke() (*model.DeleteDomainResponse, error)
type DeleteDomainMappingInvoker ¶ added in v0.0.90
type DeleteDomainMappingInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDomainMappingInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDomainMappingInvoker) Invoke() (*model.DeleteDomainMappingResponse, error)
type DeleteRecordCallbackConfigInvoker ¶ added in v0.0.90
type DeleteRecordCallbackConfigInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRecordCallbackConfigInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRecordCallbackConfigInvoker) Invoke() (*model.DeleteRecordCallbackConfigResponse, error)
type DeleteRecordRuleInvoker ¶ added in v0.0.90
type DeleteRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRecordRuleInvoker) Invoke() (*model.DeleteRecordRuleResponse, error)
type DeleteStreamForbiddenInvoker ¶ added in v0.0.90
type DeleteStreamForbiddenInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteStreamForbiddenInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteStreamForbiddenInvoker) Invoke() (*model.DeleteStreamForbiddenResponse, error)
type DeleteTranscodingsTemplateInvoker ¶ added in v0.0.90
type DeleteTranscodingsTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTranscodingsTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTranscodingsTemplateInvoker) Invoke() (*model.DeleteTranscodingsTemplateResponse, error)
type ListLiveSampleLogsInvoker ¶ added in v0.0.90
type ListLiveSampleLogsInvoker struct {
*invoker.BaseInvoker
}
func (*ListLiveSampleLogsInvoker) Invoke ¶ added in v0.0.90
func (i *ListLiveSampleLogsInvoker) Invoke() (*model.ListLiveSampleLogsResponse, error)
type ListLiveStreamsOnlineInvoker ¶ added in v0.0.90
type ListLiveStreamsOnlineInvoker struct {
*invoker.BaseInvoker
}
func (*ListLiveStreamsOnlineInvoker) Invoke ¶ added in v0.0.90
func (i *ListLiveStreamsOnlineInvoker) Invoke() (*model.ListLiveStreamsOnlineResponse, error)
type ListRecordCallbackConfigsInvoker ¶ added in v0.0.90
type ListRecordCallbackConfigsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRecordCallbackConfigsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRecordCallbackConfigsInvoker) Invoke() (*model.ListRecordCallbackConfigsResponse, error)
type ListRecordContentsInvoker ¶ added in v0.0.90
type ListRecordContentsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRecordContentsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRecordContentsInvoker) Invoke() (*model.ListRecordContentsResponse, error)
type ListRecordRulesInvoker ¶ added in v0.0.90
type ListRecordRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListRecordRulesInvoker) Invoke ¶ added in v0.0.90
func (i *ListRecordRulesInvoker) Invoke() (*model.ListRecordRulesResponse, error)
type ListStreamForbiddenInvoker ¶ added in v0.0.90
type ListStreamForbiddenInvoker struct {
*invoker.BaseInvoker
}
func (*ListStreamForbiddenInvoker) Invoke ¶ added in v0.0.90
func (i *ListStreamForbiddenInvoker) Invoke() (*model.ListStreamForbiddenResponse, error)
type LiveClient ¶
type LiveClient struct {
HcClient *http_client.HcHttpClient
}
func NewLiveClient ¶
func NewLiveClient(hcClient *http_client.HcHttpClient) *LiveClient
func (*LiveClient) CreateDomain ¶
func (c *LiveClient) CreateDomain(request *model.CreateDomainRequest) (*model.CreateDomainResponse, error)
CreateDomain 创建直播域名
可单独创建直播播放域名或推流域名,每个租户最多可配置64条域名记录。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateDomainInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateDomainInvoker(request *model.CreateDomainRequest) *CreateDomainInvoker
CreateDomainInvoker 创建直播域名
func (*LiveClient) CreateDomainMapping ¶
func (c *LiveClient) CreateDomainMapping(request *model.CreateDomainMappingRequest) (*model.CreateDomainMappingResponse, error)
CreateDomainMapping 域名映射
将用户已创建的播放域名和推流域名建立域名映射关系
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateDomainMappingInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateDomainMappingInvoker(request *model.CreateDomainMappingRequest) *CreateDomainMappingInvoker
CreateDomainMappingInvoker 域名映射
func (*LiveClient) CreateRecordCallbackConfig ¶ added in v0.0.48
func (c *LiveClient) CreateRecordCallbackConfig(request *model.CreateRecordCallbackConfigRequest) (*model.CreateRecordCallbackConfigResponse, error)
CreateRecordCallbackConfig 创建录制回调配置
创建录制回调配置接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateRecordCallbackConfigInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateRecordCallbackConfigInvoker(request *model.CreateRecordCallbackConfigRequest) *CreateRecordCallbackConfigInvoker
CreateRecordCallbackConfigInvoker 创建录制回调配置
func (*LiveClient) CreateRecordIndex ¶ added in v0.0.101
func (c *LiveClient) CreateRecordIndex(request *model.CreateRecordIndexRequest) (*model.CreateRecordIndexResponse, error)
CreateRecordIndex 创建录制视频索引文件
Create Record Index ¶
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateRecordIndexInvoker ¶ added in v0.0.101
func (c *LiveClient) CreateRecordIndexInvoker(request *model.CreateRecordIndexRequest) *CreateRecordIndexInvoker
CreateRecordIndexInvoker 创建录制视频索引文件
func (*LiveClient) CreateRecordRule ¶ added in v0.0.48
func (c *LiveClient) CreateRecordRule(request *model.CreateRecordRuleRequest) (*model.CreateRecordRuleResponse, error)
CreateRecordRule 创建录制规则
创建录制规则接口,录制规则对新推送的流生效,对已经推送中的流不生效
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateRecordRuleInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateRecordRuleInvoker(request *model.CreateRecordRuleRequest) *CreateRecordRuleInvoker
CreateRecordRuleInvoker 创建录制规则
func (*LiveClient) CreateStreamForbidden ¶
func (c *LiveClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
CreateStreamForbidden 禁止直播推流
禁止直播推流
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateStreamForbiddenInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateStreamForbiddenInvoker(request *model.CreateStreamForbiddenRequest) *CreateStreamForbiddenInvoker
CreateStreamForbiddenInvoker 禁止直播推流
func (*LiveClient) CreateTranscodingsTemplate ¶
func (c *LiveClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
CreateTranscodingsTemplate 创建直播转码模板
创建直播转码模板
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) CreateTranscodingsTemplateInvoker ¶ added in v0.0.90
func (c *LiveClient) CreateTranscodingsTemplateInvoker(request *model.CreateTranscodingsTemplateRequest) *CreateTranscodingsTemplateInvoker
CreateTranscodingsTemplateInvoker 创建直播转码模板
func (*LiveClient) DeleteDomain ¶
func (c *LiveClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)
DeleteDomain 删除直播域名
删除域名。只有在域名停用(off)状态时才能删除。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteDomainInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteDomainInvoker(request *model.DeleteDomainRequest) *DeleteDomainInvoker
DeleteDomainInvoker 删除直播域名
func (*LiveClient) DeleteDomainMapping ¶
func (c *LiveClient) DeleteDomainMapping(request *model.DeleteDomainMappingRequest) (*model.DeleteDomainMappingResponse, error)
DeleteDomainMapping 删除直播域名映射关系
将播放域名和推流域名的域名映射关系删除
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteDomainMappingInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteDomainMappingInvoker(request *model.DeleteDomainMappingRequest) *DeleteDomainMappingInvoker
DeleteDomainMappingInvoker 删除直播域名映射关系
func (*LiveClient) DeleteRecordCallbackConfig ¶ added in v0.0.48
func (c *LiveClient) DeleteRecordCallbackConfig(request *model.DeleteRecordCallbackConfigRequest) (*model.DeleteRecordCallbackConfigResponse, error)
DeleteRecordCallbackConfig 删除录制回调配置
删除录制回调配置接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteRecordCallbackConfigInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteRecordCallbackConfigInvoker(request *model.DeleteRecordCallbackConfigRequest) *DeleteRecordCallbackConfigInvoker
DeleteRecordCallbackConfigInvoker 删除录制回调配置
func (*LiveClient) DeleteRecordRule ¶ added in v0.0.48
func (c *LiveClient) DeleteRecordRule(request *model.DeleteRecordRuleRequest) (*model.DeleteRecordRuleResponse, error)
DeleteRecordRule 删除录制规则
删除录制规则接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteRecordRuleInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteRecordRuleInvoker(request *model.DeleteRecordRuleRequest) *DeleteRecordRuleInvoker
DeleteRecordRuleInvoker 删除录制规则
func (*LiveClient) DeleteStreamForbidden ¶
func (c *LiveClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
DeleteStreamForbidden 禁推恢复
恢复直播推流接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteStreamForbiddenInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteStreamForbiddenInvoker(request *model.DeleteStreamForbiddenRequest) *DeleteStreamForbiddenInvoker
DeleteStreamForbiddenInvoker 禁推恢复
func (*LiveClient) DeleteTranscodingsTemplate ¶
func (c *LiveClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
DeleteTranscodingsTemplate 删除直播转码模板
删除直播转码模板
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) DeleteTranscodingsTemplateInvoker ¶ added in v0.0.90
func (c *LiveClient) DeleteTranscodingsTemplateInvoker(request *model.DeleteTranscodingsTemplateRequest) *DeleteTranscodingsTemplateInvoker
DeleteTranscodingsTemplateInvoker 删除直播转码模板
func (*LiveClient) ListLiveSampleLogs ¶
func (c *LiveClient) ListLiveSampleLogs(request *model.ListLiveSampleLogsRequest) (*model.ListLiveSampleLogsResponse, error)
ListLiveSampleLogs 获取直播播放日志
获取直播播放日志,基于域名以5分钟粒度进行打包,日志内容以 \"|\" 进行分隔。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListLiveSampleLogsInvoker ¶ added in v0.0.90
func (c *LiveClient) ListLiveSampleLogsInvoker(request *model.ListLiveSampleLogsRequest) *ListLiveSampleLogsInvoker
ListLiveSampleLogsInvoker 获取直播播放日志
func (*LiveClient) ListLiveStreamsOnline ¶
func (c *LiveClient) ListLiveStreamsOnline(request *model.ListLiveStreamsOnlineRequest) (*model.ListLiveStreamsOnlineResponse, error)
ListLiveStreamsOnline 查询直播中的流信息
查询直播中的流信息
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListLiveStreamsOnlineInvoker ¶ added in v0.0.90
func (c *LiveClient) ListLiveStreamsOnlineInvoker(request *model.ListLiveStreamsOnlineRequest) *ListLiveStreamsOnlineInvoker
ListLiveStreamsOnlineInvoker 查询直播中的流信息
func (*LiveClient) ListRecordCallbackConfigs ¶ added in v0.0.48
func (c *LiveClient) ListRecordCallbackConfigs(request *model.ListRecordCallbackConfigsRequest) (*model.ListRecordCallbackConfigsResponse, error)
ListRecordCallbackConfigs 查询录制回调配置列表
查询录制回调配置列表接口。通过指定条件,查询满足条件的配置列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListRecordCallbackConfigsInvoker ¶ added in v0.0.90
func (c *LiveClient) ListRecordCallbackConfigsInvoker(request *model.ListRecordCallbackConfigsRequest) *ListRecordCallbackConfigsInvoker
ListRecordCallbackConfigsInvoker 查询录制回调配置列表
func (*LiveClient) ListRecordContents ¶ added in v0.0.62
func (c *LiveClient) ListRecordContents(request *model.ListRecordContentsRequest) (*model.ListRecordContentsResponse, error)
ListRecordContents 录制完成内容的查询
录制完成的内容查询
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListRecordContentsInvoker ¶ added in v0.0.90
func (c *LiveClient) ListRecordContentsInvoker(request *model.ListRecordContentsRequest) *ListRecordContentsInvoker
ListRecordContentsInvoker 录制完成内容的查询
func (*LiveClient) ListRecordRules ¶ added in v0.0.48
func (c *LiveClient) ListRecordRules(request *model.ListRecordRulesRequest) (*model.ListRecordRulesResponse, error)
ListRecordRules 查询录制规则列表
查询录制规则列表接口,通过指定条件,查询满足条件的录制规则列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListRecordRulesInvoker ¶ added in v0.0.90
func (c *LiveClient) ListRecordRulesInvoker(request *model.ListRecordRulesRequest) *ListRecordRulesInvoker
ListRecordRulesInvoker 查询录制规则列表
func (*LiveClient) ListStreamForbidden ¶
func (c *LiveClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
ListStreamForbidden 查询禁止直播推流列表
查询禁播黑名单列表
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ListStreamForbiddenInvoker ¶ added in v0.0.90
func (c *LiveClient) ListStreamForbiddenInvoker(request *model.ListStreamForbiddenRequest) *ListStreamForbiddenInvoker
ListStreamForbiddenInvoker 查询禁止直播推流列表
func (*LiveClient) RunRecord ¶ added in v0.0.68
func (c *LiveClient) RunRecord(request *model.RunRecordRequest) (*model.RunRecordResponse, error)
RunRecord 提交录制控制命令
对单条流的实时录制控制接口。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) RunRecordInvoker ¶ added in v0.0.90
func (c *LiveClient) RunRecordInvoker(request *model.RunRecordRequest) *RunRecordInvoker
RunRecordInvoker 提交录制控制命令
func (*LiveClient) ShowDomain ¶
func (c *LiveClient) ShowDomain(request *model.ShowDomainRequest) (*model.ShowDomainResponse, error)
ShowDomain 查询直播域名
查询直播域名
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ShowDomainInvoker ¶ added in v0.0.90
func (c *LiveClient) ShowDomainInvoker(request *model.ShowDomainRequest) *ShowDomainInvoker
ShowDomainInvoker 查询直播域名
func (*LiveClient) ShowRecordCallbackConfig ¶ added in v0.0.48
func (c *LiveClient) ShowRecordCallbackConfig(request *model.ShowRecordCallbackConfigRequest) (*model.ShowRecordCallbackConfigResponse, error)
ShowRecordCallbackConfig 查询录制回调配置
查询录制回调配置接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ShowRecordCallbackConfigInvoker ¶ added in v0.0.90
func (c *LiveClient) ShowRecordCallbackConfigInvoker(request *model.ShowRecordCallbackConfigRequest) *ShowRecordCallbackConfigInvoker
ShowRecordCallbackConfigInvoker 查询录制回调配置
func (*LiveClient) ShowRecordRule ¶ added in v0.0.48
func (c *LiveClient) ShowRecordRule(request *model.ShowRecordRuleRequest) (*model.ShowRecordRuleResponse, error)
ShowRecordRule 查询录制规则配置
查询录制规则接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ShowRecordRuleInvoker ¶ added in v0.0.90
func (c *LiveClient) ShowRecordRuleInvoker(request *model.ShowRecordRuleRequest) *ShowRecordRuleInvoker
ShowRecordRuleInvoker 查询录制规则配置
func (*LiveClient) ShowTranscodingsTemplate ¶
func (c *LiveClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
ShowTranscodingsTemplate 查询直播转码模板
查询直播转码模板
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) ShowTranscodingsTemplateInvoker ¶ added in v0.0.90
func (c *LiveClient) ShowTranscodingsTemplateInvoker(request *model.ShowTranscodingsTemplateRequest) *ShowTranscodingsTemplateInvoker
ShowTranscodingsTemplateInvoker 查询直播转码模板
func (*LiveClient) UpdateDomain ¶
func (c *LiveClient) UpdateDomain(request *model.UpdateDomainRequest) (*model.UpdateDomainResponse, error)
UpdateDomain 修改直播域名
修改直播播放、RTMP推流加速域名相关信息
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateDomainInvoker ¶ added in v0.0.90
func (c *LiveClient) UpdateDomainInvoker(request *model.UpdateDomainRequest) *UpdateDomainInvoker
UpdateDomainInvoker 修改直播域名
func (*LiveClient) UpdateDomainIp6Switch ¶ added in v0.1.19
func (c *LiveClient) UpdateDomainIp6Switch(request *model.UpdateDomainIp6SwitchRequest) (*model.UpdateDomainIp6SwitchResponse, error)
UpdateDomainIp6Switch 配置域名IPV6开关
配置IPV6开关
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateDomainIp6SwitchInvoker ¶ added in v0.1.19
func (c *LiveClient) UpdateDomainIp6SwitchInvoker(request *model.UpdateDomainIp6SwitchRequest) *UpdateDomainIp6SwitchInvoker
UpdateDomainIp6SwitchInvoker 配置域名IPV6开关
func (*LiveClient) UpdateRecordCallbackConfig ¶ added in v0.0.48
func (c *LiveClient) UpdateRecordCallbackConfig(request *model.UpdateRecordCallbackConfigRequest) (*model.UpdateRecordCallbackConfigResponse, error)
UpdateRecordCallbackConfig 修改录制回调配置
修改录制回调配置接口
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateRecordCallbackConfigInvoker ¶ added in v0.0.90
func (c *LiveClient) UpdateRecordCallbackConfigInvoker(request *model.UpdateRecordCallbackConfigRequest) *UpdateRecordCallbackConfigInvoker
UpdateRecordCallbackConfigInvoker 修改录制回调配置
func (*LiveClient) UpdateRecordRule ¶ added in v0.0.48
func (c *LiveClient) UpdateRecordRule(request *model.UpdateRecordRuleRequest) (*model.UpdateRecordRuleResponse, error)
UpdateRecordRule 修改录制规则
修改录制规则接口,如果规则修改后,修改后的规则对正在录制的流无效,对新的流有效。
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateRecordRuleInvoker ¶ added in v0.0.90
func (c *LiveClient) UpdateRecordRuleInvoker(request *model.UpdateRecordRuleRequest) *UpdateRecordRuleInvoker
UpdateRecordRuleInvoker 修改录制规则
func (*LiveClient) UpdateStreamForbidden ¶
func (c *LiveClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
UpdateStreamForbidden 修改禁推属性
修改禁推属性
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateStreamForbiddenInvoker ¶ added in v0.0.90
func (c *LiveClient) UpdateStreamForbiddenInvoker(request *model.UpdateStreamForbiddenRequest) *UpdateStreamForbiddenInvoker
UpdateStreamForbiddenInvoker 修改禁推属性
func (*LiveClient) UpdateTranscodingsTemplate ¶
func (c *LiveClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
UpdateTranscodingsTemplate 配置直播转码模板
修改直播转码模板
Please refer to HUAWEI cloud API Explorer for details.
func (*LiveClient) UpdateTranscodingsTemplateInvoker ¶ added in v0.0.90
func (c *LiveClient) UpdateTranscodingsTemplateInvoker(request *model.UpdateTranscodingsTemplateRequest) *UpdateTranscodingsTemplateInvoker
UpdateTranscodingsTemplateInvoker 配置直播转码模板
type RunRecordInvoker ¶ added in v0.0.90
type RunRecordInvoker struct {
*invoker.BaseInvoker
}
func (*RunRecordInvoker) Invoke ¶ added in v0.0.90
func (i *RunRecordInvoker) Invoke() (*model.RunRecordResponse, error)
type ShowDomainInvoker ¶ added in v0.0.90
type ShowDomainInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainInvoker) Invoke() (*model.ShowDomainResponse, error)
type ShowRecordCallbackConfigInvoker ¶ added in v0.0.90
type ShowRecordCallbackConfigInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRecordCallbackConfigInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRecordCallbackConfigInvoker) Invoke() (*model.ShowRecordCallbackConfigResponse, error)
type ShowRecordRuleInvoker ¶ added in v0.0.90
type ShowRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRecordRuleInvoker) Invoke() (*model.ShowRecordRuleResponse, error)
type ShowTranscodingsTemplateInvoker ¶ added in v0.0.90
type ShowTranscodingsTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTranscodingsTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTranscodingsTemplateInvoker) Invoke() (*model.ShowTranscodingsTemplateResponse, error)
type UpdateDomainInvoker ¶ added in v0.0.90
type UpdateDomainInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDomainInvoker) Invoke() (*model.UpdateDomainResponse, error)
type UpdateDomainIp6SwitchInvoker ¶ added in v0.1.19
type UpdateDomainIp6SwitchInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainIp6SwitchInvoker) Invoke ¶ added in v0.1.19
func (i *UpdateDomainIp6SwitchInvoker) Invoke() (*model.UpdateDomainIp6SwitchResponse, error)
type UpdateRecordCallbackConfigInvoker ¶ added in v0.0.90
type UpdateRecordCallbackConfigInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRecordCallbackConfigInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRecordCallbackConfigInvoker) Invoke() (*model.UpdateRecordCallbackConfigResponse, error)
type UpdateRecordRuleInvoker ¶ added in v0.0.90
type UpdateRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRecordRuleInvoker) Invoke() (*model.UpdateRecordRuleResponse, error)
type UpdateStreamForbiddenInvoker ¶ added in v0.0.90
type UpdateStreamForbiddenInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateStreamForbiddenInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateStreamForbiddenInvoker) Invoke() (*model.UpdateStreamForbiddenResponse, error)
type UpdateTranscodingsTemplateInvoker ¶ added in v0.0.90
type UpdateTranscodingsTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTranscodingsTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateTranscodingsTemplateInvoker) Invoke() (*model.UpdateTranscodingsTemplateResponse, error)