Class DePacketizer

    • Constructor Detail

      • DePacketizer

        public DePacketizer()
    • Method Detail

      • isKeyFrame

        public static boolean isKeyFrame​(byte[] buf,
                                         int off,
                                         int len)
        Returns true if the buffer contains a VP9 key frame at offset offset.
        Parameters:
        buf - the byte buffer to check
        off - the offset in the byte buffer where the actual data starts
        len - the length of the data in the byte buffer
        Returns:
        true if the buffer contains a VP8 key frame at offset offset.