Simulate bitrate switching algorithms based on real data traces