mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
3cfe88632f
commit
0f0a10525a
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue