调整推流设置

This commit is contained in:
zlzw 2022-11-08 16:11:14 +08:00
parent 30c09b0e26
commit 783685942c

View File

@ -504,13 +504,13 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
RCRTCVideoStreamConfig videoConfigBuilder = RCRTCVideoStreamConfig.Builder.create()
//设置分辨率
.setVideoResolution(RCRTCParamsType.RCRTCVideoResolution.RESOLUTION_720_1280)
.setVideoResolution(RCRTCParamsType.RCRTCVideoResolution.RESOLUTION_1080_1920)
//设置帧率
.setVideoFps(RCRTCParamsType.RCRTCVideoFps.Fps_15)
.setVideoFps(RCRTCParamsType.RCRTCVideoFps.Fps_24)
//设置最小码率480P下推荐200
.setMinRate(250)
//设置最大码率480P下推荐900
.setMaxRate(2200)
.setMaxRate(10000)
.build();
// 创建本地视频显示视图