合流布局
画布配置
设置画布码率
方法
Dart
RCRTCEngine.setLiveMixVideoBitrate();
参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| bitrate | int | 是 | 画布码率,单位 kbps |
示例代码
Dart
// 设置画布码率
engine.setLiveMixVideoBitrate(2200);
设置画布分辨率
方法
Dart
RCRTCEngine.setLiveMixVideoResolution();
参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| resolution | RCRTCVideoResolution | 是 | 画布分辨率 |
示例代码
Dart
// 设置画布分辨率
engine.setLiveMixVideoResolution(RCRTCVideoResolution.resolution_720_1280);
设置画布帧率
方法
Dart
RCRTCEngine.setLiveMixVideoFps();