Skip to content

Commit 0ae00ce

Browse files
committed
fix trickle ice error
1 parent fa15949 commit 0ae00ce

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
@@ -228,7 +228,7 @@ export class WHEPClient extends EventTarget
228228

229229
//Schedule trickle on next tick
230230
if (!this.iceTrickeTimeout)
231-
this.iceTrickeTimeout = setTimeout(() => this.trickle(), 0);
231+
this.iceTrickeTimeout = setTimeout(() => this.patch(), 0);
232232

233233
//Set local description
234234
await pc.setLocalDescription(offer);

0 commit comments

Comments
 (0)