Class IVideoStreamCodec.FrameData

java.lang.Object
org.red5.codec.IVideoStreamCodec.FrameData
Enclosing interface:
IVideoStreamCodec

public static final class IVideoStreamCodec.FrameData extends Object
Holder for video frame data.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FrameData(org.apache.mina.core.buffer.IoBuffer data)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.mina.core.buffer.IoBuffer
     
    void
    setData(org.apache.mina.core.buffer.IoBuffer data)
    Makes a copy of the incoming bytes and places them in an IoBuffer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • frame

      private byte[] frame
  • Constructor Details

    • FrameData

      public FrameData()
    • FrameData

      public FrameData(org.apache.mina.core.buffer.IoBuffer data)
  • Method Details

    • setData

      public void setData(org.apache.mina.core.buffer.IoBuffer data)
      Makes a copy of the incoming bytes and places them in an IoBuffer. No flip or rewind is performed on the source data.
      Parameters:
      data - data
    • getFrame

      public org.apache.mina.core.buffer.IoBuffer getFrame()