Prioritized transmission of layered media with layer-aware FEC