暂时不销毁引擎,因为要保持当前用户一直在线

This commit is contained in:
董宏宇
2021-03-09 16:52:58 +08:00
parent 3a21544957
commit 6119c89903

View File

@@ -378,15 +378,6 @@ public class MoGoLiveManager {
this.mLiveStatusListener = mLiveStatusListener;
}
/**
* 销毁即构引擎
*/
private void destroyEngine() {
ZegoExpressEngine.destroyEngine(() -> {
Logger.i(TAG, "销毁ZeGo引擎");
});
}
/**
* 进入房间
*
@@ -591,7 +582,6 @@ public class MoGoLiveManager {
*/
public void onDestroyPublish() {
stopPublish();
destroyEngine();
}
/**
@@ -639,7 +629,7 @@ public class MoGoLiveManager {
* 停止观看直播
*/
public void onDestroyLive() {
destroyEngine();
}
}