Class HEVCVideoEnhancedRTMP

All Implemented Interfaces:
IVideoStreamCodec, IoConstants

public class HEVCVideoEnhancedRTMP extends AVCVideo
HEVC Video codec complaint with Enhanced RTMP There is another HEVCVideo that uses codec id as 12. This one use fourcc for codec id
  • Field Details

  • Constructor Details

    • HEVCVideoEnhancedRTMP

      public HEVCVideoEnhancedRTMP()
  • Method Details

    • getName

      public String getName()
      Description copied from class: AVCVideo
      Specified by:
      getName in interface IVideoStreamCodec
      Overrides:
      getName in class AVCVideo
      Returns:
      the name of the video codec.
    • canDropFrames

      public boolean canDropFrames()
      Description copied from class: AVCVideo
      Check if the codec supports frame dropping.
      Specified by:
      canDropFrames in interface IVideoStreamCodec
      Overrides:
      canDropFrames in class AVCVideo
      Returns:
      if the codec supports frame dropping.
    • canHandleData

      public boolean canHandleData(org.apache.mina.core.buffer.IoBuffer data)
      Description copied from class: AVCVideo
      Returns true if the codec knows how to handle the passed stream data.
      Specified by:
      canHandleData in interface IVideoStreamCodec
      Overrides:
      canHandleData in class AVCVideo
      Parameters:
      data - some sample data to see if this codec can handle it
      Returns:
      can this code handle the data.
    • addData

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