Fixed client disconnect
This commit is contained in:
parent
4142e85753
commit
8d5145fa82
@ -57,8 +57,6 @@ class NativeVideoDriver extends WebVideoDriver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const name = this.currentScreenCaptureDevices.find(e => e.id === id)?.name || tr("Screen device");
|
const name = this.currentScreenCaptureDevices.find(e => e.id === id)?.name || tr("Screen device");
|
||||||
const source = new WebVideoSource(id, name, result);
|
return new WebVideoSource(id, name, result);
|
||||||
await source.applyDefaultResolution();
|
|
||||||
return source;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user