corrected minBufferTime calculation