测试修改

This commit is contained in:
18401019693 2022-11-15 13:53:15 +08:00
parent 5eac127142
commit 5006b8414e
2 changed files with 11 additions and 8 deletions

View File

@ -89,6 +89,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
float videoWidth = param.getInt("EVT_PARAM1", 0);
float videoHeight = param.getInt("EVT_PARAM2", 0);
Log.e("视频流有", "videoWidth:" + videoWidth + " videoHeight:" + videoHeight);
if (mLiveBean.getLandscape() != 1){
if (videoWidth > 720) {
cardParams.height = DpUtil.dp2px(130);
cardParams.width = DpUtil.dp2px(230);
@ -99,6 +100,8 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
layout.setLayoutParams(cardParams);
}
}
@Override
public void onNetStatus(Bundle bundle) {

View File

@ -25,7 +25,7 @@ ext {
baiduAppSecretKey: "nEVSgmuGpU0pjPr6VleEGGAl0hzGW52S",
// true表示谷歌支付 false
isGooglePlay : true,
isGooglePlay : false,
//
isUploadLog : true
]