ui: use polling for first request

This commit is contained in:
nick-delirium 2025-03-21 09:51:56 +01:00
parent dd469d2349
commit 39855651d5
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
3 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ export default class AssistManager {
const socket: Socket = (this.socket = io(urlObject.origin, { const socket: Socket = (this.socket = io(urlObject.origin, {
withCredentials: true, withCredentials: true,
multiplex: true, multiplex: true,
transports: ['websocket'], transports: ['polling', 'websocket'],
path: '/ws-assist/socket', path: '/ws-assist/socket',
auth: { auth: {
token: agentToken, token: agentToken,

View file

@ -1,7 +1,7 @@
{ {
"name": "@openreplay/tracker-assist", "name": "@openreplay/tracker-assist",
"description": "Tracker plugin for screen assistance through the WebRTC", "description": "Tracker plugin for screen assistance through the WebRTC",
"version": "11.0.2", "version": "11.0.2-beta.1",
"keywords": [ "keywords": [
"WebRTC", "WebRTC",
"assistance", "assistance",

View file

@ -241,7 +241,7 @@ export default class Assist {
extraHeaders: { extraHeaders: {
sessionId, sessionId,
}, },
transports: ['websocket',], transports: ['polling', 'websocket',],
withCredentials: true, withCredentials: true,
reconnection: true, reconnection: true,
reconnectionAttempts: 30, reconnectionAttempts: 30,