From 9ba29e76e38a11e337c03a6b04507fa6e87ce379 Mon Sep 17 00:00:00 2001 From: Steve Seguin Date: Sat, 10 Jul 2021 07:16:49 -0400 Subject: [PATCH] Add files via upload --- lib.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib.js b/lib.js index f3d40dc..0fd70a5 100644 --- a/lib.js +++ b/lib.js @@ -7910,11 +7910,11 @@ async function getAudioOnly(selector, trackid = null, override = false) { } constraint.video = false; if (override !== false) { - try { - if (override.audio && override.audio.deviceId && override.audio.deviceId.exact && override.audio.deviceId.exact == audioList[i].value) { + //try { + // if (override.audio && override.audio.deviceId && override.audio.deviceId.exact && override.audio.deviceId.exact == audioList[i].value) { constraint = override; - } - } catch (e) {} + // } + //} catch (e) {} } if (session.audioInputChannels) { @@ -11119,8 +11119,6 @@ function loadIframe(iframesrc) { // this is pretty important if you want to avoi iframe.style.border = "0"; } else if (iframesrc.startsWith("https://twitch.tv/")){ iframe.style.border = "0"; - } else if (iframesrc.startsWith("https://www.twitch.tv/")){ - iframe.style.border = "0"; } else if (iframesrc.startsWith("https://meshcast.io/")){ iframe.style.border = "0"; } else if (iframesrc.startsWith("https://s10.fun/")){