Packet transmission of speech using variable-quality coding and time-interval modification