gst-plugins-rs/net
Mathieu Duponchelle 2381558169 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/1319>
2023-09-08 12:58:08 +00:00
..
aws Fix indentation of let-else blocks 2023-08-29 12:21:38 +00:00
hlssink3 Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
ndi net/ndi: add closed caption support 2023-09-07 14:28:24 +02:00
onvif Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
raptorq Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
reqwest Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
rtp Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
webrtc webrtcsink: fix codec selection discoveries 2023-09-08 12:58:08 +00:00
webrtchttp net/webrtc: rename whipwebrtcsink as whipclientsink 2023-08-26 10:53:30 +05:30