model

package
v0.0.96 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaDetail added in v0.0.77

type AreaDetail struct {

	// 各个计费大区名称,例如CN
	Area string `json:"area"`

	// 时间戳及相应时间的指标数值
	Summary []TimeValue `json:"summary"`

	// 各个大区下的具体省份、区域、国家的时间戳及相应时间的指标数值
	Detail []AreaTimeValue `json:"detail"`
}

func (AreaDetail) String added in v0.0.77

func (o AreaDetail) String() string

type AreaTimeValue added in v0.0.77

type AreaTimeValue struct {

	// 各个大区下的具体省份、区域、国家的名称。  具体取值请参考[国家名称缩写](vod_08_0172.xml)和[省份名称缩写](live_03_0043.xml)。
	Name string `json:"name"`

	// 当前时间返回指定指标的值
	Data []TimeValue `json:"data"`
}

func (AreaTimeValue) String added in v0.0.77

func (o AreaTimeValue) String() string

type HistoryStreamInfo

type HistoryStreamInfo struct {

	// 推流域名。  - type为0表主播推流域名。  - type为1表示第三方推流域名
	Domain *string `json:"domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 推流类型,取值如下:  - 0:表示主播推流  - 1:表示第三方推流
	Type *int32 `json:"type,omitempty"`

	// 视频编码格式。
	VideoCodec *string `json:"video_codec,omitempty"`

	// 音频编码格式。
	AudioCodec *string `json:"audio_codec,omitempty"`

	// 主播ip。
	ClientIp *string `json:"client_ip,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`
}

func (HistoryStreamInfo) String

func (o HistoryStreamInfo) String() string

type HttpCode

type HttpCode struct {

	// 状态码
	Code *int32 `json:"code,omitempty"`

	// 状态码出现次数
	Count *int32 `json:"count,omitempty"`

	// 状态码在对应时间点中的占比,保留4位小数。
	Proportion *float64 `json:"proportion,omitempty"`
}

func (HttpCode) String

func (o HttpCode) String() string

type HttpCodeSummary

type HttpCodeSummary struct {

	// 状态码信息
	HttpCodes *[]HttpCode `json:"http_codes,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (HttpCodeSummary) String

func (o HttpCodeSummary) String() string

type ListAreaDetailRequest added in v0.0.77

type ListAreaDetailRequest struct {

	// 查询起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期90天。
	StartTime string `json:"start_time"`

	// 查询结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期90天。
	EndTime string `json:"end_time"`

	// 需查询的播放域名列表,最多支持查询10个域名。
	PlayDomains []string `json:"play_domains"`

	// 需查询的app。
	App *string `json:"app,omitempty"`

	// 流名称。
	Stream *string `json:"stream,omitempty"`

	// 查询数据的时间粒度。支持300(默认值)、3600和86400秒。若参数为空,则默认为300秒。  注意,若metric的值为player(观众数),则interval填入的值不起效果,查询粒度interval默认为60秒。
	Interval *ListAreaDetailRequestInterval `json:"interval,omitempty"`

	// 运营商列表,取值如下: - CMCC:移动 - CTCC:电信 - CUCC:联通 - OTHER:其他  若参数为空,则查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 需查询的计费大区,取值如下: - CN - AP1 - AP2 - AP3 - EU - MEAA - NA - SA
	Area []string `json:"area"`

	// 指标,取值如下: - bandwidth:带宽 - traffic:流量 - player:观众数
	Metric string `json:"metric"`

	// 请求协议,取值如下: - flv - hls
	Protocol *string `json:"protocol,omitempty"`
}

Request Object

func (ListAreaDetailRequest) String added in v0.0.77

func (o ListAreaDetailRequest) String() string

type ListAreaDetailRequestInterval added in v0.0.77

type ListAreaDetailRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListAreaDetailRequestInterval) MarshalJSON added in v0.0.77

func (c ListAreaDetailRequestInterval) MarshalJSON() ([]byte, error)

func (*ListAreaDetailRequestInterval) UnmarshalJSON added in v0.0.77

func (c *ListAreaDetailRequestInterval) UnmarshalJSON(b []byte) error

func (ListAreaDetailRequestInterval) Value added in v0.0.90

type ListAreaDetailRequestIntervalEnum added in v0.0.77

type ListAreaDetailRequestIntervalEnum struct {
	E_300   ListAreaDetailRequestInterval
	E_3600  ListAreaDetailRequestInterval
	E_86400 ListAreaDetailRequestInterval
}

func GetListAreaDetailRequestIntervalEnum added in v0.0.77

func GetListAreaDetailRequestIntervalEnum() ListAreaDetailRequestIntervalEnum

type ListAreaDetailResponse added in v0.0.77

type ListAreaDetailResponse struct {

	// 时间戳及相应时间的指标数值
	DataList *[]AreaDetail `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListAreaDetailResponse) String added in v0.0.77

func (o ListAreaDetailResponse) String() string

type ListBandwidthDetailRequest

type ListBandwidthDetailRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 国家列表。具体取值请参考[国家名称缩写](vod_08_0172.xml),不填写查询所有国家。
	Country *[]string `json:"country,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC :电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListBandwidthDetailRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度。支持300(默认值), 3600和86400秒。不传值时,使用默认值300秒。
	Interval *ListBandwidthDetailRequestInterval `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListBandwidthDetailRequest) String

type ListBandwidthDetailRequestInterval

type ListBandwidthDetailRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListBandwidthDetailRequestInterval) MarshalJSON

func (c ListBandwidthDetailRequestInterval) MarshalJSON() ([]byte, error)

func (*ListBandwidthDetailRequestInterval) UnmarshalJSON

func (c *ListBandwidthDetailRequestInterval) UnmarshalJSON(b []byte) error

func (ListBandwidthDetailRequestInterval) Value added in v0.0.90

type ListBandwidthDetailRequestProtocol added in v0.0.68

type ListBandwidthDetailRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListBandwidthDetailRequestProtocol) MarshalJSON added in v0.0.68

func (c ListBandwidthDetailRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListBandwidthDetailRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListBandwidthDetailRequestProtocol) UnmarshalJSON(b []byte) error

func (ListBandwidthDetailRequestProtocol) Value added in v0.0.90

type ListBandwidthDetailRequestProtocolEnum added in v0.0.68

type ListBandwidthDetailRequestProtocolEnum struct {
	FLV ListBandwidthDetailRequestProtocol
	HLS ListBandwidthDetailRequestProtocol
}

func GetListBandwidthDetailRequestProtocolEnum added in v0.0.68

func GetListBandwidthDetailRequestProtocolEnum() ListBandwidthDetailRequestProtocolEnum

type ListBandwidthDetailResponse

type ListBandwidthDetailResponse struct {

	// 采样数据列表
	DataList *[]V2BandwidthData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListBandwidthDetailResponse) String

type ListDomainBandwidthPeakRequest

type ListDomainBandwidthPeakRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainBandwidthPeakRequestProtocol `json:"protocol,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListDomainBandwidthPeakRequest) String

type ListDomainBandwidthPeakRequestProtocol added in v0.0.68

type ListDomainBandwidthPeakRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainBandwidthPeakRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainBandwidthPeakRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainBandwidthPeakRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainBandwidthPeakRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainBandwidthPeakRequestProtocol) Value added in v0.0.90

type ListDomainBandwidthPeakRequestProtocolEnum added in v0.0.68

type ListDomainBandwidthPeakRequestProtocolEnum struct {
	FLV ListDomainBandwidthPeakRequestProtocol
	HLS ListDomainBandwidthPeakRequestProtocol
}

func GetListDomainBandwidthPeakRequestProtocolEnum added in v0.0.68

func GetListDomainBandwidthPeakRequestProtocolEnum() ListDomainBandwidthPeakRequestProtocolEnum

type ListDomainBandwidthPeakResponse

type ListDomainBandwidthPeakResponse struct {

	// 域名对应的带宽峰值列表。
	BandwidthList *[]PeakBandwidthData `json:"bandwidth_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListDomainBandwidthPeakResponse) String

type ListDomainTrafficDetailRequest

type ListDomainTrafficDetailRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainTrafficDetailRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度。支持300(默认值), 3600和86400秒。不传值时,使用默认值300秒。
	Interval *int32 `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListDomainTrafficDetailRequest) String

type ListDomainTrafficDetailRequestProtocol added in v0.0.68

type ListDomainTrafficDetailRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficDetailRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainTrafficDetailRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainTrafficDetailRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainTrafficDetailRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainTrafficDetailRequestProtocol) Value added in v0.0.90

type ListDomainTrafficDetailRequestProtocolEnum added in v0.0.68

type ListDomainTrafficDetailRequestProtocolEnum struct {
	FLV ListDomainTrafficDetailRequestProtocol
	HLS ListDomainTrafficDetailRequestProtocol
}

func GetListDomainTrafficDetailRequestProtocolEnum added in v0.0.68

func GetListDomainTrafficDetailRequestProtocolEnum() ListDomainTrafficDetailRequestProtocolEnum

type ListDomainTrafficDetailResponse

type ListDomainTrafficDetailResponse struct {

	// 采样数据列表。
	DataList *[]TrafficData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListDomainTrafficDetailResponse) String

type ListDomainTrafficSummaryRequest

type ListDomainTrafficSummaryRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表。取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainTrafficSummaryRequestProtocol `json:"protocol,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListDomainTrafficSummaryRequest) String

type ListDomainTrafficSummaryRequestProtocol added in v0.0.68

type ListDomainTrafficSummaryRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficSummaryRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainTrafficSummaryRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainTrafficSummaryRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainTrafficSummaryRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainTrafficSummaryRequestProtocol) Value added in v0.0.90

type ListDomainTrafficSummaryRequestProtocolEnum added in v0.0.68

type ListDomainTrafficSummaryRequestProtocolEnum struct {
	FLV ListDomainTrafficSummaryRequestProtocol
	HLS ListDomainTrafficSummaryRequestProtocol
}

func GetListDomainTrafficSummaryRequestProtocolEnum added in v0.0.68

func GetListDomainTrafficSummaryRequestProtocolEnum() ListDomainTrafficSummaryRequestProtocolEnum

type ListDomainTrafficSummaryResponse

type ListDomainTrafficSummaryResponse struct {

	// 域名对应的流量汇总列表。
	TrafficList *[]TrafficSummaryData `json:"traffic_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListDomainTrafficSummaryResponse) String

type ListHistoryStreamsRequest

type ListHistoryStreamsRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名称。
	Stream *string `json:"stream,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天。  若参数为空,默认查询1天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度1天。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 分页编号,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数。  取值范围:[1,100]  默认值:10。
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListHistoryStreamsRequest) String

func (o ListHistoryStreamsRequest) String() string

type ListHistoryStreamsResponse

type ListHistoryStreamsResponse struct {

	// 历史流信息列表。
	HistoryStreamList *[]HistoryStreamInfo `json:"history_stream_list,omitempty"`

	// 总记录数。
	Total *int32 `json:"total,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListHistoryStreamsResponse) String

type ListQueryHttpCodeRequest

type ListQueryHttpCodeRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 状态码。
	Code *[]string `json:"code,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。若参数为空,默认查询最近1小时数据。  最大查询跨度1天,最大查询周期7天。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。  最大查询跨度1天,最大查询周期7天。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListQueryHttpCodeRequest) String

func (o ListQueryHttpCodeRequest) String() string

type ListQueryHttpCodeResponse

type ListQueryHttpCodeResponse struct {

	// 基于时间轴的状态码
	DataSeries *[]HttpCodeSummary `json:"data_series,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListQueryHttpCodeResponse) String

func (o ListQueryHttpCodeResponse) String() string

type ListRecordDataRequest

type ListRecordDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListRecordDataRequest) String

func (o ListRecordDataRequest) String() string

type ListRecordDataResponse

type ListRecordDataResponse struct {

	// 采样数据列表。
	RecordDataList *[]RecordData `json:"record_data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRecordDataResponse) String

func (o ListRecordDataResponse) String() string

type ListSingleStreamBitrateRequest

type ListSingleStreamBitrateRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// App名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListSingleStreamBitrateRequest) String

type ListSingleStreamBitrateResponse

type ListSingleStreamBitrateResponse struct {

	// 用量详情。
	BitrateInfoList *[]V2BitrateInfo `json:"bitrate_info_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSingleStreamBitrateResponse) String

type ListSingleStreamDetailRequest added in v0.0.78

type ListSingleStreamDetailRequest struct {

	// 推流域名。
	PublishDomain string `json:"publish_domain"`

	// 应用名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListSingleStreamDetailRequest) String added in v0.0.78

type ListSingleStreamDetailResponse added in v0.0.78

type ListSingleStreamDetailResponse struct {

	// 推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名
	App *string `json:"app,omitempty"`

	// 流名
	Stream *string `json:"stream,omitempty"`

	// 展示流视频帧率情况,帧率单位为fps。  如果出现断流则会出现多个时间段流信息,如: “` \"video_framerate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         21,         22       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:07Z\",       \"data_list\": [         13,         34,         21       ]     }   ]
	VideoFramerate *[]StreamDetail `json:"video_framerate,omitempty"`

	// 展示流视频码率情况,码率单位为Kbps。  如果出现断流则会出现多个时间段流信息,如: “` \"video_bitrate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         1326,         1268,         775       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:07Z\",       \"data_list\": [         1021,         2022       ]     }   ]
	VideoBitrate *[]StreamDetail `json:"video_bitrate,omitempty"`

	// 展示流音频帧率情况,帧率单位为fps。  如果出现断流则会出现多个时间段流信息,如: “` \"audio_framerate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         10,         17       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:06Z\",       \"data_list\": [         31,         33       ]     }   ]
	AudioFramerate *[]StreamDetail `json:"audio_framerate,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSingleStreamDetailResponse) String added in v0.0.78

type ListSingleStreamFramerateRequest

type ListSingleStreamFramerateRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// App名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListSingleStreamFramerateRequest) String

type ListSingleStreamFramerateResponse

type ListSingleStreamFramerateResponse struct {

	// 用量详情。
	FramerateInfoList *[]V2FramerateInfo `json:"framerate_info_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSingleStreamFramerateResponse) String

type ListSnapshotDataRequest

type ListSnapshotDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListSnapshotDataRequest) String

func (o ListSnapshotDataRequest) String() string

type ListSnapshotDataResponse

type ListSnapshotDataResponse struct {

	// 采样数据列表。
	SnapshotList *[]SnapshotData `json:"snapshot_list,omitempty"`

	// 指定时间区间内截图数量总和。
	Total *int64 `json:"total,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSnapshotDataResponse) String

func (o ListSnapshotDataResponse) String() string

type ListTranscodeDataRequest

type ListTranscodeDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListTranscodeDataRequest) String

func (o ListTranscodeDataRequest) String() string

type ListTranscodeDataResponse

type ListTranscodeDataResponse struct {

	// 采样数据列表。
	TranscodeDataList *[]TranscodeData `json:"transcode_data_list,omitempty"`

	// 指定时间区间内各转码规格转码时长总和。
	SummaryList *[]TranscodeSummary `json:"summary_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListTranscodeDataResponse) String

func (o ListTranscodeDataResponse) String() string

type ListUsersOfStreamRequest

type ListUsersOfStreamRequest struct {

	// 播放域名。
	PlayDomain string `json:"play_domain"`

	// app名。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 国家列表。具体取值请参考[国家名称缩写](vod_08_0172.xml),不填写查询所有国家。
	Country *[]string `json:"country,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 请求协议
	Protocol *ListUsersOfStreamRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度,支持60(默认值), 300秒。不传值时,使用默认值60秒。
	Interval *ListUsersOfStreamRequestInterval `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListUsersOfStreamRequest) String

func (o ListUsersOfStreamRequest) String() string

type ListUsersOfStreamRequestInterval

type ListUsersOfStreamRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListUsersOfStreamRequestInterval) MarshalJSON

func (c ListUsersOfStreamRequestInterval) MarshalJSON() ([]byte, error)

func (*ListUsersOfStreamRequestInterval) UnmarshalJSON

func (c *ListUsersOfStreamRequestInterval) UnmarshalJSON(b []byte) error

func (ListUsersOfStreamRequestInterval) Value added in v0.0.90

type ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamRequestIntervalEnum struct {
	E_60  ListUsersOfStreamRequestInterval
	E_300 ListUsersOfStreamRequestInterval
}

func GetListUsersOfStreamRequestIntervalEnum

func GetListUsersOfStreamRequestIntervalEnum() ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamRequestProtocol added in v0.0.68

type ListUsersOfStreamRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListUsersOfStreamRequestProtocol) MarshalJSON added in v0.0.68

func (c ListUsersOfStreamRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListUsersOfStreamRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListUsersOfStreamRequestProtocol) UnmarshalJSON(b []byte) error

func (ListUsersOfStreamRequestProtocol) Value added in v0.0.90

type ListUsersOfStreamRequestProtocolEnum added in v0.0.68

type ListUsersOfStreamRequestProtocolEnum struct {
	FLV ListUsersOfStreamRequestProtocol
	HLS ListUsersOfStreamRequestProtocol
}

func GetListUsersOfStreamRequestProtocolEnum added in v0.0.68

func GetListUsersOfStreamRequestProtocolEnum() ListUsersOfStreamRequestProtocolEnum

type ListUsersOfStreamResponse

type ListUsersOfStreamResponse struct {

	// 观众趋势列表。
	DataList *[]V2UserData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListUsersOfStreamResponse) String

func (o ListUsersOfStreamResponse) String() string

type PeakBandwidthData

type PeakBandwidthData struct {

	// 带宽峰值,单位为bps。
	Value *int64 `json:"value,omitempty"`

	// 播放域名。
	Domain *string `json:"domain,omitempty"`
}

func (PeakBandwidthData) String

func (o PeakBandwidthData) String() string

type RecordData

type RecordData struct {

	// 最大并发路数。
	ConcurrentCount *int32 `json:"concurrent_count,omitempty"`

	// 采样时间,每小时内最大并发路数时间点。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (RecordData) String

func (o RecordData) String() string

type ShowStreamCountRequest

type ShowStreamCountRequest struct {

	// 推流域名列表,最多支持查询100个域名,多个域名以逗号分隔,若查询多个域名,则返回的是多个域名合并数据。
	PublishDomains []string `json:"publish_domains"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期1年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度31天, 最大查询跨度31天,最大查询周期1年。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ShowStreamCountRequest) String

func (o ShowStreamCountRequest) String() string

type ShowStreamCountResponse

type ShowStreamCountResponse struct {

	// 采样数据列表。
	DataList *[]StreamCountData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowStreamCountResponse) String

func (o ShowStreamCountResponse) String() string

type ShowStreamPortraitRequest

type ShowStreamPortraitRequest struct {

	// 播放域名。
	PlayDomain string `json:"play_domain"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 统计日期,日期格式按照ISO8601表示法,格式:YYYYMMDD,如20200904。可以查询过去31天的数据(不含当天)。
	Time string `json:"time"`
}

Request Object

func (ShowStreamPortraitRequest) String

func (o ShowStreamPortraitRequest) String() string

type ShowStreamPortraitResponse

type ShowStreamPortraitResponse struct {

	// 播放画像信息列表。
	StreamPortraits *[]StreamPortrait `json:"stream_portraits,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowStreamPortraitResponse) String

type ShowUpBandwidthRequest

type ShowUpBandwidthRequest struct {

	// 推流域名列表,最多支持查询100个域名,多个域名以逗号分隔,若查询多个域名,则返回的是多个域名合并数据。
	PublishDomains []string `json:"publish_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 查询数据的时间粒度。支持300(默认值),3600和86400秒。不传值时,使用默认值300秒。
	Interval *ShowUpBandwidthRequestInterval `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。 最大查询跨度31天,最大查询周期1年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度31天,最大查询周期1年。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ShowUpBandwidthRequest) String

func (o ShowUpBandwidthRequest) String() string

type ShowUpBandwidthRequestInterval

type ShowUpBandwidthRequestInterval struct {
	// contains filtered or unexported fields
}

func (ShowUpBandwidthRequestInterval) MarshalJSON

func (c ShowUpBandwidthRequestInterval) MarshalJSON() ([]byte, error)

func (*ShowUpBandwidthRequestInterval) UnmarshalJSON

func (c *ShowUpBandwidthRequestInterval) UnmarshalJSON(b []byte) error

func (ShowUpBandwidthRequestInterval) Value added in v0.0.90

type ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthRequestIntervalEnum struct {
	E_300   ShowUpBandwidthRequestInterval
	E_3600  ShowUpBandwidthRequestInterval
	E_86400 ShowUpBandwidthRequestInterval
}

func GetShowUpBandwidthRequestIntervalEnum

func GetShowUpBandwidthRequestIntervalEnum() ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthResponse

type ShowUpBandwidthResponse struct {

	// 采样数据列表
	DataList *[]V2BandwidthData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowUpBandwidthResponse) String

func (o ShowUpBandwidthResponse) String() string

type SnapshotData

type SnapshotData struct {

	// 每小时内截图总数,单位为张。
	Count *int64 `json:"count,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (SnapshotData) String

func (o SnapshotData) String() string

type StreamCountData

type StreamCountData struct {

	// 采样时间点的推流路数。
	Value *int32 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (StreamCountData) String

func (o StreamCountData) String() string

type StreamDetail added in v0.0.78

type StreamDetail struct {

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime string `json:"start_time"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime string `json:"end_time"`

	// 流监控数据列表。
	DataList []int64 `json:"data_list"`
}

func (StreamDetail) String added in v0.0.78

func (o StreamDetail) String() string

type StreamPortrait

type StreamPortrait struct {

	// 统计日期,日期格式按照ISO8601表示法,格式:YYYYMMDD,如20200904。统计该统计日期00:00-23:59时段的播放画像信息。
	Time *string `json:"time,omitempty"`

	// 累计流量,单位为byte。
	Flow *int64 `json:"flow,omitempty"`

	// 累计播放时长,单位为秒。
	PlayDuration *int64 `json:"play_duration,omitempty"`

	// 累计请求次数。
	RequestCount *int64 `json:"request_count,omitempty"`

	// 累计观看人数,根据IP去重。
	UserCount *int64 `json:"user_count,omitempty"`

	// 峰值观看人数,flv/rtmp协议是统计Session会话ID,其它协议统计IP,1分钟的采样数据。
	PeakUserCount *int64 `json:"peak_user_count,omitempty"`

	// 峰值带宽,单位bps,5分钟的采样数据。
	PeakBandwidth *int64 `json:"peak_bandwidth,omitempty"`

	// 累计直播(推流)时长,单位为秒。
	PushDuration *int64 `json:"push_duration,omitempty"`
}

func (StreamPortrait) String

func (o StreamPortrait) String() string

type TimeValue added in v0.0.77

type TimeValue struct {

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为YYYY-MM-DDThh:mm:ssZ
	Time *string `json:"time,omitempty"`

	// 当前时间返回指定指标的值
	Value *int64 `json:"value,omitempty"`
}

func (TimeValue) String added in v0.0.77

func (o TimeValue) String() string

type TrafficData

type TrafficData struct {

	// 采样值,单位为byte。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (TrafficData) String

func (o TrafficData) String() string

type TrafficSummaryData

type TrafficSummaryData struct {

	// 流量,单位为byte。
	Value *int64 `json:"value,omitempty"`

	// 域名。
	Domain *string `json:"domain,omitempty"`
}

func (TrafficSummaryData) String

func (o TrafficSummaryData) String() string

type TranscodeData

type TranscodeData struct {

	// 每个采样时间中的转码时长信息。
	SpecList *[]TranscodeSpec `json:"spec_list,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (TranscodeData) String

func (o TranscodeData) String() string

type TranscodeSpec

type TranscodeSpec struct {

	// 转码规格,格式是“编码格式_分辨率档位”(未开启高清低码)和“编码格式_PVC_分辨率档位”(开启高清低码)。  其中编码格式包括H264、H265,分辨率档位包括:  4K(3840 x 2160)及以下,2K(2560 x 1440)及以下,FHD(1920 x 1080)及以下,HD(1280 x 720)及以下,SD(640 x 480)及以下。
	Type *string `json:"type,omitempty"`

	// 采样时间点转码时长,单位为分钟,保留两位小数。
	Value *float64 `json:"value,omitempty"`
}

func (TranscodeSpec) String

func (o TranscodeSpec) String() string

type TranscodeSummary

type TranscodeSummary struct {

	// 转码规格,格式是“编码格式_分辨率档位”(未开启高清低码)和“编码格式_PVC_分辨率档位”(开启高清低码)。  其中编码格式包括H264、H265,分辨率档位包括:  4K(3840 x 2160)及以下,2K(2560 x 1440)及以下,FHD(1920 x 1080)及以下,HD(1280 x 720)及以下,SD(640 x 480)及以下。
	Type *string `json:"type,omitempty"`

	// 总转码时长,单位为分钟,保留两位小数。
	Value *float64 `json:"value,omitempty"`
}

func (TranscodeSummary) String

func (o TranscodeSummary) String() string

type V2BandwidthData

type V2BandwidthData struct {

	// 带宽值,单位为bps。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (V2BandwidthData) String

func (o V2BandwidthData) String() string

type V2BitrateInfo

type V2BitrateInfo struct {

	// 域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`

	// 码率信息列表,单位为Kbps。
	DataList *[]int64 `json:"data_list,omitempty"`
}

实时码率

func (V2BitrateInfo) String

func (o V2BitrateInfo) String() string

type V2FramerateInfo

type V2FramerateInfo struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`

	// 帧率信息列表,单位为fps。
	DataList *[]int64 `json:"data_list,omitempty"`
}

实时帧率

func (V2FramerateInfo) String

func (o V2FramerateInfo) String() string

type V2UserData

type V2UserData struct {

	// 采样点观众数。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (V2UserData) String

func (o V2UserData) String() string

Source Files

Jump to

Keyboard shortcuts

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