Interface MicrophonePacket

All Superinterfaces:
ConvertablePacket, Packet

public interface MicrophonePacket extends Packet, ConvertablePacket
  • Method Details

    • isWhispering

      boolean isWhispering()
      Returns:
      if the player is whispering
    • getOpusEncodedData

      byte[] getOpusEncodedData()
      Returns:
      the opus encoded audio data from the player
    • setOpusEncodedData

      void setOpusEncodedData(byte[] data)
      Allows you to modify or replace the opus encoded audio data.
      Parameters:
      data - the opus encoded audio data to replace