allow configuration of prebuffer and maxframes