Class AV1Video

All Implemented Interfaces:
IVideoStreamCodec

public class AV1Video extends AbstractVideo
Red5 video codec for the AV1 video format. Portions of this AV1 code are based on the work of the Pion project.
Author:
The Red5 Project, Paul Gregoire (mondain@gmail.com)
  • Constructor Details

    • AV1Video

      public AV1Video()
  • Method Details

    • canDropFrames

      public boolean canDropFrames()
      Check if the codec supports frame dropping.
      Specified by:
      canDropFrames in interface IVideoStreamCodec
      Overrides:
      canDropFrames in class AbstractVideo
      Returns:
      if the codec supports frame dropping.
    • addData

      public boolean addData(org.apache.mina.core.buffer.IoBuffer data, int timestamp)
      Update the state of the codec with the passed data.
      Specified by:
      addData in interface IVideoStreamCodec
      Overrides:
      addData in class AbstractVideo
      Parameters:
      data - data to tell the codec we're adding
      timestamp - time associated with the data
      Returns:
      true for success. false for passing wrong video format or other error.