gstreamer/gst/rtmp2/rtmp
Matthew Waters 1f7515100c rtmp2/connection: pass the parent cancellable down to the connection
Otherwise, when rtpm2src cancels an inflight operation that has a queued
message stored, then the rtmp connection operation is not stopped.

If the cancellation occurs during rtmp connection start up, then
rtpm2src does not have any way of accessing the connection object as it
has not been returned yet.  As a result, rtpm2src will cancel, the
connection will still be processing things and the
GMainContext/GMainLoop associated with the outstanding operation will be
destroyed.  All outstanding operations and the rtmpconnection object will
therefore be leaked in this case.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1425
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1862>
2020-12-08 23:43:02 +00:00
..
amf.c rtmp2: Add single-value AMF0 parsing and serializing 2019-12-03 14:11:47 +01:00
amf.h rtmp2: Add single-value AMF0 parsing and serializing 2019-12-03 14:11:47 +01:00
rtmpchunkstream.c rtmp2: Chunk messages as buffers in loop thread 2020-02-21 15:20:41 +00:00
rtmpchunkstream.h rtmp2: Add gst_rtmp_chunk_stream_serialize_all 2020-02-21 15:20:41 +00:00
rtmpclient.c rtmp2/connection: pass the parent cancellable down to the connection 2020-12-08 23:43:02 +00:00
rtmpclient.h rtmp2sink: add docs section with since marker on new stop-commands property 2020-09-09 05:53:08 +00:00
rtmpconnection.c rtmp2/connection: pass the parent cancellable down to the connection 2020-12-08 23:43:02 +00:00
rtmpconnection.h rtmp2/connection: pass the parent cancellable down to the connection 2020-12-08 23:43:02 +00:00
rtmphandshake.c
rtmphandshake.h
rtmpmessage.c rtmp2: Add gst_rtmp_message_is_metadata 2019-12-03 14:11:47 +01:00
rtmpmessage.h rtmp2: Reject oversized messages 2020-02-21 15:20:41 +00:00
rtmputils.c rtmp2: Move FLV tag header parsing into rtmputils.c 2020-07-01 18:33:42 +00:00
rtmputils.h rtmp2: Move FLV tag header parsing into rtmputils.c 2020-07-01 18:33:42 +00:00