diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d9090f410..d50f16ef27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#3273](https://github.com/Pycord-Development/pycord/pull/3273)) - Fixed a race condition where `Bot.latency` could be reported incorrectly and grow indefinitely ([#3414](https://github.com/Pycord-Development/pycord/pull/3414)) +- Fixed a bug where audio reception would drop after prolonged silence in a voice + channel. ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) ### Deprecated diff --git a/discord/voice/receive/reader.py b/discord/voice/receive/reader.py index 2a82c6e1dc..6253f256b3 100644 --- a/discord/voice/receive/reader.py +++ b/discord/voice/receive/reader.py @@ -532,7 +532,7 @@ def get_next_entry(): class UDPKeepAlive(threading.Thread): - delay: int = 5000 + delay: float = 5.0 def __init__(self, client: VoiceClient) -> None: super().__init__(