调整推流设置
This commit is contained in:
parent
30c09b0e26
commit
783685942c
@ -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();
|
||||
|
||||
// 创建本地视频显示视图
|
||||
|
Loading…
Reference in New Issue
Block a user