Update README.md

This commit is contained in:
mane
2018-08-20 10:45:55 -04:00
committed by GitHub
parent eab17b5168
commit 1ec7796a02
+2
View File
@@ -113,3 +113,5 @@ public byte[] provide() {
# Receiving audio
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.
Note that the first 5 packets starting a voice session are marked with the COMPRESSED flag. The final voice packet, intended to singal to close your decoder and flush samples, is always empty (0-length byte array).