[Bug 758319] rtsp-server: Seeking often hangs forever, waiting for prerolling to happen again

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 19 12:18:58 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758319

Olivier CrĂȘte <olivier.crete at ocrete.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #315881|none                        |reviewed
             status|                            |

--- Comment #2 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
Review of attachment 315881:
 --> (https://bugzilla.gnome.org/review?bug=758319&attachment=315881)

::: gst/rtsp-server/rtsp-stream.c
@@ +2292,3 @@
+      priv->funnel_fakesink = gst_element_factory_make ("fakesink", NULL);
+      /* We don't want events and queries to be sent to this sink from GstBin
*/
+      GST_OBJECT_FLAG_UNSET (priv->funnel_fakesink, GST_ELEMENT_FLAG_SINK);

We don't really need RTP udpsrc->fakesink. We can just create the socket and
let the kernel drop the packets once the buffer is full. Possibly event so
g_socket_set_option(SO_RCVBUF, 1) to force the kernel to drop stuff early....
Yes I've been running rtsp-server on horribly RAM constrained hardware
recently..

-- 
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