Skip to content

Commit bdad4bc

Browse files
authored
Merge pull request #116 from LixvYang/Fix-Pili-Stream
Fix Stream GetStreamLiveStatusResponse Fields.
2 parents 441f02e + d1ffdbe commit bdad4bc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pili/stream_model.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,29 @@ type GetStreamLiveStatusResponse struct {
157157
// StreamLiveStatus 直播流实时状态
158158
StreamLiveStatus
159159

160+
// 最近30秒内GOP最大值,单位:毫秒
161+
MaxGop int `json:"maxGop"`
162+
163+
// 最近30秒内GOP平均值,单位:毫秒
164+
AvgGop int `json:"avgGop"`
165+
160166
// VideoBitRate 视频码率,单位:bps
161167
VideoBitRate int `json:"videoBitRate"`
162168

163169
// AudioBitRate 音频码率,单位:bps
164170
AudioBitRate int `json:"audioBitRate"`
171+
172+
// 播放人数
173+
PlayCount int64 `json:"playCount"`
174+
175+
// 播放带宽
176+
Bandwidth int64 `json:"bandwidth"`
177+
178+
// 推流端所在地区
179+
Location string `json:"location"`
180+
181+
// 推流端所在运营商
182+
Isp string `json:"isp"`
165183
}
166184

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

0 commit comments

Comments
 (0)