[Bug 785684] rtspconnection: add API to send messages without blocking

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 5 13:36:51 UTC 2017


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

--- Comment #14 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Again: is this based on you actually observing it blocking? Or is this based on
how you think it will behave?

The man page says here.

> When  the  message  does not fit into the send buffer of
> the socket, send() normally blocks, unless the socket has
> been placed in nonblocking I/O mode. In nonblocking mode it
> would fail with the error EAGAIN or EWOULDBLOCK in this case.

My understanding is that gio always puts sockets into non-blocking mode, and
that gst_socket_set_blocking() only affects whether gio functions will behave
blockingly themselves (whilst always cancellable) or will return EWOULDBLOCK in
case they would block.

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