Make TsBufferSize configurable