diff --git a/.changeset/large-pugs-explode.md b/.changeset/large-pugs-explode.md new file mode 100644 index 000000000..2b7c28800 --- /dev/null +++ b/.changeset/large-pugs-explode.md @@ -0,0 +1,5 @@ +--- +"@whereby.com/media": patch +--- + +Fix bandwidth tester sfu url diff --git a/packages/media/src/webrtc/BandwidthTester.ts b/packages/media/src/webrtc/BandwidthTester.ts index 3d3097fd2..f60f240e9 100644 --- a/packages/media/src/webrtc/BandwidthTester.ts +++ b/packages/media/src/webrtc/BandwidthTester.ts @@ -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"); @@ -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);