добавил кодек

This commit is contained in:
2026-05-09 03:54:08 +06:00
parent 8cc60e1849
commit 5f72ad430e
3 changed files with 18 additions and 5 deletions

View File

@@ -13,8 +13,9 @@ export const useDevices = createGlobalState(() => {
return navigator.mediaDevices.getDisplayMedia({
audio: false,
video: {
height: { max: 1440 },
displaySurface: 'monitor',
frameRate: { max: fps },
frameRate: { ideal: fps, max: fps },
},
})
}