gst-plugins-rs/net
Mathieu Duponchelle 33156b52c8 webrtcsink: fix codec selection discoveries
Since ab1ec12698:

webrtcsink: Add support for pre encoded streams

Discovery pipelines for remote offers were no longer fed any buffers.

While some encoders could already produce caps with no input buffers,
others, such as x264enc, simply hung forever. This resulted in no answer
getting produced if for instance video-caps were constrained to H264.

Fix this by tracking discovery pipelines at the State rather than the
InputStream level, removing the useless distinction of Initial vs.
CodecSelection discoveries, and always feeding all the current
discovery pipelines with incoming buffers.

For reference, the issue here was that codec selection discoveries were
assigned to local clones of InputStreams, not tracked anywhere, and thus
not iterated for discoveries when queuing incoming buffers from the
chain function, as it only looked at the original instance of
InputStream's in state.streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1331>
2023-09-20 19:57:57 +03:00
..
aws Update to AWS SDK 0.30 2023-09-20 19:57:00 +03:00
hlssink3 Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
ndi Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
onvif Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
raptorq Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
reqwest Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
rtp Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00
webrtc webrtcsink: fix codec selection discoveries 2023-09-20 19:57:57 +03:00
webrtchttp Add version to the gst-plugin-version-helper dependency 2023-08-10 16:56:04 +03:00