public void start() throws Exception {
initIOHandler();
ByteBuffer.setUseDirectBuffers(!useHeapBuffers); // this is global, oh well.
if (useHeapBuffers) {
ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); // dont pool for heap buffers.
}
log.info("RTMP Mina Transport Settings");
log.info("IO Threads: {}", ioThreads);
log.info("Event Threads - core: {}, max: {}, queue: {}, keepalive: {}", new Object[]{eventThreadsCore, eventThreadsMax, eventThreadsQueue, eventThreadsKeepalive});