v0.2.1 (#53)
* ios proxy app, tune vp8 tunnel * refactor go modules, move headless joiner android to a go captcha * restore emojis in vk bot keyboard * headless support in vk bot * remove telemost dc hooks, update cretor-app ui and bot * remove telemost support from go code, add fallback to video if mode == dc in joiners * fix headless creators in windows * update vk call creation autoclick * force desktop useragent for creator app * kick disconnected user in headless vk creator immediately when connection is lost * update README.md * update SETUP.md * update release version * add fallback for link creation in vk bot
This commit is contained in:
1 parent
9e1f2a98d9
commit
1b2d6bc5d3
89 files changed
+3503
-2158
No files matched your search
@@ -30,7 +30,6 @@ export class RendererTabManager {
|
||||
name: '',
|
||||
isBot: false,
|
||||
};
|
||||
window.bridge.startRelay(tabId);
|
||||
this.selectTab(tabId);
|
||||
return tabId;
|
||||
}
|
||||
@@ -57,7 +56,9 @@ export class RendererTabManager {
|
||||
|
||||
createBotTab(data: BotTabData): void {
|
||||
if (!this.tabs[data.tabId]) {
|
||||
const botName = data.platform === Platform.Telemost ? 'Bot-Telemost' : 'Bot-VK';
|
||||
const isHeadless = data.mode === TunnelMode.HeadlessVK || data.mode === TunnelMode.HeadlessTelemost;
|
||||
const platformLabel = data.platform === Platform.Telemost ? 'TM' : 'VK';
|
||||
const botName = isHeadless ? `Bot-Headless-${platformLabel}` : `Bot-${data.platform === Platform.Telemost ? 'Telemost' : 'VK'}`;
|
||||
this.tabs[data.tabId] = {
|
||||
wv: null,
|
||||
url: '',
|
||||
@@ -141,23 +142,22 @@ export class RendererTabManager {
|
||||
tab.headlessStatus = 'Call created';
|
||||
changed = true;
|
||||
}
|
||||
if (trimmed.includes(HeadlessLogMarker.JOIN_LINK)) {
|
||||
if (!tab.callInfo) tab.callInfo = {};
|
||||
if (trimmed.includes(HeadlessLogMarker.JOIN_LINK) && tab.callInfo) {
|
||||
tab.callInfo.joinLink = trimmed.split(HeadlessLogMarker.JOIN_LINK)[1].trim();
|
||||
if (tab.isBot) {
|
||||
window.bridge.sendBotCallLink(tabId, tab.callInfo.joinLink);
|
||||
}
|
||||
changed = true;
|
||||
}
|
||||
if (trimmed.includes(HeadlessLogMarker.SHORT_LINK)) {
|
||||
if (!tab.callInfo) tab.callInfo = {};
|
||||
if (trimmed.includes(HeadlessLogMarker.SHORT_LINK) && tab.callInfo) {
|
||||
tab.callInfo.shortLink = trimmed.split(HeadlessLogMarker.SHORT_LINK)[1].trim();
|
||||
changed = true;
|
||||
}
|
||||
if (trimmed.includes(HeadlessLogMarker.TURN)) {
|
||||
if (!tab.callInfo) tab.callInfo = {};
|
||||
if (trimmed.includes(HeadlessLogMarker.TURN) && tab.callInfo) {
|
||||
tab.callInfo.turn = trimmed.split(HeadlessLogMarker.TURN)[1].trim();
|
||||
changed = true;
|
||||
}
|
||||
if (trimmed.includes(HeadlessLogMarker.PROTOCOL)) {
|
||||
if (!tab.callInfo) tab.callInfo = {};
|
||||
if (trimmed.includes(HeadlessLogMarker.PROTOCOL) && tab.callInfo) {
|
||||
tab.callInfo.protocol = trimmed.split(HeadlessLogMarker.PROTOCOL)[1].trim();
|
||||
changed = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user