mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 15:16:49 +08:00
修复hook重复通知publish done事件
This commit is contained in:
@@ -190,7 +190,7 @@ func (s *BaseSink) DesiredVideoCodecId() utils.AVCodecID {
|
||||
// 拉流断开连接,不需要考虑线程安全
|
||||
// 踢流走source管道删除,并且关闭Conn
|
||||
func (s *BaseSink) Close() {
|
||||
if SessionStateClosed != s.State_ {
|
||||
if SessionStateClosed == s.State_ {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user