修复关闭直播的时候没有退出房间
This commit is contained in:
@@ -370,6 +370,7 @@ public class ZeGoLiveManager {
|
||||
public void stopLive(String streamId) {
|
||||
mExpressEngine.stopPlayingStream(streamId);
|
||||
stopPreview();
|
||||
logOutRoom();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -421,6 +422,7 @@ public class ZeGoLiveManager {
|
||||
*/
|
||||
public void stopPublish() {
|
||||
stopPublishingStream();
|
||||
logOutRoom();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user