Przeglądaj źródła

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

Pq 2 lat temu
rodzic
commit
c0a85b1778

+ 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);