[opt] logic: 在业务方WithOnHookSession的情况下,停用auto stop relay pull功能。(业务方如果想auto stop relay pull,可以在业务层自行判断、决定是否stop relay pull) #292

pull/293/head
q191201771 2 years ago
parent 30b03790fe
commit 745baae2ac

@ -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 {

Loading…
Cancel
Save