Skip to content

Commit

Permalink
Merge pull request #116 from LixvYang/Fix-Pili-Stream
Browse files Browse the repository at this point in the history
Fix Stream GetStreamLiveStatusResponse Fields.
  • Loading branch information
Jancd authored Oct 19, 2023
2 parents 441f02e + d1ffdbe commit bdad4bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pili/stream_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,29 @@ type GetStreamLiveStatusResponse struct {
// StreamLiveStatus 直播流实时状态
StreamLiveStatus

// 最近30秒内GOP最大值,单位:毫秒
MaxGop int `json:"maxGop"`

// 最近30秒内GOP平均值,单位:毫秒
AvgGop int `json:"avgGop"`

// VideoBitRate 视频码率,单位:bps
VideoBitRate int `json:"videoBitRate"`

// AudioBitRate 音频码率,单位:bps
AudioBitRate int `json:"audioBitRate"`

// 播放人数
PlayCount int64 `json:"playCount"`

// 播放带宽
Bandwidth int64 `json:"bandwidth"`

// 推流端所在地区
Location string `json:"location"`

// 推流端所在运营商
Isp string `json:"isp"`
}

// BatchGetStreamLiveStatusRequest 批量查询直播实时状态请求参数
Expand Down

0 comments on commit bdad4bc

Please sign in to comment.