gst-plugins-rs/net
François Laignel 2ad452ee89 webrtcsink: don't panic with bitrate handling unsupported encoders
When an encoder was not supported by the `VideoEncoder` `bitrate` accessors, an
`unimplemented` panic would occur which would poison `state` & `settings`
`Mutex`s resulting in other threads panicking, notably entering `end_session()`,
which lead to many failures in `BinImplExt::parent_remove_element()` until a
segmentation fault ended the process. This was observed using `vaapivp9enc`.

This commit logs a warning if an encoder isn't supported by the `bitrate`
accessors and silently by-passes `bitrate`-related operations when unsupported.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1534>
2024-04-09 15:48:59 +00:00
..
aws aws: improve error message logs 2024-03-26 20:05:32 +01:00
hlssink3 Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
ndi Fix a couple of compiler/clippy warnings with --no-default-features 2024-02-08 13:02:55 +02:00
onvif onvifmetadataparse: Reset state in PAUSED->READY after pad deactivation 2024-04-05 15:19:37 +00:00
raptorq Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
reqwest reqwest: Update to reqwest 0.12 2024-03-23 14:30:31 +02:00
rtp rtpgccbwe: Add increasing_duration and counter to existing gst::log!() 2024-03-27 15:08:23 +00:00
rtsp Fix clippy warnings after upgrade to Rust 1.77 2024-03-21 17:33:32 +00:00
webrtc webrtcsink: don't panic with bitrate handling unsupported encoders 2024-04-09 15:48:59 +00:00
webrtchttp webrtchttp: Update to reqwest 0.12 2024-04-06 11:07:16 +03:00