v1

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

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 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 GenReqDefForListRecordRules added in v0.0.48

func GenReqDefForListRecordRules() *def.HttpRequestDef

func GenReqDefForListStreamForbidden

func GenReqDefForListStreamForbidden() *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 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 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)

可单独创建直播播放域名或推流域名,每个租户最多可配置64条域名记录。

func (*LiveClient) CreateDomainMapping

将用户已创建的播放域名和推流域名建立域名映射关系

func (*LiveClient) CreateRecordCallbackConfig added in v0.0.48

创建录制回调配置接口

func (*LiveClient) CreateRecordRule added in v0.0.48

func (c *LiveClient) CreateRecordRule(request *model.CreateRecordRuleRequest) (*model.CreateRecordRuleResponse, error)

创建录制规则接口,录制规则对新推送的流生效,对已经推送中的流不生效

func (*LiveClient) CreateStreamForbidden

禁止直播推流

func (*LiveClient) CreateTranscodingsTemplate

创建直播转码模板

func (*LiveClient) DeleteDomain

func (c *LiveClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)

删除域名。只有在域名停用(off)状态时才能删除。

func (*LiveClient) DeleteDomainMapping

将播放域名和推流域名的域名映射关系删除

func (*LiveClient) DeleteRecordCallbackConfig added in v0.0.48

删除录制回调配置接口

func (*LiveClient) DeleteRecordRule added in v0.0.48

func (c *LiveClient) DeleteRecordRule(request *model.DeleteRecordRuleRequest) (*model.DeleteRecordRuleResponse, error)

删除录制规则接口

func (*LiveClient) DeleteStreamForbidden

恢复直播推流接口

func (*LiveClient) DeleteTranscodingsTemplate

删除直播转码模板

func (*LiveClient) ListLiveSampleLogs

获取直播播放日志,基于域名以5分钟粒度进行打包,日志内容以 \"|\" 进行分隔。

func (*LiveClient) ListLiveStreamsOnline

查询直播中的流信息

func (*LiveClient) ListRecordCallbackConfigs added in v0.0.48

查询录制回调配置列表接口。通过指定条件,查询满足条件的配置列表。

func (*LiveClient) ListRecordRules added in v0.0.48

func (c *LiveClient) ListRecordRules(request *model.ListRecordRulesRequest) (*model.ListRecordRulesResponse, error)

查询录制规则列表接口,通过指定条件,查询满足条件的录制规则列表。

func (*LiveClient) ListStreamForbidden

查询禁播黑名单列表

func (*LiveClient) ShowDomain

func (c *LiveClient) ShowDomain(request *model.ShowDomainRequest) (*model.ShowDomainResponse, error)

查询直播域名

func (*LiveClient) ShowRecordCallbackConfig added in v0.0.48

查询录制回调配置接口

func (*LiveClient) ShowRecordRule added in v0.0.48

func (c *LiveClient) ShowRecordRule(request *model.ShowRecordRuleRequest) (*model.ShowRecordRuleResponse, error)

查询录制规则接口

func (*LiveClient) ShowTranscodingsTemplate

查询直播转码模板

func (*LiveClient) UpdateDomain

func (c *LiveClient) UpdateDomain(request *model.UpdateDomainRequest) (*model.UpdateDomainResponse, error)

修改直播播放、RTMP推流加速域名相关信息

func (*LiveClient) UpdateRecordCallbackConfig added in v0.0.48

修改录制回调配置接口

func (*LiveClient) UpdateRecordRule added in v0.0.48

func (c *LiveClient) UpdateRecordRule(request *model.UpdateRecordRuleRequest) (*model.UpdateRecordRuleResponse, error)

修改录制规则接口,如果规则修改后,修改后的规则对正在录制的流无效,对新的流有效。

func (*LiveClient) UpdateStreamForbidden

修改禁推属性

func (*LiveClient) UpdateTranscodingsTemplate

修改直播转码模板

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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