com.flazr.rtmp
Class RtmpHandshake

java.lang.Object
  extended by com.flazr.rtmp.RtmpHandshake

public class RtmpHandshake
extends Object


Field Summary
static byte[] CLIENT_CONST
           
static int HANDSHAKE_SIZE
           
 
Constructor Summary
RtmpHandshake()
           
RtmpHandshake(ClientOptions session)
           
 
Method Summary
 void cipherUpdateIn(org.jboss.netty.buffer.ChannelBuffer in)
           
 void cipherUpdateOut(org.jboss.netty.buffer.ChannelBuffer in)
           
 void decodeClient0And1(org.jboss.netty.buffer.ChannelBuffer in)
           
 void decodeClient2(org.jboss.netty.buffer.ChannelBuffer raw)
           
 boolean decodeServerAll(org.jboss.netty.buffer.ChannelBuffer in)
           
 org.jboss.netty.buffer.ChannelBuffer encodeClient0()
           
 org.jboss.netty.buffer.ChannelBuffer encodeClient1()
           
 org.jboss.netty.buffer.ChannelBuffer encodeClient2()
           
 org.jboss.netty.buffer.ChannelBuffer encodeServer0()
           
 org.jboss.netty.buffer.ChannelBuffer encodeServer1()
           
 org.jboss.netty.buffer.ChannelBuffer encodeServer2()
           
 Cipher getCipherIn()
           
 Cipher getCipherOut()
           
 byte[] getPeerVersion()
           
 byte[] getSwfvBytes()
           
protected static int getValidationTypeForClientVersion(byte[] version)
           
 boolean isRtmpe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDSHAKE_SIZE

public static final int HANDSHAKE_SIZE
See Also:
Constant Field Values

CLIENT_CONST

public static final byte[] CLIENT_CONST
Constructor Detail

RtmpHandshake

public RtmpHandshake()

RtmpHandshake

public RtmpHandshake(ClientOptions session)
Method Detail

getValidationTypeForClientVersion

protected static int getValidationTypeForClientVersion(byte[] version)

getSwfvBytes

public byte[] getSwfvBytes()

getCipherIn

public Cipher getCipherIn()

getCipherOut

public Cipher getCipherOut()

isRtmpe

public boolean isRtmpe()

getPeerVersion

public byte[] getPeerVersion()

cipherUpdateIn

public void cipherUpdateIn(org.jboss.netty.buffer.ChannelBuffer in)

cipherUpdateOut

public void cipherUpdateOut(org.jboss.netty.buffer.ChannelBuffer in)

encodeClient0

public org.jboss.netty.buffer.ChannelBuffer encodeClient0()

encodeClient1

public org.jboss.netty.buffer.ChannelBuffer encodeClient1()

decodeServerAll

public boolean decodeServerAll(org.jboss.netty.buffer.ChannelBuffer in)

encodeClient2

public org.jboss.netty.buffer.ChannelBuffer encodeClient2()

decodeClient0And1

public void decodeClient0And1(org.jboss.netty.buffer.ChannelBuffer in)

encodeServer0

public org.jboss.netty.buffer.ChannelBuffer encodeServer0()

encodeServer1

public org.jboss.netty.buffer.ChannelBuffer encodeServer1()

decodeClient2

public void decodeClient2(org.jboss.netty.buffer.ChannelBuffer raw)

encodeServer2

public org.jboss.netty.buffer.ChannelBuffer encodeServer2()


Copyright © 2011. All Rights Reserved.