sequenceNumber property

int sequenceNumber
final

The sequence number of this frame.

Will be -1 if this AudioFrame was created with the AudioFrame.outgoing constructor, and only contain a useful value if this is an incoming frame.

Copied from the mumble docs: The sequence number is used to maintain the packet order when the audio data is transported over unreliable transports such as UDP.

Note: This field is the frames sequence number, not the packets sequence number! The docs above describe the packet sequence number. The frame sequence number is calculated by adding its frame index from within the packet (which might contain multiple frames) to the sequence number of the packet.

Implementation

final int sequenceNumber;