fix patch
This commit is contained in:
parent
d809962d0a
commit
da8b9e7cac
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ if (isLinux) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
navigator.mediaDevices.getDisplayMedia = async function () {
|
navigator.mediaDevices.getDisplayMedia = async function (opts) {
|
||||||
const stream = await original.apply(this);
|
const stream = await original.call(this, opts);
|
||||||
const id = await getVirtmic();
|
const id = await getVirtmic();
|
||||||
|
|
||||||
if (id) {
|
if (id) {
|
||||||
|
|
Reference in a new issue