Skip to content

Commit ac259e3

Browse files
committed
fix trickle ice error
1 parent 13e211a commit ac259e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whep.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export class WHEPClient extends EventTarget
242242

243243
//Schedule trickle on next tick
244244
if (!this.iceTrickeTimeout)
245-
this.iceTrickeTimeout = setTimeout(() => this.trickle(), 0);
245+
this.iceTrickeTimeout = setTimeout(() => this.patch(), 0);
246246

247247
//Set local description
248248
await pc.setLocalDescription(offer);

0 commit comments

Comments
 (0)