We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecadc3 commit c13b845Copy full SHA for c13b845
.changeset/empty-crews-remember.md
@@ -0,0 +1,5 @@
1
+---
2
+'livekit-client': patch
3
4
+
5
+Use string instead of passing url object to WebSocket constructor
src/api/SignalClient.ts
@@ -310,7 +310,7 @@ export class SignalClient {
310
if (this.ws) {
311
await this.close(false);
312
}
313
- this.ws = new WebSocket(urlObj);
+ this.ws = new WebSocket(urlObj.toString());
314
this.ws.binaryType = 'arraybuffer';
315
316
this.ws.onopen = () => {
0 commit comments