Skip to content

Commit

Permalink
livekit-rtc: remove FfiClient listener cap
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp authored Jul 1, 2024
1 parent c473c11 commit 93b760f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-tools-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/rtc-node": patch
---

livekit-rtc: remove FfiClient listener cap
1 change: 1 addition & 0 deletions packages/livekit-rtc/src/ffi_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class FfiClient extends (EventEmitter as new () => TypedEmitter<FfiClient

constructor() {
super();
this.setMaxListeners(0);

livekitInitialize((event_data: Uint8Array) => {
const event = FfiEvent.fromBinary(event_data);
Expand Down

0 comments on commit 93b760f

Please sign in to comment.