mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-22 02:48:32 +00:00
adblocker issue fix
&ad to &audiodevice for iframe
This commit is contained in:
parent
4a57a86b53
commit
71dac482d4
7
main.js
7
main.js
@ -6812,6 +6812,9 @@ function outboundAudioPipeline(stream) {
|
|||||||
try {
|
try {
|
||||||
webAudio.gainNode.disconnect();
|
webAudio.gainNode.disconnect();
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
try {
|
||||||
|
webAudio.micDelay.disconnect();
|
||||||
|
} catch (e) {}
|
||||||
try {
|
try {
|
||||||
webAudio.compressor.disconnect();
|
webAudio.compressor.disconnect();
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
@ -13574,9 +13577,9 @@ function createIframePopup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (session.muted){
|
if (session.muted){
|
||||||
iframe.src = "./?ad=1&screenshare&transparent&cleanoutput&noheader&autostart&view&muted&room=" + session.roomid + "&push=" + iFrameID + extras;
|
iframe.src = "./?audiodevice=1&screenshare&transparent&cleanoutput&noheader&autostart&view&muted&room=" + session.roomid + "&push=" + iFrameID + extras;
|
||||||
} else {
|
} else {
|
||||||
iframe.src = "./?ad=1&screenshare&transparent&cleanoutput&noheader&autostart&view&room=" + session.roomid + "&push=" + iFrameID + extras;
|
iframe.src = "./?audiodevice=1&screenshare&transparent&cleanoutput&noheader&autostart&view&room=" + session.roomid + "&push=" + iFrameID + extras;
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe.style.width = "100%";
|
iframe.style.width = "100%";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user