From bf32a8b2a9d8eb0fa908af4d1466b31e95e2555d Mon Sep 17 00:00:00 2001 From: metal A-wing Date: Wed, 29 May 2024 15:24:48 +0800 Subject: [PATCH] fix trickle ice error (#30) --- whep.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whep.js b/whep.js index cf8481a..58f73a2 100644 --- a/whep.js +++ b/whep.js @@ -242,7 +242,7 @@ export class WHEPClient extends EventTarget //Schedule trickle on next tick if (!this.iceTrickeTimeout) - this.iceTrickeTimeout = setTimeout(() => this.trickle(), 0); + this.iceTrickeTimeout = setTimeout(() => this.patch(), 0); //Set local description await pc.setLocalDescription(offer);