Skip to content

Commit

Permalink
fix trickle ice error (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing authored May 29, 2024
1 parent 13e211a commit bf32a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whep.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf32a8b

Please sign in to comment.