We now include a measure of the real bitrate. Besides, the sleep control was changed from milliseconds to microseconds, since the bitrate resulted higher than the one desired.