public void start() throws Exception {
initIOHandler();
IoBuffer.setUseDirectBuffer(!useHeapBuffers); // this is global, oh well
if (useHeapBuffers) {
// dont pool for heap buffers
IoBuffer.setAllocator(new SimpleBufferAllocator());
}
log.info("RTMP Mina Transport Settings\nAcceptor style: {} I/O threads: {}\nTCP no-delay: {} keep-alive: {}", new Object[] {
(enableDefaultAcceptor ? "default" : "blocking-queue"), ioThreads, tcpNoDelay, keepAlive });
// use the defaults
if (enableDefaultAcceptor) {