AudioFrame.outgoing constructor

const AudioFrame.outgoing({
  1. required Uint8List frame,
  2. PositionalInformation? positionalInformation,
})

Creates a frame that should be added to an AudioFrameSink to send it to the mumble server.

The sequenceNumber of such an outgoing frame is not known until actuall sending and thus will always be -1.

Implementation

const AudioFrame.outgoing({
  required this.frame,
  this.positionalInformation,
}) : this.sequenceNumber = -1;