CHanged so buffer threshold takes bufferSecs parameter into account