summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-04-15 20:33:01 +0300
committerSebastian Dröge <slomo@coaxion.net>2019-04-15 17:34:56 +0000
commit0f0a10525a941d93aac6d1661bf0ec2a13d5ac82 (patch)
tree27a763bb5d86be71bd46bbfc8b381078870a10b4
parent3cfe88632fc4896dcf4107baae06c9f165d54bf6 (diff)
rtspclientsink: Notify the stream transport about each written message
Otherwise it will never try to send us the next one: it tries to keep exactly one message in-flight all the time. In gst-rtsp-server this is done asynchronously via the GstRTSPWatch but in the client sink we always write data out synchronously.
-rw-r--r--gst/rtsp-sink/gstrtspclientsink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp-sink/gstrtspclientsink.c b/gst/rtsp-sink/gstrtspclientsink.c
index 3e309c1416..9b87ea361f 100644
--- a/gst/rtsp-sink/gstrtspclientsink.c
+++ b/gst/rtsp-sink/gstrtspclientsink.c
@@ -3847,6 +3847,8 @@ do_send_data (GstBuffer * buffer, guint8 channel,
gst_rtsp_message_unset (&message);
+ gst_rtsp_stream_transport_message_sent (context->stream_transport);
+
return res == GST_RTSP_OK;
}