From 745baae2acf77498fd2e92820a7169ebaa43aa08 Mon Sep 17 00:00:00 2001 From: q191201771 <191201771@qq.com> Date: Wed, 24 May 2023 15:15:30 +0800 Subject: [PATCH] =?UTF-8?q?[opt]=20logic:=20=E5=9C=A8=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E6=96=B9WithOnHookSession=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=EF=BC=8C=E5=81=9C=E7=94=A8auto=20stop=20relay=20pull=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=82=EF=BC=88=E4=B8=9A=E5=8A=A1=E6=96=B9=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E6=83=B3auto=20stop=20relay=20pull=EF=BC=8C=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E5=9C=A8=E4=B8=9A=E5=8A=A1=E5=B1=82=E8=87=AA=E8=A1=8C?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E3=80=81=E5=86=B3=E5=AE=9A=E6=98=AF=E5=90=A6?= =?UTF-8?q?stop=20relay=20pull=EF=BC=89=20#292?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/logic/group__.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/logic/group__.go b/pkg/logic/group__.go index e2c3f8b..915dd46 100644 --- a/pkg/logic/group__.go +++ b/pkg/logic/group__.go @@ -570,7 +570,8 @@ func (group *Group) hasSubSession() bool { len(group.httptsSubSessionSet) != 0 || len(group.rtspSubSessionSet) != 0 || len(group.waitRtspSubSessionSet) != 0 || - len(group.hlsSubSessionSet) != 0 + len(group.hlsSubSessionSet) != 0 || + group.customizeHookSessionContext != nil } func (group *Group) hasPushSession() bool {