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.
This commit is contained in:
Sebastian Dröge 2019-04-15 20:33:01 +03:00 committed by Sebastian Dröge
parent 3cfe88632f
commit 0f0a10525a

View file

@ -3847,6 +3847,8 @@ do_send_data (GstBuffer * buffer, guint8 channel,
gst_rtsp_message_unset (&message); gst_rtsp_message_unset (&message);
gst_rtsp_stream_transport_message_sent (context->stream_transport);
return res == GST_RTSP_OK; return res == GST_RTSP_OK;
} }