[Bug 677475] New: Delay in play-pause-play

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 5 08:09:32 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677475
  GStreamer | gst-plugins-good | 0.10.30

           Summary: Delay in play-pause-play
    Classification: Platform
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mariagiovanna.chiossa at selexelsag.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I experimented a very annoying delay when doing a play-pause-play command
sequence when playing from rtsp (rtsp-server). 
I see the server immediately restart sending packets but the client start
showing frames after 5-10 sec.
I verified also that  if I comment in gstrtspjitterbuffer.c in
gst_rtp_jitter_buffer_clear_pt_map these 2 instructions:
  rtp_jitter_buffer_reset_skew (priv->jbuf);
  priv->next_seqnum = -1;
the client restart playing is instantaneously.
So, how to fix this issue? 
I find out that the gst_rtp_jitter_buffer_clear_pt_map call is caused by
gst_rtspsrc_configure_caps (src, segment); called in gst_rtspsrc_play
Should gst_rtspsrc avoid to call gst_rtspsrc_configure_caps when not strictly
needed?
Or should jitterbuffer check in gst_rtp_jitter_buffer_clear_pt_map if reset
all? (I tried this solution, apparently seems to work, but it is not very
smart...)
Or could you suggest a better way?
Thank you very much

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list