switch (connectionState) { case RTMP.STATE_CONNECT: if (message.indexOf("P".getBytes()[0]) == 0) { log.info("Non-native RTMPS connection requested for: {}", sessionId);
/** * {@inheritDoc} */ @Override public int indexOf(byte b) { return buf.indexOf(b); }
/** * {@inheritDoc} */ @Override public int indexOf(byte b) { return buf.indexOf(b); }
@Override public int indexOf(byte b) { return buf.indexOf(b); }
int index = buf.indexOf(handshake.getHandshakeType()); if (index != -1) { log.trace("Connection type index in message: {}", index);
int terminatorPos = in.indexOf(terminator);
int terminatorPos = in.indexOf(terminator);
int terminatorPos = in.indexOf(terminator);
public DecodingState decode(IoBuffer in, ProtocolDecoderOutput out) throws Exception { int terminatorPos = in.indexOf(terminator);