Class FlexFec03Header


  • public class FlexFec03Header
    extends Object
    Model of the data contained in the FlexFEC -03 header
    Author:
    bbaldino
    • Field Detail

      • protectedSsrc

        public long protectedSsrc
        The SSRC of the media stream protected by this FEC packet
      • seqNumBase

        public int seqNumBase
        The base sequence number from which the mask defines the sequence numbers of the media packets protected by this packet
      • protectedSeqNums

        public List<Integer> protectedSeqNums
        The list of sequence numbers of packets protected by this fec packet
      • size

        public int size
        The size of the FlexFec header (in bytes) in this packet
    • Constructor Detail

      • FlexFec03Header

        public FlexFec03Header​(long protectedSsrc,
                               int seqNumBase,
                               List<Integer> protectedSeqNums,
                               int size)
        Ctor. This constructor is intended to be used when parsing an existing FlexFEC-03 packet
        Parameters:
        protectedSsrc - the media ssrc this fec packet protects
        seqNumBase - the base sequence number for this flexfec packet
        protectedSeqNums - the list of media sequence numbers this flexfec packet protects
        size - the size of the header (in bytes)