feat: 增加分辨率修改
This commit is contained in:
@@ -131,6 +131,11 @@ class RemoteController {
|
||||
_webRtc?.sendControlCommand(command);
|
||||
}
|
||||
|
||||
/// 请求被控端切换屏幕采集分辨率。
|
||||
void sendResolutionChange(int width, int height, int fps) {
|
||||
_webRtc?.sendResolutionChange(width, height, fps);
|
||||
}
|
||||
|
||||
/// 断开连接并释放资源。
|
||||
Future<void> disconnect() async {
|
||||
_statsTimer?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user