Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@amishshah amishshah released this 04 Apr 18:50
· 79 commits to main since this release
  • feat!: keep alive mechanism to detect connectivity to Discord (#89)

    • refactor: simplify IP and port udp socket code

    • test: make sure to destroy udp sockets after test runs

    • feat: udp keep alive

    • chore: remove debug statement

    • feat(VoiceConnection): expose udp socket keep alive ping

    • test(VoiceUDPSocket): keep alive mechanism

    • fix: emit close instead of error

    • feat(VoiceUDPSocket): emit debug message

  • feat: implement voice receive (#87)

    • feat: allow specifying selfDeaf/selfMute when joining a voice channel

    • feat: emit messages from UDP

    • feat: create VoiceReceiver class

    • feat: export receiver

    • feat: ssrc discovery

    • feat: packet decryption

    • feat: use fix from sudo-carson

    See discordjs/discord.js@c84a157

    • style: remove unnecessary object spread

    • feat: ssrc map logic

    • feat: add audio receive stream

    • refactor(VoiceReceiver): rename some things

    • fix(VoiceReceiver): listen to stream close instead of end

    • feat(VoiceReceiver): destroy stream on error

    • docs(VoiceReceiver): add documentation

    • docs(AudioReceiveStream): add documentation

    • docs: add documentation for SSRCMap

    • fix(VoiceReceiver): use new ssrc map methods

    • refactor: used typed emitter for SSRCMap

    • test(VoiceUDPSocket): fix tests

    • test: add tests for SSRCMap

    • fix(VoiceReceiver): ignore short messages

    • test(VoiceReceiver): onUdpMessage

    • test(VoiceReceiver): susbcribe

    • test(VoiceReceiver): onWsPacket

    • test(VoiceReceiver): tracking state changes

    • test(VoiceReceiver): immediate binding

    • chore: fix coverage rule

    • test(VoiceReceiver): use RTP packets from different clients

    • feat(VoiceReceiver): play silence frame if nothing has been played yet

    • refactor(VoiceReceiver): reduce duplicated code

  • feat(VoiceUDPSocket): use new IP discovery packet format (#90)

  • feat: use typed event emitters internally (#91)

    • refactor(VoiceUDPSocket): use typed event emitter

    • refactor(VoiceWebSocket): use typed event emitter

    • refactor(Networking): use typed event emitter

  • chore(Deps): update dependencies

  • chore(Release): v0.2.0