ui: use polling for first request
This commit is contained in:
parent
dd469d2349
commit
39855651d5
3 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue