public class FlexFec03Mask
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FlexFec03Mask.MalformedMaskException |
Constructor and Description |
---|
FlexFec03Mask(byte[] buffer,
int maskOffset,
int baseSeqNum)
Initialize this maskWithoutKBits with a received buffer.
|
FlexFec03Mask(int baseSeqNum,
java.util.List<java.lang.Integer> protectedSeqNums)
Create a mask from a base sequence number and a list of protected
sequence numbers
|
Modifier and Type | Method and Description |
---|---|
FlexFec03BitSet |
getMaskWithKBits() |
java.util.List<java.lang.Integer> |
getProtectedSeqNums()
Get the list of media packet sequence numbers which are marked
as protected in this mask
|
int |
lengthBytes()
Get the length of the mask, in bytes
|
FlexFec03Mask(byte[] buffer, int maskOffset, int baseSeqNum) throws FlexFec03Mask.MalformedMaskException
buffer
- the flexfec packet buffermaskOffset
- maskOffset to the location of the start of the maskbaseSeqNum
- the base sequence number from the flexfec packetFlexFec03Mask.MalformedMaskException
public FlexFec03Mask(int baseSeqNum, java.util.List<java.lang.Integer> protectedSeqNums) throws FlexFec03Mask.MalformedMaskException
baseSeqNum
- the base sequence number to use for the maskprotectedSeqNums
- the sequence numbers this mask should mark
as protectedFlexFec03Mask.MalformedMaskException
public FlexFec03BitSet getMaskWithKBits()
public int lengthBytes()
public java.util.List<java.lang.Integer> getProtectedSeqNums()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.