Please describe the changes this PR makes and why it should be merged:
Currently, an AudioReceiveStream will never be considered finished, even when it's guaranteed that no more packets will be pushed there by the library. This makes it harder to use Node stream utilities like stream.pipeline, which wait for the source stream's completion. This PR aims to rectify this.
Status and versioning classification:
Code changes have been tested against the Discord API, or there are no code changes
This will be resolved as part of https://github.com/discordjs/voice/pull/136 (where voice receive will be changed quite a bit anyway, breaking this fix), but thank you for the PR anyway :smiley:
Please describe the changes this PR makes and why it should be merged:
Currently, an
AudioReceiveStream
will never be considered finished, even when it's guaranteed that no more packets will be pushed there by the library. This makes it harder to use Node stream utilities likestream.pipeline
, which wait for the source stream's completion. This PR aims to rectify this.Status and versioning classification: