修改开播的默认镜像方式

This commit is contained in:
ningwenqiang 2024-10-22 17:40:58 +08:00
parent 461a985799
commit c55b262926
2 changed files with 1 additions and 13 deletions

View File

@ -10,12 +10,6 @@ public class SendFreeGiftBean extends BaseModel{
private int code;
@SerializedName("msg")
private String msg;
@SerializedName("info")
private List<Info> info;
public class Info {
// 其他字段
}
public int getCode() {
@ -34,11 +28,5 @@ public class SendFreeGiftBean extends BaseModel{
this.msg = msg;
}
public List<Info> getInfo() {
return info;
}
public void setInfo(List<Info> info) {
this.info = info;
}
}

View File

@ -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;