* Add split tunneling (#17) * refactor imports * remove bandwidth tests from hooks * add autoclikers for call join * add autoclikers for call join * refactor - split to classes, update namings * display bot api in console * mute audio as a separate js script * fix NUL byte in udp for windows * update readme, collapse call webview, edit tab names * fix ports allocation when target is taken * fix ports allocation when target is taken * increment release version --------- Co-authored-by: senya <76913432+senya-sh@users.noreply.github.com> Co-authored-by: kulikov <user@Mac.lan>
15 lines
386 B
JavaScript
15 lines
386 B
JavaScript
(function() {
|
|
var oac = window.AudioContext || window.webkitAudioContext;
|
|
if (oac) {
|
|
var nac = function() {
|
|
var c = new oac();
|
|
c.suspend();
|
|
c.resume = function() { return Promise.resolve(); };
|
|
return c;
|
|
};
|
|
nac.prototype = oac.prototype;
|
|
window.AudioContext = nac;
|
|
if (window.webkitAudioContext) window.webkitAudioContext = nac;
|
|
}
|
|
})();
|