You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When trying to open a websocket cnnection to an unidentifeid address we get this error
SyntaxError: An invalid or illegal string was specified
SyntaxError: An invalid or illegal string was specified
l
C:/lib/components/ws-source/openwebsocket.ts:72
69 | reject(originalError)
70 | return
71 | }
72 | const token = this.responseText.trim()
| ^ 73 | // We have a token! attempt to open a WebSocket again.
74 | const newUri = ${uri}?rtspwssession=${token}
75 | const ws2 = new WebSocket(newUri, protocol)
Can u guide us as how we can catch this error in the code ?
The text was updated successfully, but these errors were encountered:
Hello,
When trying to open a websocket cnnection to an unidentifeid address we get this error
SyntaxError: An invalid or illegal string was specified
SyntaxError: An invalid or illegal string was specified
l
C:/lib/components/ws-source/openwebsocket.ts:72
69 | reject(originalError)
70 | return
71 | }
Can u guide us as how we can catch this error in the code ?
The text was updated successfully, but these errors were encountered: