mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 21:58:35 +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 {
|
||||
webAudio.gainNode.disconnect();
|
||||
} catch (e) {}
|
||||
try {
|
||||
webAudio.micDelay.disconnect();
|
||||
} catch (e) {}
|
||||
try {
|
||||
webAudio.compressor.disconnect();
|
||||
} catch (e) {}
|
||||
@ -13574,9 +13577,9 @@ function createIframePopup() {
|
||||
}
|
||||
|
||||
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 {
|
||||
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%";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user