Skip to content

Commit

Permalink
media: fix bwtester sfu url
Browse files Browse the repository at this point in the history
  • Loading branch information
pnts-se-whereby committed Dec 10, 2024
1 parent ee0f5ce commit 79054f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-pugs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@whereby.com/media": patch
---

Fix bandwidth tester sfu url
4 changes: 2 additions & 2 deletions packages/media/src/webrtc/BandwidthTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class BandwidthTester extends EventEmitter {
this._runTime = runTime;
this._startTime = Date.now();

const host = this._features.sfuServerOverrideHost || "any.sfu.whereby.com";
const host = this._features.sfuServerOverrideHost || "any.sfu.svc.whereby.com";
const wsUrl = `wss://${host}`;

this._vegaConnection = new VegaConnection(wsUrl, "whereby-sfu#bw-test-v1");
Expand Down Expand Up @@ -211,7 +211,7 @@ export default class BandwidthTester extends EventEmitter {
preferUdp: true,
});

transportOptions.iceServers = [{ urls: "stun:any.turn.whereby.com" }];
transportOptions.iceServers = [{ urls: "stun:any.turn.svc.whereby.com" }];

const transport = this._mediasoupDevice[creator](transportOptions);

Expand Down

0 comments on commit 79054f2

Please sign in to comment.