A method comprising: receiving a scalable video encoding, SVC, video data packet: parsing (210; 410) a network abstraction-layer header, NALH, of said video data packet to obtain layer representation data, said layer representation data identifying a layer with which a following payload data is associated; assigning a priority to said identified layer in response to said layer representation data; storing a data indicating said assigned priority along with said video packet in a cache memory (235; 430); transmitting (260; 440) said video data packet via a first protocol to a receiver, said first protocol being without a feature of lost packet recovery; measuring (270; 405) a network condition; receiving a request via a second protocol from said receiver for a retransmission of said video packet, said second protocol providing end-to-end acknowledgment of data and error recovery; determining (275; 415) whether to retrieve said video packet from said cache memory (235; 420) for said retransmission based on said network condition and said priority assigned to said video data packet; and retransmitting said retrieved video data packet via said second protocol to said receiver so long as said video data packet remains available in said cache memory (235; 430). receiving a scalable video encoding, SVC, video data packet: parsing (210; 410) a network abstraction-layer header, NALH, of said video data packet to obtain layer representation data, said layer representation data identifying a layer with which a following payload data is associated; assigning a priority to said identified layer in response to said layer representation data; storing a data indicating said assigned priority along with said video packet in a cache memory (235; 430); transmitting (260; 440) said video data packet via a first protocol to a receiver, said first protocol being without a feature of lost packet recovery; measuring (270; 405) a network condition; receiving a request via a second protocol from said receiver for a retransmission of said video packet, said second protocol providing end-to-end acknowledgment of data and error recovery; determining (275; 415) whether to retrieve said video packet from said cache memory (235; 420) for said retransmission based on said network condition and said priority assigned to said video data packet; and retransmitting said retrieved video data packet via said second protocol to said receiver so long as said video data packet remains available in said cache memory (235; 430). parsing (210; 410) a network abstraction-layer header, NALH, of said video data packet to obtain layer representation data, said layer representation data identifying a layer with which a following payload data is associated; assigning a priority to said identified layer in response to said layer representation data; storing a data indicating said assigned priority along with said video packet in a cache memory (235; 430); transmitting (260; 440) said video data packet via a first protocol to a receiver, said first protocol being without a feature of lost packet recovery; measuring (270; 405) a network condition; receiving a request via a second protocol from said receiver for a retransmission of said video packet, said second protocol providing end-to-end acknowledgment of data and error recovery; determining (275; 415) whether to retrieve said video packet from said cache memory (235; 420) for said retransmission based on said network condition and said priority assigned to said video data packet; and retransmitting said retrieved video data packet via said second protocol to said receiver so long as said video data packet remains available in said cache memory (235; 430).