Wait for threshold to be exceeded before recording