fix patch

This commit is contained in:
Vendicated 2023-09-28 02:13:32 +02:00
parent d809962d0a
commit da8b9e7cac
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -19,8 +19,8 @@ if (isLinux) {
}
}
navigator.mediaDevices.getDisplayMedia = async function () {
const stream = await original.apply(this);
navigator.mediaDevices.getDisplayMedia = async function (opts) {
const stream = await original.call(this, opts);
const id = await getVirtmic();
if (id) {