fix(local-recording) Add framerate

This commit is contained in:
robertpin 2022-06-14 13:20:18 +03:00 committed by Saúl Ibarra Corretgé
parent 78d8176cc8
commit 08bb957672
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ const LocalRecordingManager: ILocalRecordingManager = {
// @ts-ignore
const gdmStream = await navigator.mediaDevices.getDisplayMedia({
// @ts-ignore
video: { displaySurface: 'browser' },
video: { displaySurface: 'browser', frameRate: { min: 30 } },
audio: true
});
// @ts-ignore