-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
Select which package(s) are affected
@livekit/rtc-node
Describe the bug
Expected
After calling clearQueue(), I expect queuedDuration to be 0.
Current
After calling clearQueue(), queuedDuration does not get set to 0.
Reproduction
// capture some frames...
audioSource.clearQueue()
console.log(audioSource.queuedDuration) // this will not be 0!Can be avoided using a workaround:
// capture some frames...
void audioSource.waitForPlayout()
audioSource.clearQueue()
console.log(audioSource.queuedDuration) // this will be 0 after `waitForPlayout()` returnsLogs
System Info
not relevantLiveKit server version
LiveKit cloud
Severity
serious, but I can work around it
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels