projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cfe886
)
rtspclientsink: Notify the stream transport about each written message
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 15 Apr 2019 17:33:01 +0000
(20:33 +0300)
committer
Sebastian Dröge
<slomo@coaxion.net>
Mon, 15 Apr 2019 17:34:56 +0000
(17:34 +0000)
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.
gst/rtsp-sink/gstrtspclientsink.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-sink/gstrtspclientsink.c
b/gst/rtsp-sink/gstrtspclientsink.c
index
3e309c1
..
9b87ea3
100644
(file)
--- 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;
}