Class RTCPIterator

  • All Implemented Interfaces:
    Iterator<org.jitsi.utils.ByteArrayBuffer>

    public class RTCPIterator
    extends Object
    implements Iterator<org.jitsi.utils.ByteArrayBuffer>
    An Iterator for RTCP packets contained in a compound RTCP packet. For a PacketTransformer that splits compound RTCP packets into individual RTCP packets CompoundPacketEngine. Instances of this class are not thread-safe. If multiple threads access an instance concurrently, it must be synchronized externally.
    Author:
    George Politis
    • Constructor Detail

      • RTCPIterator

        public RTCPIterator​(org.jitsi.utils.ByteArrayBuffer baf)
        Ctor.
        Parameters:
        baf - The ByteArrayBuffer that holds the compound RTCP packet to iterate.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<org.jitsi.utils.ByteArrayBuffer>
      • next

        public org.jitsi.utils.ByteArrayBuffer next()
        Specified by:
        next in interface Iterator<org.jitsi.utils.ByteArrayBuffer>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<org.jitsi.utils.ByteArrayBuffer>