I am writing a jitter buffer program in c to handle rtp packets.Here RTP uses UDP for transportation so connection is not reliable and packets will not be in order and also there will be some packet loss.In case of change in packet order,i will arrange them through sequence number(in RTP header information) but how can i handle or compensate packet loss?(because packet loss is not in my hand)
Note: I am handling h264 as payload and they asked me to use only RTP header