jitterbuffer: improve SR packet handling
jitterbuffer: improve SR packet handling

Implement 3 different cases for handling the SR:

 1) we don't have enough timing information to handle the SR packet and
    we need to wait a little for more RTP packets. In that case we keep
    the SR packet around and retry when we get an RTP packet in the
    chain function.

 2) the SR packet has a too old timestamp and should be discarded. It is
    labeled invalid and the last_sr is cleared.

 3) the SR packet is ok and there is enough timing information, proceed
    with processing the SR packet.

Before this patch, case 2) and 1) were handled in the same way,
resulting that SR packets with too old timestamps were checked over and
over again for each RTP packet.

ndufresne/gst-plugins-good,chamois94/gst-plugins-good,loshca/gst-plugins-good,pexip/gst-plugins-good,Kurento/gst-plugins-good,GStreamer/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,chamois94/gst-plugins-good,veo-labs/gst-plugins-good,ikonst/gst-plugins-good,StreamUtils/gst-plugins-good,sebras/gst-plugins-good,wkatsak/gst-plugins-good,jpakkane/gstreamer-plugins-good,hizukiayaka/gst-plugins-good,Lachann/gst-plugins-good,loshca/gst-plugins-good,BigBrother-International/gst-plugins-good,hizukiayaka/gst-plugins-good,Kurento/gst-plugins-good,Lachann/gst-plugins-good,jcaden/gst-plugins-good,BigBrother-International/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,pexip/gst-plugins-good,Lachann/gst-plugins-good,sh0/gst-plugins-good,veo-labs/gst-plugins-good,BigBrother-International/gst-plugins-good,vatavuserban/gst-plugins-good,surround-io/gst-plugins-good,surround-io/gst-plugins-good,greg80303/gst-plugins-good,froggatt/gst-plugins-good-m,Kurento/gst-plugins-good,kittee/gst-plugins-good,jcaden/gst-plugins-good,jpakkane/gstreamer-plugins-good,StreamUtils/gst-plugins-good,vatavuserban/gst-plugins-good,GrokImageCompression/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,loshca/gst-plugins-good,greg80303/gst-plugins-good,Kurento/gst-plugins-good,rawoul/gst-plugins-good,loshca/gst-plugins-good,sh0/gst-plugins-good,veo-labs/gst-plugins-good,veo-labs/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,rawoul/gst-plugins-good,ikonst/gst-plugins-good,pexip/gst-plugins-good,greg80303/gst-plugins-good,froggatt/gst-plugins-good-m,wkatsak/gst-plugins-good,shelsonjava/gst-plugins-good,jpakkane/gstreamer-plugins-good,kittee/gst-plugins-good,GStreamer/gst-plugins-good,shelsonjava/gst-plugins-good,jpakkane/gstreamer-plugins-good,wkatsak/gst-plugins-good,pexip/gst-plugins-good,stfl/gst-plugins-good,stfl/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,stfl/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,hizukiayaka/gst-plugins-good,GrokImageCompression/gst-plugins-good,vatavuserban/gst-plugins-good,sebras/gst-plugins-good,ndufresne/gst-plugins-good,rawoul/gst-plugins-good,greg80303/gst-plugins-good,Lachann/gst-plugins-good,pexip/gst-plugins-good,GrokImageCompression/gst-plugins-good,chamois94/gst-plugins-good,GrokImageCompression/gst-plugins-good,sebras/gst-plugins-good,sh0/gst-plugins-good,StreamUtils/gst-plugins-good,Kurento/gst-plugins-good,BigBrother-International/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,surround-io/gst-plugins-good,sh0/gst-plugins-good,stfl/gst-plugins-good,kittee/gst-plugins-good,StreamUtils/gst-plugins-good,chamois94/gst-plugins-good,surround-io/gst-plugins-good,rawoul/gst-plugins-good,ndufresne/gst-plugins-good,ikonst/gst-plugins-good,GStreamer/gst-plugins-good,ikonst/gst-plugins-good,kittee/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,shelsonjava/gst-plugins-good,GStreamer/gst-plugins-good,shelsonjava/gst-plugins-good,wkatsak/gst-plugins-good,hizukiayaka/gst-plugins-good,vatavuserban/gst-plugins-good,froggatt/gst-plugins-good-m,sebras/gst-plugins-good,ndufresne/gst-plugins-good,froggatt/gst-plugins-good-m,jcaden/gst-plugins-good,jcaden/gst-plugins-good