v2

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForListAreaDetail added in v0.0.77

func GenReqDefForListAreaDetail() *def.HttpRequestDef

func GenReqDefForListBandwidthDetail

func GenReqDefForListBandwidthDetail() *def.HttpRequestDef

func GenReqDefForListDomainBandwidthPeak

func GenReqDefForListDomainBandwidthPeak() *def.HttpRequestDef

func GenReqDefForListDomainTrafficDetail

func GenReqDefForListDomainTrafficDetail() *def.HttpRequestDef

func GenReqDefForListDomainTrafficSummary

func GenReqDefForListDomainTrafficSummary() *def.HttpRequestDef

func GenReqDefForListHistoryStreams

func GenReqDefForListHistoryStreams() *def.HttpRequestDef

func GenReqDefForListQueryHttpCode

func GenReqDefForListQueryHttpCode() *def.HttpRequestDef

func GenReqDefForListRecordData

func GenReqDefForListRecordData() *def.HttpRequestDef

func GenReqDefForListSingleStreamBitrate

func GenReqDefForListSingleStreamBitrate() *def.HttpRequestDef

func GenReqDefForListSingleStreamDetail added in v0.0.78

func GenReqDefForListSingleStreamDetail() *def.HttpRequestDef

func GenReqDefForListSingleStreamFramerate

func GenReqDefForListSingleStreamFramerate() *def.HttpRequestDef

func GenReqDefForListSnapshotData

func GenReqDefForListSnapshotData() *def.HttpRequestDef

func GenReqDefForListTranscodeData

func GenReqDefForListTranscodeData() *def.HttpRequestDef

func GenReqDefForListUpStreamDetail added in v0.1.21

func GenReqDefForListUpStreamDetail() *def.HttpRequestDef

func GenReqDefForListUsersOfStream

func GenReqDefForListUsersOfStream() *def.HttpRequestDef

func GenReqDefForShowStreamCount

func GenReqDefForShowStreamCount() *def.HttpRequestDef

func GenReqDefForShowStreamPortrait

func GenReqDefForShowStreamPortrait() *def.HttpRequestDef

func GenReqDefForShowUpBandwidth

func GenReqDefForShowUpBandwidth() *def.HttpRequestDef

func LiveClientBuilder

func LiveClientBuilder() *http_client.HcHttpClientBuilder

Types

type ListAreaDetailInvoker added in v0.0.90

type ListAreaDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAreaDetailInvoker) Invoke added in v0.0.90

type ListBandwidthDetailInvoker added in v0.0.90

type ListBandwidthDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBandwidthDetailInvoker) Invoke added in v0.0.90

type ListDomainBandwidthPeakInvoker added in v0.0.90

type ListDomainBandwidthPeakInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDomainBandwidthPeakInvoker) Invoke added in v0.0.90

type ListDomainTrafficDetailInvoker added in v0.0.90

type ListDomainTrafficDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDomainTrafficDetailInvoker) Invoke added in v0.0.90

type ListDomainTrafficSummaryInvoker added in v0.0.90

type ListDomainTrafficSummaryInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDomainTrafficSummaryInvoker) Invoke added in v0.0.90

type ListHistoryStreamsInvoker added in v0.0.90

type ListHistoryStreamsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHistoryStreamsInvoker) Invoke added in v0.0.90

type ListQueryHttpCodeInvoker added in v0.0.90

type ListQueryHttpCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQueryHttpCodeInvoker) Invoke added in v0.0.90

type ListRecordDataInvoker added in v0.0.90

type ListRecordDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRecordDataInvoker) Invoke added in v0.0.90

type ListSingleStreamBitrateInvoker added in v0.0.90

type ListSingleStreamBitrateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSingleStreamBitrateInvoker) Invoke added in v0.0.90

type ListSingleStreamDetailInvoker added in v0.0.90

type ListSingleStreamDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSingleStreamDetailInvoker) Invoke added in v0.0.90

type ListSingleStreamFramerateInvoker added in v0.0.90

type ListSingleStreamFramerateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSingleStreamFramerateInvoker) Invoke added in v0.0.90

type ListSnapshotDataInvoker added in v0.0.90

type ListSnapshotDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSnapshotDataInvoker) Invoke added in v0.0.90

type ListTranscodeDataInvoker added in v0.0.90

type ListTranscodeDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTranscodeDataInvoker) Invoke added in v0.0.90

type ListUpStreamDetailInvoker added in v0.1.21

type ListUpStreamDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUpStreamDetailInvoker) Invoke added in v0.1.21

type ListUsersOfStreamInvoker added in v0.0.90

type ListUsersOfStreamInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsersOfStreamInvoker) Invoke added in v0.0.90

type LiveClient

type LiveClient struct {
	HcClient *http_client.HcHttpClient
}

func NewLiveClient

func NewLiveClient(hcClient *http_client.HcHttpClient) *LiveClient

func (*LiveClient) ListAreaDetail added in v0.0.77

func (c *LiveClient) ListAreaDetail(request *model.ListAreaDetailRequest) (*model.ListAreaDetailResponse, error)

ListAreaDetail 查询直播各区域指标分布接口

查询直播全球区域维度的详细数据接口。

最大查询跨度1天,最大查询周期90天。

支持查询当天,当前数据延时少于5分钟。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListAreaDetailInvoker added in v0.0.90

func (c *LiveClient) ListAreaDetailInvoker(request *model.ListAreaDetailRequest) *ListAreaDetailInvoker

ListAreaDetailInvoker 查询直播各区域指标分布接口

func (*LiveClient) ListBandwidthDetail

ListBandwidthDetail 查询播放带宽趋势接口

查询播放域名带宽数据。

如果不传入域名,则查询租户下所有播放域名的带宽数据。

当查询租户级别带宽数据时,参数app、stream不生效。

最大查询跨度31天,最大查询周期一年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListBandwidthDetailInvoker added in v0.0.90

func (c *LiveClient) ListBandwidthDetailInvoker(request *model.ListBandwidthDetailRequest) *ListBandwidthDetailInvoker

ListBandwidthDetailInvoker 查询播放带宽趋势接口

func (*LiveClient) ListDomainBandwidthPeak

ListDomainBandwidthPeak 查询播放带宽峰值接口

查询指定时间范围内播放带宽峰值。

如果不传入域名,则查询租户下所有播放域名的带宽峰值。

当查询租户级别带宽数据时,参数app、stream不生效。

最大查询跨度31天,最大查询周期一年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListDomainBandwidthPeakInvoker added in v0.0.90

func (c *LiveClient) ListDomainBandwidthPeakInvoker(request *model.ListDomainBandwidthPeakRequest) *ListDomainBandwidthPeakInvoker

ListDomainBandwidthPeakInvoker 查询播放带宽峰值接口

func (*LiveClient) ListDomainTrafficDetail

ListDomainTrafficDetail 查询播放流量趋势接口

查询播放域名流量数据。

如果不传入域名,则查询租户下所有播放域名的流量数据。

当查询租户级别流量数据时,参数app、stream不生效。

最大查询跨度31天,最大查询周期一年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListDomainTrafficDetailInvoker added in v0.0.90

func (c *LiveClient) ListDomainTrafficDetailInvoker(request *model.ListDomainTrafficDetailRequest) *ListDomainTrafficDetailInvoker

ListDomainTrafficDetailInvoker 查询播放流量趋势接口

func (*LiveClient) ListDomainTrafficSummary

ListDomainTrafficSummary 查询播放流量汇总接口

查询指定时间范围内流量汇总量。

如果不传入域名,则查询租户下所有播放域名的流量汇总量。

当查询租户级别流量数据时,参数app、stream不生效。

最大查询跨度31天,最大查询周期一年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListDomainTrafficSummaryInvoker added in v0.0.90

func (c *LiveClient) ListDomainTrafficSummaryInvoker(request *model.ListDomainTrafficSummaryRequest) *ListDomainTrafficSummaryInvoker

ListDomainTrafficSummaryInvoker 查询播放流量汇总接口

func (*LiveClient) ListHistoryStreams

ListHistoryStreams 查询历史推流列表接口

查询历史推流列表。

不能查询现推流。

最大查询跨度1天。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListHistoryStreamsInvoker added in v0.0.90

func (c *LiveClient) ListHistoryStreamsInvoker(request *model.ListHistoryStreamsRequest) *ListHistoryStreamsInvoker

ListHistoryStreamsInvoker 查询历史推流列表接口

func (*LiveClient) ListQueryHttpCode

ListQueryHttpCode 查询直播拉流HTTP状态码接口

查询直播拉流HTTP状态码接口。 获取加速域名1分钟粒度的HTTP返回码 最大查询跨度不能超过24小时,最大查询周期7天。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListQueryHttpCodeInvoker added in v0.0.90

func (c *LiveClient) ListQueryHttpCodeInvoker(request *model.ListQueryHttpCodeRequest) *ListQueryHttpCodeInvoker

ListQueryHttpCodeInvoker 查询直播拉流HTTP状态码接口

func (*LiveClient) ListRecordData

func (c *LiveClient) ListRecordData(request *model.ListRecordDataRequest) (*model.ListRecordDataResponse, error)

ListRecordData 查询录制用量接口

查询直播租户每小时录制的最大并发数,计算1小时内每分钟的并发总路数,取最大值做为统计值。 最大查询跨度31天,最大查询周期90天。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListRecordDataInvoker added in v0.0.90

func (c *LiveClient) ListRecordDataInvoker(request *model.ListRecordDataRequest) *ListRecordDataInvoker

ListRecordDataInvoker 查询录制用量接口

func (*LiveClient) ListSingleStreamBitrate

ListSingleStreamBitrate 查询推流码率数据接口

查询推流监控码率数据接口。

最大查询跨度1天,最大查询周期1个月。

返回的码率数据列表粒度为1秒钟。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListSingleStreamBitrateInvoker added in v0.0.90

func (c *LiveClient) ListSingleStreamBitrateInvoker(request *model.ListSingleStreamBitrateRequest) *ListSingleStreamBitrateInvoker

ListSingleStreamBitrateInvoker 查询推流码率数据接口

func (*LiveClient) ListSingleStreamDetail added in v0.0.78

ListSingleStreamDetail 查询流监控数据接口

查询流监控数据接口,包括帧率码率断流情况。

最大查询跨度1天,最大查询周期1个月。

返回的码率数据列表粒度为1秒钟。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListSingleStreamDetailInvoker added in v0.0.90

func (c *LiveClient) ListSingleStreamDetailInvoker(request *model.ListSingleStreamDetailRequest) *ListSingleStreamDetailInvoker

ListSingleStreamDetailInvoker 查询流监控数据接口

func (*LiveClient) ListSingleStreamFramerate

ListSingleStreamFramerate 查询推流帧率数据接口

查询推流帧率数据接口。

最大查询跨度1天,最大查询周期1个月。

返回的帧率数据列表粒度为1秒钟。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListSingleStreamFramerateInvoker added in v0.0.90

func (c *LiveClient) ListSingleStreamFramerateInvoker(request *model.ListSingleStreamFramerateRequest) *ListSingleStreamFramerateInvoker

ListSingleStreamFramerateInvoker 查询推流帧率数据接口

func (*LiveClient) ListSnapshotData

func (c *LiveClient) ListSnapshotData(request *model.ListSnapshotDataRequest) (*model.ListSnapshotDataResponse, error)

ListSnapshotData 查询截图用量接口

查询直播域名每小时的截图数量。 最大查询跨度31天,最大查询周期90天。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListSnapshotDataInvoker added in v0.0.90

func (c *LiveClient) ListSnapshotDataInvoker(request *model.ListSnapshotDataRequest) *ListSnapshotDataInvoker

ListSnapshotDataInvoker 查询截图用量接口

func (*LiveClient) ListTranscodeData

ListTranscodeData 查询转码用量接口

查询直播域名每小时的转码时长数据。 最大查询跨度31天,最大查询周期90天。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListTranscodeDataInvoker added in v0.0.90

func (c *LiveClient) ListTranscodeDataInvoker(request *model.ListTranscodeDataRequest) *ListTranscodeDataInvoker

ListTranscodeDataInvoker 查询转码用量接口

func (*LiveClient) ListUpStreamDetail added in v0.1.21

ListUpStreamDetail 查询CDN上行推流质量数据接口

查询CDN上行推流质量数据。

最大查询跨度1天,最大查询周期7天。

返回的CDN上行推流质量数据列表粒度为1分钟。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListUpStreamDetailInvoker added in v0.1.21

func (c *LiveClient) ListUpStreamDetailInvoker(request *model.ListUpStreamDetailRequest) *ListUpStreamDetailInvoker

ListUpStreamDetailInvoker 查询CDN上行推流质量数据接口

func (*LiveClient) ListUsersOfStream

ListUsersOfStream 查询观众趋势接口

查询观众趋势。 最大查询跨度31天,最大查询周期一年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ListUsersOfStreamInvoker added in v0.0.90

func (c *LiveClient) ListUsersOfStreamInvoker(request *model.ListUsersOfStreamRequest) *ListUsersOfStreamInvoker

ListUsersOfStreamInvoker 查询观众趋势接口

func (*LiveClient) ShowStreamCount

func (c *LiveClient) ShowStreamCount(request *model.ShowStreamCountRequest) (*model.ShowStreamCountResponse, error)

ShowStreamCount 查询域名维度推流路数接口

查询域名维度推流路数接口。 最大查询跨度31天,最大查询周期1年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ShowStreamCountInvoker added in v0.0.90

func (c *LiveClient) ShowStreamCountInvoker(request *model.ShowStreamCountRequest) *ShowStreamCountInvoker

ShowStreamCountInvoker 查询域名维度推流路数接口

func (*LiveClient) ShowStreamPortrait

ShowStreamPortrait 查询播放画像信息接口

查询播放画像信息。 最大查询跨度1天,最大查询周期31天。 不统计协议为HLS的播放时长(play_duration)信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ShowStreamPortraitInvoker added in v0.0.90

func (c *LiveClient) ShowStreamPortraitInvoker(request *model.ShowStreamPortraitRequest) *ShowStreamPortraitInvoker

ShowStreamPortraitInvoker 查询播放画像信息接口

func (*LiveClient) ShowUpBandwidth

func (c *LiveClient) ShowUpBandwidth(request *model.ShowUpBandwidthRequest) (*model.ShowUpBandwidthResponse, error)

ShowUpBandwidth 查询上行带宽数据接口

查询上行带宽数据。 最大查询跨度31天,最大查询周期1年。

Please refer to HUAWEI cloud API Explorer for details.

func (*LiveClient) ShowUpBandwidthInvoker added in v0.0.90

func (c *LiveClient) ShowUpBandwidthInvoker(request *model.ShowUpBandwidthRequest) *ShowUpBandwidthInvoker

ShowUpBandwidthInvoker 查询上行带宽数据接口

type ShowStreamCountInvoker added in v0.0.90

type ShowStreamCountInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowStreamCountInvoker) Invoke added in v0.0.90

type ShowStreamPortraitInvoker added in v0.0.90

type ShowStreamPortraitInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowStreamPortraitInvoker) Invoke added in v0.0.90

type ShowUpBandwidthInvoker added in v0.0.90

type ShowUpBandwidthInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowUpBandwidthInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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