From c5851a0e0150486d802e365957a0ff2f5b195add Mon Sep 17 00:00:00 2001 From: ydajiang Date: Sat, 30 Aug 2025 17:07:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20stream/info=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=8B=89=E6=B5=81=E7=AB=AF=E8=AE=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 673a977..75b5528 100644 --- a/api.go +++ b/api.go @@ -613,7 +613,7 @@ func (api *ApiServer) OnStreamInfo(w http.ResponseWriter, r *http.Request) { HLS: liveGBSUrls["hls"], InBitRate: statistics.PreviousSecond() * 8 / 1024, InBytes: int(statistics.Total()), - NumOutputs: 0, + NumOutputs: source.GetTransStreamPublisher().SinkCount(), Ondemand: true, OutBytes: 0, RTMP: liveGBSUrls["rtmp"],