v2

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 GenReqDefForListSingleStreamFramerate

func GenReqDefForListSingleStreamFramerate() *def.HttpRequestDef

func GenReqDefForListSnapshotData

func GenReqDefForListSnapshotData() *def.HttpRequestDef

func GenReqDefForListTranscodeData

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

type LiveClient struct {
	HcClient *http_client.HcHttpClient
}

func NewLiveClient

func NewLiveClient(hcClient *http_client.HcHttpClient) *LiveClient

func (*LiveClient) ListBandwidthDetail

查询播放域名带宽数据。 最大查询跨度31天,最大查询周期一年。

func (*LiveClient) ListDomainBandwidthPeak

查询指定时间范围内播放带宽峰值。 最大查询跨度31天,最大查询周期一年。

func (*LiveClient) ListDomainTrafficDetail

查询播放域名流量数据。 最大查询跨度31天,最大查询周期一年。

func (*LiveClient) ListDomainTrafficSummary

查询指定时间范围内流量汇总量。 最大查询跨度31天,最大查询周期一年。

func (*LiveClient) ListHistoryStreams

查询历史推流列表。 不能查询现推流。 最大查询跨度1天,最大查询周期1个月。

func (*LiveClient) ListQueryHttpCode

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

func (*LiveClient) ListRecordData

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

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

func (*LiveClient) ListSingleStreamBitrate

查询推流监控码率数据接口。 最大查询跨度1天,最大查询周期1个月。

func (*LiveClient) ListSingleStreamFramerate

查询推流帧率数据接口。 最大查询跨度1天,最大查询周期1个月。

func (*LiveClient) ListSnapshotData

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

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

func (*LiveClient) ListTranscodeData

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

func (*LiveClient) ListUsersOfStream

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

func (*LiveClient) ShowStreamCount

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

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

func (*LiveClient) ShowStreamPortrait

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

func (*LiveClient) ShowUpBandwidth

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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