GNOME Bugzilla – Bug 797311
rtspclientsink don't starts send packets time to time
Last modified: 2018-11-03 15:42:56 UTC
%subj%, minimal example https://github.com/RSATom/gstrtspclientsink-bug. It just do connects one by one to rtsp server. The problem could happen in the very first connect or some connects later.
According to my investigation problem happens with internal bin inside rtspclientsink (the bin is locked mode and don't follow parent state automatically). Sometimes internal bin is still in ASYNC state transition to PAUSED state when clientsink setting it to PLAYING state (https://github.com/GStreamer/gst-rtsp-server/blob/master/gst/rtsp-sink/gstrtspclientsink.c#L4480), and when bin finished transition to PAUSED state it just ignores transition to PLAYING state (https://github.com/GStreamer/gstreamer/blob/master/gst/gstbin.c#L3443) I have some ideas how it could be fixed, but still don't sure about the best one..
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/50.