gstreamer/gst/rtsp-server
Sebastian Dröge fb8004a6eb rtsp-media: Add/configure transports when completing the pipeline
Otherwise the transports are not set up yet during the PLAY request
handling when unsuspending (and thus unblocking) the media.

In case of live pipelines this then causes the first few packets to go
to the sinks before they know what to do with them, and they simply
discard them which is rather suboptimal in case of keyframes.

For non-live pipelines this is not a problem because the sink will still
be PAUSED and as such not send out the data yet but wait until it goes
to PLAYING, which is late enough.

Adding the transports multiple times is not a problem: if the transport
is already added it won't be added another time and TRUE will be
returned.

This fixes a regression introduced by a7732a68e8
before 1.14.0.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/issues/107

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/135>
2020-06-15 19:45:38 +03:00
..
meson.build meson: gir: remove bogus sources_top_dir kwarg 2020-05-27 23:39:37 +01:00
rtsp-address-pool.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-address-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-auth.c rtsp-auth: Fix NULL pointer dereference when handling an invalid basic Authorization header 2020-03-23 16:06:43 +02:00
rtsp-auth.h rtsp-auth: Add support for parsing .htdigest files 2018-06-21 15:47:39 +02:00
rtsp-client.c rtsp-client: Fix race condition in rtsp ctrl timeout by WeakRef client 2020-05-27 15:31:34 +02:00
rtsp-client.h onvif: Implement and test the Streaming Specification 2019-06-06 18:45:17 +02:00
rtsp-context.c doc: Fix some docstrings 2019-05-13 17:00:00 -04:00
rtsp-context.h Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-latency-bin.c rtsp-latency-bin: replace G_TYPE_INSTANCE_GET_PRIVATE as it's been deprecated 2020-01-23 17:00:59 +02:00
rtsp-latency-bin.h onvif: encapsulate onvif part into a bin 2018-10-03 13:26:36 +03:00
rtsp-media-factory-uri.c rtsp-media: Try to get dynamic payloaders by name from their bin first 2019-07-22 19:44:28 +03:00
rtsp-media-factory-uri.h Fix typos 2019-06-07 13:42:24 +02:00
rtsp-media-factory.c media-factory: complete DSCP QoS setting support 2020-05-18 11:12:00 +03:00
rtsp-media-factory.h media-factory: complete DSCP QoS setting support 2020-05-18 11:12:00 +03:00
rtsp-media.c rtsp-media: Add/configure transports when completing the pipeline 2020-06-15 19:45:38 +03:00
rtsp-media.h media-factory: complete DSCP QoS setting support 2020-05-18 11:12:00 +03:00
rtsp-mount-points.c GstRTSPMountPoints: Remove any existing factory before adding a new one 2019-11-04 12:01:09 +00:00
rtsp-mount-points.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-onvif-client.c onvif: Implement and test the Streaming Specification 2019-06-06 18:45:17 +02:00
rtsp-onvif-client.h onvif: Implement and test the Streaming Specification 2019-06-06 18:45:17 +02:00
rtsp-onvif-media-factory.c onvif-media: fix "void function returning a value" compiler warning 2019-06-25 13:19:44 +01:00
rtsp-onvif-media-factory.h onvif-media-factory: define autoptr cleanup function 2020-06-10 11:51:31 +00:00
rtsp-onvif-media.c onvif-media: fix "void function returning a value" compiler warning 2019-06-25 13:19:44 +01:00
rtsp-onvif-media.h Mark all ONVIF-specific subclasses as Since 1.14 2018-11-01 10:23:02 +02:00
rtsp-onvif-server.c Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-onvif-server.h onvif: Implement and test the Streaming Specification 2019-06-06 18:45:17 +02:00
rtsp-params.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-params.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-permissions.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-permissions.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-sdp.c rtsp-sdp: Don't try to use non-initialized values 2019-11-27 15:27:36 +01:00
rtsp-sdp.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-server-internal.h rtsp-stream: clear backlog when removing transport 2020-02-24 20:24:29 +00:00
rtsp-server-object.h rtsp-client: Handle Content-Length limitation 2019-04-22 09:17:13 +00:00
rtsp-server-prelude.h Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-server.c Don't pass default GLib marshallers for signals 2019-11-04 14:16:10 +00:00
rtsp-server.h rtsp-server: Declare GstRTSPServer struct before anything else 2018-11-01 11:29:01 +02:00
rtsp-session-media.c rtsp-server: Add various Since: 1.14 markers 2019-04-23 15:01:32 +03:00
rtsp-session-media.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-session-pool.c Don't pass default GLib marshallers for signals 2019-11-04 14:16:10 +00:00
rtsp-session-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-session.c rtsp-session: Butcher the file to please gst-indent in the CI 2019-12-18 19:48:31 +00:00
rtsp-session.h rtsp-session & client: Remove deprecated GTimeVal 2019-12-18 19:48:31 +00:00
rtsp-stream-transport.c rtsp-stream-transport: Fix accidental API/ABI breakage with message_sent callbacks 2020-05-01 10:45:45 +03:00
rtsp-stream-transport.h rtsp-stream-transport: Fix accidental API/ABI breakage with message_sent callbacks 2020-05-01 10:45:45 +03:00
rtsp-stream.c rtsp-media: Mark out parameters accordingly in gst_rtsp_media_get_rates() 2020-05-03 13:31:37 +00:00
rtsp-stream.h onvif: Implement and test the Streaming Specification 2019-06-06 18:45:17 +02:00
rtsp-thread-pool.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-thread-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-token.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-token.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00