Class RTMPMinaProtocolDecoder

java.lang.Object
org.apache.mina.filter.codec.ProtocolDecoderAdapter
org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder
All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder

public class RTMPMinaProtocolDecoder extends org.apache.mina.filter.codec.ProtocolDecoderAdapter
RTMP protocol decoder.
  • Field Details

  • Constructor Details

    • RTMPMinaProtocolDecoder

      public RTMPMinaProtocolDecoder()
  • Method Details

    • decode

      public void decode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out) throws org.apache.mina.filter.codec.ProtocolCodecException
      Throws:
      org.apache.mina.filter.codec.ProtocolCodecException
    • setDecoder

      public void setDecoder(RTMPProtocolDecoder decoder)
      Sets the RTMP protocol decoder.
      Parameters:
      decoder - RTMP decoder
    • getDecoder

      public RTMPProtocolDecoder getDecoder()
      Returns an RTMP decoder.
      Returns:
      RTMP decoder