Documentation ¶
Index ¶
- func GenReqDefForListAreaDetail() *def.HttpRequestDef
- func GenReqDefForListBandwidthDetail() *def.HttpRequestDef
- func GenReqDefForListDomainBandwidthPeak() *def.HttpRequestDef
- func GenReqDefForListDomainTrafficDetail() *def.HttpRequestDef
- func GenReqDefForListDomainTrafficSummary() *def.HttpRequestDef
- func GenReqDefForListHistoryStreams() *def.HttpRequestDef
- func GenReqDefForListQueryHttpCode() *def.HttpRequestDef
- func GenReqDefForListRecordData() *def.HttpRequestDef
- func GenReqDefForListSingleStreamBitrate() *def.HttpRequestDef
- func GenReqDefForListSingleStreamDetail() *def.HttpRequestDef
- func GenReqDefForListSingleStreamFramerate() *def.HttpRequestDef
- func GenReqDefForListSnapshotData() *def.HttpRequestDef
- func GenReqDefForListTranscodeData() *def.HttpRequestDef
- func GenReqDefForListUpStreamDetail() *def.HttpRequestDef
- func GenReqDefForListUsersOfStream() *def.HttpRequestDef
- func GenReqDefForShowStreamCount() *def.HttpRequestDef
- func GenReqDefForShowStreamPortrait() *def.HttpRequestDef
- func GenReqDefForShowUpBandwidth() *def.HttpRequestDef
- func LiveClientBuilder() *httpclient.HcHttpClientBuilder
- type ListAreaDetailInvoker
- type ListBandwidthDetailInvoker
- type ListDomainBandwidthPeakInvoker
- type ListDomainTrafficDetailInvoker
- type ListDomainTrafficSummaryInvoker
- type ListHistoryStreamsInvoker
- type ListQueryHttpCodeInvoker
- type ListRecordDataInvoker
- type ListSingleStreamBitrateInvoker
- type ListSingleStreamDetailInvoker
- type ListSingleStreamFramerateInvoker
- type ListSnapshotDataInvoker
- type ListTranscodeDataInvoker
- type ListUpStreamDetailInvoker
- type ListUsersOfStreamInvoker
- type LiveClient
- func (c *LiveClient) ListAreaDetail(request *model.ListAreaDetailRequest) (*model.ListAreaDetailResponse, error)
- func (c *LiveClient) ListAreaDetailInvoker(request *model.ListAreaDetailRequest) *ListAreaDetailInvoker
- func (c *LiveClient) ListBandwidthDetail(request *model.ListBandwidthDetailRequest) (*model.ListBandwidthDetailResponse, error)
- func (c *LiveClient) ListBandwidthDetailInvoker(request *model.ListBandwidthDetailRequest) *ListBandwidthDetailInvoker
- func (c *LiveClient) ListDomainBandwidthPeak(request *model.ListDomainBandwidthPeakRequest) (*model.ListDomainBandwidthPeakResponse, error)
- func (c *LiveClient) ListDomainBandwidthPeakInvoker(request *model.ListDomainBandwidthPeakRequest) *ListDomainBandwidthPeakInvoker
- func (c *LiveClient) ListDomainTrafficDetail(request *model.ListDomainTrafficDetailRequest) (*model.ListDomainTrafficDetailResponse, error)
- func (c *LiveClient) ListDomainTrafficDetailInvoker(request *model.ListDomainTrafficDetailRequest) *ListDomainTrafficDetailInvoker
- func (c *LiveClient) ListDomainTrafficSummary(request *model.ListDomainTrafficSummaryRequest) (*model.ListDomainTrafficSummaryResponse, error)
- func (c *LiveClient) ListDomainTrafficSummaryInvoker(request *model.ListDomainTrafficSummaryRequest) *ListDomainTrafficSummaryInvoker
- func (c *LiveClient) ListHistoryStreams(request *model.ListHistoryStreamsRequest) (*model.ListHistoryStreamsResponse, error)
- func (c *LiveClient) ListHistoryStreamsInvoker(request *model.ListHistoryStreamsRequest) *ListHistoryStreamsInvoker
- func (c *LiveClient) ListQueryHttpCode(request *model.ListQueryHttpCodeRequest) (*model.ListQueryHttpCodeResponse, error)
- func (c *LiveClient) ListQueryHttpCodeInvoker(request *model.ListQueryHttpCodeRequest) *ListQueryHttpCodeInvoker
- func (c *LiveClient) ListRecordData(request *model.ListRecordDataRequest) (*model.ListRecordDataResponse, error)
- func (c *LiveClient) ListRecordDataInvoker(request *model.ListRecordDataRequest) *ListRecordDataInvoker
- func (c *LiveClient) ListSingleStreamBitrate(request *model.ListSingleStreamBitrateRequest) (*model.ListSingleStreamBitrateResponse, error)
- func (c *LiveClient) ListSingleStreamBitrateInvoker(request *model.ListSingleStreamBitrateRequest) *ListSingleStreamBitrateInvoker
- func (c *LiveClient) ListSingleStreamDetail(request *model.ListSingleStreamDetailRequest) (*model.ListSingleStreamDetailResponse, error)
- func (c *LiveClient) ListSingleStreamDetailInvoker(request *model.ListSingleStreamDetailRequest) *ListSingleStreamDetailInvoker
- func (c *LiveClient) ListSingleStreamFramerate(request *model.ListSingleStreamFramerateRequest) (*model.ListSingleStreamFramerateResponse, error)
- func (c *LiveClient) ListSingleStreamFramerateInvoker(request *model.ListSingleStreamFramerateRequest) *ListSingleStreamFramerateInvoker
- func (c *LiveClient) ListSnapshotData(request *model.ListSnapshotDataRequest) (*model.ListSnapshotDataResponse, error)
- func (c *LiveClient) ListSnapshotDataInvoker(request *model.ListSnapshotDataRequest) *ListSnapshotDataInvoker
- func (c *LiveClient) ListTranscodeData(request *model.ListTranscodeDataRequest) (*model.ListTranscodeDataResponse, error)
- func (c *LiveClient) ListTranscodeDataInvoker(request *model.ListTranscodeDataRequest) *ListTranscodeDataInvoker
- func (c *LiveClient) ListUpStreamDetail(request *model.ListUpStreamDetailRequest) (*model.ListUpStreamDetailResponse, error)
- func (c *LiveClient) ListUpStreamDetailInvoker(request *model.ListUpStreamDetailRequest) *ListUpStreamDetailInvoker
- func (c *LiveClient) ListUsersOfStream(request *model.ListUsersOfStreamRequest) (*model.ListUsersOfStreamResponse, error)
- func (c *LiveClient) ListUsersOfStreamInvoker(request *model.ListUsersOfStreamRequest) *ListUsersOfStreamInvoker
- func (c *LiveClient) ShowStreamCount(request *model.ShowStreamCountRequest) (*model.ShowStreamCountResponse, error)
- func (c *LiveClient) ShowStreamCountInvoker(request *model.ShowStreamCountRequest) *ShowStreamCountInvoker
- func (c *LiveClient) ShowStreamPortrait(request *model.ShowStreamPortraitRequest) (*model.ShowStreamPortraitResponse, error)
- func (c *LiveClient) ShowStreamPortraitInvoker(request *model.ShowStreamPortraitRequest) *ShowStreamPortraitInvoker
- func (c *LiveClient) ShowUpBandwidth(request *model.ShowUpBandwidthRequest) (*model.ShowUpBandwidthResponse, error)
- func (c *LiveClient) ShowUpBandwidthInvoker(request *model.ShowUpBandwidthRequest) *ShowUpBandwidthInvoker
- type ShowStreamCountInvoker
- type ShowStreamPortraitInvoker
- type ShowUpBandwidthInvoker
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() *httpclient.HcHttpClientBuilder
Types ¶
type ListAreaDetailInvoker ¶ added in v0.0.90
type ListAreaDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListAreaDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListAreaDetailInvoker) Invoke() (*model.ListAreaDetailResponse, error)
type ListBandwidthDetailInvoker ¶ added in v0.0.90
type ListBandwidthDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListBandwidthDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListBandwidthDetailInvoker) Invoke() (*model.ListBandwidthDetailResponse, error)
type ListDomainBandwidthPeakInvoker ¶ added in v0.0.90
type ListDomainBandwidthPeakInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainBandwidthPeakInvoker) Invoke ¶ added in v0.0.90
func (i *ListDomainBandwidthPeakInvoker) Invoke() (*model.ListDomainBandwidthPeakResponse, error)
type ListDomainTrafficDetailInvoker ¶ added in v0.0.90
type ListDomainTrafficDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainTrafficDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListDomainTrafficDetailInvoker) Invoke() (*model.ListDomainTrafficDetailResponse, error)
type ListDomainTrafficSummaryInvoker ¶ added in v0.0.90
type ListDomainTrafficSummaryInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainTrafficSummaryInvoker) Invoke ¶ added in v0.0.90
func (i *ListDomainTrafficSummaryInvoker) Invoke() (*model.ListDomainTrafficSummaryResponse, error)
type ListHistoryStreamsInvoker ¶ added in v0.0.90
type ListHistoryStreamsInvoker struct {
*invoker.BaseInvoker
}
func (*ListHistoryStreamsInvoker) Invoke ¶ added in v0.0.90
func (i *ListHistoryStreamsInvoker) Invoke() (*model.ListHistoryStreamsResponse, error)
type ListQueryHttpCodeInvoker ¶ added in v0.0.90
type ListQueryHttpCodeInvoker struct {
*invoker.BaseInvoker
}
func (*ListQueryHttpCodeInvoker) Invoke ¶ added in v0.0.90
func (i *ListQueryHttpCodeInvoker) Invoke() (*model.ListQueryHttpCodeResponse, error)
type ListRecordDataInvoker ¶ added in v0.0.90
type ListRecordDataInvoker struct {
*invoker.BaseInvoker
}
func (*ListRecordDataInvoker) Invoke ¶ added in v0.0.90
func (i *ListRecordDataInvoker) Invoke() (*model.ListRecordDataResponse, error)
type ListSingleStreamBitrateInvoker ¶ added in v0.0.90
type ListSingleStreamBitrateInvoker struct {
*invoker.BaseInvoker
}
func (*ListSingleStreamBitrateInvoker) Invoke ¶ added in v0.0.90
func (i *ListSingleStreamBitrateInvoker) Invoke() (*model.ListSingleStreamBitrateResponse, error)
type ListSingleStreamDetailInvoker ¶ added in v0.0.90
type ListSingleStreamDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListSingleStreamDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListSingleStreamDetailInvoker) Invoke() (*model.ListSingleStreamDetailResponse, error)
type ListSingleStreamFramerateInvoker ¶ added in v0.0.90
type ListSingleStreamFramerateInvoker struct {
*invoker.BaseInvoker
}
func (*ListSingleStreamFramerateInvoker) Invoke ¶ added in v0.0.90
func (i *ListSingleStreamFramerateInvoker) Invoke() (*model.ListSingleStreamFramerateResponse, error)
type ListSnapshotDataInvoker ¶ added in v0.0.90
type ListSnapshotDataInvoker struct {
*invoker.BaseInvoker
}
func (*ListSnapshotDataInvoker) Invoke ¶ added in v0.0.90
func (i *ListSnapshotDataInvoker) Invoke() (*model.ListSnapshotDataResponse, error)
type ListTranscodeDataInvoker ¶ added in v0.0.90
type ListTranscodeDataInvoker struct {
*invoker.BaseInvoker
}
func (*ListTranscodeDataInvoker) Invoke ¶ added in v0.0.90
func (i *ListTranscodeDataInvoker) Invoke() (*model.ListTranscodeDataResponse, error)
type ListUpStreamDetailInvoker ¶ added in v0.1.21
type ListUpStreamDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListUpStreamDetailInvoker) Invoke ¶ added in v0.1.21
func (i *ListUpStreamDetailInvoker) Invoke() (*model.ListUpStreamDetailResponse, error)
type ListUsersOfStreamInvoker ¶ added in v0.0.90
type ListUsersOfStreamInvoker struct {
*invoker.BaseInvoker
}
func (*ListUsersOfStreamInvoker) Invoke ¶ added in v0.0.90
func (i *ListUsersOfStreamInvoker) Invoke() (*model.ListUsersOfStreamResponse, error)
type LiveClient ¶
type LiveClient struct {
HcClient *httpclient.HcHttpClient
}
func NewLiveClient ¶
func NewLiveClient(hcClient *httpclient.HcHttpClient) *LiveClient
func (*LiveClient) ListAreaDetail ¶ added in v0.0.77
func (c *LiveClient) ListAreaDetail(request *model.ListAreaDetailRequest) (*model.ListAreaDetailResponse, error)
ListAreaDetail 查询直播各区域指标分布接口
查询直播全球区域维度的详细数据接口。
如果不传入域名,则查询租户下所有播放域名的详细数据。
当查询租户级别数据时,参数app、stream不生效。
最大查询跨度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 ¶
func (c *LiveClient) ListBandwidthDetail(request *model.ListBandwidthDetailRequest) (*model.ListBandwidthDetailResponse, error)
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 ¶
func (c *LiveClient) ListDomainBandwidthPeak(request *model.ListDomainBandwidthPeakRequest) (*model.ListDomainBandwidthPeakResponse, error)
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 ¶
func (c *LiveClient) ListDomainTrafficDetail(request *model.ListDomainTrafficDetailRequest) (*model.ListDomainTrafficDetailResponse, error)
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 ¶
func (c *LiveClient) ListDomainTrafficSummary(request *model.ListDomainTrafficSummaryRequest) (*model.ListDomainTrafficSummaryResponse, error)
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 ¶
func (c *LiveClient) ListHistoryStreams(request *model.ListHistoryStreamsRequest) (*model.ListHistoryStreamsResponse, error)
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 ¶
func (c *LiveClient) ListQueryHttpCode(request *model.ListQueryHttpCodeRequest) (*model.ListQueryHttpCodeResponse, error)
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 ¶
func (c *LiveClient) ListSingleStreamBitrate(request *model.ListSingleStreamBitrateRequest) (*model.ListSingleStreamBitrateResponse, error)
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
func (c *LiveClient) ListSingleStreamDetail(request *model.ListSingleStreamDetailRequest) (*model.ListSingleStreamDetailResponse, error)
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 ¶
func (c *LiveClient) ListSingleStreamFramerate(request *model.ListSingleStreamFramerateRequest) (*model.ListSingleStreamFramerateResponse, error)
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 ¶
func (c *LiveClient) ListTranscodeData(request *model.ListTranscodeDataRequest) (*model.ListTranscodeDataResponse, error)
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
func (c *LiveClient) ListUpStreamDetail(request *model.ListUpStreamDetailRequest) (*model.ListUpStreamDetailResponse, error)
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 ¶
func (c *LiveClient) ListUsersOfStream(request *model.ListUsersOfStreamRequest) (*model.ListUsersOfStreamResponse, error)
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 ¶
func (c *LiveClient) ShowStreamPortrait(request *model.ShowStreamPortraitRequest) (*model.ShowStreamPortraitResponse, error)
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
func (i *ShowStreamCountInvoker) Invoke() (*model.ShowStreamCountResponse, error)
type ShowStreamPortraitInvoker ¶ added in v0.0.90
type ShowStreamPortraitInvoker struct {
*invoker.BaseInvoker
}
func (*ShowStreamPortraitInvoker) Invoke ¶ added in v0.0.90
func (i *ShowStreamPortraitInvoker) Invoke() (*model.ShowStreamPortraitResponse, error)
type ShowUpBandwidthInvoker ¶ added in v0.0.90
type ShowUpBandwidthInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUpBandwidthInvoker) Invoke ¶ added in v0.0.90
func (i *ShowUpBandwidthInvoker) Invoke() (*model.ShowUpBandwidthResponse, error)