修复一处PK中的空指针问题
This commit is contained in:
parent
4d573767f7
commit
e2f8e52583
@ -525,6 +525,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
//1. 设置自适应合流布局模式
|
//1. 设置自适应合流布局模式
|
||||||
config.setLayoutMode(RCRTCMixConfig.MixLayoutMode.ADAPTIVE);
|
config.setLayoutMode(RCRTCMixConfig.MixLayoutMode.ADAPTIVE);
|
||||||
//2. 合流画布设置
|
//2. 合流画布设置
|
||||||
|
if(rcrtcLiveInfo!=null) {
|
||||||
rcrtcLiveInfo.setMixConfig(config, new IRCRTCResultCallback() {
|
rcrtcLiveInfo.setMixConfig(config, new IRCRTCResultCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess() {
|
public void onSuccess() {
|
||||||
@ -537,6 +538,9 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
Log.w("PkDebug", "PK合流失败,rcrtcLiveInfo为空" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user