feat: 支持手动切换采集帧率
在 Android、Web 及 Flutter 控制端新增帧率选择 UI,被控端按屏幕刷新率生成支持的帧率档位并上报,允许在保持分辨率不变的情况下仅切换帧率。 另附带更新信号服务器的数据库配置。
This commit is contained in:
@@ -167,6 +167,8 @@ export class WebRtcController {
|
||||
width: msg.width | 0,
|
||||
height: msg.height | 0,
|
||||
fps: msg.fps | 0,
|
||||
// 被控端按屏幕刷新率筛选出的帧率档位(供帧率下拉框使用)
|
||||
supportedFps: Array.isArray(msg.supportedFps) ? msg.supportedFps.map((f) => f | 0) : [],
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user