Class RawVideoFrame

  • All Implemented Interfaces:
    AutoCloseable
    Direct Known Subclasses:
    RawVideoFrameBuffer

    public abstract class RawVideoFrame
    extends Object
    implements AutoCloseable
    Information about the video frame
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getType

        public RawVideoFrameType getType()
        Informs how video frames will be available for encoding or decoding.
      • getStreamFormat

        public VideoStreamFormat getStreamFormat()
        Information about the 4CC used on this video frame
      • setStreamFormat

        public RawVideoFrame setStreamFormat​(VideoStreamFormat value)
        Information about the 4CC used on this video frame
        Parameters:
        value - The new value.
      • getTimestampInTicks

        public long getTimestampInTicks()
        time when the video frame was created
      • setTimestampInTicks

        public RawVideoFrame setTimestampInTicks​(long value)
        time when the video frame was created
        Parameters:
        value - The new value.
      • close

        public void close()
        Dispose heavy resources
        Specified by:
        close in interface AutoCloseable