Skip to content

Commit 75f56bb

Browse files
Fix clearQueue not setting queue size to 0 (#542)
* Fix clearQueue not setting queue size to 0 * Create great-tables-hear.md --------- Co-authored-by: lukasIO <[email protected]>
1 parent dc5b178 commit 75f56bb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/great-tables-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@livekit/rtc-node": patch
3+
---
4+
5+
Fix clearQueue not setting queue size to 0

packages/livekit-rtc/src/audio_source.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export class AudioSource {
8484
},
8585
});
8686

87+
this.currentQueueSize = 0;
8788
this.release();
8889
}
8990

0 commit comments

Comments
 (0)