优化PK过程中关播问题
This commit is contained in:
parent
60e82fa8e4
commit
59712d0da9
@ -1000,6 +1000,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
}
|
||||
|
||||
if (mLivePushViewHolder != null) {
|
||||
mLivePushViewHolder.closeLive();
|
||||
mLivePushViewHolder.release();
|
||||
}
|
||||
if (mLiveLinkMicPresenter != null) {
|
||||
|
@ -666,6 +666,13 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX
|
||||
}
|
||||
}
|
||||
|
||||
public void closeLive(){
|
||||
if (swManager != null) {
|
||||
swManager.exitChannelAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public interface onDrPkJoinSuccessListener{
|
||||
void joinSuccess1();
|
||||
void joinSuccess2();
|
||||
|
Loading…
Reference in New Issue
Block a user