소스 검색

老师端直播推流分辨率调整为720*1280

Pq 2 년 전
부모
커밋
c0a85b1778
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      teacher/src/main/java/com/cooleshow/teacher/presenter/live/LiveRoomPresenter.java

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/presenter/live/LiveRoomPresenter.java

@@ -330,7 +330,7 @@ public class LiveRoomPresenter extends BasePresenter<LiveRoomContract.LiveRoomVi
             RCRTCVideoStreamConfig config =
                     RCRTCVideoStreamConfig.Builder.create()
                             .setVideoFps(RCRTCParamsType.RCRTCVideoFps.Fps_30)
-                            .setVideoResolution(RCRTCParamsType.RCRTCVideoResolution.RESOLUTION_1080_1920)
+                            .setVideoResolution(RCRTCParamsType.RCRTCVideoResolution.RESOLUTION_720_1280)
                             .build();
             //音乐教学场景。不建议在会议、语聊房、直播场景中使用 MUSIC_CLASSROOM,否则有出现回声问题的风险。
             RCRTCEngine.getInstance().getDefaultVideoStream().setVideoConfig(config);