From c55b262926204dc1501076318c5406944eefc3da Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Tue, 22 Oct 2024 17:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E6=92=AD=E7=9A=84?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=95=9C=E5=83=8F=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/common/bean/SendFreeGiftBean.java | 12 ------------ .../agora/beautyapi/faceunity/agora/SWManager.java | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java b/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java index 847651d4c..a3b87253b 100644 --- a/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java +++ b/common/src/main/java/com/yunbao/common/bean/SendFreeGiftBean.java @@ -10,12 +10,6 @@ public class SendFreeGiftBean extends BaseModel{ private int code; @SerializedName("msg") private String msg; - @SerializedName("info") - private List info; - - public class Info { - // 其他字段 - } public int getCode() { @@ -34,11 +28,5 @@ public class SendFreeGiftBean extends BaseModel{ this.msg = msg; } - public List getInfo() { - return info; - } - public void setInfo(List info) { - this.info = info; - } } diff --git a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWManager.java b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWManager.java index 6bc57f7ea..00ed830e5 100644 --- a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWManager.java +++ b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWManager.java @@ -154,7 +154,7 @@ public class SWManager extends BaseCacheManager { cfg.frameRate = 20; cfg.bitrate = 0; //镜像 - cfg.mirrorMode = VideoEncoderConfiguration.MIRROR_MODE_TYPE.MIRROR_MODE_DISABLED; + cfg.mirrorMode = VideoEncoderConfiguration.MIRROR_MODE_TYPE.MIRROR_MODE_AUTO; //设置竖屏 cfg.orientationMode = VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT;