V0.1.9 (#26)
* fix: prevent duplicate call link detection (#23) Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> * bot improvements (#25) Co-authored-by: Maksim <maksim@MBP-Maksim.lan> * headless vk video creator * add scroll to logs * allow peer reconnection * add todo about topology changes, kick stale peer to prevent SFU topology * unified relay for headless * remove relay binaries, extend build-go.sh to build them * refactor constants * limit headless resource usage * nuke everyone and yourself at sfu topology changes * add headless for creator * save bot enabled state * increment release version --------- Co-authored-by: Nevenuga <80585376+Nevenuga@users.noreply.github.com> Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> Co-authored-by: Maksim <maksim@MBP-Maksim.lan> Co-authored-by: kulikov <user@Mac.lan>
This commit is contained in:
37 files changed
+2589
-133
No files matched your search
@@ -0,0 +1,24 @@
|
||||
(function() {
|
||||
if (window.__callCheckerStarted) return;
|
||||
window.__callCheckerStarted = true;
|
||||
|
||||
var tabId = window.__CALL_CHECKER_TAB_ID || 'unknown';
|
||||
|
||||
console.log('[CALL_STATUS] Checker started for ' + tabId);
|
||||
|
||||
const checkCallStatus = () => {
|
||||
var vkBtn = document.querySelector('button[data-testid="calls_call_footer_button_leave_call"]') ||
|
||||
document.querySelector('[data-testid="calls_call_footer_button_leave_call"]');
|
||||
|
||||
var tmBtn = document.querySelector('[data-testid="end-call-alt-button"]') ||
|
||||
document.querySelector('button[data-testid="end-call-alt-button"]');
|
||||
|
||||
var status = (vkBtn || tmBtn) ? 'active' : 'inactive';
|
||||
|
||||
console.log('[CALL_STATUS] ' + tabId + ':' + status);
|
||||
};
|
||||
setTimeout(function() {
|
||||
checkCallStatus();
|
||||
setInterval(checkCallStatus, 10000);
|
||||
}, 10000);
|
||||
})();
|
||||
Reference in new issue
Block a user