mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 07:06:57 +08:00
fix: 关闭推流失败的source时, 造成相同id的source被错误关闭问题;
This commit is contained in:
@@ -32,6 +32,7 @@ func PreparePublishSource(source Source, hook bool) (*http.Response, utils.HookS
|
||||
|
||||
log.Sugar.Infof("%s准备推流 source:%s 拉流地址:\r\n%s", source.GetType().String(), source.GetID(), indent)
|
||||
|
||||
source.SetState(SessionStateTransferring)
|
||||
return response, utils.HookStateOK
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user