sendAudio abstract method

AudioFrameSink sendAudio({
  1. required AudioCodec codec,
  2. int voiceTarget = normalTalking,
  3. int framesPerPacket,
})

Initiates audio transport.

To whisper a user, register it as voice target first and then pass the targets id to this method.

The required codec parameter tells dumble how to formate the data. framesPerPacket is always forced to 1 when using opus as codec.

See the Mumble voice data specification for mor details.

Implementation

AudioFrameSink sendAudio(
    {required AudioCodec codec,
    int voiceTarget: normalTalking,
    int framesPerPacket});