From 3b034206391a35147e015130de4d940264ec61cc Mon Sep 17 00:00:00 2001 From: ydajiang Date: Sun, 8 Jun 2025 09:20:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B2=A1=E6=9C=89=E7=BA=A7=E8=81=94sink?= =?UTF-8?q?,=20=E4=BB=8D=E7=84=B6=E6=8B=B7=E8=B4=9D=E6=8E=A8=E6=B5=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gb28181/source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb28181/source.go b/gb28181/source.go index 4a9d191..7ed889d 100644 --- a/gb28181/source.go +++ b/gb28181/source.go @@ -121,7 +121,7 @@ func (source *BaseGBSource) ProcessPacket(data []byte) error { _ = packet.Unmarshal(data) // 国标级联转发 - if source.GetTransStreamPublisher().GetTransStreams() != nil { + if source.GetTransStreamPublisher().GetForwardTransStream() != nil { if source.lastRtpTimestamp == -1 { source.lastRtpTimestamp = int64(packet.Timestamp) }