mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
detach janus plugin
This commit is contained in:
@@ -109,7 +109,11 @@ export function JanusStreamer(__setActive, __setInactive, __setInfo, __allow_aud
|
||||
}
|
||||
__stopRetryEmsgInterval();
|
||||
__stopInfoInterval();
|
||||
__handle = null;
|
||||
if (__handle) {
|
||||
__logInfo("uStreamer detaching ...:", __handle.getPlugin(), __handle.getId());
|
||||
__handle.detach();
|
||||
__handle = null;
|
||||
}
|
||||
__janus = null;
|
||||
__setInactive();
|
||||
if (__stop) {
|
||||
|
||||
Reference in New Issue
Block a user