Fixed client disconnect

This commit is contained in:
WolverinDEV 2020-12-19 20:15:16 +01:00
parent 4142e85753
commit 8d5145fa82

View File

@ -57,8 +57,6 @@ class NativeVideoDriver extends WebVideoDriver {
}
const name = this.currentScreenCaptureDevices.find(e => e.id === id)?.name || tr("Screen device");
const source = new WebVideoSource(id, name, result);
await source.applyDefaultResolution();
return source;
return new WebVideoSource(id, name, result);
}
}