mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-22 08:52:20 +08:00
主动关闭的流不支持断流续推: #1401
This commit is contained in:
@@ -47,6 +47,8 @@ bool WebRtcPusher::close(MediaSource &sender, bool force) {
|
||||
auto strong_self = weak_self.lock();
|
||||
if (strong_self) {
|
||||
strong_self->onShutdown(SockException(Err_shutdown, err));
|
||||
//主动关闭推流,那么不延时注销
|
||||
strong_self->_push_src = nullptr;
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user