rtsp-media: Ignore GstRTSPStreamBlocking from incomplete streams
authorDavid Phung <davidph@axis.com>
Tue, 3 Nov 2020 15:56:28 +0000 (16:56 +0100)
committerDavid Phung <davidph@axis.com>
Wed, 11 Nov 2020 12:59:09 +0000 (13:59 +0100)
commit4f673af4b5bb2b29d38a4627f1f1a045fefc3192
tree78bc91af6ee6b7a1cf91633768f09a1e917b5108
parent1c8a6af13c24d6676cc311c4fe8ba4f7dfc36a2b
rtsp-media: Ignore GstRTSPStreamBlocking from incomplete streams

To prevent cases with prerolling when the inactive stream prerolls first
and the server proceeds without waiting for the active stream, we will
ignore GstRTSPStreamBlocking messages from incomplete streams. When
there are no complete streams (during DESCRIBE), we will listen to all
streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/167>
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-stream.c