Using FEC for Rate Adaptation of Multimedia Streams