gstreamer/gst-libs/gst/rtsp
Tobias Ronge 3ec9795a28 rtspconnection: Only reset timeout when socket is unused
After sending or retrieving data, gstrtspconnection resets the socket's
timeout to 0 (infinite). This could cause problems if sending and
receiving at the same time. For example, if RTCP data is sent from the
streaming thread while gstrtspsrc is already retrieving data.

With this patch, timeout is only reset to 0 if there is no other
thread using the socket.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1260>
2021-09-09 06:45:04 +00:00
..
gstrtsp.h libs: Add missing single include headers and use them in GIRs 2012-11-21 11:01:24 +01:00
gstrtspconnection.c rtspconnection: Only reset timeout when socket is unused 2021-09-09 06:45:04 +00:00
gstrtspconnection.h gstrtspconnection: Add support to ignore x-server header reply 2021-08-16 09:06:37 +00:00
gstrtspdefs.c libs: Fix various Since markers 2019-04-23 12:28:26 +00:00
gstrtspdefs.h Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstrtspextension.c gst: don't use volatile to mean atomic 2021-03-19 04:20:19 +00:00
gstrtspextension.h Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstrtspmessage.c Use g_memdup2() where available and add fallback for older GLib versions 2021-06-02 14:21:02 +00:00
gstrtspmessage.h Fix up and add various "Since" markers and other related docs fixes 2020-06-19 12:17:55 +03:00
gstrtsprange.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstrtsprange.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00
gstrtsptransport.c rtsptransport: support single port for client_port and server_port 2020-10-09 23:43:33 +02:00
gstrtsptransport.h pbutils, rtsp: fix deprecation guards 2018-08-13 00:24:50 +01:00
gstrtspurl.c Add missing colons to Since markers in the docs 2020-05-01 10:08:40 +03:00
gstrtspurl.h rtspurl: add API method to create request uri combined with control url 2019-12-27 16:57:08 +00:00
meson.build Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtsp-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
rtsp.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00