From eab17b51685af07325d517c2230e736082261a52 Mon Sep 17 00:00:00 2001 From: mane Date: Mon, 20 Aug 2018 10:44:47 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c641fa0..862eb50 100644 --- a/README.md +++ b/README.md @@ -112,4 +112,4 @@ public byte[] provide() { ``` # Receiving audio -This is definitely possible, but it's a work in progress for now. Once I have a need for this in my own bot (I can forsee there being an opportunity), I will be adding full support to TS3J. +Refer to the `setVoiceHandler` and `setWhisperHandler` methods to supply a Consumer object to receive Voice and Whisper packets. You will need to decode the packets yourself, and insert packet-loss-correction as needed.