Open sujie056520 opened 1 month ago
Hello @sujie056520. Your feedback has been received, and you will be notified in the issue area when the problem is resolved. 你好 @sujie056520,已收到你反馈的问题,问题解决后将在issue区域通知你。
Version of js-screen-shot
1.9.9
Operating system and its version
Windows
Browser and its version
No response
Sandbox to reproduce
No response
What happened?
报错信息
No response
应该不会吧,我测试了没问题呀😂,你用最新的rc试试?
遇到了同样的问题
遇到了同样的问题 已解决 video: { mandatory: { chromeMediaSource: "desktop", chromeMediaSourceId: source.id, minWidth: size.width, maxWidth: size.width, minHeight: size.height, maxHeight: size.height, }, }, 指定宽高可以是图片高清,宽度需要这样获取 const { size, scaleFactor } = screen.getPrimaryDisplay(); return { width: size.width scaleFactor, height: size.height scaleFactor } scaleFactor屏幕的缩放因子,高清屏幕的这个值会大于1
Version of js-screen-shot
1.9.9
Operating system and its version
Windows
Browser and its version
No response
Sandbox to reproduce
No response
What happened?
报错信息
No response