Class RawVideoFrameBuffer

  • All Implemented Interfaces:
    AutoCloseable

    public final class RawVideoFrameBuffer
    extends RawVideoFrame
    Hold's video frame data as a buffer
    • Constructor Detail

      • RawVideoFrameBuffer

        public RawVideoFrameBuffer()
        Default constructor
    • Method Detail

      • getBuffers

        public List<ByteBuffer> getBuffers()
        Representation of the video frame as a buffer saved on memory
      • setBuffers

        public RawVideoFrameBuffer setBuffers​(List<ByteBuffer> byteBufferList)
        Representation of the video frame as a buffer saved on memory. Use ByteBuffer.allocateDirect API when creating the ByteBuffer
        Parameters:
        byteBufferList - The new value.